-
-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow option to use ed25519 #3625
Comments
Our crypto is not x25519 ready, I don't know what is the currentl plan of fixing that. |
As far as I can tell, libp2p already supports ed25519. What more needs to be done to be x25519 ready? |
Crypto protocol that supports it, currently we are using go-libp2p-secio which doesn't. |
and migration path. |
The secio protocol will handle ed25519 just fine. The real reason we havent enabled it yet is because if you use an ed25519 key, you would only be able to communicate with other peers that have the code that supports it. We're waiting until an acceptable number of peers roll out to a supported version before we give users the option to do that. That said, for open bazaar, since youre not interoping with the existing ipfs network, you shouldnt have any problem enabling users to use ed25519 keys (since everyone in the open bazaar network should then be running that code). |
How should "acceptable number" be defined -- majority (>50%) or supermajority (>66%)? The distribution of the versions being used in the wild could possibly be figured out the same way as the geographical distributions of ipfs nodes (I wasn't able to find the author of this code to repurpose the script). |
Figured a way to do this from one node:
returns 130k nodes (the size of the overall network at most within this order-of-magnitude), with stat of a subset (16341) of them
79.5% on "go-libp2p/3.3.4", 14.5% on "go-ipfs/0.4.5-*", 4.6% on "go-libp2p/0.1.0", 1.4% on mcnode |
Closing as a lot changed since 2017 and ed25519 are here to stay:
|
The current version of IPFS hardcodes the crypto to RSA. Would be cool to have to the option to use ed25519 for identities.
The text was updated successfully, but these errors were encountered: