key selection in batch decryptions

vedaal at vedaal at
Tue Oct 11 17:33:01 CEST 2011

John A. Wallace jw72253 at wrote on
Mon Oct 10 23:18:21 CEST 2011 :

>Is there a way to tell gpg to use just one of the keys if
any?  I have tried specifying this as one of the options "-u 
userID", but it seems to ignore my specification and it always 
tries to use a different key from the one I intend.

Not with a direct command, but with a simple workaround.
Make another keyring with only the key(s) you want tried, and point 
gnupg to that keyring for that batch job.


More information about the Gnupg-users mailing list