Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
D
diceware-debian
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
drebs
diceware-debian
Commits
d5fdf725
Commit
d5fdf725
authored
9 years ago
by
ulif
Browse files
Options
Downloads
Patches
Plain Diff
Update wordlists docs.
parent
473cb840
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
docs/wordlists.rst
+53
-10
53 additions, 10 deletions
docs/wordlists.rst
with
53 additions
and
10 deletions
docs/wordlists.rst
+
53
−
10
View file @
d5fdf725
...
...
@@ -11,21 +11,64 @@ By default we use the so-called `8k wordlist`_ from Mr. Reinhold as
published on http://diceware.com/. It contains 8,192 english words
and phrases.
.. warning:: We do *not* use the `diceware standard wordlist`_ (which
contains 7,776 words) by default, because computers
prefer powers of two and we use the Python standard lib
random source by default.
But this "original" list is included in diceware as
well. You can pick it with the ``-w en_orig`` option and
you *should* pick it when you use real dice as source of
.. warning:: We do -- by default -- *not* use the `diceware standard
wordlist`_ (which contains 7,776 words), because
computers prefer powers of two and we use the Python
standard lib random source by default (we do not want to
waste entropy).
But the "original" list is included in diceware as well
and you can pick it with the ``-w en_orig`` option. You
*should* pick it when you use real dice as source of
randomness.
You can pick another list with the ``-w`` or ``--wordlist`` option.
You can add own wordlists.
You can add PGP-signed wordlists.
Add Own Wordlists
-----------------
The wordlists we offer for use with `diceware` are all stored in a
single folder. The exact location is output by ``--help`` at the very
end::
$ diceware --help
...
Wordlists are stored in /some/path/to/folder
Just put your own wordlists into this folder (here:
``/some/path/to/folder``) and rename the file to something like
``wordlist_MY_SPECIAL_NAME.txt``. Afterwards you can pick your
wordlist by running::
$ diceware -w MY_SPECIAL_NAME
`diceware` will use this file of yours then to create a
passphrase. Please note that `diceware` only accepts files that are
named like::
wordlist_NAME.txt
or::
wordlist_OTHER_NAME.asc
I.e. we expect ``wordlist_`` at the beginning and some filename
extension like ``.txt`` at the end. Furthermore names must not contain
funny characters. In fact we accept regular letters, dashes, numbers,
and underscores only. Files that do not follow these naming convention
are ignored.
A list of all available wordlist names can also be retrieved with
``--help``. See the ``--wordlist`` explanation.
Special Wordlists
-----------------
Out of the box, `diceware` supports PGP-signed wordlists and numbered
wordlists. Numbered wordlists contain numbers in each line, telling a
sequence of dice rolls.
.. _`8k wordlist`: http://world.std.com/~reinhold/diceware8k.txt
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment