Feature #12258
closedNeed native CCID driver
100%
Description
We need a native driver for USB CCID devices (chip card readers). The primary use case for now is supporting YubiKeys, some models identify as CCID devices with a PIV card permanently inserted.
Initially it will be sufficient to support card readers that use the APDU protocol and offer automatic card parameter negotiation, which will greatly simplify the driver.
Updated by Hans Rosenfeld over 2 years ago
Unfinished TPDU=T1 and PPS/parameter negotiation support code can be found here:
https://github.com/hrosenfeld/illumos-gate/tree/ccid-dev
Updated by Hans Rosenfeld about 2 years ago
Testing: I've tested this code exhaustively with YubiKeys. There is a set of test programs included that excercise the driver and check various failure modes as well as basic interaction with a YubiKey device. The code has also been in use at Joyent for a few months now.
Updated by Electric Monk about 2 years ago
- Status changed from New to Closed
- % Done changed from 0 to 100
git commit a61ed2ce7a86a4d6428f2a83eb4739fae945447e
commit a61ed2ce7a86a4d6428f2a83eb4739fae945447e Author: Hans Rosenfeld <hans.rosenfeld@joyent.com> Date: 2020-03-27T19:09:43.000Z 12258 Need native CCID driver Contributed by: Robert Mustacchi <rm@joyent.com> Reviewed by: John Levon <john.levon@joyent.com> Reviewed by: Robert Mustacchi <rm@fingolfin.org> Approved by: Garrett D'Amore <garrett@damore.org>