From 7830127e32b28f8bae8f3ce447614899c77c85a7 Mon Sep 17 00:00:00 2001 From: Danilo Bargen Date: Mon, 18 Mar 2024 14:12:30 +0100 Subject: [PATCH] Release v0.17.0 --- CHANGELOG.md | 13 ++++++++++--- Cargo.toml | 2 +- 2 files changed, 11 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 64ed91437..654874bf8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,9 +13,16 @@ Possible log types: ### Unreleased -- [added] Re-export `crypto_secretbox::Nonce` -- [changed] Replace `sodiumoxide` with `crypto_box` and `crypto_secretbox` -- [changed] Replace re-exports of `PublicKey`, `SecretKey` and `Key` +### v0.17.0 (2024-03-18) + +This release replaces the use of the (now deprecated) +[sodiumoxide](https://github.com/sodiumoxide/sodiumoxide) library with +pure-Rust implementations by [RustCrypto](https://github.com/RustCrypto). This +might entail some breaking changes with regards to key and nonce types. + +- [changed] Replace `sodiumoxide` with `crypto_box` and `crypto_secretbox` (#72) +- [changed] Replace re-exports of `PublicKey`, `SecretKey` and `Key`, re-export + `crypto_secretbox::Nonce` - [changed] Use dedicated `Nonce` type instead of `&[u8; 24]` - [changed] Return result in `encrypt_*` functions - [changed] Use `hmac` and `sha2` crates for calculating MAC diff --git a/Cargo.toml b/Cargo.toml index bc90cd16c..2ad10576e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "threema-gateway" -version = "0.16.0" +version = "0.17.0" authors = ["Danilo Bargen "] documentation = "https://docs.rs/threema-gateway" repository = "https://github.com/dbrgn/threema-gateway-rs"