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
23882d8f
Commit
23882d8f
authored
10 years ago
by
ulif
Browse files
Options
Downloads
Patches
Plain Diff
Update docs.
parent
6d9c367a
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
README.rst
+25
-1
25 additions, 1 deletion
README.rst
with
25 additions
and
1 deletion
README.rst
+
25
−
1
View file @
23882d8f
...
...
@@ -44,10 +44,13 @@ Usage
Once installed, use ``--help`` to list all available options::
$ diceware --help
usage: diceware [-h] [-n NUM] [-c | --no-caps] [-s NUM]
usage: diceware [-h] [-n NUM] [-c | --no-caps] [-s NUM]
[INFILE]
Create a passphrase
positional arguments:
INFILE Input wordlist. `-' will read from stdin.
optional arguments:
-h, --help show this help message and exit
-n NUM, --num NUM number of words to concatenate. Default: 6
...
...
@@ -93,6 +96,27 @@ You can nevertheless disable caps with the ``--no-caps`` option::
This leads to lower-case passphrases, maybe easier to type on smart
phones or similar.
`diceware` comes with an English wordlist (the 'diceware8k' list)
provided by Arnold G. Reinhold, which will be used by default and
contains 8192 different words.
If you do not like the wordlist provided, you can use your own one. Any
`INFILE` provided will be parsed line by line and each line considered
a possible word. For instance::
$ echo -e "hi\nhello\n" > mywordlist.txt
$ diceware mywordlist.txt
HelloHelloHiHiHiHello
With filename ``-`` you can pipe in wordlists::
$ echo -e "hi\nhello\n" > mywordlist.txt
$ cat mywordlist.txt | diceware -
HiHiHelloHiHiHello
In custom wordlists we take each line for a valid word and ignore
empty lines (i.e. lines containing whitespace characters only).
What is it good for?
--------------------
...
...
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