mirror of
https://github.com/vacp2p/specs.git
synced 2026-01-09 15:28:03 -05:00
noise: specify proto2 (#456)
* noise: specify proto2 * noise: specify optionality of fields in protobuf * noise: bump version
This commit is contained in:
@@ -5,7 +5,7 @@
|
|||||||
|
|
||||||
| Lifecycle Stage | Maturity | Status | Latest Revision |
|
| Lifecycle Stage | Maturity | Status | Latest Revision |
|
||||||
|-----------------|----------------|--------|-----------------|
|
|-----------------|----------------|--------|-----------------|
|
||||||
| 3A | Recommendation | Active | r2, 2020-03-30 |
|
| 3A | Recommendation | Active | r3, 2022-09-20 |
|
||||||
|
|
||||||
Authors: [@yusefnapora]
|
Authors: [@yusefnapora]
|
||||||
|
|
||||||
@@ -217,10 +217,12 @@ When decrypted, the payload contains a serialized [protobuf][protobuf]
|
|||||||
`NoiseHandshakePayload` message with the following schema:
|
`NoiseHandshakePayload` message with the following schema:
|
||||||
|
|
||||||
``` protobuf
|
``` protobuf
|
||||||
|
syntax = "proto2";
|
||||||
|
|
||||||
message NoiseHandshakePayload {
|
message NoiseHandshakePayload {
|
||||||
bytes identity_key = 1;
|
optional bytes identity_key = 1;
|
||||||
bytes identity_sig = 2;
|
optional bytes identity_sig = 2;
|
||||||
bytes data = 3;
|
optional bytes data = 3;
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user