Using OpenPGPcard through PC/SC service and with reader of Short APDU level exchange only
gniibe at fsij.org
Tue Mar 26 01:34:40 CET 2013
I don't have the smartcard reader of "Short APDU level exchange only".
If someone could test STABLE-BRANCH-2-0 with such reader(s), it is
I'm looking the bug report:
I guess that
would be by the same cause.
I think that this bug could be solved, if we improve app-openpgp.c.
During the development of Gnuk, I realized that smartcard related
communication protocol is basically *broken*. Right Engineer tries to
implement thinking the layer model and the abstraction, but it is
impossible for smartcard.
In case of OpenPGP card, the application needs to know if the reader
supports extended APDU level exchange or not (in case of PC/SC
Note that Gnuk 1.0.x is "Short APDU level exchange only", and it works
well because its historical bytes specify no extended Lc and Le.
More information about the Gnupg-devel