More than 1 secret key: how do I specify which one --sign uses?
Daniel Kahn Gillmor
dkg at fifthhorseman.net
Thu May 12 20:34:08 CEST 2011
On 05/12/2011 11:48 AM, pjcs wrote:
>
> I have 3 secret keys in my keyring for different purposes. If I --sign a
> document, is there any way to specify which key is to be used?
The man page suggests --default-key or --local-user:
> --default-key name
> Use name as the default key to sign with. If this option is not
> used, the default key is the first key found in the secret
> keyring. Note that -u or --local-user overrides this option.
[...]
> --local-user name
> -u Use name as the key to sign with. Note that this option over‐
> rides --default-key.
hth,
--dkg
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 1030 bytes
Desc: OpenPGP digital signature
URL: </pipermail/attachments/20110512/a2e53e5f/attachment.pgp>
More information about the Gnupg-users
mailing list