pass generate without writing to store

Nils André nils at
Sun Oct 1 18:56:12 UTC 2023

This is the line that generates passwords in pass:

You can use that to generate your own passwords. Otherwise there's
programs like pwgen[0].


On Sun, 1 Oct 2023 at 05:45, Ondřej Synáček <ondrejsynacek at> wrote:
> I'm wondering if it's possible to have `pass generate` just return
> the generated password to stdout without providing password name.
> The reason is that when I have pass installed on my system, I know
> it creates password and would like to use it as password generator
> too for other stuff.
> Second reason is that I want to write my own wrapper around pass
> to augment the functionality and would like to re-use the logic
> for generating password. My wrapper would have different way
> of creating passwords with custom UI so at some point I only
> want to have just the generated password available.

More information about the Password-Store mailing list