setting GnuPG card to 'not forces' does not let sign

Matthias Apitz guru at unixarea.de
Thu Jun 8 12:29:56 CEST 2017


Hello,

I was tired of having always enter the PIN when sending mails to sign them
and switched the card to 'not forces':

Signature PIN ....: not forced

After this (without withdrawing the card, i.e. the PIN was already
entered around 10 times and the card unlocked), the signing says:

$ echo bla > test.doc
$ LANG=C
$ gpg2 --armor --output test.doc.signed --sign test.doc
gpg: signing failed: Bad PIN
gpg: signing failed: Bad PIN

The bad PIN counter in the card is not decremented. Switching the card
back to 'forced' makes signing with PIN working again.

What do I wrong?

	matthias


-- 
Matthias Apitz, ✉ guru at unixarea.de, ⌂ http://www.unixarea.de/  ☎ +49-176-38902045
Public GnuPG key: http://www.unixarea.de/key.pub
8. Mai 1945: Wer nicht feiert hat den Krieg verloren.
8 de mayo de 1945: Quien no festeja perdió la Guerra.
May 8, 1945: Who does not celebrate lost the War.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: </pipermail/attachments/20170608/70c99239/attachment.sig>


More information about the Gnupg-users mailing list