I2P Address: [http://git.idk.i2p]

Skip to content
Snippets Groups Projects
Commit 3ef0b28f authored by zzz's avatar zzz
Browse files

clarify bits 3-1 in enc. ls2 flags

parent 4075591e
No related branches found
No related tags found
No related merge requests found
...@@ -208,14 +208,14 @@ Flags ...@@ -208,14 +208,14 @@ Flags
Bit 0: 0 for everybody, 1 for per-client, auth section to follow 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 Bits 3-1: Authentication scheme, only if bit 0 is set to 1 for per-client, otherwise 000
0: DH client authentication (or no per-client authentication) 000: DH client authentication (or no per-client authentication)
1: PSK client authentication 001: PSK client authentication
Bits 7-4: Unused, set to 0 for future compatibility Bits 7-4: Unused, set to 0 for future compatibility
DH client auth data 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 ephemeralPublicKey
32 bytes 32 bytes
...@@ -236,7 +236,7 @@ DH client auth data ...@@ -236,7 +236,7 @@ DH client auth data
32 bytes 32 bytes
PSK client auth data 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 authSalt
32 bytes 32 bytes
......
...@@ -5,7 +5,7 @@ New netDB Entries ...@@ -5,7 +5,7 @@ New netDB Entries
:author: zzz, str4d, orignal :author: zzz, str4d, orignal
:created: 2016-01-16 :created: 2016-01-16
:thread: http://zzz.i2p/topics/2051 :thread: http://zzz.i2p/topics/2051
:lastupdated: 2019-06-04 :lastupdated: 2019-06-07
:status: Open :status: Open
:supercedes: 110, 120, 121, 122 :supercedes: 110, 120, 121, 122
...@@ -648,14 +648,14 @@ Flags ...@@ -648,14 +648,14 @@ Flags
Bit 0: 0 for everybody, 1 for per-client, auth section to follow 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 Bits 3-1: Authentication scheme, only if bit 0 is set to 1 for per-client, otherwise 000
0: DH client authentication (or no per-client authentication) 000: DH client authentication (or no per-client authentication)
1: PSK client authentication 001: PSK client authentication
Bits 7-4: Unused, set to 0 for future compatibility Bits 7-4: Unused, set to 0 for future compatibility
DH client auth data 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 ephemeralPublicKey
32 bytes 32 bytes
...@@ -676,7 +676,7 @@ DH client auth data ...@@ -676,7 +676,7 @@ DH client auth data
32 bytes 32 bytes
PSK client auth data 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 authSalt
32 bytes 32 bytes
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment