Problem signing git commits with smartcard key

Werner Koch wk at
Thu May 31 21:12:58 CEST 2018

On Thu, 31 May 2018 20:46, kookie at said:

> 2018-05-31 20:27:42 scdaemon[17755] DBG: chan_7 <- PKSIGN --hash=sha256 OPENPGP.2
> 2018-05-31 20:27:42 scdaemon[17755] operation sign result: Invalid ID

You are signing with the second key of the token.  This is an encryption
key and thus not able to sign.  If you do a "gpg -card-status" can you
see an Signature key (In the log "OpenPGP.1")?

I am not so into the Yubikey thing; others might be better able to help.



#  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