2021-08-12
2019-11-21
initialize_nss function to pkcs11-driver to perform a C_Initialize call with the extra parameters that NSS requires (see https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSS/PKCS11/Module_Specs for more information)P11_driver.Make to P11_driver.Wrap_low_level_bindingsPkcs11.RAW to Pkcs11.LOW_LEVEL_BINDINGSPkcs11.S to Pkcs11.LOW_LEVEL_WRAPPERPkcs11.Make to Pkcs11.Wrap_low_level_bindings2019-01-30
pkcs11, pkcs11-cli, pkcs11-driver and pkcs11-rev packages.P11.Mechanism_type.of_string and P11.Mechanism_type.of_yojson by correctly parsing all supported mechanism types.Breaking changes:
Fixes:
Breaking changes:
CKA_ID data as an hex encoded JSON string. (#101)New features:
Deprecations:
P11_key_attributes. (#98)--indirect command line argument. "auto" stays the recommended default. (#100)Refactoring:
P11_attribute internals to use repr from CK_ATTRIBUTE. (#102)Bug fix:
P11.RV.of_string "CKR_ACTION_PROHIBITED". (#97)Improvements:
OK_OR_FAIL. (#95)eq, ord and show instances. (#96)Breaking changes:
load_driver: "dll" is non-named so that it erases optional arguments. (#92)use_get_function_list to load_mode and add P11.Load_mode to describe what arguments it can have. Also delete unused modes. (#93)New features:
C_Digest function as digest. (#91)New features:
CKM_AES_KEY_WRAP mechanism. (#83, #85)P11_driver: add an API not based on modules. (#87)Breaking changes:
Bug fixes:
P11_mechanism.compare was ignoring AES-CTR parameters. (#81)New features:
Build system:
Breaking changes:
Low_level and Intermediate_level from P11_driver.S. (#60)New features:
PKCS11 v2.40 support:
CKM_AES_KEY_WRAP (#68)New supported mechanisms:
CKM_DSA_SHA1CKM_AES_CTR (#71)CKM_AES_GCM (#74)CKM_DSA_KEY_PAIR_GEN and associated attributes (#77)eq,ord,show,yojson instances to most types in P11. (#62, #72)Bug fixes:
Refactoring:
CK_MECHANISM internals (#75)CK_ATTRIBUTE internals (#76)Build system:
Breaking changes:
Do not parse CKA_EC_PARAMS and CKA_EC_POINT. (#58)
key-parsers) is on the caller.key-parsers dependency.Breaking changes:
Major reorganization of the package sources:
pkcs11.driver subpackage. This is based on ctypes and ctypes-foreign depopts. (#57)P11_* are high level, and Pkcs11_* correspond to the driver implementation. (#56)ctypes. The rest depends on integers only (#54, #55)P11_attribute_type.(==) (#51)Build system:
Breaking changes:
Related to Ctypes_helpers (#48):
is_null (now in ctypes)safe_deref and Null_pointer (unused)Make Pkcs11 depend on P11, and not the other way around (#45).
ctypes dependency.P11_sigsu are removed (use t types from P11).of_raw aliases are removed.u are moved to P11_xcompare_t / equal_t to compare / equalSplit the P11 module into several smaller modules.
P11_ names.Deprecated functions:
P11_attribute_type.(==) (#43, #50)New functions:
eq and ord instances for inner modules (#49).Cleanup:
Packaging:
Tests:
Build system:
Changes:
Dl.RTLD_DEEPBIND (#38)Build system:
Documentation:
Build system:
records from META to make it possible to actually use pkcs11 without records installed (#33)Breaking changes:
typ values from records, deprecated in 0.6.0, and the associated dependency (#26)Rework the P11_keys_attributes module (#27):
P11_key_attributespossibles to possibleskinds and isFixes:
New features:
cmdliner support through a new Pkcs11_cli module (in pkcs11.cli) (#31)Build system:
key-parsers.0.6.0Result compatibility module only through a global -open (#30)cmti files (#32)ounit test-dependency (#32)Breaking changes:
Remove the P11_mechanisms module (#23)
kinds is moved to P11key_type can be replaced by P11.Mechanism.key_type (its results only depend on the mechanism type)New features:
Changes:
P11.Mechanism.key_type is extended to non-keygen mechanisms.Deprecated values:
typ values from records (#21). Users are expected to use the underlying yojson functions directly. The records dependency should be dropped in the next release.Build system:
Breaking changes:
get_slot return a result instead of raising an exception (#16)P11.Mechanism.key_type return an option (#17)Cleanup:
Tests:
Breaking changes:
Ctypes.ptr to Ctypes_helpers.Reachable_ptr.t. Those can be accessed using the setf and getf functions in the same module.Pkcs11_data.t abstract.Fixes:
Build system:
New features:
Breaking changes:
CK_PKCS5_PBKD2_DATA_PARAMS to CK_PKCS5_PBKD2_PARAMS (#5)New features:
Changes: