# Password Generator Cryptographically secure password & passphrase generator (stdlib `secrets`). ``` python scripts/run.py password python scripts/run.py password -l 24 --symbols --no-ambiguous python scripts/run.py password -n 5 -l 12 python scripts/run.py passphrase -w 5 --capitalize --number python scripts/run.py passphrase -w 4 -s . --wordlist /usr/share/dict/words ``` Passwords guarantee at least one character from each enabled class. --- name: password-generator display_name: Password Generator description: "Generate strong random passwords and diceware-style passphrases with configurable length and character classes. Triggers: generate password, strong password, passphrase, diceware, random password." --- # Password Generator Generate cryptographically strong passwords and memorable passphrases. ## When to use The user needs a secure password or passphrase, optionally with specific length, character classes, or word count. ## How to use Run `scripts/run.py` with a subcommand: - `python scripts/run.py password` — one 16-char password (upper+lower+digits). - `python scripts/run.py password -l 24 --symbols --no-ambiguous` — longer, with symbols, no lookalikes. - `python scripts/run.py password -n 5 -l 12` — five 12-char passwords. - `python scripts/run.py passphrase -w 5 --capitalize --number` — diceware-style phrase. ## Pitfalls - Uses `secrets` (CSPRNG), not `random` — safe for real credentials. - At least one character class must stay enabled; length must be >= number of enabled classes (one char from each class is guaranteed). - `passphrase` uses the system dictionary when available, else a built-in wordlist; pass `--wordlist FILE` for your own.
Password Generator by langbot-team
Generate strong random passwords and diceware-style passphrases with configurable length and character classes.
Loading...