Q: select between multiple signing key

Peter Lebbing peter at digitalbrains.com
Tue Aug 21 10:57:15 CEST 2018


Hi,

On 21/08/18 08:57, Hideki Yamane wrote:
>   - If so, how do select it?

From the man page:

Section "HOW TO SPECIFY A USER ID", subsection "By key Id":

> When using gpg an exclamation mark (!) may be appended to  force
> using  the specified primary or secondary key and not to try and
> calculate which primary or secondary key to use.

And so:

$ gpg2 --default-key A65B17610C406CE6\! --clearsign .bashrc

HTH,

Peter.

-- 
I use the GNU Privacy Guard (GnuPG) in combination with Enigmail.
You can send me encrypted mail if you want some privacy.
My key is available at <http://digitalbrains.com/2012/openpgp-key-peter>

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <https://lists.gnupg.org/pipermail/gnupg-users/attachments/20180821/588691ca/attachment.sig>


More information about the Gnupg-users mailing list