[PATCH] stop using pwgen
Brian Candler
b.candler at pobox.com
Tue Dec 20 11:30:00 CET 2016
On 20/12/2016 10:17, Daniel Dörrhöfer wrote:
> I have tested this implementation with the -no-symbols / -n option
> turned on and have noticed that the password contains a single quote (').
>
> e.G. 7S3b4wJ4R7'RfWGagkhaM95'6
>
> To reproduce this, you have to generate a couple of passwords.
Good catch :-)
+CHARACTER_SET="${PASSWORD_STORE_CHARACTER_SET:-'[:graph:]'}"
+CHARACTER_SET_NO_SYMBOLS="${PASSWORD_STORE_CHARACTER_SET_NO_SYMBOLS:-'[:alnum:]'}"
has spurious quotes. Try changing to:
+CHARACTER_SET="${PASSWORD_STORE_CHARACTER_SET:-[:graph:]}"
+CHARACTER_SET_NO_SYMBOLS="${PASSWORD_STORE_CHARACTER_SET_NO_SYMBOLS:-[:alnum:]}"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.zx2c4.com/pipermail/password-store/attachments/20161220/967daa62/attachment.html>
More information about the Password-Store
mailing list