Adds a longer, 8,192-word word list as words2.json #18
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
As requested in #17 .
List information
Why should Buttercup consider using/offering a longer word list? As argued, Buttercup's current 1,700 word list is a bit short compared to other password managers' lists. 8,192 words would bring Buttercup closer to the norm (e.g. KeePassXC and BitWarden, which both use 7,776-word lists).
Using 8,192 words means that each word from this longer list will give a passphrase an additional 13 bits of entropy. Thus, a 4-word passphrase from this longer list will have 52 bits of entropy (13 * 4), compared to just 42.9 bits from a 1,700-word list.
Why 8,192 words, specifically? As discussed, a length of 8,192, or 213, words should work nicely with binary random number generators, which I'm assuming Buttercup uses. Also it gives exactly 13 bits of entropy per word, which makes entropy/strength calculations a little easier. And it's a few hundred words longer than the standard of 7,776 words.
Why not more words? We could of course go with a longer list: Enpass's word list is either 14k or 11k, 1Password's is around 18k, and NordPass uses at least 123k words(!). As mentioned elsewhere, I'd nominate my Orchard Street Long List (17,576 words) if we wanted 14+ bits per word.
License
This list uses words from Wikipedia, so it's licensed under Creative Commons Attribution-ShareAlike 3.0 Unported License.
Disclaimer/things to check for
I haven't thoroughly checked this list for strange words, so let me know if you find any we should swap out.