Skip to content

Commit

Permalink
Bump digest dependency to v0.11.0-pre.7; MSRV 1.72
Browse files Browse the repository at this point in the history
Also bumps `hmac` to v0.13.0-pre.2, and cuts an `hkdf` v0.13.0-pre.2
prerelease.
  • Loading branch information
tarcieri committed Jan 17, 2024
1 parent 5b9c2bd commit 130eb1e
Show file tree
Hide file tree
Showing 8 changed files with 28 additions and 29 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/concat-kdf.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
strategy:
matrix:
rust:
- 1.71.0 # MSRV
- 1.72.0 # MSRV
- stable
target:
- thumbv7em-none-eabi
Expand All @@ -40,7 +40,7 @@ jobs:
strategy:
matrix:
rust:
- 1.71.0 # MSRV
- 1.72.0 # MSRV
- stable
steps:
- uses: actions/checkout@v4
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/hkdf.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
strategy:
matrix:
rust:
- 1.71.0 # MSRV
- 1.72.0 # MSRV
- stable
target:
- thumbv7em-none-eabi
Expand All @@ -48,7 +48,7 @@ jobs:
strategy:
matrix:
rust:
- 1.71.0 # MSRV
- 1.72.0 # MSRV
- stable
steps:
- uses: actions/checkout@v4
Expand Down
18 changes: 9 additions & 9 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 3 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ Collection of [Key Derivation Functions][KDF] (KDF) written in pure Rust.

