Generate secure random passwords from Alfred. Uses /dev/urandom
as source of entropy.
Features
- Passwords can be generated based on strength or length.
- Offers multiple generators, including based on real words and pronounceable pseudo-words generated with Markov chains.
- Shows the strength of each generated password.
- More convenient that 1Password or the like.
- More dependable than online generators.
- Copies passwords as "concealed" data by default (so clipboard managers don't record them).
Usage
pwgen [<strength>]
— Generate passwords of specified strength. Default is3
(96 bits of entropy). See Password strength for details.↩
— Copy the selected password to the clipboard.⌘↩
— Copy the selected password to the clipboard and paste it to the frontmost application.⌥↩
or⌘C
— Copy the selected password to the clipboard as public data^↩
— Copy the selected password to the clipboard as public data and paste it to the frontmost application.⌘+L
— Show the selected password in Alfred's Large Text window.
pwlen [<length>]
— Generate passwords of specified length. Default is20
. See Password strength for details.↩
— Copy the selected password to the clipboard.⌘↩
— Copy the selected password to the clipboard and paste it to the frontmost application.⌥↩
or⌘C
— Copy the selected password to the clipboard as public data^↩
— Copy the selected password to the clipboard as public data and paste it to the frontmost application.⌘+L
— Show the selected password in Alfred's Large Text window.
pwconf [<query>]
— View and edit workflow settings. See Configuration for details.
Note: Word-based generators may provide passwords that are slightly longer than <length>
.
Full Details
Please see the GitHub README for full details on the available levels of security and the configuration.