Problem signing git commits with smartcard key

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

On Fri,  1 Jun 2018 00:04, kookie at 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.



#  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: <>

More information about the Gnupg-users mailing list