Smart cards with OpenSC and OpenSSL
Tuesday 11.7.2017 16:04:20, Jakuje
This is just a short article with notes about testing and debugging smart cards and HSM with OpenSC and OpenSSL.
There is many different cards and each of them can behave little bit differently. This is why we have PKCS#11 interface, which unifies these private key operations, for example in OpenSC. But some of the operations are not implemented here and therefore we need to use OpenSSL, for example to verify signatures or encrypt the date (public key operations).
It served me for some time as a cheat sheet how to do things, originally published in this gist, but I hope it will get better reach here.