Question Regarding Passphrases When Signing

Hauke Laging mailinglisten at hauke-laging.de
Fri Jan 10 09:44:16 CET 2014


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 572 bytes
Desc: This is a digitally signed message part.
URL: </pipermail/attachments/20140110/b2647b8b/attachment.sig>


More information about the Gnupg-users mailing list