semuxproject / semux-core

Semux Core
https://www.semux.org
MIT License
76 stars 32 forks source link

Сhecksum for imported mnemonic phrase is not verified #299

Open tell-1c opened 3 years ago

tell-1c commented 3 years ago
  1. Click menu Wallet > Reset HD wallet mnemonic phrase
  2. Enter your mnemonic phrase with invalide checksum, for example "abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon about abandon" or "legal winner thank year wave sausage worth useful legal winner thank yellow thank" or "letter advice cage absurd amount doctor acoustic avoid letter advice cage above cage".
  3. Your new mnemonic phrase will be successfully imported into the wallet))

P.S.: The twelfth word is responsible only for the checksum and does not affect the entropy. However, this word must be into a wordlist https://github.com/semuxproject/semux-core/blob/master/src/main/resources/wordlists/english.txt.

orogvany commented 3 years ago

Good catch! I'm not sure how checksum validation went missing