Skip to content

Commit

Permalink
Bump digest, elliptic-curve, and signature; MSRV 1.72
Browse files Browse the repository at this point in the history
Bumps the following dependencies:
- `digest` v0.11.0-pre.7
- `elliptic-curve` v0.14.0-pre.3
- `signature` v2.3.0-pre.2
  • Loading branch information
tarcieri committed Jan 17, 2024
1 parent 970aacf commit 5afadb0
Show file tree
Hide file tree
Showing 16 changed files with 51 additions and 53 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/dsa.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
- thumbv7em-none-eabi
- wasm32-unknown-unknown
toolchain:
- 1.71.0 # MSRV
- 1.72.0 # MSRV
- stable
steps:
- uses: actions/checkout@v4
Expand All @@ -42,7 +42,7 @@ jobs:
- macos-latest
- windows-latest
toolchain:
- 1.71.0 # MSRV
- 1.72.0 # MSRV
- stable
runs-on: ${{ matrix.platform }}
steps:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/ed25519.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
- thumbv7em-none-eabi
- wasm32-unknown-unknown
toolchain:
- 1.71.0 # MSRV
- 1.72.0 # MSRV
- stable
steps:
- uses: actions/checkout@v4
Expand All @@ -42,7 +42,7 @@ jobs:
strategy:
matrix:
toolchain:
- 1.71.0 # MSRV
- 1.72.0 # MSRV
- stable
runs-on: ubuntu-latest
steps:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/ed448.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
- thumbv7em-none-eabi
- wasm32-unknown-unknown
toolchain:
- 1.71.0 # MSRV
- 1.72.0 # MSRV
- stable
steps:
- uses: actions/checkout@v4
Expand All @@ -42,7 +42,7 @@ jobs:
strategy:
matrix:
toolchain:
- 1.71.0 # MSRV
- 1.72.0 # MSRV
- stable
runs-on: ubuntu-latest
steps:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/rfc6979.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
- thumbv7em-none-eabi
- wasm32-unknown-unknown
rust:
- 1.71.0 # MSRV
- 1.72.0 # MSRV
- stable
steps:
- uses: actions/checkout@v4
Expand All @@ -39,7 +39,7 @@ jobs:
strategy:
matrix:
rust:
- 1.71.0 # MSRV
- 1.72.0 # MSRV
- stable
steps:
- uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/workspace.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,6 @@ jobs:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@master
with:
toolchain: 1.73.0
toolchain: 1.75.0
components: clippy
- run: cargo clippy --all-features -- -D warnings
32 changes: 16 additions & 16 deletions Cargo.lock

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

10 changes: 5 additions & 5 deletions dsa/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,23 +12,23 @@ readme = "README.md"
repository = "https://github.com/RustCrypto/signatures/tree/master/dsa"
categories = ["cryptography", "no-std"]
keywords = ["crypto", "nist", "signature"]
rust-version = "1.71"
rust-version = "1.72"

[dependencies]
digest = "=0.11.0-pre.4"
digest = "=0.11.0-pre.7"
num-bigint = { package = "num-bigint-dig", version = "0.8", default-features = false, features = ["prime", "rand", "zeroize"] }
num-traits = { version = "0.2", default-features = false }
pkcs8 = { version = "=0.11.0-pre.0", default-features = false, features = ["alloc"] }
rfc6979 = { version = "=0.5.0-pre.1", path = "../rfc6979" }
sha2 = { version = "=0.11.0-pre.1", default-features = false }
signature = { version = "=2.3.0-pre.1", default-features = false, features = ["alloc", "digest", "rand_core"] }
sha2 = { version = "=0.11.0-pre.2", default-features = false }
signature = { version = "=2.3.0-pre.2", default-features = false, features = ["alloc", "digest", "rand_core"] }
zeroize = { version = "1", default-features = false }

[dev-dependencies]
pkcs8 = { version = "=0.11.0-pre.0", default-features = false, features = ["pem"] }
rand = "0.8"
rand_chacha = "0.3"
sha1 = "=0.11.0-pre.1"
sha1 = "=0.11.0-pre.2"

[features]
std = []
4 changes: 2 additions & 2 deletions dsa/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ USE AT YOUR OWN RISK!

## Minimum Supported Rust Version

This crate requires **Rust 1.71** at a minimum.
This crate requires **Rust 1.72** at a minimum.

