2015-08-01 20:54:10 +02:00
|
|
|
## dicepwgen - A diceware password generator
|
2015-07-31 22:29:55 +02:00
|
|
|
|
2015-08-01 20:54:10 +02:00
|
|
|
This is the README file for the password generator dicepwgen.
|
2015-07-31 22:29:55 +02:00
|
|
|
|
2015-08-01 20:54:10 +02:00
|
|
|
## Documentation
|
2015-07-31 22:29:55 +02:00
|
|
|
|
2015-08-01 20:54:10 +02:00
|
|
|
You can read the documentation without installing the
|
|
|
|
|
software:
|
|
|
|
|
|
2015-08-01 20:55:44 +02:00
|
|
|
perldoc dicepwgen.pod
|
2015-08-01 20:54:10 +02:00
|
|
|
|
|
|
|
|
If it is already installed, you can read the manual page:
|
|
|
|
|
|
2015-08-01 20:55:44 +02:00
|
|
|
man dicepwgen
|
2015-08-01 20:54:10 +02:00
|
|
|
|
|
|
|
|
## Installation
|
|
|
|
|
|
2015-08-01 20:55:11 +02:00
|
|
|
This software doesn't have any external dependencies, but
|
2015-08-01 20:54:10 +02:00
|
|
|
you need either BSD make or GNU make installed to build it.
|
|
|
|
|
|
|
|
|
|
First you need to check out the source code. Skip this, if
|
|
|
|
|
you have already done so:
|
|
|
|
|
|
|
|
|
|
git clone git@github.com:TLINDEN/diceware.git
|
|
|
|
|
|
|
|
|
|
Next, change into the newly created directory 'diceware' and
|
|
|
|
|
compile the source code:
|
|
|
|
|
|
|
|
|
|
cd diceware
|
|
|
|
|
make
|
|
|
|
|
|
2015-08-02 15:20:42 +02:00
|
|
|
Although dicepwgen has an option to specify a dictionary file
|
|
|
|
|
on the commandline, there's also a built-in default. This default
|
|
|
|
|
can be modified during compilation, e.g.:
|
|
|
|
|
|
|
|
|
|
make DICTFILE=/usr/local/share/dict/german.txt
|
|
|
|
|
|
2015-08-01 20:54:10 +02:00
|
|
|
To install, type this command:
|
|
|
|
|
|
|
|
|
|
sudo make install
|
|
|
|
|
|
|
|
|
|
This will install the binary to `$PREFIX/sbin/dicepwgen` and
|
|
|
|
|
the manual page to `$PREFIX/man/man1/dicepwgen.1`. You can
|
|
|
|
|
modify `$PREFIX` during installation time like this:
|
|
|
|
|
|
|
|
|
|
make install PREFIX=/opt
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
## Usage
|
2015-07-31 22:29:55 +02:00
|
|
|
|
2015-08-02 15:20:42 +02:00
|
|
|
Usage: dice [-tcfvhd]
|
|
|
|
|
Options:
|
|
|
|
|
-t --humantoss Asks interactively for rolled dices
|
|
|
|
|
-c --wordcount <count> Number of words (default: 4)
|
|
|
|
|
-f --dictfile <dictfile> Dictionary file to use (default:
|
|
|
|
|
/usr/share/dict/american-english)
|
|
|
|
|
-l --minlen <count> Minimum word len (default: 5)
|
|
|
|
|
-m --maxlen <count> Maximum word len (default: 10)
|
|
|
|
|
-d --debug Enable debug output
|
|
|
|
|
-v --version Print program version
|
|
|
|
|
-h -? --help Print this help screen
|
|
|
|
|
|
|
|
|
|
If you want to generate a truly random diceware password, use
|
|
|
|
|
the option -t. In that case you have to roll physical dices and
|
|
|
|
|
enter the results (dicepwgen will ask you for them).
|
2015-07-31 22:29:55 +02:00
|
|
|
|
2015-08-01 20:54:10 +02:00
|
|
|
## Getting help
|
|
|
|
|
|
2015-08-01 20:55:44 +02:00
|
|
|
Although I'm happy to hear from dicepwgen users in private email,
|
2015-08-01 20:54:10 +02:00
|
|
|
that's the best way for me to forget to do something.
|
|
|
|
|
|
|
|
|
|
In order to report a bug, unexpected behavior, feature requests
|
|
|
|
|
or to submit a patch, please open an issue on github:
|
|
|
|
|
https://github.com/TLINDEN/diceware/issues.
|
|
|
|
|
|
|
|
|
|
## License
|
|
|
|
|
|
|
|
|
|
This software is licensed under the GNU GENERAL PUBLIC LICENSE version 3.
|
|
|
|
|
|
|
|
|
|
## Author
|
|
|
|
|
|
|
|
|
|
T.v.Dein <tom AT vondein DOT org>
|
2015-07-31 22:29:55 +02:00
|
|
|
|
2015-08-01 20:54:10 +02:00
|
|
|
## Project homepage
|
2015-07-31 22:29:55 +02:00
|
|
|
|
2015-08-01 20:54:10 +02:00
|
|
|
https://github.com/TLINDEN/diceware
|