Skip to content
Snippets Groups Projects
Commit 0a261a1d authored by ulif's avatar ulif
Browse files

Make `en_eff` the default wordlist. Fixes #33.

The EFF list is currently certainly the scientifically most advanced
list. Thanks to @anarcat for proposing this switch! The securedrop
list is still available.
parent 74afee77
No related branches found
No related tags found
No related merge requests found
......@@ -110,12 +110,12 @@ def handle_options(args):
"Get randomness from this source. Possible values: `%s'. "
"Default: system" % "', `".join(sorted(random_sources))))
parser.add_argument(
'-w', '--wordlist', default='en_securedrop', choices=wordlist_names,
'-w', '--wordlist', default='en_eff', choices=wordlist_names,
metavar="NAME",
help=(
"Use words from this wordlist. Possible values: `%s'. "
"Wordlists are stored in the folder displayed below. "
"Default: en_securedrop" % "', `".join(wordlist_names)))
"Default: en_eff" % "', `".join(wordlist_names)))
realdice_group = parser.add_argument_group(
"Arguments related to `realdice' randomsource",
)
......
......@@ -33,7 +33,7 @@ OPTIONS_DEFAULTS = dict(
delimiter="",
randomsource="system",
verbose=0,
wordlist="en_securedrop",
wordlist="en_eff",
dice_sides=6,
)
......
......@@ -22,8 +22,7 @@ optional arguments:
-w NAME, --wordlist NAME
Use words from this wordlist. Possible values: `en',
`en_eff', `en_orig', `en_securedrop'. Wordlists are
stored in the folder displayed below. Default:
en_securedrop
stored in the folder displayed below. Default: en_eff
-v, --verbose Be verbose. Use several times for increased verbosity.
--version output version information and exit.
......
......@@ -42,7 +42,7 @@ class TestHandleOptions(object):
assert options.version is False
assert options.delimiter == ""
assert options.randomsource == "system"
assert options.wordlist == "en_securedrop"
assert options.wordlist == "en_eff"
assert options.verbose == 0
def test_handle_options_infile(self, tmpdir):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment