Re: “Hardware problem” with OpenPGP smart card

2020-12-08 Thread Werner Koch via Gnupg-users
On Mon, 7 Dec 2020 23:37, Nicolas Boullis said: > Hence, I think my card is really dead. yeah :-( > I see that the card includes a signature counter (which reads 89), hence > I understand the card has to write the EEPROM (to update the counter) Yes, this one reason to write to the EEPROM.

Re: “Hardware problem” with OpenPGP smart card

2020-12-07 Thread Nicolas Boullis
Hi, On Mon, Dec 07, 2020 at 12:08:23PM +0100, Werner Koch via Gnupg-users wrote: > > The show error code is indeed either a hardware error (EEPROM failure) > or due to a card reader which filters certyain commands send to the card > and return a bogus error code. However, I doubt that the

Re: “Hardware problem” with OpenPGP smart card

2020-12-07 Thread Werner Koch via Gnupg-users
On Sun, 6 Dec 2020 13:43, John Scott said: >> PIN retry counter : 2 0 3 > It looks like you're trying to decrypt a file and your encryption PIN counter > is zero. I wonder why it was giving you the strange error message. No, it is not at zero. Since OpenPGP card specification version 2 we

Re: “Hardware problem” with OpenPGP smart card

2020-12-06 Thread John Scott via Gnupg-users
On Saturday, December 5, 2020 9:20:33 AM EST Nicolas Boullis wrote: > PIN retry counter : 2 0 3 It looks like you're trying to decrypt a file and your encryption PIN counter is zero. I wonder why it was giving you the strange error message. Does signing work? signature.asc Description: This is

Re: “Hardware problem” with OpenPGP smart card

2020-12-06 Thread Matthias Apitz
On Sun, 6 Dec 2020 16:34:40 +0100, Nicolas Boullis wrote: > Hi, > > On Sun, Dec 06, 2020 at 12:37:19PM +0100, Werner Koch wrote: >> >> To make sure that this is really the card (or reader), I'd like to ask >> you to put >> >> --8<---cut here---start->8--- >>

Re: “Hardware problem” with OpenPGP smart card

2020-12-06 Thread Nicolas Boullis
Hi, On Sun, Dec 06, 2020 at 12:37:19PM +0100, Werner Koch wrote: > > To make sure that this is really the card (or reader), I'd like to ask > you to put > > --8<---cut here---start->8--- > log-file /some/path/scd.log > verbose > debug cardio >

Re: “Hardware problem” with OpenPGP smart card

2020-12-06 Thread Werner Koch via Gnupg-users
On Sat, 5 Dec 2020 15:20, Nicolas Boullis said: > gpg: public key decryption failed: Hardware problem > gpg: decryption failed: No secret key To make sure that this is really the card (or reader), I'd like to ask you to put --8<---cut here---start->8---

“Hardware problem” with OpenPGP smart card

2020-12-05 Thread Nicolas Boullis
Hi, I’ve been using GnuPG with my private keys stored in an OpenPGP smartcard since year 2014. Suddenly, it stopped working yesterday. The smartcard is an ID000-cut version 2 OpenPGP smartcard, that I put in a Gemalto Shell Token v2 card reader. Whenever I try to decrypt a file with gnupg, it