https://github.com/t-richards/password-generator
A secure, sane-defaults password generator for Unix and GNU/Linux.
https://github.com/t-richards/password-generator
password password-generator sane-defaults security
Last synced: 24 days ago
JSON representation
A secure, sane-defaults password generator for Unix and GNU/Linux.
- Host: GitHub
- URL: https://github.com/t-richards/password-generator
- Owner: t-richards
- License: mit
- Created: 2018-10-04T00:55:50.000Z (almost 8 years ago)
- Default Branch: main
- Last Pushed: 2025-12-13T01:46:10.000Z (7 months ago)
- Last Synced: 2025-12-14T16:21:38.609Z (7 months ago)
- Topics: password, password-generator, sane-defaults, security
- Language: C
- Homepage:
- Size: 71.3 KB
- Stars: 1
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# password-generator
A secure, sane-defaults password generator for Unix and GNU/Linux.
## How to know if this password generator is for you
- You want a password generator which runs on the command line
- You want a password generator with no dependencies (e.g. gcrypt, openssl)
- You want a password generator with a small amount of code, so you can read and understand it easily
- You want a program which fails loudly at the first sign of trouble
- You trust your kernel's random source, but only when it has been seeded properly
## How to know if this password generator is *NOT* for you
- You want your passwords to be "pronounceable" or "memorable"
- You want a password generator with a GUI
- You prefer to login to your password manager before being able to generate passwords
- You have an old kernel or C library without the `getrandom` call in it
## Getting started (Docker)
```bash
# Generate one 64-character password
docker run --rm -it ghcr.io/t-richards/password-generator
```
## Getting started (build from source)
```bash
# Build program
make
# Show usage
$ ./password-generator --help
Usage: ./password-generator [password_length] [num_passwords]
# Generate one 64-character password
./password-generator
# Generate 8 32-character passwords
./password-generator 32 8
```
## License
[MIT](./LICENSE).