Ticket #187 (new enhancement)
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
Change History
Changed 3 years ago by arnout
-
attachment
opensc.patch
added
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: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

patch to support Vasco Digipass 860