Skip to content

Commit

Permalink
Prepare 4.0 Release
Browse files Browse the repository at this point in the history
Update the changelog and the SO version of the library.

Change-Id: I1aa486ae778484dca1a2f19037c3885d1fe0d301
  • Loading branch information
garw committed Aug 17, 2020
1 parent acc817a commit d4d5c37
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 3 deletions.
21 changes: 19 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,20 +6,37 @@ 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)
* Move DigestTypes from openssl namespace to mococrw namespace. This is an ABI change!
* 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
Expand Down
2 changes: 1 addition & 1 deletion src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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}"
Expand Down

0 comments on commit d4d5c37

Please sign in to comment.