David Anderson
|
d3acd35a90
|
control/noise: make message headers match the specification.
Only the initiation message should carry a protocol version, all
others are just type+len.
Signed-off-by: David Anderson <danderson@tailscale.com>
|
2021-11-10 12:13:54 -08:00 |
|
David Anderson
|
293431aaea
|
control/noise: use key.Machine{Public,Private} as appropriate.
Signed-off-by: David Anderson <danderson@tailscale.com>
|
2021-11-10 12:13:54 -08:00 |
|
David Anderson
|
0b392dbaf7
|
control/noise: adjust implementation to match revised spec.
Signed-off-by: David Anderson <danderson@tailscale.com>
|
2021-11-10 12:13:54 -08:00 |
|
David Anderson
|
89a68a4c22
|
control/noise: include the protocol version in the Noise prologue.
Signed-off-by: David Anderson <danderson@tailscale.com>
|
2021-11-10 12:13:54 -08:00 |
|
David Anderson
|
da7544bcc5
|
control/noise: implement the base transport for the 2021 control protocol.
Signed-off-by: David Anderson <danderson@tailscale.com>
|
2021-11-10 12:13:54 -08:00 |
|