<div dir="ltr"><div class="markdown-here-wrapper" style=""><p style="margin:0px 0px 1.2em!important">Don’t forget about <code style="font-size:0.85em;font-family:Consolas,Inconsolata,Courier,monospace;margin:0px 0.15em;padding:0px 0.3em;white-space:pre-wrap;border:1px solid rgb(234,234,234);background-color:rgb(248,248,248);border-radius:3px;display:inline">mkpasswd</code>, as that is also able to generate a password to your liking.</p>
<div title="MDH:RG9uJ3QgZm9yZ2V0IGFib3V0IGBta3Bhc3N3ZGAsIGFzIHRoYXQgaXMgYWxzbyBhYmxlIHRvIGdl
bmVyYXRlIGEgcGFzc3dvcmQgdG8geW91ciBsaWtpbmcu" style="height:0;width:0;max-height:0;max-width:0;overflow:hidden;font-size:0em;padding:0;margin:0"></div></div></div><br><div class="gmail_quote"><div dir="ltr">On Tue, Nov 14, 2017 at 7:00 AM Till Schäfer <<a href="mailto:till2.schaefer@tu-dortmund.de">till2.schaefer@tu-dortmund.de</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
there is a standard unix tool for this purpose: pwgen<br>
<br>
Regards,<br>
Till<br>
<br>
On Dienstag, 14. November 2017 13:51:26 CET b3yond wrote:<br>
> pass can't do this, as it can't use files as output which are outside<br>
> .password-store.<br>
><br>
> you can use this command instead for a 32 length alphanumeric passphrase:<br>
><br>
> cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 32 | head -n 1<br>
><br>
> I hope this helps :)<br>
><br>
> b3yond<br>
><br>
><br>
> On 14.11.2017 13:21, Alan Orth wrote:<br>
> > Hello,<br>
> ><br>
> > I'm wondering how to make pass print a generated password to stdout.<br>
> > Sometimes I need to generate a password that I don't want or need to<br>
> > store. It would be nice if I could just use pass generate for that.<br>
> > Currently it seems that the "pass-name" argument is mandatory.<br>
> ><br>
> > Thank you,<br>
> ><br>
> > Alan Orth<br>
> > <a href="mailto:alan.orth@gmail.com" target="_blank">alan.orth@gmail.com</a> <mailto:<a href="mailto:alan.orth@gmail.com" target="_blank">alan.orth@gmail.com</a>><br>
> > <a href="https://picturingjordan.com" rel="noreferrer" target="_blank">https://picturingjordan.com</a><br>
> > <a href="https://englishbulgaria.net" rel="noreferrer" target="_blank">https://englishbulgaria.net</a><br>
> > <a href="https://mjanja.ch" rel="noreferrer" target="_blank">https://mjanja.ch</a><br>
> ><br>
> ><br>
> ><br>
> > _______________________________________________<br>
> > Password-Store mailing list<br>
> > <a href="mailto:Password-Store@lists.zx2c4.com" target="_blank">Password-Store@lists.zx2c4.com</a><br>
> > <a href="https://lists.zx2c4.com/mailman/listinfo/password-store" rel="noreferrer" target="_blank">https://lists.zx2c4.com/mailman/listinfo/password-store</a><br>
><br>
><br>
<br>
<br>
--<br>
Dipl.-Inf. Till Schäfer<br>
TU Dortmund University<br>
Chair 11 - Algorithm Engineering<br>
Otto-Hahn-Str. 14 / Room 237<br>
44227 Dortmund, Germany<br>
<br>
e-mail: <a href="mailto:till.schaefer@cs.tu-dortmund.de" target="_blank">till.schaefer@cs.tu-dortmund.de</a><br>
phone: <a href="tel:+49%20231%207557706" value="+492317557706" target="_blank">+49(231)755-7706</a><br>
fax: <a href="tel:+49%20231%207557740" value="+492317557740" target="_blank">+49(231)755-7740</a><br>
web: <a href="http://ls11-www.cs.uni-dortmund.de/staff/schaefer" rel="noreferrer" target="_blank">http://ls11-www.cs.uni-dortmund.de/staff/schaefer</a><br>
pgp: <a href="https://keyserver2.pgp.com/vkd/SubmitSearch.event?&&SearchCriteria=0xD84DED79" rel="noreferrer" target="_blank">https://keyserver2.pgp.com/vkd/SubmitSearch.event?&&SearchCriteria=0xD84DED79</a><br>
_______________________________________________<br>
Password-Store mailing list<br>
<a href="mailto:Password-Store@lists.zx2c4.com" target="_blank">Password-Store@lists.zx2c4.com</a><br>
<a href="https://lists.zx2c4.com/mailman/listinfo/password-store" rel="noreferrer" target="_blank">https://lists.zx2c4.com/mailman/listinfo/password-store</a><br>
</blockquote></div><div dir="ltr">-- <br></div><div class="gmail_signature" data-smartmail="gmail_signature"><p dir="ltr">-Nick</p>
</div>