-
-
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
Choose Key type at initialization #7251
Conversation
willscott
commented
Apr 29, 2020
- should be rebased over a released go-ipfs-config version
- Add a command for 'rolling over' identity
8ee5261
to
2d2cc12
Compare
33f5df5
to
4eaec06
Compare
This PR seems to be blocked for now by js-ipfs support for Ed25519 IPNS Keys (e.g. libp2p/js-libp2p-crypto#145) as we'd prefer not to roll the defaults to something that'll be problematic for js-ipfs. This shouldn't be blocked for too long, but if it is we can revisit. |
4eaec06
to
607f2a9
Compare
59ee134
to
6780ee4
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Left a few comments. Also, I'm not sure why the interop tests are failing now since the defaults are RSA. Let's rerun them and see if they're still erroring and if so we can ask the JS folks what they think.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems good to go once we merge + bubble ipfs/go-ipfs-config#105
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
* add support for choosing a peer key type (e.g. RSA or Ed25519) when initializing the repo * test all variants of ipfs init: RSA, Ed25519 and default * update subdomain gateway sharness test to publish IPNS using RSA and Ed25519 keys * use default identity bit lengths defined in config repo instead of having separate defaults in go-ipfs * update config repo dependency Co-authored-by: Will Scott <will@cypherpunk.email> Co-authored-by: Petar Maymounkov <petarm@gmail.com>
cf81c2b
to
4674f77
Compare