-
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
Issues recovering 24-word launchpad mnemonics #1624
Comments
Tested with Milagro just to be sure it isn't a BLS issue, and the same key is derived. |
I checked out the wordlists each are using and they are identical. https://github.com/maciejhirsz/tiny-bip39/blob/master/src/langs/english.txt |
Lighthouse uses scrypt as kdf whereas Prysm uses pbkdf2. |
There were some changes to the EIP-2333 spec made a couple months ago that don't seem to be implemented in Lighthouse. I think this change specifically is causing the difference: I hard-coded this test vector from the eth2.0-deposit-cli and it went from failing to passing after I made those updates ^
|
As per EIP-2335 we support both of these formats, so I don't think this is the issue. Thanks, though :) |
@paulhauner Sorry what I meant Lighthouse json output where scrypt kdf while prysm was pbkdf2 kdf for the same mnemo. Anyway even salt, checksum, and everything were different. |
My comment is a little out of date because EIP-2333 was updated again yesterday. This the the PR to implement the newest changes in the eth2-deposit-cli: ethereum/staking-deposit-cli#108 |
## Issue Addressed #1624 ## Proposed Changes Updates to match [EIP-2333](`https://eips.ethereum.org/EIPS/eip-2333`) ## Additional Info In order to have compatibility with the eth2.0-deposit-cli, [this PR](ethereum/staking-deposit-cli#108) must also be merged
Resolved in #1633 |
I just opened #1665 to track generating 24-word mnemonics by default |
## Issue Addressed #1624 ## Proposed Changes Updates to match [EIP-2333](`https://eips.ethereum.org/EIPS/eip-2333`) ## Additional Info In order to have compatibility with the eth2.0-deposit-cli, [this PR](ethereum/staking-deposit-cli#108) must also be merged
## Issue Addressed #1624 ## Proposed Changes Updates to match [EIP-2333](`https://eips.ethereum.org/EIPS/eip-2333`) ## Additional Info In order to have compatibility with the eth2.0-deposit-cli, [this PR](ethereum/staking-deposit-cli#108) must also be merged
## Issue Addressed #1624 ## Proposed Changes Updates to match [EIP-2333](`https://eips.ethereum.org/EIPS/eip-2333`) ## Additional Info In order to have compatibility with the eth2.0-deposit-cli, [this PR](ethereum/staking-deposit-cli#108) must also be merged
## Issue Addressed #1624 ## Proposed Changes Updates to match [EIP-2333](`https://eips.ethereum.org/EIPS/eip-2333`) ## Additional Info In order to have compatibility with the eth2.0-deposit-cli, [this PR](ethereum/staking-deposit-cli#108) must also be merged
## Issue Addressed #1624 ## Proposed Changes Updates to match [EIP-2333](`https://eips.ethereum.org/EIPS/eip-2333`) ## Additional Info In order to have compatibility with the eth2.0-deposit-cli, [this PR](ethereum/staking-deposit-cli#108) must also be merged
## Issue Addressed #1624 ## Proposed Changes Updates to match [EIP-2333](`https://eips.ethereum.org/EIPS/eip-2333`) ## Additional Info In order to have compatibility with the eth2.0-deposit-cli, [this PR](ethereum/staking-deposit-cli#108) must also be merged
Description
Our recovery from 24-word mnemonics seems to be broken. Take this mnemonic that I derived from the
eth2.0-deposit-cli
just now:The deposit CLI says that the 0th voting key for this mnemonic is
0x9671e8c1ccc469fd63d81d0eefef185374f5447da479e5327a38e8cb9e4d61bab78449d6e8b0fa3a9f20c45bba770da1
, butlighthouse account validator recover
yields0x95327ade0bfab496c26f0af24c49a9c45dfdb0c133dee2d49712d6a369ecc814cb15d95df61e93dd16d33fd016f7b127
. The path seems to be correct --m/12381/3600/0/0/0
in both cases. We also derive the same key by recovering the wallet and then creating a validator.Thanks to
@FeelsGoodMan
on Discord for raising this.Version
Lighthouse v0.2.9-e5fc6bab4
BLS Library: blst
The text was updated successfully, but these errors were encountered: