rust-cryptoki icon indicating copy to clipboard operation
rust-cryptoki copied to clipboard

Current `pkcs11.h` is not up-to-date

Open mike-boquard opened this issue 4 years ago • 1 comments
trafficstars

The pkcs11.h header file in crypto-sys is not in conformance with PKCS#11 v2.40 + errata 01. This should be updated to match what the current spec is. We have two options:

  1. Go through the file and add in the missing fields
  2. Download latest header files from oasis 2a. Will need to either modify pkcs11.h or add in our own header files for the different architectures (really the big one is Windows with its pragma directives).

mike-boquard avatar Nov 11 '21 19:11 mike-boquard

What speaks against updating the pkcs11.h file to what opensc is using currently? Diffing the two files they look quite similiar, maybe that's easier then adopting the oasis files?

legounix avatar Dec 22 '22 16:12 legounix

The latest set of headers were added in #228!

hug-dev avatar Oct 22 '24 14:10 hug-dev