PeculiarVentures / fortify

Fortify enables web applications to use smart cards, local certificate stores and do certificate enrollment. This is the desktop application repository.
https://fortifyapp.com
Other
114 stars 32 forks source link

Change driver for the '3BDF18008131FE7D006B020C0182011101434E53103180FC' token #423

Closed defacto64 closed 3 years ago

defacto64 commented 3 years ago

Hello,

the smartcard with ATR=="3BDF18008131FE7D006B020C0182011101434E53103180FC" is an "Athena ASEPCOS-TS/CNS 1.82" type of token, and should therefore be driven by the 29a2bd60c4b841c686be68d2874c0c02 driver, otherwise some functionalities (e.g. digital signatures) are inaccessible.

The above ATR is currently mapped to the generic opensc-pkcs11 driver, preventing full exploiting of the card. Besides, even when the card is only used for client authentication, the underlying file system can come in variations that are not correctly handled by opensc-pkcs11 even when digital signatures certs are not present, while they're supported by the proprietary (IDProtect Client) driver.

microshine commented 3 years ago

I changed the driver for that ATR

https://github.com/PeculiarVentures/webcrypto-local/blob/master/packages/cards/lib/card.json#L309-L311

The new version of JSON is available in @webcrypto-local/cards@1.6.6

It'll be added to Fortify@1.8.2

defacto64 commented 3 years ago

The updated card.json is okay, thank you Stephan.