All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- support for wrapping keys in JOSE Web Key format (JWK, RFC 7178)
- support for AWS Cloud HSM. See [README.md] for limitations.
- with recent versions of GCC, compilation issue with lexx and yacc produced source code.
- when
automake
<1.14 is used, use an older, compatible commit forgnulib
gnulib
in now built from a stable branch,stable-202307
- adding
-S
option flag forp11keygen
, for enabling key generation when logged in as Security Officer (PR #33) - fixed a few memory management issues, preventing to import EC public keys when using
p11keygen
,p11unwrap
andp11importpubk
.
CKA_ALLOWED_MECHANISMS
support for all key management utilities (p11keygen
,p11wrap
,p11unwrap
,p11rewrap
,p11ls
,p11od
)
p11wrap
: fixed memory leaks
p11ls
: removed duplicateCKA_CHECK_VALUE
attribute fromC_GetAttributeValue()
call on secret keys (may cause issues on some PKCS#11 tokens)
- template content is no more wrapped/dipsplayed if length is not a multiple of CK_ATTRIBUTE structure, to ignore templates incorrectly reported by some tokens
- support for template attributes on most commands
- some of the mgf argument values for
p11wrap
,p11rewrap
andp11keygen
were incorrect. The documentation has also been adjusted (Issue #30). p11more
,p11req
,p11mkcert
andp11cat
could not deal with Edwards curve if the curve parameter was specified as a named curve.
- added the ability to specify a buffer length, when performing HMAC key check values (default is 0).
p11kcv
will compute a Key Check Value onCK_GENERIC_SECRET
keys as well. These are mapped to HMAC-SHA256.p11slotinfo
now prints library version- support for FreeBSD ports and packaging
- for Edwards curve based keys, allow providing curve name instead of OID when generating a key
2.1.3 - 2021-03-25
- ensure that openssl 1.1.1e or above is used, issue #27
- ensure that threading library is referenced, to allow building with static OpenSSL library
2.1.2 - 2021-02-01
- fixed unallowed memory free, causing command
p11rewrap
to crash
2.1.1 - 2021-01-26
- wrapping DES keys with PKCS#1 v1.5 algorithm bug - wrapped key length deduced from key type onwards
2.1.0 - 2021-01-06
- support for Edwards curve based keys ( ED448 and ED25519 ), for all commands (closing issue #11).
2.0.2 - 2020-12-22
- include file
lib/pkcs11_ossl.h
to the source distribution (Issue #24) - typo in documentation (Issue #24)
- compilation on older RedHat derivatives that use
openssl11-dev
instead ofopenssl-dev
2.0.1 - 2020-12-18
- fixed cross-compilation issues for mingw32
2.0.0 - 2020-12-15
- implemented envelope wrapping (combining a symmetric key and a private key to wrap anything)
p11keygen
: implemented wrapping under one or more keysp11wrap
: implemented wrapping underone or more keys- added
p11rewrap
command, allowing to rewrap wrapped keys under other keys - added
p11mkcert
command, to create self-signed certificates usable with JVMs
- support for OpenSSL 1.1 ( OpenSSL 1.1.1+ required) - Contribution from Ian Norton (@inorton)
- major refactoring of
p11req
andmasqreq
to leverage OpenSSL algoritm method subsystem
- fixed
p11kcv
to work on SoftHSM - fixed packaging for Solaris
1.2.0 - 2020-04-10
- implemented CKA_AES_KEY_WRAP (rfc3394) and CKA_AES_KEY_WRAP_PAD (rfc5649)
- added support for Gemalto Safenet Luna HSM
- added flavour=nss parameter to rfc5649 algorithm, to identify non compliant RFC5649 implementation of NSS
- fixed compilation warning on linux/debian 10 with gcc
- fixed issue that prevented cross-compilation to work, for mingw32
1.1.0 - 2020-01-15
- the build process can leverage pkg-config, when available
- the Git repository does not store generated source files anymore. It requires to execute
bootstrap.sh
beforeconfigure
gnulib
is now a submodule of the project- PKCS11 version upgraded to v2.40, with the backport of EdDSA defines from v3.0
- enhanced installation documentation
1.0.3 - 2019-08-14
- Fix for token labels having maximum length (i.e. 32 characters) (Issue #7)
1.0.2 - 2018-12-20
- Fix for cross-compilation and header file detection in
configure.ac
(Issue #1) - Documentation for installing
1.0.1 - 2018-12-07
- Project name changed from pkcs11-toolkit to pkcs11-tools
- Enhanced nCipher header file detection (now automatic)
- Fixed missing files when generating Solaris pkg
- Removed unnecessary files from github
- Links and date in the Changelog are now accurate
1.0.0 - 2018-12-06
- Initial public release