From 671bdfbfff4257b5734ebc8a57e79e478210dfb7 Mon Sep 17 00:00:00 2001 From: Camille Mougey Date: Fri, 19 Aug 2022 17:22:46 +0200 Subject: [PATCH 1/2] Prepare MLA-v1.3.0 --- mla/CHANGELOG.md | 22 ++++++++++++++++++++++ mla/Cargo.toml | 2 +- 2 files changed, 23 insertions(+), 1 deletion(-) diff --git a/mla/CHANGELOG.md b/mla/CHANGELOG.md index 94a5058f..1e09841d 100644 --- a/mla/CHANGELOG.md +++ b/mla/CHANGELOG.md @@ -5,6 +5,28 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [1.3.0] - 2022-08-22 + +### Thanks + +- [Jean-Baptiste Galet](https://github.com/jbgalet) +- [@sashaconway](https://github.com/sashaconway) + +### Added/Changed + +- Introduce `"send"` feature, to provide `ArchiveWriter` with `Send` bound ([#120](https://github.com/ANSSI-FR/MLA/issues/120)) +- Bump dependencies +- Dependencies: disable default features +- Code cleaning + +### Fixed + +- Internalize `StaticSecret` generation, due to [dependency issue](https://github.com/ANSSI-FR/MLA/pull/112) +- Tests: use `rand_chacha::ChaCha8Rng` (reliable accross achitectures) instead of `StdRng` +- Tests: fix a bug [due to a wrong assumption](https://github.com/ANSSI-FR/MLA/pull/112) +- Typo in comments +- CI: testing with different features + ## [1.2.0] - 2021-09-28 ### Thanks diff --git a/mla/Cargo.toml b/mla/Cargo.toml index 87545e13..173cee91 100644 --- a/mla/Cargo.toml +++ b/mla/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "mla" -version = "1.2.0" +version = "1.3.0" authors = ["Camille Mougey "] edition = "2018" license = "LGPL-3.0-only" From c69b7b4bb36281fbfb6edb8b999f64df30a14dbb Mon Sep 17 00:00:00 2001 From: Camille Mougey Date: Mon, 22 Aug 2022 09:58:30 +0200 Subject: [PATCH 2/2] Enable `x25519-dalek`'s `"u64_backend"` feature by default, to have a default working compilation --- mla/CHANGELOG.md | 1 + mla/Cargo.toml | 3 +++ 2 files changed, 4 insertions(+) diff --git a/mla/CHANGELOG.md b/mla/CHANGELOG.md index 1e09841d..0fc440e3 100644 --- a/mla/CHANGELOG.md +++ b/mla/CHANGELOG.md @@ -15,6 +15,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Added/Changed - Introduce `"send"` feature, to provide `ArchiveWriter` with `Send` bound ([#120](https://github.com/ANSSI-FR/MLA/issues/120)) +- Enable `x25519-dalek`'s `"u64_backend"` feature by default, to have a default working compilation - Bump dependencies - Dependencies: disable default features - Code cleaning diff --git a/mla/Cargo.toml b/mla/Cargo.toml index 173cee91..48c723a5 100644 --- a/mla/Cargo.toml +++ b/mla/Cargo.toml @@ -43,6 +43,9 @@ hex = { version = "0.4", default-features = false, features = ["alloc"]} static_assertions = { version = "1", default-features = false } [features] +# x25519-dalek depends on curve25519-dalek, which requires at least one feature to be enabled +# -> use default u64_backend (x25519-dalek's default) to have a working default compilation +default = ["x25519-dalek/u64_backend"] send = [] [[bench]]