On 04/09/06, Alexander Starostin <[EMAIL PROTECTED]> wrote:
Hi!

Hello,

I am using libp11-0.2.2 with eTokens (via etpkcs11).

Unfortunately, current version of libp11 does not allow me to store private keys
(as well as public keys and certs) to the token permanently.
The problem is in functions pkcs11_store_private_key(), 
pkcs11_store_public_key(), PKCS11_store_certificate()
 - they do not set boolean CKA_TOKEN attribute on objects (chapter 10.4 of 
PKCS#11 standard).

So I made the patch (see attachment).

Bug reported as [1].

Thanks,

[1] http://www.opensc-project.org/libp11/ticket/9
--
Dr. Ludovic Rousseau
_______________________________________________
opensc-devel mailing list
[email protected]
http://www.opensc-project.org/mailman/listinfo/opensc-devel

Reply via email to