From ac1fc4ef102702e21911c99cb1e5916ad7a15724 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Tue, 31 Dec 2024 07:31:27 +0000 Subject: [PATCH] Update Rust crate p256 to 0.13 --- Cargo.lock | 35 +++++++++-------------------------- Cargo.toml | 2 +- 2 files changed, 10 insertions(+), 27 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index b2a37a5..debc553 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1,6 +1,6 @@ # This file is automatically @generated by Cargo. # It is not intended for manual editing. -version = 3 +version = 4 [[package]] name = "aes" @@ -515,6 +515,7 @@ dependencies = [ "elliptic-curve 0.13.8", "rfc6979 0.4.0", "signature", + "spki 0.7.3", ] [[package]] @@ -561,6 +562,8 @@ dependencies = [ "ff 0.13.0", "generic-array", "group 0.13.0", + "pem-rfc7468", + "pkcs8 0.10.2", "rand_core 0.6.4", "sec1 0.7.3", "subtle", @@ -1050,7 +1053,7 @@ dependencies = [ "lpc55_areas", "lpc55_sign", "num-bigint", - "p256 0.12.0", + "p256", "pem-rfc7468", "rand", "rand_core 0.6.4", @@ -1084,18 +1087,6 @@ version = "0.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c08d65885ee38876c4f86fa503fb49d7b507c2b62552df7c70b2fce627e06381" -[[package]] -name = "p256" -version = "0.12.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "49c124b3cbce43bcbac68c58ec181d98ed6cc7e6d0aa7c3ba97b2563410b0e55" -dependencies = [ - "ecdsa 0.15.1", - "elliptic-curve 0.12.3", - "primeorder 0.12.1", - "sha2 0.10.8", -] - [[package]] name = "p256" version = "0.13.2" @@ -1104,7 +1095,7 @@ checksum = "c9863ad85fa8f4460f9c48cb909d38a0d689dba1f6f6988a5e3e0d31071bcd4b" dependencies = [ "ecdsa 0.16.9", "elliptic-curve 0.13.8", - "primeorder 0.13.6", + "primeorder", "sha2 0.10.8", ] @@ -1116,7 +1107,7 @@ checksum = "70786f51bcc69f6a4c0360e063a4cac5419ef7c5cd5b3c99ad70f3be5ba79209" dependencies = [ "ecdsa 0.16.9", "elliptic-curve 0.13.8", - "primeorder 0.13.6", + "primeorder", "sha2 0.10.8", ] @@ -1219,15 +1210,6 @@ dependencies = [ "zerocopy 0.7.35", ] -[[package]] -name = "primeorder" -version = "0.12.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0b54f7131b3dba65a2f414cf5bd25b66d4682e4608610668eae785750ba4c5b2" -dependencies = [ - "elliptic-curve 0.12.3", -] - [[package]] name = "primeorder" version = "0.13.6" @@ -1456,6 +1438,7 @@ dependencies = [ "base16ct 0.2.0", "der 0.7.9", "generic-array", + "pkcs8 0.10.2", "subtle", "zeroize", ] @@ -2161,7 +2144,7 @@ dependencies = [ "ed25519", "hmac", "log", - "p256 0.13.2", + "p256", "p384", "pbkdf2", "rand_core 0.6.4", diff --git a/Cargo.toml b/Cargo.toml index 5f34e66..aefb621 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -18,7 +18,7 @@ lpc55_areas = { git = "https://github.com/oxidecomputer/lpc55_support", default- num-bigint = "0.4.6" # p256 v0.13 has a dependency that requires rustc 1.65 but we're pinned # to 1.64 till offline-keystore-os supports it -p256 = "0.12" +p256 = "0.13" pem-rfc7468 = { version = "0.7.0", features = ["alloc", "std"] } rand = "0.8.5" rand_core = { version = "0.6.4", features = ["std"] }