A terminal password generator for macOS, built in C with ncurses.
make
./passgenmake downloads the EFF large Diceware wordlist as eff_large_wordlist.txt, then builds with -Wall -Wextra and links ncurses.
- Password mode:
Left/Rightor-/+adjusts character length from 1 to 128 - Password mode:
[/]adjusts character length in larger 8-character steps - Passphrase mode:
Left/Rightor-/+adjusts the number of words from 1 to 32 - Passphrase mode:
[/]adjusts the number of words in 2-word steps - Passphrase mode:
Tcycles separators between hyphens, spaces, and none U: toggle uppercase lettersL: toggle lowercase lettersD: toggle digitsS: toggle symbolsM: switch between password and Diceware passphrase modeSpace/Enter: regenerateV: show or hide the generated output; output is hidden by defaultC: copy the current output to the macOS clipboard withpbcopyh: show or hide only the latest history itemH: show or hide the full session history- When full history is visible:
Up/Downscroll by one item - When full history is visible:
PageUp/PageDownscroll by a page Q/Escape: exit
Generated history is hidden by default, kept only in memory for the current session, capped at 100 entries, and cleared on exit.