mirror of
https://github.com/vacp2p/specs.git
synced 2026-01-08 23:08:09 -05:00
note that we're using proto2
This commit is contained in:
@@ -20,9 +20,12 @@ Key encodings and message signing semantics are
|
||||
|
||||
## Keys
|
||||
|
||||
Our key pairs are wrapped in a [simple protobuf](https://github.com/libp2p/go-libp2p-crypto/blob/master/pb/crypto.proto#L5):
|
||||
Our key pairs are wrapped in a [simple protobuf](https://github.com/libp2p/go-libp2p-crypto/blob/master/pb/crypto.proto),
|
||||
defined using the [Protobuf version 2 syntax](https://developers.google.com/protocol-buffers/docs/proto):
|
||||
|
||||
```protobuf
|
||||
syntax = "proto2";
|
||||
|
||||
enum KeyType {
|
||||
RSA = 0;
|
||||
Ed25519 = 1;
|
||||
|
||||
Reference in New Issue
Block a user