openPGP card: using a readers keypad instead of pinentry-qt
Werner Koch
wk at gnupg.org
Thu Feb 12 12:41:45 CET 2009
On Thu, 12 Feb 2009 09:46, malte.gell at gmx.de said:
> being a class 3 reader, my cardreader has a keypad and a display, but gpg-
> agent still invokes pinentry-qt to enter the pin. How can I change this to use
> the cardreader's keypad?
Your card reader's keypad is not supported. See this comment:
/* We have only tested a few readers so better don't risk anything
and do not allow the use with other readers. */
switch (handle->id_vendor)
{
case VENDOR_SCM: /* Tested with SPR 532. */
case VENDOR_KAAN: /* Tested with KAAN Advanced (1.02). */
break;
case VENDOR_CHERRY:
/* The CHERRY XX44 keyboard echos an asterisk for each entered
character on the keyboard channel. We use a special variant
of PC_to_RDR_Secure which directs these characters to the
smart card's bulk-in channel. We also need to append a zero
Lc byte to the APDU. It seems that it will be replaced with
the actual length instead of being appended before the APDU
is send to the card. */
cherry_mode = 1;
break;
default:
return CCID_DRIVER_ERR_NOT_SUPPORTED;
}
You also need to use the internal ccid driver.
Shalom-Salam,
Werner
--
Die Gedanken sind frei. Auschnahme regelt ein Bundeschgesetz.
More information about the Gnupg-users
mailing list