chore(deps): update p256 requirement from 0.13 to 0.14 (#959)

* chore(deps): update p256 requirement from 0.13 to 0.14

Updates the requirements on [p256](https://github.com/RustCrypto/elliptic-curves) to permit the latest version.
- [Commits](https://github.com/RustCrypto/elliptic-curves/compare/primeorder/v0.13.0...p256/v0.14.0)

---
updated-dependencies:
- dependency-name: p256
  dependency-version: 0.14.0
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

* fix(conformance): update p256 key parsing

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Dale Seo <5466341+DaleSeo@users.noreply.github.com>
This commit is contained in:
dependabot[bot] 2026-07-08 11:26:57 -04:00 committed by GitHub
parent a03793530d
commit 6dd7b858c6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View file

@ -32,5 +32,5 @@ anyhow = "1"
reqwest = { version = "0.13", features = ["json"] } reqwest = { version = "0.13", features = ["json"] }
urlencoding = "2" urlencoding = "2"
url = "2" url = "2"
p256 = { version = "0.13", features = ["ecdsa"] } p256 = { version = "0.14", features = ["ecdsa"] }
base64 = "0.22" base64 = "0.22"

View file

@ -671,7 +671,7 @@ fn openssl_free_ec_sign(pem: &str, client_id: &str, audience: &str) -> anyhow::R
let signing_input = format!("{}.{}", header, payload); let signing_input = format!("{}.{}", header, payload);
// Sign with p256 // Sign with p256
let secret_key = p256::ecdsa::SigningKey::from_bytes(raw_key.as_slice().into()) let secret_key = p256::ecdsa::SigningKey::from_slice(raw_key.as_slice())
.map_err(|e| anyhow::anyhow!("Invalid EC key: {}", e))?; .map_err(|e| anyhow::anyhow!("Invalid EC key: {}", e))?;
use p256::ecdsa::signature::Signer; use p256::ecdsa::signature::Signer;
let sig: p256::ecdsa::Signature = secret_key.sign(signing_input.as_bytes()); let sig: p256::ecdsa::Signature = secret_key.sign(signing_input.as_bytes());