gnome-keyring Multiple libraries using PKCS#11 modules and CKR_ALREADY_INITIALIZED



With the integration of PKCS#11 into various places we're running into
the problem of initializing a library multiple times. When PKCS#11 was
used in isolated cases this wasn't a problem.

Each library (eg: gnutls, libgcr, glib-networking, pakchois, etc.) is
trying to load a PKCS#11 module and run CK_Initialize. The modules then
return CKR_ALREADY_INITIALIZED for that process.

In my opinion most users of PKCS#11 (unless they have very special
requirements) should treat CKR_ALREADY_INITIALIZED as a success status.

Does that make sense?

Cheers,

Stef


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]