diff --git a/i2p2www/spec/encryptedleaseset.rst b/i2p2www/spec/encryptedleaseset.rst index 4ecb1da01c4c6018fc5ed8f517ee9de699a73030..a7a7ba58ebf6b86c960abb3bd0f9776a2c89124b 100644 --- a/i2p2www/spec/encryptedleaseset.rst +++ b/i2p2www/spec/encryptedleaseset.rst @@ -208,14 +208,14 @@ Flags Bit 0: 0 for everybody, 1 for per-client, auth section to follow - Bits 3-1: Authentication scheme, only if bit 0 is set to 1 for per-client, otherwise 0 - 0: DH client authentication (or no per-client authentication) - 1: PSK client authentication + Bits 3-1: Authentication scheme, only if bit 0 is set to 1 for per-client, otherwise 000 + 000: DH client authentication (or no per-client authentication) + 001: PSK client authentication Bits 7-4: Unused, set to 0 for future compatibility DH client auth data - Present if flag bit 0 is set to 1 and flag bits 3-1 are set to 0. + Present if flag bit 0 is set to 1 and flag bits 3-1 are set to 000. ephemeralPublicKey 32 bytes @@ -236,7 +236,7 @@ DH client auth data 32 bytes PSK client auth data - Present if flag bit 0 is set to 1 and flag bits 3-1 are set to 1. + Present if flag bit 0 is set to 1 and flag bits 3-1 are set to 001. authSalt 32 bytes diff --git a/i2p2www/spec/proposals/123-new-netdb-entries.rst b/i2p2www/spec/proposals/123-new-netdb-entries.rst index 502c24abcc75493bcaad3b7f6589b47973fec9c8..22fddbf0cc3fa71c14e79a80b02f964a67a12380 100644 --- a/i2p2www/spec/proposals/123-new-netdb-entries.rst +++ b/i2p2www/spec/proposals/123-new-netdb-entries.rst @@ -5,7 +5,7 @@ New netDB Entries :author: zzz, str4d, orignal :created: 2016-01-16 :thread: http://zzz.i2p/topics/2051 - :lastupdated: 2019-06-04 + :lastupdated: 2019-06-07 :status: Open :supercedes: 110, 120, 121, 122 @@ -648,14 +648,14 @@ Flags Bit 0: 0 for everybody, 1 for per-client, auth section to follow - Bits 3-1: Authentication scheme, only if bit 0 is set to 1 for per-client, otherwise 0 - 0: DH client authentication (or no per-client authentication) - 1: PSK client authentication + Bits 3-1: Authentication scheme, only if bit 0 is set to 1 for per-client, otherwise 000 + 000: DH client authentication (or no per-client authentication) + 001: PSK client authentication Bits 7-4: Unused, set to 0 for future compatibility DH client auth data - Present if flag bit 0 is set to 1 and flag bits 3-1 are set to 0. + Present if flag bit 0 is set to 1 and flag bits 3-1 are set to 000. ephemeralPublicKey 32 bytes @@ -676,7 +676,7 @@ DH client auth data 32 bytes PSK client auth data - Present if flag bit 0 is set to 1 and flag bits 3-1 are set to 1. + Present if flag bit 0 is set to 1 and flag bits 3-1 are set to 001. authSalt 32 bytes