Reputation: 182
I'm currently trying to write an application that should fool an OS into believing there's a PKCS#11 compliant smartcard plugged in, and then forward PKCS#11 requests to a server. I stumbled upon this project https://frankmorgner.github.io/vsmartcard/virtualsmartcard/README.html which looks promising, but i was wondering if there was an easier solution to do so ?
Thanks a lot for your help.
Upvotes: 2
Views: 1130
Reputation: 4142
There are several PKCS#11 proxies: https://github.com/ANSSI-FR/caml-crush for example or have a look here: https://github.com/PeculiarVentures/graphene#related
And repeating the mantra: there's no such thing as "PKCS#11 compatible smart card" the same way there is no "PC/SC compatible smart card reader". Both are host-side software API-s that have no relation to the hardware implementation.
Upvotes: 0
Reputation: 8116
(Transcript of discussion in comments)
You do not need a virtual smart card to implement a PKCS#11 provider.
All you need is to develop a library implementing the PKCS#11 API which leverages your server.
The clients then can use this library as any other PKCS#11 provider.
Good luck!
Upvotes: 2