Problem signing git commits with smartcard key

Werner Koch wk at gnupg.org
Fri Jun 1 01:41:33 CEST 2018


On Fri,  1 Jun 2018 00:04, kookie at spacekookie.de said:

> ssb>  rsa4096 2018-05-30 [SEA]

Remove the S capability from that key.  gpg prefers a signing subkey
over the primary key but that happens to be an encryption key on the
card.  You should also be able to specify the key as

   signingkey = 555F2E4B6F87F91A4110669E90734A9E619C8A6C!

in .gitconfig this forces the use of that subkey (well, here it is the
primary key).  Note the exclamation mark at the end.


Shalom-Salam,

   Werner

-- 
#  Please read:  Daniel Ellsberg - The Doomsday Machine  #
Die Gedanken sind frei.  Ausnahmen regelt ein Bundesgesetz.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 227 bytes
Desc: not available
URL: <https://lists.gnupg.org/pipermail/gnupg-users/attachments/20180601/56dc38bf/attachment.sig>


More information about the Gnupg-users mailing list