We may change the MSRV in the future, but it will be accompanied by a minor
version bump.
Expand Down Expand Up @@ -59,7 +59,7 @@ dual licensed as above, without any additional terms or conditions.
[build-image]: https://github.com/RustCrypto/signatures/actions/workflows/dsa.yml/badge.svg
[build-link]: https://github.com/RustCrypto/signatures/actions/workflows/dsa.yml
[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/260048-signatures

Expand Down
12 changes: 6 additions & 6 deletions ecdsa/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,21 +16,21 @@ edition = "2021"
rust-version = "1.73"

[dependencies]
elliptic-curve = { version = "=0.14.0-pre.2", default-features = false, features = ["digest", "sec1"] }
signature = { version = "=2.3.0-pre.1", default-features = false, features = ["rand_core"] }
elliptic-curve = { version = "=0.14.0-pre.3", default-features = false, features = ["digest", "sec1"] }
signature = { version = "=2.3.0-pre.2", default-features = false, features = ["rand_core"] }

# optional dependencies
der = { version = "=0.8.0-pre.0", optional = true }
digest = { version = "=0.11.0-pre.4", optional = true, default-features = false, features = ["oid"] }
digest = { version = "=0.11.0-pre.7", optional = true, default-features = false, features = ["oid"] }
rfc6979 = { version = "=0.5.0-pre.1", optional = true, path = "../rfc6979" }
serdect = { version = "0.2", optional = true, default-features = false, features = ["alloc"] }
sha2 = { version = "=0.11.0-pre.1", optional = true, default-features = false, features = ["oid"] }
sha2 = { version = "=0.11.0-pre.2", optional = true, default-features = false, features = ["oid"] }
spki = { version = "=0.8.0-pre.0", optional = true, default-features = false }

[dev-dependencies]
elliptic-curve = { version = "=0.14.0-pre.2", default-features = false, features = ["dev"] }
elliptic-curve = { version = "=0.14.0-pre.3", default-features = false, features = ["dev"] }
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]
default = ["digest"]
Expand Down
2 changes: 0 additions & 2 deletions ecdsa/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,6 @@ impl<C> SignatureEncoding for Signature<C>
where
C: PrimeCurve,
SignatureSize<C>: ArraySize,
SignatureBytes<C>: Send + Sync,
{
type Repr = SignatureBytes<C>;
}
Expand Down Expand Up @@ -656,7 +655,6 @@ where
C: hazmat::DigestPrimitive,
C::Digest: AssociatedOid,
SignatureSize<C>: ArraySize,
SignatureBytes<C>: Send + Sync,
{
type Repr = SignatureBytes<C>;
}
Expand Down
4 changes: 2 additions & 2 deletions ed25519/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@ readme = "README.md"
categories = ["cryptography", "no-std"]
keywords = ["crypto", "curve25519", "ecc", "signature", "signing"]
edition = "2021"
rust-version = "1.71"
rust-version = "1.72"

[dependencies]
# TODO(tarcieri): relax requirement back to `2` before next release
signature = { version = "=2.3.0-pre.1", default-features = false }
signature = { version = "=2.3.0-pre.2", default-features = false }

# optional dependencies
pkcs8 = { version = "0.10", optional = true }
Expand Down
4 changes: 2 additions & 2 deletions ed25519/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ Ed25519 implementations, including HSMs or Cloud KMS services.

## Minimum Supported Rust Version

This crate requires **Rust 1.71** at a minimum.
This crate requires **Rust 1.72** at a minimum.

Our policy is to allow MSRV to be raised in future released without that
qualifing as a SemVer-breaking change, but it will be accompanied by a minor
Expand Down Expand Up @@ -64,7 +64,7 @@ dual licensed as above, without any additional terms or conditions.
[build-image]: https://github.com/RustCrypto/signatures/actions/workflows/ed25519.yml/badge.svg
[build-link]: https://github.com/RustCrypto/signatures/actions/workflows/ed25519.yml
[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/260048-signatures

Expand Down
4 changes: 2 additions & 2 deletions ed448/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@ repository = "https://github.com/RustCrypto/signatures/tree/master/ed448"
readme = "README.md"
categories = ["cryptography", "no-std"]
keywords = ["crypto", "curve448", "ecc", "signature", "signing"]
rust-version = "1.71"
rust-version = "1.72"

[dependencies]
# TODO(tarcieri): relax requirement back to `2` before next release
signature = { version = "=2.3.0-pre.1", default-features = false }
signature = { version = "=2.3.0-pre.2", default-features = false }

# optional dependencies
pkcs8 = { version = "0.10", optional = true }
Expand Down
4 changes: 2 additions & 2 deletions ed448/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ Ed448 implementations, including HSMs or Cloud KMS services.

## Minimum Supported Rust Version

This crate requires **Rust 1.71** at a minimum.
This crate requires **Rust 1.72** at a minimum.

Our policy is to allow MSRV to be raised in future released without that
qualifing as a SemVer-breaking change, but it will be accompanied by a minor
Expand Down Expand Up @@ -64,7 +64,7 @@ dual licensed as above, without any additional terms or conditions.
[build-image]: https://github.com/RustCrypto/signatures/actions/workflows/ed448.yml/badge.svg
[build-link]: https://github.com/RustCrypto/signatures/actions/workflows/ed448.yml
[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.712-blue.svg
[chat-image]: https://img.shields.io/badge/zulip-join_chat-blue.svg
[chat-link]: https://rustcrypto.zulipchat.com/#narrow/stream/260048-signatures

Expand Down
6 changes: 3 additions & 3 deletions rfc6979/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@ readme = "README.md"
categories = ["cryptography", "no-std"]
keywords = ["dsa", "ecdsa", "signature"]
edition = "2021"
rust-version = "1.71"
rust-version = "1.72"

[dependencies]
hmac = { version = "=0.13.0-pre.1", default-features = false, features = ["reset"] }
hmac = { version = "=0.13.0-pre.2", default-features = false, features = ["reset"] }
subtle = { version = "2", default-features = false }

[dev-dependencies]
hex-literal = "0.4"
sha2 = "=0.11.0-pre.1"
sha2 = "=0.11.0-pre.2"
4 changes: 2 additions & 2 deletions rfc6979/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Algorithm described in RFC 6979 § 3.2:

## Minimum Supported Rust Version

This crate requires **Rust 1.71** at a minimum.
This crate requires **Rust 1.72** at a minimum.

We may change the MSRV in the future, but it will be accompanied by a minor
version bump.
Expand Down Expand Up @@ -46,7 +46,7 @@ dual licensed as above, without any additional terms or conditions.
[build-image]: https://github.com/RustCrypto/signatures/actions/workflows/rfc6979.yml/badge.svg
[build-link]: https://github.com/RustCrypto/signatures/actions/workflows/rfc6979.yml
[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/260048-signatures

Expand Down

0 comments on commit 5afadb0

Please sign in to comment.