pass generate without writing to store

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


This is the line that generates passwords in pass:
https://git.zx2c4.com/password-store/tree/src/password-store.sh?id=28cec11f1dbe6c4273d30370af45b69c9f408386#n539

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

[0]: https://github.com/tytso/pwgen


On Sun, 1 Oct 2023 at 05:45, Ondřej Synáček <ondrejsynacek at fastmail.com> 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