New
2.7.0
What's Changed
- Issue #548: Don't clean up engines after OpenSSL has already shut down by @dwmw2 in https://github.com/softhsm/SoftHSMv2/pull/550
- Fix OPENSSL_cleanup() detection without using our own atexit() handler by @dwmw2 in https://github.com/softhsm/SoftHSMv2/pull/551
- Fix advertised min and max mechanism sizes according to final PKCS#11 3.0 specification by @Jakuje in https://github.com/softhsm/SoftHSMv2/pull/522
- Fix race condition between C_FindObjects and object creation (issue 573) by @rijswijk in https://github.com/softhsm/SoftHSMv2/pull/576
- Fixing tests of other PKCS#11 implementations. by @larssilven in https://github.com/softhsm/SoftHSMv2/pull/593
- Add "objectstore.umask" configuration option for file/directory creation by @nomis in https://github.com/softhsm/SoftHSMv2/pull/566
- Unbreak negative mechanism lists in slots.mechanisms + testcase by @Jakuje in https://github.com/softhsm/SoftHSMv2/pull/561
- Add misc derivations by @realmfoo in https://github.com/softhsm/SoftHSMv2/pull/571
- Reduce the level of the log message when SoftHSM is already initialized by @nomis in https://github.com/softhsm/SoftHSMv2/pull/577
- doc: Fix category title to reflect the actual option name by @Jakuje in https://github.com/softhsm/SoftHSMv2/pull/580
- Flush files before unlocking by @nomis in https://github.com/softhsm/SoftHSMv2/pull/578
- implement wrapping and unwrapping of Edwards curve-based private keys by @keldonin in https://github.com/softhsm/SoftHSMv2/pull/594
- InfoTests::testGetMechanismNegativeListConfig() not working when testing by @larssilven in https://github.com/softhsm/SoftHSMv2/pull/606
- Fix CMake build by adding DEFAULT_UMASK by @rgerganov in https://github.com/softhsm/SoftHSMv2/pull/617
- Implement CKM_XXX_CBC_PAD wrapping and unwrapping mechanisms by @keldonin in https://github.com/softhsm/SoftHSMv2/pull/600
- fix check minimal Botan version by @agrandville in https://github.com/softhsm/SoftHSMv2/pull/629
- softhsm2-util: add --show-config parameter by @alonbl in https://github.com/softhsm/SoftHSMv2/pull/611
- Fix "Transaction in database is already active." bug by @ondergormez in https://github.com/softhsm/SoftHSMv2/pull/646
- AES GCM without additional authenticated data crashes SoftHSM by @saper in https://github.com/softhsm/SoftHSMv2/pull/664
- Fix broken if statement (fixes #673) by @rijswijk in https://github.com/softhsm/SoftHSMv2/pull/674
- Amend PR 644 resolving conflicts and improvements by @halderen in https://github.com/softhsm/SoftHSMv2/pull/717
- CMake for windows platform refactored by @agrandville in https://github.com/softhsm/SoftHSMv2/pull/644
- Fix issue 585 by resetting en/decrypt op on input validation by @rijswijk in https://github.com/softhsm/SoftHSMv2/pull/592
- Enforce attributes becoming read-only once set to CK_TRUE on CKA_WRAP… by @rijswijk in https://github.com/softhsm/SoftHSMv2/pull/591
- Fix memory leak in SoftHSM::UnwrapKeySym. by @dcoombs in https://github.com/softhsm/SoftHSMv2/pull/677
- avoid unnecessary check for sqlite3 binary by @jluebbe in https://github.com/softhsm/SoftHSMv2/pull/694
- Minor README.md fixes by @sarroutbi in https://github.com/softhsm/SoftHSMv2/pull/744
- Add GitHub Actions CI by @bjosv in https://github.com/softhsm/SoftHSMv2/pull/733
- Update Github actions by @jschlyter in https://github.com/softhsm/SoftHSMv2/pull/766
- Upgrade github actions to macos-14 by @jschlyter in https://github.com/softhsm/SoftHSMv2/pull/769
- Add code owners by @jschlyter in https://github.com/softhsm/SoftHSMv2/pull/770
- fix: Use CMAKE_SHARED_LIBRARY_SUFFIX instead of hardcode .so by @middagj in https://github.com/softhsm/SoftHSMv2/pull/762
- Fix Botan build and test failures by @bjosv in https://github.com/softhsm/SoftHSMv2/pull/771
- Fix a typo in
Mecahnismsby @wiktor-k in https://github.com/softhsm/SoftHSMv2/pull/760 - Fix typo in Github actions by @jschlyter in https://github.com/softhsm/SoftHSMv2/pull/772
- Replace obsolete macros in autoconf by @bjosv in https://github.com/softhsm/SoftHSMv2/pull/743
- Fixes AES secret key import failing on newline characters by @ijsf in https://github.com/softhsm/SoftHSMv2/pull/747
- README: Minor update by @oej in https://github.com/softhsm/SoftHSMv2/pull/774
- Correct build warnings on Linux and macOS by @bjosv in https://github.com/softhsm/SoftHSMv2/pull/775
- Fix severe peformance issue accessing keys by @nomis in https://github.com/softhsm/SoftHSMv2/pull/681
- Support import certificate using softhsm2-util by @alonbl in https://github.com/softhsm/SoftHSMv2/pull/612
- Add configure option and code to disable OpenSSL engines by @bukka in https://github.com/softhsm/SoftHSMv2/pull/781
- Replace CKR_GENERAL_ERROR with CKR_ENCRYPTED_DATA_INVALID or CKR_ENCRYPTED_DATA_LEN_RANGE upon decryption failure by @hansonchar in https://github.com/softhsm/SoftHSMv2/pull/690
- Add -D_FILE_OFFSET_BITS=64 by @LawrenceHunter in https://github.com/softhsm/SoftHSMv2/pull/799
- No memory allocation for each C_DecryptUpdate. by @larssilven in https://github.com/softhsm/SoftHSMv2/pull/643
- Replace deprecated Github runner ubuntu-20.04 by @bjosv in https://github.com/softhsm/SoftHSMv2/pull/802
- Update tests to use OpenSSL legacy provider if OpenSSL 3.0 used by @bukka in https://github.com/softhsm/SoftHSMv2/pull/806
- Implement CKM_RSA_AES_KEY_WRAP mechanism for key wrap/unwrap by @ruiliio in https://github.com/softhsm/SoftHSMv2/pull/794
- Support for ECDSA with hashing by @MatthiasValvekens in https://github.com/softhsm/SoftHSMv2/pull/683
- Use CPPUNIT_ASSERT_EQUAL instead of CPPUNIT_ASSERT by @bukka in https://github.com/softhsm/SoftHSMv2/pull/807
- Fix ECC OpenSSL cmake check on Windows by @bukka in https://github.com/softhsm/SoftHSMv2/pull/828
- Allow OBJECT_OP_UNWRAP to modify attributes by @antoinelochet in https://github.com/softhsm/SoftHSMv2/pull/728
- Update pkcs.h to 3.2.0 version and fix CK_RSA_AES_KEY_WRAP_PARAMS by @bukka in https://github.com/softhsm/SoftHSMv2/pull/827
- Fix C_GetMechanismInfo to fail on non-allowed mechanisms by @Jakuje in https://github.com/softhsm/SoftHSMv2/pull/648
- Change CI branches as new default branch is main by @bukka in https://github.com/softhsm/SoftHSMv2/pull/830
- Fixed PKCS#11 3.2 C_Decapsulate definition by @antoinelochet in https://github.com/softhsm/SoftHSMv2/pull/831
- Support RSA PSS for import in softhsm2-util by @bukka in https://github.com/softhsm/SoftHSMv2/pull/816
- Check RSA-OAEP mechanims when decrypting by @Jakuje in https://github.com/softhsm/SoftHSMv2/pull/671
- Fix incorrect call to isMechanismPermitted by @bukka in https://github.com/softhsm/SoftHSMv2/pull/835
- Prepare for release 2.7.0 by @bukka in https://github.com/softhsm/SoftHSMv2/pull/836
- Update NEWS for 2.7.0 release by @bukka in https://github.com/softhsm/SoftHSMv2/pull/840
New Contributors
- @nomis made their first contribution in https://github.com/softhsm/SoftHSMv2/pull/566
- @realmfoo made their first contribution in https://github.com/softhsm/SoftHSMv2/pull/571
- @keldonin made their first contribution in https://github.com/softhsm/SoftHSMv2/pull/594
- @rgerganov made their first contribution in https://github.com/softhsm/SoftHSMv2/pull/617
- @ondergormez made their first contribution in https://github.com/softhsm/SoftHSMv2/pull/646
- @saper made their first contribution in https://github.com/softhsm/SoftHSMv2/pull/664
- @dcoombs made their first contribution in https://github.com/softhsm/SoftHSMv2/pull/677
- @sarroutbi made their first contribution in https://github.com/softhsm/SoftHSMv2/pull/744
- @bjosv made their first contribution in https://github.com/softhsm/SoftHSMv2/pull/733
- @middagj made their first contribution in https://github.com/softhsm/SoftHSMv2/pull/762
- @wiktor-k made their first contribution in https://github.com/softhsm/SoftHSMv2/pull/760
- @ijsf made their first contribution in https://github.com/softhsm/SoftHSMv2/pull/747
- @oej made their first contribution in https://github.com/softhsm/SoftHSMv2/pull/774
- @bukka made their first contribution in https://github.com/softhsm/SoftHSMv2/pull/781
- @hansonchar made their first contribution in https://github.com/softhsm/SoftHSMv2/pull/690
- @LawrenceHunter made their first contribution in https://github.com/softhsm/SoftHSMv2/pull/799
- @ruiliio made their first contribution in https://github.com/softhsm/SoftHSMv2/pull/794
- @MatthiasValvekens made their first contribution in https://github.com/softhsm/SoftHSMv2/pull/683
- @antoinelochet made their first contribution in https://github.com/softhsm/SoftHSMv2/pull/728
Full Changelog: https://github.com/softhsm/SoftHSMv2/compare/2.6.1...2.7.0