enoise/CHANGELOG.md
Hans Svensson 2b5f08e156 Ditch enacl, support DH448 and Blake2s, and fix types (#14)
* Remove get_stacktrace (deprecated since OTP-24)

* Add DH448 support and switch to crypto:generate_key for DH25519

* Switch to crypto:hash/2 for Blake2b and support Blake2s

* Switch last enacl calls to crypto - no more enacl

* Eqwalizer fixes

Ewqalizer fix

Eqwalizer fix

Eqwalizer fix

Eqwalizer fix

Eqwalizer support

Eqwalizer fix

Fix tests to follow types (remote keys)

* More error handling on setup

* Dialyzer fix

* Write CHANGELOG

* Note about type-checking in README
2025-03-30 05:02:35 +09:00

2.0 KiB

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

Unreleased

Added

  • Support for 448 DH function and Blake2s hash function.

Changed

  • Using crypto over enacl (and removing a call to get_stacktrace/1) makes enoise up to date for (at least) OTP-27.
  • Added test dependency eqwalizer_support to enable checking types with Eqwalizer.

Removed

  • The dependency on enacl is not needed anymore, OTP's crypto library now cover all necessary operations.

1.2.0 - 2021-10-28

Added

Changed

  • Use the new AEAD crypto interface introduced in OTP 22. This makes enoise OPT 24 compatible but it also means it no longer works on OTP 21 and earlier. You can't win them all.
  • Fixed ChaChaPoly20 rekey

Removed

1.1.0 - 2020-09-24

Added

Include Cacaphony test vectors.

Changed

Updated enacl to version 1.1.1. Fixed some imprecise type specifications.

Removed

1.0.1 - 2018-12-21

Added

Changed

Improved argument checks and error handling in handshake (in particular related to empty hand shake messages).

Removed

[1.0] - 2018-10-09

Initial version the following map describe what is supported:

#{ hs_pattern => [nn, kn, nk, kk, nx, kx, xn, in, xk, ik, xx, ix]
 , hash       => [blake2b, sha256, sha512]
 , cipher     => ['ChaChaPoly', 'AESGCM']
 , dh         => [dh25519] }