Wolfgang Glas wrote:
Am Samstag, 22. Juli 2006 23:57 schrieb Andreas Jellinghaus:
Wolfgang Glas wrote:
  I just recognized, that the PKCS#11 headers in the opensc repository
come in two versions:

Version 2.20 in the directory libp11/trunk/rsaref
Version 2.11 in the directory opensc/browser/trunk/src/pkcs11/rsaref

Please consider to update the header version in the opensc tree to the
version in the libp11 tree in order to avoid confusion.
when I created libp11, I simply used the latest version from rsa labs.
but I'm not sure with opensc: If I update the header file, I might need
to change code in opensc? No idea about that, so I didn't touch it.
Maybe someone knows the changes in cryptoki in detail, and whether we
need to change anything?

As far as I can tell from the diffs of the two versions, the API did not change in any way. They just added a bunch of new mechanisms and new parameter structures for these new mechanisms likewise. So updating the header file in opensc should not break anything. opensc in fact does only implement a limited subset of the PKCS#11 mechanisms, so there should be no problem with the new mechanisms.

I think we should use the header files belonging to the pkcs11 version
which we claim to support in opensc (and afaik we don't claim to support
v2.20 at the moment).

BTW, Does anybody know, where the original source of these header files resides ? There's no pointer to such a location (Address, URL...) in the header files.

perhaps "http://www.rsasecurity.com/rsalabs/node.asp?id=2133";

Cheers,
Nils
_______________________________________________
opensc-devel mailing list
opensc-devel@lists.opensc-project.org
http://www.opensc-project.org/mailman/listinfo/opensc-devel

Reply via email to