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

[minion-cvs] Specify a standard format for exporting SURB-Idenitities.



Update of /home/minion/cvsroot/doc/spec
In directory moria.mit.edu:/tmp/cvs-serv3218

Modified Files:
	E2E-spec.txt 
Log Message:
Specify a standard format for exporting SURB-Idenitities.
Replace an Encrypt(K,Z(len)) with PRNG(K,len).

Index: E2E-spec.txt
===================================================================
RCS file: /home/minion/cvsroot/doc/spec/E2E-spec.txt,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -d -r1.13 -r1.14
--- E2E-spec.txt	7 Oct 2003 19:56:10 -0000	1.13
+++ E2E-spec.txt	30 Oct 2003 17:32:18 -0000	1.14
@@ -468,7 +468,21 @@
 
    (Client software MUST support multiple identities, and MUST make
    it clear to the user which identity has been associated with each
-   incoming SURB.)
+   incoming SURB.
+
+   Client software MAY support export and import of identities.  If
+   they do, they SHOULD support the following format:
+
+     [SURB-Identity]
+     Version: 1.0
+     Nickname: <a sequence of ASCII printable characters>
+     Master-Secret: <the base64 encoded master secret (unencrypted)>
+
+   If more than one identity is exported at a time, the SURB-Identity
+   blocks are concatenated.
+
+   Nickname comparisons SHOULD be done case in a case insensitive
+   manner.)
 
    To generate a SURB for a path of length PATH_LEN, using a long-term
    secret SEC:
@@ -479,7 +493,7 @@
 
       Let K = Hash(SEED | SEC | "Generate")[0:KEY_LEN]
 
-      Let STREAM = Encrypt(K, Z(KEY_LEN*(PATH_LEN + 1)))
+      Let STREAM = PRNG(K, KEY_LEN*(PATH_LEN + 1))
 
       Let SHARED_SECRET = STREAM[PATH_LEN*KEY_LEN:KEY_LEN]