diff --git a/CHANGELOG.md b/CHANGELOG.md index 35344f42..765ee769 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). ======= +# [2.4.2] +### Fixed +- `p11ls`: removed duplicate `CKA_CHECK_VALUE` attribute from `C_GetAttributeValue()` call on secret keys (may cause issues on some PKCS\#11 tokens) + # [2.4.1] ### Fixed - template content is no more wrapped/dipsplayed if length is not a multiple of CK_ATTRIBUTE structure, @@ -25,8 +29,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 # [2.2.0] ### Added -- p11kcv will compute a Key Check Value on `CK_GENERIC_SECRET` keys as well. These are mapped to HMAC-SHA256. -- p11slotinfo now prints library version +- `p11kcv` will compute a Key Check Value on `CK_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 @@ -114,6 +118,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Added - Initial public release +[2.4.2]: https://github.com/Mastercard/pkcs11-tools/tree/v2.4.2 [2.4.1]: https://github.com/Mastercard/pkcs11-tools/tree/v2.4.1 [2.4.0]: https://github.com/Mastercard/pkcs11-tools/tree/v2.4.0 [2.3.1]: https://github.com/Mastercard/pkcs11-tools/tree/v2.3.1 diff --git a/configure.ac b/configure.ac index ccf66669..2426723f 100644 --- a/configure.ac +++ b/configure.ac @@ -14,7 +14,7 @@ dnl limitations under the License. AC_PREREQ([2.64]) -AC_INIT([pkcs11-tools], [2.4.1], [https://github.com/Mastercard/pkcs11-tools/issues], [pkcs11-tools], [https://github.com/Mastercard/pkcs11-tools]) +AC_INIT([pkcs11-tools], [2.4.2], [https://github.com/Mastercard/pkcs11-tools/issues], [pkcs11-tools], [https://github.com/Mastercard/pkcs11-tools]) AC_CONFIG_MACRO_DIR([m4]) dnl adding AM_MAINTAINER_MODE to address autotools issues with git diff --git a/lib/pkcs11_ls.c b/lib/pkcs11_ls.c index b78dc4bf..8b23b6f8 100644 --- a/lib/pkcs11_ls.c +++ b/lib/pkcs11_ls.c @@ -524,10 +524,7 @@ static int ls_seck(pkcs11Context *p11Context, CK_OBJECT_HANDLE hndl) _ATTR(CKA_CHECK_VALUE), _ATTR(CKA_TRUSTED), _ATTR(CKA_WRAP_WITH_TRUSTED), - - /* AES Key attributes */ _ATTR(CKA_VALUE_LEN), - _ATTR(CKA_CHECK_VALUE), _ATTR_END );