Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: [PATCH] (2nd try) new function passphrase generator



On 9/3/25 3:12 PM, Clinton Bunch wrote:
The use case I had in mind was install scripts for programs that need to interface with a database or other password protected resources.  But also, why download another program when the shell is perfectly capable of generating a secure password when you need to change your password?

It seems to be dependent on installing a word list not shipped with zsh, so zsh isn't actually capable of doing it alone though.

And you usually don't have to install an additional program for install scripts when you can do stuff like:

LC_ALL=C tr -dc '!-~' </dev/urandom | fold -w 20 | sed q

or in the case of config management tools like ansible, password modules builtin the tool designed for configuration management.

The script is for creating passwords via a specific method and depends on external stuff, which again is fine, i just don't see
why it needs to be shipped with an shell personally.






Messages sorted by: Reverse Date, Date, Thread, Author