I agree. My patch is alphanumeric without 0OlI. I (trivially) modified the code in a similar way to what you mentioned.

Thanks for your help!

Best,

Fernando

On 03/12/20, Richard Kelly wrote:
"Unambiguous" can be subjective. I sort of like the control offered by the 
current solution.

In any case, adding a line after this might work:
https://github.com/zx2c4/password-store/blob/f152064da9832d6d3d2b4e75f43f63bf2d50716f/src/password-store.sh#L516

Something like this:
                -u|--unambiguous) 
characters="ABCDEFGHJKLMNPQ...vwxyz1234567890~!@#$%^&*()_-+={}[]|:;<>,.?"; 
shift ;;


On Thu, Dec 3, 2020, at 20:20, Fernando Cladera wrote:
Hi Richard,

Yes, I found the same env variable on the documentation. Nonetheless, I was
wondering of a simpler option, such as

pass generate -u

similar to what -n does.

Thanks for your help!

Best,

Fernando

On 03/12/20, Richard Kelly wrote:
>Fernando,
>
>Found this in the man page:
>
>"The character sets used in generating passwords can be changed with the 
PASSWORD_STORE_CHARACTER_SET and PASSWORD_STORE_CHARACTER_SET_NO_SYMBOLS environment 
variables, described below."
>
>Environment Variables
>PASSWORD_STORE_CHARACTER_SET
>The character set to be used in password generation for generate. This value 
is to be interpreted by tr. See tr(1) for more info.
>
>PASSWORD_STORE_CHARACTER_SET_NO_SYMBOLS
>The character set to be used in no-symbol password generation for generate, 
when --no-symbols, -n is specified. This value is to be interpreted by tr. See 
tr(1) for more info.
>
>https://git.zx2c4.com/password-store/about/
>
>Hope that helps,
>Richard
>
>
>On Thu, Dec 3, 2020, at 19:42, Fernando Cladera wrote:
>> Hi all,
>>
>> First of all, thanks for such an awesome tool!
>>
>> I have a comment/question. Is there interest in adding unambiguous no-symbol
>> passwords, like Bitcoin does? I.e. removing uppercase letter "O", uppercase
>> letter "I", lowercase letter "l", and the number "0" [1].
>>
>> Thanks,
>>
>> Fernando
>>
>> [1]: https://en.bitcoinwiki.org/wiki/Bitcoin_address
>>

Reply via email to