Skip to content

Commit

Permalink
update to 0.2.0-pre.1
Browse files Browse the repository at this point in the history
  • Loading branch information
franziskuskiefer committed Nov 30, 2023
1 parent 1ab14aa commit 45f0e11
Show file tree
Hide file tree
Showing 7 changed files with 73 additions and 18 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down
13 changes: 13 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 4 additions & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "hpke-rs"
version = "0.1.2"
version = "0.2.0-pre.1"
authors = ["Franziskus Kiefer <[email protected]>"]
edition = "2021"
license = "MPL-2.0"
Expand All @@ -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 = []
Expand All @@ -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"] }
Expand Down
21 changes: 19 additions & 2 deletions rust_crypto_provider/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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._
18 changes: 13 additions & 5 deletions rust_crypto_provider/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "hpke-rs-rust-crypto"
version = "0.1.3"
version = "0.2.0-pre.1"
authors = ["Franziskus Kiefer <[email protected]>"]
edition = "2021"
license = "MPL-2.0"
Expand All @@ -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"] }
Expand All @@ -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"
Expand Down
17 changes: 15 additions & 2 deletions traits/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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._
2 changes: 1 addition & 1 deletion traits/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "hpke-rs-crypto"
version = "0.1.3"
version = "0.2.0-pre.1"
authors = ["Franziskus Kiefer <[email protected]>"]
edition = "2021"
license = "MPL-2.0"
Expand Down

0 comments on commit 45f0e11

Please sign in to comment.