package pkcs11
Install
Dune Dependency
Authors
Maintainers
Sources
sha256=29c05865d8dd6cd0553c1ceeb01b6728fc3d4bbbff80fee6e844767f9fe61102
md5=cd22eeb7d4e49601c6c7a34499eb8fbf
CHANGES.md.html
v0.11.0 2017-11-30
Breaking changes:
Removed
Low_level
andIntermediate_level
fromP11_driver.S
. (#60)
New features:
PKCS11 v2.40 support:
CKR codes (#63)
DSA+SHA2 mechanisms (#66)
GOST mechanism types (#67)
CKM_AES_KEY_WRAP
(#68)
New supported mechanisms:
CKM_DSA_SHA1
CKM_AES_CTR
(#71)CKM_AES_GCM
(#74)CKM_DSA_KEY_PAIR_GEN
and associated attributes (#77)
Add
eq,ord,show,yojson
instances to most types inP11
. (#62, #72)
Bug fixes:
Fix a memory leak with reachable pointers (#74)
Refactoring:
Rework
CK_MECHANISM
internals (#75)Rework
CK_ATTRIBUTE
internals (#76)
Build system:
Use travis-opam 1.1.0 (#73)
v0.10.0 2017-07-07
Breaking changes:
Do not parse
CKA_EC_PARAMS
andCKA_EC_POINT
. (#58)Makes it possible to interact with tokens that return invalid values for these attributes. (that would otherwise trigger #42)
The responsibility of parsing them (for example with
key-parsers
) is on the caller.Remove
key-parsers
dependency.
v0.9.0 2017-06-22
Breaking changes:
Major reorganization of the package sources:
Move the driver part to a
pkcs11.driver
subpackage. This is based onctypes
andctypes-foreign
depopts. (#57)Some modules have been renamed to reflect this:
P11_*
are high level, andPkcs11_*
correspond to the driver implementation. (#56)Make only the driver depend on
ctypes
. The rest depends onintegers
only (#54, #55)
Remove deprecated value
P11_attribute_type.(==)
(#51)
Build system:
Move files in different subdirectories (#52)
Ignore with git generated file "pkcs11.install" (#53)
v0.8.0 2017-05-22
Breaking changes:
Related to
Ctypes_helpers
(#48):remove
is_null
(now in ctypes)remove
safe_deref
andNull_pointer
(unused)
Make
Pkcs11
depend onP11
, and not the other way around (#45).Thanks to Bertrand Bonnefoy-Claudet.
This is a first step in splitting out the
ctypes
dependency.Remove
P11_sigs
Types named
u
are removed (uset
types fromP11
).Constructor reexports are removed.
of_raw
aliases are removed.functions acting on
u
are moved toP11_x
rename
compare_t
/equal_t
tocompare
/equal
Split the
P11
module into several smaller modules.This is only breaking because it uses more global
P11_
names.
Deprecated functions:
P11_attribute_type.(==)
(#43, #50)
New functions:
Add
eq
andord
instances for inner modules (#49).
Cleanup:
Remove dead code here and there (#49).
Packaging:
Always install fake DLL (#46, #47)
v0.7.3 2017-05-02
Tests:
Add some functional tests that load a fake DLL (#39)
Build system:
Support HP/UX (#40)
Support OCaml 4.05 (#41)
v0.7.2 2017-04-14
Changes:
Do not use
Dl.RTLD_DEEPBIND
(#38)
Build system:
Support FreeBSD builds (#37, thanks to Hannes Mehnert)
Documentation:
Add an example application (#34, #35)
v0.7.1 2017-01-25
Build system:
Remove
records
fromMETA
to make it possible to actually usepkcs11
withoutrecords
installed (#33)
v0.7.0 2017-01-23
Breaking changes:
Remove
typ
values fromrecords
, deprecated in 0.6.0, and the associated dependency (#26)Rework the
P11_keys_attributes
module (#27):rename it to
P11_key_attributes
rename
possibles
topossibles
remove
kinds
andis
Remove most "not implemented" attributes (#28, #29)
Fixes:
Detect Linux hosts more robustly (#25)
New features:
Provide optional
cmdliner
support through a newPkcs11_cli
module (inpkcs11.cli
) (#31)
Build system:
Forbid
key-parsers.0.6.0
Refer to the
Result
compatibility module only through a global-open
(#30)Install
cmti
files (#32)Add missing
ounit
test-dependency (#32)
v0.6.0 2017-01-04
Breaking changes:
Removed deprecated operator aliases (#22)
Remove the
P11_mechanisms
module (#23)kinds
is moved toP11
key_type
can be replaced byP11.Mechanism.key_type
(its results only depend on the mechanism type)
New features:
Add yojson functions to several modules (#20)
Changes:
P11.Mechanism.key_type
is extended to non-keygen mechanisms.
Deprecated values:
Deprecate
typ
values fromrecords
(#21). Users are expected to use the underlyingyojson
functions directly. Therecords
dependency should be dropped in the next release.
Build system:
Use docker for travis builds (#19)
v0.5.0 2016-12-16
Breaking changes:
get_slot
return a result instead of raising an exception (#16)Make
P11.Mechanism.key_type
return an option (#17)
Cleanup:
Fix warning 32 (#18)
Fix warning 52 (#15)
Tests:
Add tests for the bigint module (#14)
v0.4.0 2016-11-03
Breaking changes:
Changed the type of some low-level fields from
Ctypes.ptr
toCtypes_helpers.Reachable_ptr.t
. Those can be accessed using thesetf
andgetf
functions in the same module.Make
Pkcs11_data.t
abstract.
Fixes:
Fix several use-after-free bugs (#10)
Build system:
Add merlin configuration (#11)
v0.3.0 2016-10-18
New features:
Add inverted stubs (#8)
v0.2.0 2016-10-07
Breaking changes:
Rename
CK_PKCS5_PBKD2_DATA_PARAMS
toCK_PKCS5_PBKD2_PARAMS
(#5)
New features:
Install headers in ocamlfind directory (#2)
Changes:
Improve documentation headers (#3)
v0.1.0 2016-09-22
Initial release.