diceware for Mac
Passphrases to remember...
diceware — overview
Passphrases to remember...
|bdg-tests| | documentation _ | sources _ | issues _
.. |bdg-tests| image:: https://github.com/ulif/diceware/actions/workflows/tests.yml/badge.svg?branch=master :target: https://github.com/ulif/diceware/actions/workflows/tests.yml :alt: Test Status
.. |bdg-last-release| image:: https://img.shields.io/pypi/v/diceware.svg :target: https://pypi.python.org/pypi/diceware/ :alt: Latest Release
.. |bdg-versions| image:: https://img.shields.io/pypi/pyversions/diceware.svg :target: https://pypi.python.org/pypi/diceware/ :alt: Supported Python Versions
.. |bdg-license| image:: https://img.shields.io/pypi/l/diceware.svg :target: https://pypi.python.org/pypi/diceware/ :alt: License
.. |doc-status| image:: https://readthedocs.io/projects/diceware/badge/?version=latest :target: https://diceware.readthedocs.io/en/latest/ :alt: Documentation Status
diceware is a passphrase generator following the proposals of Arnold G. Reinhold on http://diceware.com . It generates passphrases by concatenating words randomly picked from wordlists. For instance::
$ diceware MyraPend93rdSixthEagleAid
The passphrase contains by default six words (with first char capitalized) without any separator chars. Optionally you can let diceware insert special chars into the passphrase.
diceware supports several sources of randomness (including real life dice) and different wordlists (including cryptographically signed ones).
.. contents::
Install
This Python package can be installed via pip_::
$ pip install diceware
The exact way depends on your operating system.
Usage
Once installed, use `--help to list all available options::
$ diceware --help usage: diceware [-h] [-n NUM] [-c | --no-caps] [-s NUM] [-d DELIMITER] [-r SOURCE] [-w [NAME [NAME ...]]] [--dice-sides N] [-v] [--version] [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 -c, --caps Capitalize words. This is the default. --no-caps Turn off capitalization. -s NUM, --specials NUM Append NUM special chars at the end of the generated passphrase. -d DELIMITER, --delimiter DELIMITER Separate words by DELIMITER. Empty string by default. -r SOURCE, --randomsource SOURCE Get randomness from this source. Possible values: realdice', system'. Default: system -w [NAME [NAME ...]], --wordlist [NAME [NAME ...]] Use words from this wordlist. Possible values: ca, de', de_8k', en_adjectives', en_eff', en_nouns', en_securedrop', es, fr, it, pt-br'. Wordlists are stored in the folders displayed below. Default: en_eff -v, --verbose Be verbose. Use several times for increased verbosity. --version output version information and exit. --show-wordlist-dirs Output directories we look up to find wordlists and exit.
Arguments related to realdice' randomsource: --dice-sides N Number of sides of dice. Default: 6
Details
用于记忆的密码短语
How to install diceware
- Open Terminal (press ⌘ + Space and type “Terminal”).
- If Homebrew is not installed yet, run the command below first.
- Run this command:
Latest 10 releases
This project has no GitHub releases yet.
Prebuilt bottle platforms
Official Homebrew bottles cover:
- all
⚠️ No prebuilt bottle for Intel Macs; Intel users need brew install --build-from-source to build from source.
Compared with similar apps
Only public metadata is compared, with no subjective recommendation; see the compare pages for field-by-field comparisons.
| App | Version | License | Architecture | 30-day installs |
|---|---|---|---|---|
| diceware | 1.0.1 | GPL-3.0-or-later | CLI | 34 |
| wirouter_keyrec | 1.1.2 | GPL-3.0-or-later | CLI | 1 |
| openssl@4 | openssl-4.1.0 | Apache-2.0 | CLI | 494,798 |
| xz | v5.8.4 | 0BSD AND GPL-2.0-or-later | CLI | 346,605 |
Similar apps: Command-line Tools
wirouter_keyrec
wirouterkeyrec is a small command-line tool designed to recover default WPA passwords from…openssl@4
Cryptography and SSL/TLS Toolkitxz
General-purpose data compression with high compression ratiopkgconf
pkgconf is a program which helps to configure compiler and linker flags for development…node
Node.js is an open-source, cross-platform JavaScript runtime environment.gh
GitHub command-line toolCategories: Command-line Tools