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

ATR Not Recognized Safenet 5300 Tokens #565

Open PeterGS123 opened 9 months ago

PeterGS123 commented 9 months ago

Safenet now offers USB-C tokens which are currently not fully recognized by Fortify. I can see the token in the software but it shows as "read only" mode. The device shows as "SCard Windows API."

I have seen this before and it usually means that Fortify does not recognize the ATR for this device. Could you please look into this and add the ATR to the SCard.json like you have done in the past?

In the fortify logs I see the following information: CryptoAPI","level":"info","message":"certStorage/exportCert","source":"server-api","timestamp":"2024-01-04T16:34:04.608Z"} {"atr":"3bff9600008131fe4380318065b0846160fb120ffd8290000c","level":"info","message":"cardReader/insert","reader":"SafeNet eToken 5300 C 0","source":"server-api","timestamp":"2024-01-04T16:34:04.613Z"}

image

PeterGS123 commented 9 months ago

as a test I updated my local card.json file with the following information and now the token is working on my fortify:

   {
  "atr": "3bff9600008131fe4380318065b0846160fb120ffd8290000c",
  "name": "SafeNet eToken 5300",
  "driver": "39b3d7a3662c4b48bb120d008dd18648"
},
microshine commented 9 months ago

I've updated the card.json file. @webcrypto-local/cards@1.7.9 includes SafeNet eToken 5300 token. @donskov please publish the card.json file for Fortify app.

donskov commented 9 months ago

@microshine The file is updated and should be available by fetching. A version of the application has not changed.