From: Ludovic R. <lud...@gm...> - 2018-01-06 16:20:58
|
Hello, 2018-01-06 12:11 GMT+01:00 NdK <ndk...@gm...>: > IMVHO PKCS#11 greatly suffered "design by committee", making it hard to > use it correctly in a multi-app scenario. A PKCS#11 application do not have to take care of other applications. The complexity to support multi applications is in the PKCS#11 library, not the application(s). Smartcards made it even worse, > being able to host multiple applets but with only one active at a time: > the very concept "only one program can access the card at any time". > That actually "forces" developers to ask for exclusive access and the > loop closes. > Many programs can access the same smart card at the "same" time. But each of them should take care that they are not alone using the card. The easy solution is to get an exclusive access. That is not the only possible solution. I am not sure what is the (default) behaviour of OpenSC here. I do not want to start a flame war so I will stop here. Bye -- Dr. Ludovic Rousseau |