From d4d5c379a3af7cf61c19c4d572d25b4481138083 Mon Sep 17 00:00:00 2001 From: Martin Lang Date: Mon, 17 Aug 2020 14:58:29 +0200 Subject: [PATCH] Prepare 4.0 Release Update the changelog and the SO version of the library. Change-Id: I1aa486ae778484dca1a2f19037c3885d1fe0d301 --- CHANGELOG.md | 21 +++++++++++++++++++-- src/CMakeLists.txt | 2 +- 2 files changed, 20 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 52efbd7e..f4238899 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,23 @@ All notable changes to this project will be documented in this file. ## Changed +## Fixed + +## Added + +# Release 4.0.0 + +Multiple (self-contained) example programs have been added to illustrate the features of this +libary. Otherwise, just smaller clean up tasks. + +As part of the clean up, the `DigestTypes` enum has been moved from the openssl namespace into +the mococrw namespace. A `using` statement was added to make this backwards-compatible API-wise. +It is, however, an ABI change. Thus, this is a new major version release. + +## Details + +### Changed + * Replace `explicit_bzero(3)` with `OPENSSL_cleanse(3)` to fix compilation on non-glibc systems. (see #75) * Replaced manual calculation of hash digest length by library function in ECIES * Improved error message when attempting to create an AES-GCM cipher with empty IV. (see #83) @@ -13,13 +30,13 @@ All notable changes to this project will be documented in this file. * Add error detection to utility::fromHex (This changes the behaviour of fromHex as it will throw errors on invalid string from now on.) -## Fixed +### Fixed * Exception message in AESCipher (thrown if key has unexpected length) * Install target of documentation * Fix toggling stream cipher test when encrypting short messages -## Added +### Added * Examples for KDF, MAC, ECIES and EdDSA, and updated existing examples and documentation * Expose `mococrw/bio.h` as public header to simplify interoperability with OpenSSL functions diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 69cc22f6..58af45fb 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -2,7 +2,7 @@ project(MoCOCrW VERSION 0.1.0) string(TOLOWER ${PROJECT_NAME} LIBRARY_NAME) -set(MoCOCrW_SOVERSION "3.0") +set(MoCOCrW_SOVERSION "4.0") add_definitions( -DMOCOCRW_VERSION="${MoCOCrW_VERSION}" -DMOCOCRW_SOVERSION="${MoCOCrW_SOVERSION}"