bip39 icon indicating copy to clipboard operation
bip39 copied to clipboard

Custom wordlists

Open iancoleman opened this issue 5 years ago • 1 comments

It seems many wordlists are not being accepted into the bip39 standard.

See https://github.com/bitcoin/bips/pull/863#issuecomment-559024471

An option, albeit quite dangerous to end users, would be to allow custom wordlists.

This to me would include two new features

  • a list of links to unofficial wordlists. This would be a link to a copy/paste version of the list, and a second link explaining the reasoning behind the wordchoices (eg a conversation in a github issue or PR).
  • a textarea to load a custom wordlist. This means users can load any list of 2048 words, which is extremely dangerous, and it relies on copy paste, which also seems dangerous.

I'll leave this issue here to funnel discussion when wordlists comes up. I think this potential feature is too easy for users to create mistakes, but I'm open to making this tool easier for other languages.

iancoleman avatar Dec 08 '19 22:12 iancoleman

Yes, bip39 would reject any further wordlist proposal. Myself also has 2 unofficial wordlists (german and russian), see https://sebres.github.io/bip39 (or https://github.com/sebres/coins-bip39 for source), however I use them just for backup purposes.

By the way, I never understand the necessity to use mnemonic words (rather the need to remember so many words) for the wallet at all. Many people already using deterministic or persistent password generators with a secret and/or password (like my pwd-gen for instance or browser extensions). So I extended this web-tool with base 64 and base 91 entropy-type, in order to be able input the entropy in that format (in chars of base 64 or base 91). Also one can now enter it direct using pwd-gen dialog or from browser extension.

The pros:

  • one doesn't need to remember large amount of foreign words anymore (lastly, own secret and/or password are enough);
  • the secret and password can be entered in own native language and as completely free text, so no wordlists needed at all;
  • they can be even the same as used for the passwords of any other web-sites (so no need to remember additional secret and/or password at all);
  • the entropy is many times larger by default, e. g. entered via pwd-gen which uses very long type, it becomes 512 bits, that corresponds 48 words in mnemonic phrase (can one still really remember 48 words in correct order?)

@iancoleman, if you think it is interesting enhancement, I could provide a PR with that.

sebres avatar Jan 06 '24 21:01 sebres