| Algorithm | Crate | Crates.io | Documentation | MSRV |
|--------------|----------------|:---------------------------------------------------------------------------------------------------:|:------------------------------------------------------------------------------------:|:-----------------------:|
| [HKDF] | [`hkdf`] | [![crates.io](https://img.shields.io/crates/v/hkdf.svg)](https://crates.io/crates/hkdf) | [![Documentation](https://docs.rs/hkdf/badge.svg)](https://docs.rs/hkdf) | ![MSRV 1.41][msrv-1.41] |
| [Concat-KDF] | [`concat-kdf`] | [![crates.io](https://img.shields.io/crates/v/concat-kdf.svg)](https://crates.io/crates/concat-kdf) | [![Documentation](https://docs.rs/concat-kdf/badge.svg)](https://docs.rs/concat-kdf) | ![MSRV 1.56][msrv-1.56] |
| [HKDF] | [`hkdf`] | [![crates.io](https://img.shields.io/crates/v/hkdf.svg)](https://crates.io/crates/hkdf) | [![Documentation](https://docs.rs/hkdf/badge.svg)](https://docs.rs/hkdf) | ![MSRV 1.41][msrv-1.72] |
| [Concat-KDF] | [`concat-kdf`] | [![crates.io](https://img.shields.io/crates/v/concat-kdf.svg)](https://crates.io/crates/concat-kdf) | [![Documentation](https://docs.rs/concat-kdf/badge.svg)](https://docs.rs/concat-kdf) | ![MSRV 1.56][msrv-1.72] |

*NOTE: for password-based KDFs (e.g. Argon2, PBKDF2, scrypt), please see [RustCrypto/password-hashes]*

Expand Down Expand Up @@ -37,8 +37,7 @@ Unless you explicitly state otherwise, any contribution intentionally submitted
[license-image]: https://img.shields.io/badge/license-Apache2.0/MIT-blue.svg
[deps-image]: https://deps.rs/repo/github/RustCrypto/KDFs/status.svg
[deps-link]: https://deps.rs/repo/github/RustCrypto/KDFs
[msrv-1.41]: https://img.shields.io/badge/rustc-1.41+-blue.svg
[msrv-1.56]: https://img.shields.io/badge/rustc-1.56+-blue.svg
[msrv-1.72]: https://img.shields.io/badge/rustc-1.72+-blue.svg

[//]: # (crates)

Expand Down
6 changes: 3 additions & 3 deletions concat-kdf/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,14 @@ documentation = "https://docs.rs/concat-kdf"
repository = "https://github.com/RustCrypto/KDFs"
keywords = ["crypto", "concat-kdf", "KDF", "NIST"]
categories = ["cryptography", "no-std"]
rust-version = "1.71"
rust-version = "1.72"

[dependencies]
digest = "=0.11.0-pre.4"
digest = "=0.11.0-pre.7"

[dev-dependencies]
hex-literal = "0.4"
sha2 = { version = "=0.11.0-pre.1", default-features = false }
sha2 = { version = "=0.11.0-pre.2", default-features = false }

[features]
std = []
Expand Down
4 changes: 2 additions & 2 deletions concat-kdf/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ concat_kdf::derive_key_into::<sha2::Sha256>(b"shared-secret", b"other-info", &mu

## Minimum Supported Rust Version

Rust **1.71** or higher.
Rust **1.72** or higher.

Minimum supported Rust version can be changed in the future, but it will be
done with a minor version bump.
Expand Down Expand Up @@ -53,7 +53,7 @@ dual licensed as above, without any additional terms or conditions.
[docs-image]: https://docs.rs/concat-kdf/badge.svg
[docs-link]: https://docs.rs/concat-kdf/
[license-image]: https://img.shields.io/badge/license-Apache2.0/MIT-blue.svg
[rustc-image]: https://img.shields.io/badge/rustc-1.60+-blue.svg
[rustc-image]: https://img.shields.io/badge/rustc-1.72+-blue.svg
[chat-image]: https://img.shields.io/badge/zulip-join_chat-blue.svg
[chat-link]: https://rustcrypto.zulipchat.com/#narrow/stream/260043-KDFs
[build-image]: https://github.com/RustCrypto/KDFs/workflows/concat-kdf/badge.svg?branch=master&event=push
Expand Down
10 changes: 5 additions & 5 deletions hkdf/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "hkdf"
version = "0.13.0-pre.1"
version = "0.13.0-pre.2"
authors = ["RustCrypto Developers"]
license = "MIT OR Apache-2.0"
homepage = "https://github.com/RustCrypto/KDFs/"
Expand All @@ -10,16 +10,16 @@ keywords = ["crypto", "HKDF", "KDF"]
categories = ["cryptography", "no-std"]
readme = "README.md"
edition = "2021"
rust-version = "1.71"
rust-version = "1.72"

[dependencies]
hmac = "=0.13.0-pre.1"
hmac = "=0.13.0-pre.2"

[dev-dependencies]
blobby = "0.3"
hex-literal = "0.4"
sha1 = { version = "=0.11.0-pre.1", default-features = false }
sha2 = { version = "=0.11.0-pre.1", default-features = false }
sha1 = { version = "=0.11.0-pre.2", default-features = false }
sha2 = { version = "=0.11.0-pre.2", default-features = false }

[features]
std = ["hmac/std"]
Expand Down
4 changes: 2 additions & 2 deletions hkdf/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ assert_eq!(okm, expected);

## Minimum Supported Rust Version

Rust **1.71** or higher.
Rust **1.72** or higher.

Minimum supported Rust version can be changed in the future, but it will be
done with a minor version bump.
Expand Down Expand Up @@ -105,7 +105,7 @@ dual licensed as above, without any additional terms or conditions.
[docs-image]: https://docs.rs/hkdf/badge.svg
[docs-link]: https://docs.rs/hkdf/
[license-image]: https://img.shields.io/badge/license-Apache2.0/MIT-blue.svg
[rustc-image]: https://img.shields.io/badge/rustc-1.71+-blue.svg
[rustc-image]: https://img.shields.io/badge/rustc-1.72+-blue.svg
[chat-image]: https://img.shields.io/badge/zulip-join_chat-blue.svg
[chat-link]: https://rustcrypto.zulipchat.com/#narrow/stream/260043-KDFs
[build-image]: https://github.com/RustCrypto/KDFs/workflows/hkdf/badge.svg?branch=master&event=push
Expand Down

0 comments on commit 130eb1e

Please sign in to comment.