feat: drop RSA to SHOULD

While its important for interop with IPFS, it's not really a
_requirement_ for libp2p. This makes Ed25519 the "standard".
This commit is contained in:
Steven Allen
2021-04-21 14:36:48 -07:00
parent c05edce42a
commit c3d5c95634

View File

@@ -117,9 +117,10 @@ Four key types are supported:
- Secp256k1
- ECDSA
Implementations MUST support RSA and Ed25519. Implementations MAY support
Secp256k1 and ECDSA, but nodes using those keys may not be able to connect to
all other nodes.
Implementations MUST support Ed25519. Implementations SHOULD support RSA if they wish to
interoperate with the mainline IPFS DHT and the default IPFS bootstrap nodes. Implementations MAY
support Secp256k1 and ECDSA, but nodes using those keys may not be able to connect to all other
nodes.
In all cases, implementation MAY allow the user to enable/disable specific key
types via configuration. Note that disabling support for compulsory key types