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

[minion-cvs] Clarification patch from Laurent Fousse



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

Modified Files:
	nym-spec.txt 
Log Message:
Clarification patch from Laurent Fousse

Index: nym-spec.txt
===================================================================
RCS file: /home/minion/cvsroot/doc/spec/nym-spec.txt,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- nym-spec.txt	18 Aug 2004 23:59:03 -0000	1.9
+++ nym-spec.txt	11 Apr 2005 16:24:55 -0000	1.10
@@ -604,7 +604,8 @@
 
    The body of a CREATE command has the following structure:
          NNym  Number of candidate nyms  (1 octet)
-         PW    Proof of work             (??? octets)
+	 PWL   Proof of work Length	 (1 octet)
+         PW    Proof of work             (variable length; PWL octets)
        Sequence of:
          NL    Candidate Nym Length      (1 octet)
          Nym   Candidate Nym             (variable length; NL octets)
@@ -616,7 +617,9 @@
    given in the NEWPK command.  The nymserver replies with a CREATED
    command, which the nymholder confirms with a CREATE2 command.)
 
-   [XXXX specify a proof-of-work system.]
+   The PW field MUST be empty and the corresponding PWL field set to
+   0. Future version of the protocol MAY understand a non-empty PW
+   field.
 
 4.3.2. CREATE2 [0x01]
 
@@ -645,8 +648,8 @@
      ID   Identity key          (variable length; ID_L octets)
      ENC  Encryption key        (variable length; remainder of command)
 
-   The key length fields MUST be 128 or 256.  The key fields hold
-   ASN.1 encoded RSA public keys.  Their exponents must be 65537.
+   The key fields hold ASN.1 encoded RSA public keys.  Their exponents
+   must be 65537. Their modulus must have a size of 2048 bits.
 
    Because the nymserver may not receive the message, the nymholder
    should continue to sign commands with its previous identity key