Hi,

I am trying to implement a new smartcard for a project I am working on.
I am using M2Crypto as a python wrapper for openSSL. I am able to
communicate with the smartcard using openssl on the command line just
fine. The problem I have is with the python side of things.

I can get all the setup engine commands (SO_PATH, LIST_ADD, ID) to work
fine except for MODULE_PATH. Now I think that the problem is that
MODULE_PATH is not implemented in M2Crypto. I wouldn't mind implementing
it myself but I can't find where in the openssl code the MODULE_PATH is
used. Would someone be able to point me to the right piece of code?

For example on the command line I would do:

OpenSSL> engine -t dynamic -pre SO_PATH:/usr/lib/engines/engine_pkcs11.so \
         -pre ID:pkcs11 -pre LIST_ADD:1 -pre LOAD \
         -pre MODULE_PATH:/usr/lib/opensc-pkcs11.so


Any help would be great,

-- 
Bram Cymet
Software Developer
Centre For Technological Innovation
Canadian Bank Note Co. Ltd.
Cell: 613-608-9752


______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           majord...@openssl.org

Reply via email to