Hi!

I am using engine_pkcs11-0.1.3 with OpenSSL.

Unfortunately, engine_pkcs11 does not allow me to load private keys with "id" 
containing hex digits.
For example, I can load key with id "3:5555555555", but not key with id 
"3:6d796b6579".
Here is listing of this key:
pkcs11-tool --module C:\WINNT\system32\etpkcs11.dll --slot 3 --pin testtest -O
Private Key Object; RSA
  label:      mykey
  ID:         6d796b6579
  Usage:      decrypt, sign, unwrap

  
The problem is in function parse_slot_id_string() in file engine_pkcs11.c.
And my simple patch is in attachement.

Should I submit appropriate ticket into 
http://www.opensc-project.org/engine_pkcs11/newticket/ ?

Attachment: engine_pkcs11.patch
Description: Binary data

_______________________________________________
opensc-devel mailing list
[email protected]
http://www.opensc-project.org/mailman/listinfo/opensc-devel

Reply via email to