Skip to content

Commit

Permalink
release 2.4.2 - fixed template when listing secret keys with p11ls
Browse files Browse the repository at this point in the history
  • Loading branch information
keldonin committed Sep 23, 2021
1 parent 733359f commit c6ce5af
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
9 changes: 7 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -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

Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 0 additions & 3 deletions lib/pkcs11_ls.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 );

Expand Down

0 comments on commit c6ce5af

Please sign in to comment.