Re: [opensc-devel] Problems (bug?) in engine_pkcs11 ver 0.1.5

2009-06-02 Thread Andreas Jellinghaus
yes, the code in engine_pkcs11.c to parse the slot string is horrible, we tried to allow far too many formats old and new, and the result is a big mess. if anyone could clean it up (and properly test it), that would be very welcome. hmm the safenet changes look bogus. the line 339 says: i

[opensc-devel] Patch for pkcs11-tool

2009-06-02 Thread Rickard Bondesson
Hi This patch will remove the use of CKA_VALUE when trying to get the public key. There are no CKA_VALUE attribute for a public key... Now will the tests in pkcs11-tool function properly. The public key is now built from the CKA_MODULUS and CKA_PUBLIC_EXPONENT. Prevents warnings like: "warnin