Browse Source

Add bug description

checkpoints
Aditya Kulkarni 5 years ago
parent
commit
4b21f7c530
  1. 13
      bip39bug.md

13
bip39bug.md

@ -0,0 +1,13 @@
## Zecwallet-cli BIP39 derivation bug
In v1.0 of zecwallet-cli, there was a bug that incorrectly derived HD wallet keys after the first key. That is, the first key, address was correct, but subsequent ones were not.
The issue was that the 32-byte seed was directly being used to derive then subsequent addresses instead of the 64-byte pkdf2(seed). The issue affected both t and z addresses.
Note that no funds are at risk. The issue is that, if in the future, you import the seed into a different wallet, you might not see all your addresses in the new wallet, so it's better to fix it now.
## Fix
If you start a wallet that has this bug, you'll be notified.
The bug can be automatically fixed by the wallet by running `fixbip39bug`
If you have any funds in the incorrect addresses, they'll be sent to yourself, and the correct addresses re-derived.
Loading…
Cancel
Save