Started playing with (PKI) smart cards with OpenSSL. Nothing is working so far, but thought I would at least keep my starting point, if I come back to it later. If you have any more suggestions, I would be happy to take a look or greatful for a solution.
Basically I want to decrypt email using my smart card & openssl.
openssl> engine dynamic -pre SO_PATH:/usr/lib/engines/engine_pkcs11.so -pre ID:pkcs11 -pre LIST_ADD:1 -pre LOAD -pre MODULE_PATH:opensc-pkcs11.so
openssl> smime -decrypt -in ______ -noverify -keyform engine -engine pkcs11 -id ____