Hello,

I tried to use the command:

gpg --batch -ea -r keyid filename

to encrypt a file in batch mode with a recipient public key ID. I got
an "encryption failed: unusable public key" error message.

Interestingly, when I use the command without batch mode like "gpg -ea
-r keyid filename", I'm able to encrypt the file.  So the batch mode
is having problems.

How can I encrypt the file using recipient public keyid correctly in
batch mode?

Thanks.

_______________________________________________
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users

Reply via email to