Am Do 09.01.2014, 20:51:04 schrieb Jim Ernst:

> I am trying to sign and encrypt a file using a UNIX script. No matter
> what I do, the passphrase that is requested appears to be for the
> first key that is listed via -list-keys.

> I have tried specifying a recipient

You must define the signing key:

gpg --local-user 0x12345678 --detach-sign file
or shorter
gpg -u 0x12345678 --detach-sign file


Hauke
-- 
Crypto für alle: http://www.openpgp-schulungen.de/fuer/unterstuetzer/
http://userbase.kde.org/Concepts/OpenPGP_Help_Spread
OpenPGP: 7D82 FB9F D25A 2CE4 5241 6C37 BF4B 8EEF 1A57 1DF5

Attachment: signature.asc
Description: This is a digitally signed message part.

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

Reply via email to