Skip to content

Commit

Permalink
Release v0.17.0
Browse files Browse the repository at this point in the history
  • Loading branch information
dbrgn committed Mar 18, 2024
1 parent da20d9b commit 7830127
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 4 deletions.
13 changes: 10 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "threema-gateway"
version = "0.16.0"
version = "0.17.0"
authors = ["Danilo Bargen <[email protected]>"]
documentation = "https://docs.rs/threema-gateway"
repository = "https://github.com/dbrgn/threema-gateway-rs"
Expand Down

0 comments on commit 7830127

Please sign in to comment.