Hi!

The wiki contains a short description of the OpenPGP Card version 1 and
states that it should work with OpenSC.
http://www.opensc-project.org/opensc/wiki/OpenPgp

Recently the new OpenPGP Card version 2 was released. This card
overcomes the limitations of version 1 and can store/use RSA keys up to
3072 bit length, is compatible to X.509, and AFAIK it can store also the
certificate. The good thing is that the API of this card is fully
published! http://www.g10code.com/p-card.html

I tried to use the card with OpenSC but unfortunately it does not work:

$ opensc-tool --reader 3 --name
Card not present.

$opensc-explorer
Using reader with a card: Gemplus GemPC Twin 00 00
[opensc-explorer] iso7816.c:99:iso7816_check_sw: Wrong parameter(s) P1-P2
[opensc-explorer] iso7816.c:464:iso7816_select_file: returning with:
Incorrect parameters in APDU
[opensc-explorer] card.c:554:sc_select_file: returning with: Incorrect
parameters in APDU
unable to select MF: Incorrect parameters in APDU

I would be very interested to get the OpenPGP Card v2 work with OpenSC
but unfortunately I don't have the knowledge of OpenSC. Could you
provide me some advice how to proceed to get it working? Also it would
be great if any of you OpenSC developers is willing to work on this?!

Within an Open Source project we (German Privacy Foundation) combined
the OpenPGP card v2 with an USB adapter and assembled both as a small
USB stick. It works standard conform such as any usual PCSC Gemplus
smart card adapter (but in a smaller size of course ;-). The smartcard
adapter works well with the standard PCSC driver (on Linux, Windows,
MacOS X) so that the compatibility of the OpenPGP Card v2 needs to be
implemented "only". I would love to provide such Crypto Stick to
everybody who helps to get it (means the OpenPGP Card v2) work with
OpenSC. See: https://www.privacyfoundation.de/crypto_stick/

Regards
Jan
_______________________________________________
opensc-devel mailing list
opensc-devel@lists.opensc-project.org
http://www.opensc-project.org/mailman/listinfo/opensc-devel

Reply via email to