diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 48beecb..e6ab2ea 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -31,11 +31,15 @@ jobs: run: cargo build --release --verbose - name: Run tests all features run: cargo test --release --verbose --all-features - # Release - - name: Build Release - run: cargo build --release --verbose + # Debug + - name: Build Debug + run: cargo build --verbose - name: Run tests all features - run: cargo test --release --verbose --all-features + run: cargo test --verbose --all-features + # RC Provider + - name: Build Debug all features + working-directory: rust_crypto_provider + run: cargo build --verbose --all-features # Apple Silicon - if: matrix.os == 'macos-11' run: | diff --git a/CHANGELOG.md b/CHANGELOG.md index c9a9181..c40d59f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,19 @@ 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). +## [0.2.0] - 2023-12-01 + +- [#59](https://github.com/franziskuskiefer/hpke-rs/pull/59): hpke-rs-rust-crypto: make deterministic-prng enable the std feature +- [#56](https://github.com/franziskuskiefer/hpke-rs/pull/56): CI: check no-std support +- [#58](https://github.com/franziskuskiefer/hpke-rs/pull/58): no-std-ify hpke-rs-rust-crypto (some more) +- [#57](https://github.com/franziskuskiefer/hpke-rs/pull/57): switch from x25519-dalek-ng to x25519-dalek +- [#55](https://github.com/franziskuskiefer/hpke-rs/pull/55): rm `RwLock` from `Hpke` and no-std-ify the `hpke-rs` library +- [#53](https://github.com/franziskuskiefer/hpke-rs/pull/53): rm getrandom dep +- [#50](https://github.com/franziskuskiefer/hpke-rs/pull/50): no-std-ify hpke-rs-crypto +- [#49](https://github.com/franziskuskiefer/hpke-rs/pull/49): hpke-rs-crypto: make serde opt-in +- [#48](https://github.com/franziskuskiefer/hpke-rs/pull/48): no-std-ify hpke-rs-rust-crypto +- [#47](https://github.com/franziskuskiefer/hpke-rs/pull/47): hpks-rs-crypto: simplify Cargo.toml + ## [0.1.2] - 2023-11-21 - Updated TLS codec dependency diff --git a/Cargo.toml b/Cargo.toml index 2848f8a..4d54c30 100755 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "hpke-rs" -version = "0.1.2" +version = "0.2.0-pre.1" authors = ["Franziskus Kiefer "] edition = "2021" license = "MPL-2.0" @@ -14,7 +14,7 @@ log = "0.4" serde = { version = "1.0", features = ["derive"], optional = true } tls_codec = { version = "0.4.0", features = ["derive"], optional = true } zeroize = { version = "1.5", features = ["zeroize_derive"] } -hpke-rs-crypto = { version = "0.1.3", path = "./traits" } +hpke-rs-crypto = { version = "0.2.0-pre.1", path = "./traits" } [features] default = [] @@ -25,13 +25,13 @@ hpke-test = ["std"] hpke-test-prng = [] # ⚠️ Enable testing PRNG - DO NOT USE [dev-dependencies] -hpke-rs-crypto = { version = "0.1.3", path = "./traits", features = ["std"] } +hpke-rs-crypto = { version = "0.2.0-pre.1", path = "./traits", features = ["std"] } serde_json = "1.0" serde = { version = "1.0", features = ["derive"] } lazy_static = "1.4" rayon = "1.5" hpke-rs = { path = ".", features = ["hpke-test", "hazmat"] } -hpke-rs-rust-crypto = { version = "0.1.3", path = "./rust_crypto_provider", features = [ +hpke-rs-rust-crypto = { version = "0.2.0-pre.1", path = "./rust_crypto_provider", features = [ "deterministic-prng", ] } # hpke-rs-evercrypt = { version = "0.1.3-pre.1", path = "./evercrypt_provider", features = ["deterministic-prng"] } diff --git a/rust_crypto_provider/CHANGELOG.md b/rust_crypto_provider/CHANGELOG.md index 043bbf6..50d53b2 100644 --- a/rust_crypto_provider/CHANGELOG.md +++ b/rust_crypto_provider/CHANGELOG.md @@ -1,16 +1,33 @@ # Changelog + 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). +## [0.2.0] - 2023-12-01 + +- [#59](https://github.com/franziskuskiefer/hpke-rs/pull/59): hpke-rs-rust-crypto: make deterministic-prng enable the std feature +- [#58](https://github.com/franziskuskiefer/hpke-rs/pull/58): no-std-ify hpke-rs-rust-crypto (some more) +- [#57](https://github.com/franziskuskiefer/hpke-rs/pull/57): switch from x25519-dalek-ng to x25519-dalek +- [#53](https://github.com/franziskuskiefer/hpke-rs/pull/53): rm getrandom dep +- [#50](https://github.com/franziskuskiefer/hpke-rs/pull/50): no-std-ify hpke-rs-crypto +- [#49](https://github.com/franziskuskiefer/hpke-rs/pull/49): hpke-rs-crypto: make serde opt-in +- [#48](https://github.com/franziskuskiefer/hpke-rs/pull/48): no-std-ify hpke-rs-rust-crypto +- [#47](https://github.com/franziskuskiefer/hpke-rs/pull/47): hpks-rs-crypto: simplify Cargo.toml + +## [0.1.3] - 2023-11-21 + +- Updated TLS codec dependency + ## [0.1.2] - 2023-03-04 ### Changed + - Update dependencies ## 0.1.1 (2022-02-24) -* initial release +- initial release -*Please disregard any previous versions.* +_Please disregard any previous versions._ diff --git a/rust_crypto_provider/Cargo.toml b/rust_crypto_provider/Cargo.toml index 6672eaa..c464796 100644 --- a/rust_crypto_provider/Cargo.toml +++ b/rust_crypto_provider/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "hpke-rs-rust-crypto" -version = "0.1.3" +version = "0.2.0-pre.1" authors = ["Franziskus Kiefer "] edition = "2021" license = "MPL-2.0" @@ -10,14 +10,19 @@ readme = "Readme.md" repository = "https://github.com/franziskuskiefer/hpke-rs" [dependencies] -hpke-rs-crypto = { version = "0.1.3", path = "../traits" } +hpke-rs-crypto = { version = "0.2.0-pre.1", path = "../traits" } # Rust crypto hkdf = { version = "0.12" } sha2 = { version = "0.10", default-features = false } -p256 = { version = "0.13", features = ["arithmetic", "ecdh"], default-features = false } +p256 = { version = "0.13", features = [ + "arithmetic", + "ecdh", +], default-features = false } p384 = { version = "0.13", default-features = false } x25519-dalek = { version = "2", features = ["static_secrets"] } -chacha20poly1305 = { version = "0.10", default-features = false, features = ["alloc"] } +chacha20poly1305 = { version = "0.10", default-features = false, features = [ + "alloc", +] } aes-gcm = { version = "0.10", default-features = false, features = ["aes"] } # Randomness rand_core = { version = "0.6", features = ["getrandom"] } @@ -28,7 +33,10 @@ criterion = { version = "0.5", features = ["html_reports"] } rand = { version = "0.8" } [features] -deterministic-prng = ["hpke-rs-crypto/std"] # ⚠️ FOR TESTING ONLY. +deterministic-prng = [ + "hpke-rs-crypto/std", + "rand_core/std", +] # ⚠️ FOR TESTING ONLY. [[bench]] name = "bench_hkdf" diff --git a/traits/CHANGELOG.md b/traits/CHANGELOG.md index 043bbf6..51c0a4c 100644 --- a/traits/CHANGELOG.md +++ b/traits/CHANGELOG.md @@ -1,16 +1,29 @@ # Changelog + 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). +## [0.2.0] - 2023-12-01 + +- [#53](https://github.com/franziskuskiefer/hpke-rs/pull/53): rm getrandom dep +- [#50](https://github.com/franziskuskiefer/hpke-rs/pull/50): no-std-ify hpke-rs-crypto +- [#49](https://github.com/franziskuskiefer/hpke-rs/pull/49): hpke-rs-crypto: make serde opt-in +- [#47](https://github.com/franziskuskiefer/hpke-rs/pull/47): hpks-rs-crypto: simplify Cargo.toml + +## [0.1.3] - 2023-11-21 + +- Updated TLS codec dependency + ## [0.1.2] - 2023-03-04 ### Changed + - Update dependencies ## 0.1.1 (2022-02-24) -* initial release +- initial release -*Please disregard any previous versions.* +_Please disregard any previous versions._ diff --git a/traits/Cargo.toml b/traits/Cargo.toml index 82d99ae..e152a85 100644 --- a/traits/Cargo.toml +++ b/traits/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "hpke-rs-crypto" -version = "0.1.3" +version = "0.2.0-pre.1" authors = ["Franziskus Kiefer "] edition = "2021" license = "MPL-2.0"