[pass] Short PGP IDs in pass

Niklas Hambüchen mail at nh2.me
Mon Feb 8 14:19:56 CET 2016


Yes, I found that pass works just as well with long IDs.

My question is rather, what happens when I have conflicting IDs in my
keyring?

Will gpg and/or pass complain and prompt me about it, or will it encrypt
for both, or potentially choose the "wrong" one?

Thanks!

On 05/02/16 19:58, Jason A. Donenfeld wrote:
> You can put whatever you want in there. If gpg's -r option can
> recognize it, so can pass.
> 
> zx2c4 at thinkpad ~ $ cat .password-store/.gpg-id
> ZX2C4 Pass Store
> 
> As for collisions, short IDs aren't a problem in this specific
> instance so long as you don't import colliding IDs into your gpg
> keyring. Of course there are other reasons for disliking the
> collisions found in short IDs, though.
> 


More information about the Password-Store mailing list