<div dir="ltr">Is there a reason to not just add any required symbols on to the end of the password, or remove illegal characters (perhaps generating a slightly longer password to account for this)? There's a negligible effect on password entropy and skips all of this bikeshedding around replacing pwgen.<br><br>Password generation isn't something done often, and if it is, it's trivial to write a script to generate passwords according to your own needs, and make pass use it by setting EDITOR. I suspect most pass users do not need this feature.</div><br><div class="gmail_quote"><div dir="ltr">On Sun, Nov 13, 2016 at 2:10 PM Michael Hoff <<a href="mailto:mail@michael-hoff.net">mail@michael-hoff.net</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On 13.11.2016 21:36, Jason A. Donenfeld wrote:<br class="gmail_msg">
> On Sun, Nov 13, 2016 at 2:57 PM, Michael Hoff <<a href="mailto:mail@michael-hoff.net" class="gmail_msg" target="_blank">mail@michael-hoff.net</a>> wrote:<br class="gmail_msg">
>> I don't think that `pwgen` is the suitable application for this.<br class="gmail_msg">
> Why? It already supports lots of different options regarding symbols<br class="gmail_msg">
> and numbers and whatnot. This seems like just another little flag for<br class="gmail_msg">
> it.<br class="gmail_msg">
<br class="gmail_msg">
My point is that `apg` already provides all required features and - to<br class="gmail_msg">
my understanding - `apg` is also available in all linux distributions.<br class="gmail_msg">
Why invest time and effort in `pwgen` instead?<br class="gmail_msg">
<br class="gmail_msg">
Of course, it is possible to implement this in `pwgen`, also.<br class="gmail_msg">
One has to change the central generator function interface `(char<br class="gmail_msg">
*inbuf, int size, int pw_flags)` to also contain a character set for<br class="gmail_msg">
symbols (which is consequently no trivial flag) and implement the<br class="gmail_msg">
corresponding functionality in the random and the phonem generator.<br class="gmail_msg">
<br class="gmail_msg">
--<br class="gmail_msg">
S/MIME and PGP (0xA79D31C0) supported<br class="gmail_msg">
<a href="https://michael-hoff.net" rel="noreferrer" class="gmail_msg" target="_blank">https://michael-hoff.net</a><br class="gmail_msg">
<br class="gmail_msg">
<br class="gmail_msg">
_______________________________________________<br class="gmail_msg">
Password-Store mailing list<br class="gmail_msg">
<a href="mailto:Password-Store@lists.zx2c4.com" class="gmail_msg" target="_blank">Password-Store@lists.zx2c4.com</a><br class="gmail_msg">
<a href="http://lists.zx2c4.com/mailman/listinfo/password-store" rel="noreferrer" class="gmail_msg" target="_blank">http://lists.zx2c4.com/mailman/listinfo/password-store</a><br class="gmail_msg">
</blockquote></div>