Ticket #187 (new enhancement)

NB! Read about ReportingBugs before filing a ticket!

Opened 3 years ago

Last modified 9 months ago

Support for Vasco Digipass 860

Reported by: arnout Owned by: opensc-devel@…
Priority: normal Milestone: 0.12.3
Component: card_driver Version: trunk
Severity: normal Keywords: pending
Cc: Blocked By:
Blocking:

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 3 years ago.
patch to support Vasco Digipass 860

Change History

Changed 3 years ago by arnout

patch to support Vasco Digipass 860

comment:1 follow-up: ↓ 2 Changed 3 years ago by alonbl

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

comment:2 in reply to: ↑ 1 Changed 3 years 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.

comment:3 Changed 2 years ago by martin

  • Milestone 0.11.7 deleted

Milestone 0.11.7 deleted

comment:4 Changed 20 months ago by martin

  • Owner changed from opensc-devel@… to opensc-devel@…
  • Component changed from opensc to card_driver
  • Milestone set to 0.12.0

Can anyone with CardOS cards test it?

comment:5 Changed 20 months ago by Hitcliff

I truly hope that you will find this tutorial useful  http://www.videorolls.com/watch/DIGIPASS-For-Mobile-Phone-ES-Java-Edition

comment:6 Changed 14 months ago by andre

Patch looks reasonable. I would prepare the final one without the modification of pin.max_length, if there is still interest.

comment:7 Changed 9 months ago by martin

  • Keywords pending added
  • Version changed from 0.11.6 to trunk
  • Milestone changed from 0.12.1 to 0.12.2

Unless the original reporter or somebody with the given device can test it, it is not reasonable to include the patch without feedback.

Note: See TracTickets for help on using tickets.