| 1 |
NEWS for SoftHSM -- History of user visible changes |
| 2 |
|
| 3 |
SoftHSM 2.6.1 - 2020-04-29 |
| 4 |
|
| 5 |
* Issue #542: Support Ed448/X448 for OpenSSL |
| 6 |
* Issue #538: Improved warning and compilation issues for GCC10 |
| 7 |
* Issue #527: Fixed compilation issues for MacOS 10.15.4/Xcode 11.4 |
| 8 |
|
| 9 |
SoftHSM 2.6.0 - 2020-03-17 |
| 10 |
|
| 11 |
* Issue #493: Upgrade to Botan 2. |
| 12 |
* Issue #530: Update appveyor build. |
| 13 |
* Issue #438: Detect crypto algorithms by default. |
| 14 |
(Patch from Alon Bar-Lev) |
| 15 |
* Issue #455: Provide a new configuration option to allow enabling and |
| 16 |
disabling various mechanisms (slots.mechanisms in the softhsm2.conf). |
| 17 |
(Thanks to Jakub Jelen) |
| 18 |
* Issue #479: Increase SQLite busy timeout from 15 seconds to 3 minutes. |
| 19 |
(Patch from Jan Luebbe) |
| 20 |
* Issue #513: Add configuration option to reset state on fork closing all |
| 21 |
sessions rather than keeping all sessions open in duplicate process. |
| 22 |
(Thanks to Anderson Toshiyuki Sasaki) |
| 23 |
* Issue #500: C_WaitForSlotEvent implementation. |
| 24 |
(Patch from massey101) |
| 25 |
* Issue #445: Add wrap support with CKM_AES_CBC. |
| 26 |
|
| 27 |
Bugfixes: |
| 28 |
* Issue #418: Set fields to NULL to avoid double free. |
| 29 |
(Patch from Brian J Murray) |
| 30 |
* Issue #423: ENGINE_load_rdrand is not supported with older openssl. |
| 31 |
(Patch from Alon Bar-Lev) |
| 32 |
* Issue #429: Updated prerequisite to build from repository. |
| 33 |
(Patch from Dharmesh Khandelwal) |
| 34 |
* Issue #434: Fix build issues with CMake. |
| 35 |
(Patch from Peter Wu) |
| 36 |
* Issue #435: Fix botan build without EDDSA. |
| 37 |
(Patch from Peter Wu) |
| 38 |
* Issue #442: Release resources from OSSLEVPSymmetricAlgorithm. |
| 39 |
(Patch from Petr Menšík) |
| 40 |
* Issue #449/#502: Do not copy zero sized buffer avoid null pointer reference. |
| 41 |
(Patch from space88man) |
| 42 |
* Issue #464: Race condition with multiple threads closing last session and |
| 43 |
opening a newer sessions. |
| 44 |
(Patch from Takarth) |
| 45 |
* Issue #452: Fixes to automake build fir undefined macros. |
| 46 |
* Issue #462: User PIN count wrongly calculated. |
| 47 |
(Patch from Ondřej Hlavatý) |
| 48 |
* Issue #516: Fix memory leak in OSSLCryptoFactory. |
| 49 |
(Patch from Anderson Sasaki) |
| 50 |
* Issue #494: Allow null pointers as arguments when count is zero. |
| 51 |
(Patch from Yunjong Jeong) |
| 52 |
* Issue #518: Sporadic problem in closing sessions because of lookup of |
| 53 |
object without prior locking. |
| 54 |
* Issue #506: Check key type for C_EncryptInit and C_DecryptInit. |
| 55 |
(Patch from Yunjong Jeong) |
| 56 |
* Issue #526: Adjust EDDSA code to return valid EC_PARAMS. |
| 57 |
(Patch from Jakub Jelen) |
| 58 |
* Issue #452: Autogen failure on undefined macro AC_MSG_ERROR. |
| 59 |
* Issue #527: Fixed some build errors for GCC 10. |
| 60 |
* Issue #470: Null pointer arguments validation for C_EncryptFinal, etc. |
| 61 |
|
| 62 |
|
| 63 |
SoftHSM 2.5.0 - 2018-09-24 |
| 64 |
|
| 65 |
* Issue #323: Support for EDDSA with vendor defined mechanisms. |
| 66 |
(Patch from Francis Dupont) |
| 67 |
* Issue #362: CMake Build System Support for SoftHSM. |
| 68 |
(Patch from Constantine Grantcharov) |
| 69 |
* Issue #368: Support migrating 32-bit SoftHSMv1 DB on 64-bit system (LP64). |
| 70 |
* Issue #385: Default is not to build EDDSA since it has not been released in |
| 71 |
OpenSSL. |
| 72 |
* Issue #387: Windows: Add VS2017 detection to Configure.py. |
| 73 |
(Patch from Jaroslav Imrich) |
| 74 |
* Issue #412: Replace PKCS11 headers with a version from p11-kit. |
| 75 |
(Patch from Alexander Bokovoy) |
| 76 |
|
| 77 |
Bugfixes: |
| 78 |
* Issue #366: Support cross-compilation. |
| 79 |
(Patch from Michael Weiser) |
| 80 |
* Issue #377: Duplicate symbol error with custom p11test. |
| 81 |
* Issue #386: Use RDRAND in OpenSSL if that engine is available. |
| 82 |
* Issue #388: Update DBTests.cpp to fix x86 test failure. |
| 83 |
(Patch from tcely) |
| 84 |
* Issue #393: Not setting CKA_PUBLIC_KEY_INFO correctly. |
| 85 |
(Patch from pkalapat) |
| 86 |
* Issue #401: Wrong key and keyserver mentioned in installation documentation. |
| 87 |
(Patch from Berry A.W. van Halderen) |
| 88 |
* Issue #408: Remove mutex callbacks after C_Finalize(). |
| 89 |
(Patch from Alexander Bokovoy) |
| 90 |
|
| 91 |
|
| 92 |
SoftHSM 2.4.0 - 2018-02-27 |
| 93 |
|
| 94 |
* Issue #135: Support PKCS#8 for GOST. |
| 95 |
* Issue #140: Support for CKA_ALLOWED_MECHANISMS. |
| 96 |
(Patch from Brad Hess) |
| 97 |
* Issue #141: Support CKA_ALWAYS_AUTHENTICATE for private key objects. |
| 98 |
* Issue #220: Support for CKM_DES3_CMAC and CKM_AES_CMAC. |
| 99 |
* Issue #226: Configuration option for Windows build to enable build with |
| 100 |
static CRT (/MT). |
| 101 |
* Issue #325: Support for CKM_AES_GCM. |
| 102 |
* Issue #334: Document that initialized tokens will be reassigned to another |
| 103 |
slot (based on the token serial number). |
| 104 |
* Issue #335: Support for CKM_RSA_PKCS_PSS. |
| 105 |
(Patch from Nikos Mavrogiannopoulos) |
| 106 |
* Issue #341: Import AES keys with softhsm2-util. |
| 107 |
(Patch from Pavel Cherezov) |
| 108 |
* Issue #348: Document that OSX needs pkg-config to detect cppunit. |
| 109 |
* Issue #349: softhsm2-util will check the configuration and report any |
| 110 |
issues before loading the PKCS#11 library. |
| 111 |
|
| 112 |
Bugfixes: |
| 113 |
* Issue #345: Private objects are presented to security officer in search |
| 114 |
results. |
| 115 |
* Issue #358: Race condition when multiple applications are creating and |
| 116 |
reading object files. |
| 117 |
|
| 118 |
|
| 119 |
SoftHSM 2.3.0 - 2017-07-03 |
| 120 |
|
| 121 |
* Issue #130: Upgraded to PKCS#11 v2.40. |
| 122 |
* Minor changes to some return values. |
| 123 |
* Added CKA_DESTROYABLE to all objects. Used by C_DestroyObject(). |
| 124 |
* Added CKA_PUBLIC_KEY_INFO to certificates, private, and public key |
| 125 |
objects. Will be accepted from application, but SoftHSM will |
| 126 |
currently not calculate it. |
| 127 |
* Issue #142: Support for CKM_AES_CTR. |
| 128 |
* Issue #155: Add unit tests for SessionManager. |
| 129 |
* Issue #189: C_DigestKey returns CKR_KEY_INDIGESTIBLE when key |
| 130 |
attribute CKA_EXTRACTABLE = false. Whitelist SHA algorithms to allow |
| 131 |
C_DigestKey in this case. |
| 132 |
* Issue #225: Show slot id after initialization. |
| 133 |
* Issue #247: Run AppVeyor (Windows CI) for each PR and merge. |
| 134 |
* Issue #257: Set CKA_DECRYPT/CKA_ENCRYPT flags on key import to true. |
| 135 |
(Patch from Martin Domke) |
| 136 |
* Issue #261: Add support for libeaycompat lib for FIPS on Windows. |
| 137 |
(Patch from Matt Hauck) |
| 138 |
* Issue #262: Support importing ECDSA P-521 in softhsm-util. |
| 139 |
* Issue #276: Support for Botan 2.0. |
| 140 |
* Issue #279: Editorial changes from Mountain Lion to Sierra. |
| 141 |
(Patch from Mike Neumann) |
| 142 |
* Issue #283: More detailed error messages when initializing SoftHSM. |
| 143 |
* Issue #285: Support for LibreSSL. |
| 144 |
(Patch from Alon Bar-Lev) |
| 145 |
* Issue #286: Update .gitignore. |
| 146 |
(Patch from Alon Bar-Lev) |
| 147 |
* Issue #291: Change to enable builds and reports on new Jenkinks |
| 148 |
environment. |
| 149 |
* Issue #293: Detect cppunit in autoconf. |
| 150 |
(Patch from Alon Bar-Lev) |
| 151 |
* Issue #309: CKO_CERTIFICATE and CKO_PUBLIC_KEY now defaults to |
| 152 |
CKA_PRIVATE=false. |
| 153 |
* Issue #314: Update README with information about logging. |
| 154 |
* Issue #330: Adjust log levels for failing to enumerate object store. |
| 155 |
(Patch from Nikos Mavrogiannopoulos) |
| 156 |
|
| 157 |
Bugfixes: |
| 158 |
* Issue #216: Better handling of CRYPTO_set_locking_callback() for OpenSSL. |
| 159 |
* Issue #265: Fix deriving shared secret with ECC. |
| 160 |
* Issue #280: HMAC with sizes less than L bytes is strongly discouraged. |
| 161 |
Set a lower bound equal to L bytes in ulMinKeySize and check it when |
| 162 |
initializing the operation. |
| 163 |
* Issue #281: Fix test of p11 shared library. |
| 164 |
(Patch from Lars Silvén) |
| 165 |
* Issue #289: Minor fix of 'EVP_CipherFinal_ex'. |
| 166 |
(Patch from Viktor Tarasov) |
| 167 |
* Issue #297: Fix build with cppunit. |
| 168 |
(Patch from Ludovic Rousseau) |
| 169 |
* Issue #302: Export PKCS#11 symbols from the library. |
| 170 |
(Patch from Ludovic Rousseau) |
| 171 |
* Issue #305: Zero pad key to fit the block in CKM_AES_KEY_WRAP. |
| 172 |
* Issue #313: Detecting CppUnit when using Macports. |
| 173 |
(Patch from mouse07410) |
| 174 |
|
| 175 |
|
| 176 |
SoftHSM 2.2.0 - 2016-12-05 |
| 177 |
|
| 178 |
* Issue #143: Delete a token using softhsm2-util. |
| 179 |
* Issue #185: Change access mode bits for /var/lib/softhsm/tokens/ |
| 180 |
to 1777. All users can now create tokens, but only access their own. |
| 181 |
(Patch from Rick van Rein) |
| 182 |
* Issue #186: Reinitializing a token will now keep the token, but all |
| 183 |
token objects are deleted, the user PIN is removed and the token |
| 184 |
label is updated. |
| 185 |
* Issue #190: Support for OpenSSL 1.1.0. |
| 186 |
* Issue #198: Calling C_GetSlotList with NULL_PTR will make sure that |
| 187 |
there is always a slot with an uninitialized token available. |
| 188 |
* Issue #199: The token serial number will be used when setting the slot |
| 189 |
number. The serial number is set after the token has been initialized. |
| 190 |
(Patch from Lars Silvén) |
| 191 |
* Issue #203: Update the command utils to use the token label or serial |
| 192 |
to find the token and its slot number. |
| 193 |
* Issue #209: Possibility to test other PKCS#11 implementations with the |
| 194 |
CppUnit test. |
| 195 |
(Patch from Lars Silvén) |
| 196 |
* Issue #223: Mark public key as non private by default. |
| 197 |
(Patch from Nikos Mavrogiannopoulos) |
| 198 |
* Issue #230: Install p11-kit module, to disable use --disable-p11-kit. |
| 199 |
(Patch from David Woodhouse) |
| 200 |
* Issue #237: Add windows continuous integration build. |
| 201 |
(Patch from Peter Polačko) |
| 202 |
|
| 203 |
Bugfixes: |
| 204 |
* Issue #201: Missing new source file and test configuration in the |
| 205 |
Windows build project. |
| 206 |
* Issue #205: ECDSA P-521 support for OpenSSL and better test coverage. |
| 207 |
* Issue #207: Fix segmentation faults in loadLibrary function. |
| 208 |
(Patch from Jaroslav Imrich) |
| 209 |
* Issue #215: Update the Homebrew install notes for OSX. |
| 210 |
* Issue #218: Fix build warnings. |
| 211 |
* Issue #235: Add the libtool install command for OSX. |
| 212 |
(Patch from Mark Wylde) |
| 213 |
* Issue #236: Use GetEnvironmentVariable instead of getenv on Windows. |
| 214 |
(Patch from Jaroslav Imrich) |
| 215 |
* Issue #239: Crash on module unload with OpenSSL. |
| 216 |
(Patch from David Woodhouse) |
| 217 |
* Issue #241: Added EXTRALIBS to Windows utils project. |
| 218 |
(Patch from Peter Polačko) |
| 219 |
* Issue #250: C++11 not detected. |
| 220 |
* Issue #255: API changes in Botan 1.11.27. |
| 221 |
* Issue #260: Fix include guard to check WITH_FIPS. |
| 222 |
(Patch from Matt Hauck) |
| 223 |
* Issue #268: p11test fails on 32-bit systems. |
| 224 |
* Issue #270: Build warning about "converting a string constant". |
| 225 |
* Issue #272: Fix C++11 check to look for unique_ptr. |
| 226 |
(Patch from Matt Hauck) |
| 227 |
|
| 228 |
|
| 229 |
SoftHSM 2.1.0 - 2016-03-14 |
| 230 |
|
| 231 |
* Issue #136: Improved guide and build scripts for Windows. |
| 232 |
(Thanks to Jaroslav Imrich) |
| 233 |
* Issue #144: The password prompt in softhsm2-util can now be |
| 234 |
interrupted (ctrl-c). |
| 235 |
* Issue #166: Add slots.removable config option. |
| 236 |
(Patch from Sumit Bose) |
| 237 |
* Issue #180: Windows configure script improvements. |
| 238 |
(Patch from Arnaud Grandville) |
| 239 |
|
| 240 |
Bugfixes: |
| 241 |
* Issue #128: Prioritize the return values in C_GetAttributeValue. |
| 242 |
(Patch from Nicholas Wilson) |
| 243 |
* Issue #129: Fix errors reported by Visual Studio 2015. |
| 244 |
(Patch from Jaroslav Imrich) |
| 245 |
* Issue #132: Handle the CKA_CHECK_VALUE correctly for certificates |
| 246 |
and symmetric key objects. |
| 247 |
* Issue #154: Fix the Windows build and destruction order of objects. |
| 248 |
(Patch from Arnaud Grandville) |
| 249 |
* Issue #162: Not possible to create certificate objects containing |
| 250 |
CKA_CERTIFICATE_CATEGORY, CKA_NAME_HASH_ALGORITHM, or |
| 251 |
CKA_JAVA_MIDP_SECURITY_DOMAIN. |
| 252 |
* Issue #163: Do not attempt decryption of empty byte strings. |
| 253 |
(Patch from Michal Kepien) |
| 254 |
* Issue #165: Minor changes after a PVS-Studio code analysis, and |
| 255 |
C_EncryptUpdate crash if no ciphered data is produced. |
| 256 |
(Patch from Arnaud Grandville) |
| 257 |
* Issue #169: One-byte buffer overflow in call to EVP_DecryptUpdate. |
| 258 |
* Issue #171: Problem while closing library that is initialized but |
| 259 |
improperly finalized. |
| 260 |
* Issue #173: Adjust return values for the template parsing. |
| 261 |
* Issue #174: C_DeriveKey() error with leading zero bytes. |
| 262 |
* Issue #177: CKA_NEVER_EXTRACTABLE set to CK_FALSE on objects |
| 263 |
created with C_CreateObject. |
| 264 |
* Issue #182: Resolve compiler warning. |
| 265 |
(Patch from Josh Datko) |
| 266 |
* Issue #184: Stop discarding the global OpenSSL libcrypto state. |
| 267 |
(Patch from Michal Trojnara) |
| 268 |
* SOFTHSM-123: Fix library cleanup on BSD. |
| 269 |
|
| 270 |
|
| 271 |
SoftHSM 2.0.0 - 2015-07-17 |
| 272 |
|
| 273 |
* SOFTHSM-121: Test cases for C_DecryptUpdate/C_DecryptFinal. |
| 274 |
* Support C_DecryptUpdate/C_DecryptFinal for symmetric algorithms. |
| 275 |
(Patch from Thomas Calderon) |
| 276 |
|
| 277 |
Bugfixes: |
| 278 |
* SOFTHSM-120: Segfault after renaming variables. |
| 279 |
|
| 280 |
|
| 281 |
SoftHSM 2.0.0b3 - 2015-04-17 |
| 282 |
|
| 283 |
* SOFTHSM-113: Support for Botan 1.11.15 |
| 284 |
* SOFTHSM-119: softhsm2-util: Support ECDSA key import |
| 285 |
(Patch from Magnus Ahltorp) |
| 286 |
* SUPPORT-139: Support deriving generic secrets, DES, DES2, DES3, and AES. |
| 287 |
Using DH, ECDH or symmetric encryption. |
| 288 |
|
| 289 |
Bugfixes: |
| 290 |
* SOFTHSM-108: A marked as trusted certificate cannot be imported. |
| 291 |
* SOFTHSM-109: Unused parameter and variable warnings. |
| 292 |
* SOFTHSM-110: subdir-objects warnings from autoreconf. |
| 293 |
* SOFTHSM-111: Include FIPS-NOTES.md in dist. |
| 294 |
* SOFTHSM-112: CKM_AES_KEY_WRAP* conflict in pkcs11.h. |
| 295 |
* SOFTHSM-114: Fix memory leak in a test script. |
| 296 |
* SOFTHSM-115: Fix static analysis warnings. |
| 297 |
* SUPPORT-154: A marked as non-modifiable object cannot be generated. |
| 298 |
* SUPPORT-155: auto_ptr is deprecated in C++11, use unique_ptr. |
| 299 |
* SUPPORT-157: Derived secrets were truncated after encryption and |
| 300 |
could thus not be decrypted. |
| 301 |
* Mutex should call MutexFactory wrapper functions. |
| 302 |
(Patch from Jerry Lundström) |
| 303 |
* Return detailed error message to loadLibrary(). |
| 304 |
(Patch from Petr Spacek) |
| 305 |
|
| 306 |
|
| 307 |
SoftHSM 2.0.0b2 - 2014-12-28 |
| 308 |
|
| 309 |
* SOFTHSM-50: OpenSSL FIPS support. |
| 310 |
* SOFTHSM-64: Updated build script for Windows. |
| 311 |
* SOFTHSM-100: Use --free with softhsm2-util to initialize the first |
| 312 |
free token. |
| 313 |
* SOFTHSM-103: Allow runtime configuration of log level. |
| 314 |
* SOFTHSM-107: Support for CKM_<symcipher>_CBC_PAD. |
| 315 |
* Add support for CKM_RSA_PKCS_OAEP key un/wrapping. |
| 316 |
(Patch from Petr Spacek) |
| 317 |
* Use OpenSSL EVP interface for AES key wrapping. |
| 318 |
(Patch from Petr Spacek) |
| 319 |
* Allow reading configuration file from user's home directory. |
| 320 |
(Patch from Nikos Mavrogiannopoulos) |
| 321 |
|
| 322 |
Bugfixes: |
| 323 |
* SOFTHSM-102: C_DeriveKey() uses OBJECT_OP_GENERATE. |
| 324 |
* Coverity found a number of issues. |
| 325 |
|
| 326 |
|
| 327 |
SoftHSM 2.0.0b1 - 2014-09-10 |
| 328 |
|
| 329 |
* SOFTHSM-84: Check that all mandatory attributes are given during |
| 330 |
the creation process. |
| 331 |
* SOFTHSM-92: Enable -fvisibility=hidden on per default |
| 332 |
* SUPPORT-137: Implement C_EncryptUpdate and C_EncryptFinal |
| 333 |
(Patch from Martin Paljak) |
| 334 |
* Add support for CKM_RSA_PKCS key un/wrapping |
| 335 |
(Patch from Petr Spacek) |
| 336 |
|
| 337 |
Bugfixes: |
| 338 |
* SOFTHSM-66: Attribute handling when using multiple threads |
| 339 |
* SOFTHSM-93: Invalid C++ object recycling. |
| 340 |
* SOFTHSM-95: umask affecting the calling application. |
| 341 |
* SOFTHSM-97: Check if Botan has already been initialized. |
| 342 |
* SOFTHSM-98: Handle mandatory attributes for DSA, DH, and ECDSA |
| 343 |
correctly. |
| 344 |
* SOFTHSM-99: Binary encoding of GOST values. |
| 345 |
* SUPPORT-136: softhsm2-keyconv creates files with sensitive material |
| 346 |
in insecure way. |
| 347 |
|
| 348 |
|
| 349 |
SoftHSM 2.0.0a2 - 2014-03-25 |
| 350 |
|
| 351 |
* SOFTHSM-68: Display a better configure message when there is a |
| 352 |
version of Botan with a broken ECC/GOST/OID implementation. |
| 353 |
* SOFTHSM-70: Improved handling of the database backend. |
| 354 |
* SOFTHSM-71: Supporting Botan 1.11. |
| 355 |
* SOFTHSM-76: Do not generate RSA keys smaller than 1024 bit when |
| 356 |
using the Botan crypto backend. |
| 357 |
* SOFTHSM-83: Support CKA_VALUE_BITS for CKK_DH private key object. |
| 358 |
* SOFTHSM-85: Rename libsofthsm.so to libsofthsm2.so and prefix the |
| 359 |
command line utilties with softhsm2-. |
| 360 |
* SOFTHSM-89: Use constants and not strings for signaling algorithms. |
| 361 |
* SUPPORT-129: Possible to use an empty template in C_GenerateKey. |
| 362 |
The class and key type are inherited from the generation mechanism. |
| 363 |
Some mechanisms do however require a length attribute. [SOFTHSM-88] |
| 364 |
* SUPPORT-131: Support RSA-PSS using SHA1, SHA224, SHA256, SHA384, |
| 365 |
or SHA512. [SOFTHSM-87] |
| 366 |
|
| 367 |
Bugfixes: |
| 368 |
* SOFTHSM-39: Fix 64 bit build on sparc sun4v. |
| 369 |
* SOFTHSM-69: GOST did not work when you disabled ECC. |
| 370 |
* SOFTHSM-78: Correct the attribute checks for a number of objects. |
| 371 |
* SOFTHSM-80: Prevent segfault in OpenSSL GOST HMAC code. |
| 372 |
* SOFTHSM-91: Fix a warning from static code analysis. |
| 373 |
* Fixed a number of memory leaks. |
| 374 |
|
| 375 |
|
| 376 |
SoftHSM 2.0.0a1 - 2014-02-10 |
| 377 |
|
| 378 |
This is the first alpha release of SoftHSMv2. It focuses on a higher |
| 379 |
level of security by encrypting sensitive information and using |
| 380 |
unswappable memory. There is also a more generalized crypto backend, |
| 381 |
where you can use Botan or OpenSSL. |