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
113 stars 32 forks source link

Safenet 5100 CC (940B) Token is Read Only Mode #572

Open PeterGS123 opened 8 months ago

PeterGS123 commented 8 months ago

Fortify is not able to write to my Safenet 5100 CC (940B) token. The device is showing as a Windows SCARD crypto API. It appears that the ATR for this device does not show in the card.json file. Here is what I see in the error logs:

{"atr":"3bff9600008131fe4380318065b0855956fb12017882900088","level":"info","message":"cardReader/insert","reader":"SafeNet Token JC 0","source":"server-api","timestamp":"2024-03-15T18:37:51.796Z"} {"atr":"3bff9600008131fe4380318065b0855956fb12017882900088","level":"info","message":"Cannot get Card config. Use pvpkcs11 SmartCard slot","reader":{"_events":{},"_eventsCount":4,"connected":false,"name":"SafeNet Token JC 0","state":65826},"source":"card-watcher","timestamp":"2024-03-15T18:37:54.067Z"} {"atr":"3bff9600008131fe4380318065b0855956fb12017882900088","level":"info","message":"Token was added to the reader","name":"SCard Windows API","reader":"SafeNet Token JC 0","source":"provider","timestamp":"2024-03-15T18:37:54.071Z"}

I added the following lines to the card.json which seems to work.

 {
  "atr": "3bff9600008131fe4380318065b0855956fb12017882900088",
  "name": "SafeNet eToken 5110 940B",
  "driver": "39b3d7a3662c4b48bb120d008dd18648"
},

I think this needs to be updated on all clients.