[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[minion-cvs] Enable the --lifetime argument to generateSURB(). Anon...



Update of /home/minion/cvsroot/src/minion/lib/mixminion
In directory moria:/tmp/cvs-serv21428/lib/mixminion

Modified Files:
	ClientMain.py 
Log Message:
Enable the --lifetime argument to generateSURB().  Anonymously contributed patch, plus documentation.

Index: ClientMain.py
===================================================================
RCS file: /home/minion/cvsroot/src/minion/lib/mixminion/ClientMain.py,v
retrieving revision 1.188
retrieving revision 1.189
diff -u -d -r1.188 -r1.189
--- ClientMain.py	31 Dec 2007 21:00:16 -0000	1.188
+++ ClientMain.py	5 Sep 2008 15:38:26 -0000	1.189
@@ -1784,6 +1784,9 @@
   --identity=<name>          Specify a pseudonymous identity.
   --passphrase-fd=<N>        Read passphrase from file descriptor N instead
                                of asking on the console.
+  --lifetime=<N>             A number of days that the generated SURBs
+                               need to remain valid.  Don't make this too
+                               long, or very few routers will be used.
 
 EXAMPLES:
   Generate a reply block to deliver messages to the address given in
@@ -1810,7 +1813,8 @@
 
 def generateSURB(cmd, args):
     options, args = getOptions(args,
-                               "bn:", ["binary", "count=", "identity="],
+                               "bn:", ["binary", "count=", "identity=",
+                                       "lifetime="],
                                dir=1, dest=1, path=1, passphrase=1, output=1)
 
     outputFile = '-'