noise: specify proto2 (#456)

* noise: specify proto2

* noise: specify optionality of fields in protobuf

* noise: bump version
This commit is contained in:
Marten Seemann
2022-09-20 21:41:05 +03:00
committed by GitHub
parent bae7d15d4c
commit 746f052d90

View File

@@ -5,7 +5,7 @@
| Lifecycle Stage | Maturity | Status | Latest Revision |
|-----------------|----------------|--------|-----------------|
| 3A | Recommendation | Active | r2, 2020-03-30 |
| 3A | Recommendation | Active | r3, 2022-09-20 |
Authors: [@yusefnapora]
@@ -217,10 +217,12 @@ When decrypted, the payload contains a serialized [protobuf][protobuf]
`NoiseHandshakePayload` message with the following schema:
``` protobuf
syntax = "proto2";
message NoiseHandshakePayload {
bytes identity_key = 1;
bytes identity_sig = 2;
bytes data = 3;
optional bytes identity_key = 1;
optional bytes identity_sig = 2;
optional bytes data = 3;
}
```