Prioritizing secret keys when deciphering

Ciprian Dorin Craciun ciprian.craciun at
Mon Feb 2 21:49:22 CET 2015

I encounter a very anoing issue...  If a certain "packet" is encrypted
to multiple private keys, and I happen to have two (or multiple) of
them in my secret keychain, then when decrypting, although GPG always
tries them in the same order, the order is not the one I would

Thus, is it possible to tell GPG in which order to try the secret keys
in case it finds multiple of them that are in the secret key ring?


P.S.: Why do I have two secret keys that I own in the same "packet"?
Because one of the keys is the one put by the default `encrypt-to`
option, and the other one is a shared private key used by me and my

More information about the Gnupg-users mailing list