quapka / PA193_mnemonic_aller

MIT License
0 stars 1 forks source link

check alphabetical ordering of the words in wordlists #8

Open okrcma opened 4 years ago

okrcma commented 4 years ago

The function validateWordlist doesn't check the alphabetical ordering if the words in the wordlist. If an attacker was able to manipulate the wordlist, then they could use it to generate any seed from the given mnemonic phrase.

quapka commented 4 years ago

That would be a nice feature. Even if the ordering is sometimes tricky (for various languages), it would be still better to make in consistent when two dictionaries with the same words, but different order are used.