[PATCH] Fix bug in GnuK PIN pad support.
perillamint at gentoo.moe
Sat Nov 28 23:47:41 CET 2015
I found a bug (maybe a typo?) while playing with GnuK PIN pad support.
In openpgp.c L1410, it fills with bConfirmPIN with apdu.cmd_apdu_data.
It does not work when I gave it bPinSupport = 3 - which allows PIN
modification via PIN pad.
While I searching for solution, I found usb-icc.c mentions bConfirmPIN
is located in cmd_apdu_data. I fixed openpgp.c to use  and it
seems to work well.
I attached patch for this.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 740 bytes
Desc: not available
More information about the Gnupg-users