Problem signing git commits with smartcard key

Werner Koch wk at
Thu May 31 19:41:44 CEST 2018

On Thu, 31 May 2018 16:12, kookie at said:

> [GNUPG:] FAILURE sign 100663414
> gpg: signing failed: Invalid ID

$ gpg-error 100663414
100663414 = (6, 118) = (GPG_ERR_SOURCE_SCD, GPG_ERR_INV_ID) = (SCD, Invalid ID)

This shows that the error originates from scdaemon.  To look deeper
into this you should put

--8<---------------cut here---------------start------------->8---
log-file /foo/bar/scd.log
debug ipc
--8<---------------cut here---------------end--------------->8---

into ~/.gnupg/scdaemon.conf and gpgconf --kill scdaemon [1].  If you
can't see anything please add a line "debug cardio" to the avove conf
file.  When posting anything take care: the latter option may reveal
you PIN in the log.  If you don't see anything post the log or send it
to me by PM.



[1] For live debugging in another tty look for watchgnupg in the manual.
#  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