Ticket #187 (new enhancement)

NB! If you want the issue fixed, leave an e-mail address or check back often.

Opened 14 months ago

Last modified 7 weeks ago

Support for Vasco Digipass 860

Reported by: arnout Owned by: opensc-devel@…
Priority: normal Milestone:
Component: opensc Version: 0.11.6
Severity: normal Keywords:
Cc:

Description

The attached patch adds support for Vasco Digipass 860, which is basically an Eutron Digipass 860 but with slightly different ATR.

The ATR mask does not come from Vasco (they didn't want to give it to me) but was from my own experiments with 3 Digipasses.

I have completely rewritten the cardos version detection to match that in cardos-tool.

I have increased the pin length to 10, since Vasco initializes our Digipasses with a 10-digit CHV115 which is required to write to the root DP.

Attachments

opensc.patch Download (2.7 KB) - added by arnout 14 months ago.
patch to support Vasco Digipass 860

Change History

Changed 14 months ago by arnout

patch to support Vasco Digipass 860

follow-up: ↓ 2   Changed 14 months ago by alonbl

Maybe it is safer to change the PIN max length only for this specific card?

in reply to: ↑ 1   Changed 14 months ago by arnout

Replying to alonbl:

Maybe it is safer to change the PIN max length only for this specific card?

As far as I understand, the maximum PIN length is not fixed for CardOS cards. That's why it says

        /* FIXME: the following values depend on what pin length was
         * used when creating the BS objects */

I have no idea how to solve this. Keeping a list of all known card types and their maximum PIN lengths seems a bit overkill. And anyway, I'm not sure why OpenSC should artificially limit the applications (e.g. pkcs15) to use PINs of only 8 digits when the card actually supports longer PINs.

  Changed 7 weeks ago by martin

  • milestone 0.11.7 deleted

Milestone 0.11.7 deleted

Note: See TracTickets for help on using tickets.