How to enable the reader's keypad

Werner Koch wk at
Tue Oct 13 10:05:31 CEST 2009

On Thu,  8 Oct 2009 19:46, tux.tsndcb at said:

> On my scdaemon.conf I've not disable-keypad
> So how to do this ?

The keypad is only enabled for certain readers:

  /* 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). */
      /* 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;

You may add you vendor id (scd/ccid-driver.c) and test it.  Let me know
if that works and I will add the reader.

Further we don't support them when using PC/SC.  At the time I added the
support PC/SC had no standard for using the keypads.



Die Gedanken sind frei.  Auschnahme regelt ein Bundeschgesetz.

More information about the Gnupg-users mailing list