Skip to content
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

BLSCurve EIP2333 updates for Spadina (breaks old keystore recovery) #1742

Merged
merged 2 commits into from
Sep 25, 2020

Conversation

mratsim
Copy link
Contributor

@mratsim mratsim commented Sep 24, 2020

This bumps NBC to integrate status-im/nim-blscurve#87

EIP2333 has been updated with a slightly modified way to derive (private, public) keypairs from a master key ethereum/EIPs#2985. This includes derivation of the withdrawal key (which cannot be used for phase 0 anyway).

This slightly modified way follows cryptographers recommendations to prevent zero secret keys in BLS draft v4 which is planned for future release in Eth2.0 ethereum/consensus-specs#2072

Concretely, keypairs generated with the old CLI cannot be recovered from the mnemonic/master key.
A workaround would be to checkout an old commit (should we use a tag before merging this PR?) for re-derivation of keypairs

@mratsim mratsim requested a review from zah September 25, 2020 09:49
@arnetheduck arnetheduck merged commit 9a39bda into devel Sep 25, 2020
@arnetheduck arnetheduck deleted the spadina-blscurve branch September 25, 2020 17:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants