Automatic PINpad support for the Cherry KC 1000 SC

David Strauss david at davidstrauss.net
Wed Nov 9 01:56:49 CET 2016


The current PINpad detection [1] automatically uses secure PIN entry on the
older Cherry ST2000 keyboards. The KC 1000 SC is the successor product, and
it also supports direct, variable-length PIN entry. I have tested the
support by setting "enable-pinpad-varlen" in scdaemon.conf, and it works
reliably. If would be good if GnuPG automatically detected the new model.

Here is the dmesg output from plugging the device in, which I think
contains the necessary vendor IDs:

[  862.822190] usb 1-3: new full-speed USB device number 6 using xhci_hcd
[  862.999508] usb 1-3: New USB device found, idVendor=046a, idProduct=00a1
[  862.999517] usb 1-3: New USB device strings: Mfr=1, Product=2,
SerialNumber=0
[  862.999522] usb 1-3: Product: KC 1000 SC
[  862.999526] usb 1-3: Manufacturer: Cherry
[  863.008566] input: Cherry KC 1000 SC as
/devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3:1.0/0003:046A:00A1.0003/input/input19
[  863.061868] hid-generic 0003:046A:00A1.0003: input,hidraw0: USB HID
v1.11 Keyboard [Cherry KC 1000 SC] on usb-0000:00:14.0-3/input0
[  863.066893] input: Cherry KC 1000 SC as
/devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3:1.1/0003:046A:00A1.0004/input/input20
[  863.119355] hid-generic 0003:046A:00A1.0004: input,hidraw1: USB HID
v1.11 Device [Cherry KC 1000 SC] on usb-0000:00:14.0-3/input1

I attempted to create a patch, but it wasn't clear to me that the KC 1000
SC should have the exact same configuration as the ST2000. I would be happy
to send a KC 1000 SC to an established GnuPG contributor to help get this
support added. I would also be happy to test any patches.

[1] https://wiki.gnupg.org/CardReader/PinpadInput
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/attachments/20161109/215194f3/attachment.html>


More information about the Gnupg-devel mailing list