Re: Can’t set new PIN using Reset Code

2021-04-26 Thread Kirill Elagin via Gnupg-users
On Mon, Apr 26, 2021 at 12:05 PM Werner Koch wrote: > You may want to open a bug report at dev.gnupg.org so that we don't > forget about this. Thanks for the tip, I’ll be sure to do so next time! However in this case I have already submitted a patch to gnupg-devel yesterday. I hope you don’t fo

Re: Can’t set new PIN using Reset Code

2021-04-26 Thread Werner Koch via Gnupg-users
On Sun, 25 Apr 2021 22:07, Kirill Elagin said: > into `$HOME/.gnupg/scdaemon.conf`. I did not really try any other > options, my understanding is that `debug-ccid-driver` (twice!) is what Nope, that is todebug the low-level ccid driver. The best way to debug the APDUs is verbose debug ipc,cardi

Re: Can’t set new PIN using Reset Code

2021-04-25 Thread Kirill Elagin via Gnupg-users
For anyone interested, I was able to get my card back in order. I am 85% confident that there is a bug in GnuPG that causes it to compute the KDF in the reset command incorrectly. Here is what I did. Step 1 was to figure out how to tap into the communication with the card. After a bit of searchin

Can’t set new PIN using Reset Code

2021-04-23 Thread Kirill Elagin via Gnupg-users
Hello, Today gnupg suddenly refused to accept the PIN code of my YubiKey and it got blocked. I am not exactly sure what happened, but it does not matter now anyway. I am trying to unblock the PIN using a Reset Code. ``` $ gpg --edit-card Reader ...: Yubico YubiKey FIDO CCID 00 00 Applic