note that we're using proto2

This commit is contained in:
Yusef Napora
2019-05-08 15:02:01 -04:00
parent 3302991590
commit f277f4124d

View File

@@ -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;