-
Notifications
You must be signed in to change notification settings - Fork 779
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
BIP-39 12 word seed phrase causes problems #1642
Comments
I've done some debugging and have found that Prysm and Lighthouse generate different derived Master Keys for a given seed phrase. Could there possibly be some missing elements in the procedure described in EIP-2333? I've been looking at Still trying to figure out how to debug the |
Hey @danielschonfeld, yes, it's related to the EIP-2333 version that's implemented. We have an issue tracking this: #1624 As far as Lighthouse generating a 12-word mnemonic, you're right that 24 words is better security and it is something we will be updating. 24 words equates to 256 bits of entropy, and the latest EIP-2333 requires at least 256 bits of entropy. |
@realbigsean it seems like our code doesn't append the byte arrays needed in any of the steps of
we simply use IKM, key_info and OKM respectively. This needs to be updated |
Yep that's under development here: #1633 It will probably be released with v0.3.0 of lighthouse because it is non-backwards compatible. |
@realbigsean we an close this issue :) thank you for pointing me to #1624 |
Description
This issue is two fold
I imagine that only the first 12 words are used and the rest is truncated unbeknown to the user. This can have catastrophic results.EDIT: See comment belowVersion
Lighthouse v0.2.10-5d17eb89
Present Behaviour
See above
Expected Behaviour
I believe better security is achieved with 24 words, and at any rate, the user should somehow be alerted to what's happening.
Steps to resolve
Use 24 word (I think?)
The text was updated successfully, but these errors were encountered: