Signing eMails doesn't work anymore

Werner Koch wk at
Tue Aug 28 10:47:42 CEST 2012

On Mon, 27 Aug 2012 22:57, ricul77 at said:

> #gpg --sign
> gpg: sending command `SCD PKSIGN' to agent failed: ec=6.18

The error is:

  $ gpg-error 6.18
  100663314 = (6, 18) = [...] = (SCD, Wrong secret key used)

The scdaemon would have printed this to its log file:

   fingerprint on card does not match requested one

please run the sign command again using the option "-v" to see what key
is being used.

Also try:

  gpg --sign -u 'E8401492!' -v

to force using the first key on your card.



Die Gedanken sind frei.  Ausnahmen regelt ein Bundesgesetz.

More information about the Gnupg-users mailing list