libp2p / specs

Technical specifications for the libp2p networking stack
https://libp2p.io
1.58k stars 275 forks source link

PeerId spec mandates supporting RSA #313

Closed dvc94ch closed 3 years ago

dvc94ch commented 3 years ago

Can the spec be loosened to making RSA optional? It is not clear why there is such a wild zoo of supported identity algorithms, what amount of usage they have. Personally I think algorithms other than ed25519 should probably be deprecated at some point, since I don't see a good justification for supporting them.

Stebalien commented 3 years ago

Fair enough. Implementations SHOULD support RSA if they want to interoperate with IPFS nodes, but there's really no reason to require it. I've left the requirement for Ed25519 so there's some "standard" key format, but that should be enough.