Generate password and print to stdout?

b3yond b3yond at systemli.org
Tue Nov 14 13:51:26 CET 2017


pass can't do this, as it can't use files as output which are outside
.password-store.

you can use this command instead for a 32 length alphanumeric passphrase:

cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 32 | head -n 1

I hope this helps :)

b3yond


On 14.11.2017 13:21, Alan Orth wrote:
> Hello,
>
> I'm wondering how to make pass print a generated password to stdout.
> Sometimes I need to generate a password that I don't want or need to
> store. It would be nice if I could just use pass generate for that.
> Currently it seems that the "pass-name" argument is mandatory.
>
> Thank you,
> -- 
>
> Alan Orth
> alan.orth at gmail.com <mailto:alan.orth at gmail.com>
> https://picturingjordan.com
> https://englishbulgaria.net
> https://mjanja.ch
>
>
>
> _______________________________________________
> Password-Store mailing list
> Password-Store at lists.zx2c4.com
> https://lists.zx2c4.com/mailman/listinfo/password-store

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.zx2c4.com/pipermail/password-store/attachments/20171114/aa58e40a/attachment.html>


More information about the Password-Store mailing list