diff --git a/Cargo.lock b/Cargo.lock index 1a8579d9..33045163 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1446,16 +1446,17 @@ dependencies = [ [[package]] name = "jsonwebtoken" -version = "9.3.1" +version = "10.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5a87cc7a48537badeae96744432de36f4be2b4a34a05a5ef32e9dd8a1c169dde" +checksum = "0529410abe238729a60b108898784df8984c87f6054c9c4fcacc47e4803c1ce1" dependencies = [ "base64", + "getrandom 0.2.17", "js-sys", "pem", - "ring", "serde", "serde_json", + "signature", "simple_asn1", ] diff --git a/Cargo.toml b/Cargo.toml index b671a243..f58471a6 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -133,7 +133,7 @@ zeroize = "1.9" # path, which the kernel never exercises (it only signs), so it is # suppressed with justification in `osv-scanner.toml` rather than paying # the 10.x cost. Revisit if jsonwebtoken ships a ring-backed 10.x. -jsonwebtoken = { version = "9", default-features = false, features = ["use_pem"] } # JWT signing (RS256/384/512, PS256/384/512, ES256/384); use_pem = PEM key loading (adds pem + simple_asn1, no TLS) +jsonwebtoken = { version = "10", default-features = false, features = ["use_pem"] } # JWT signing (RS256/384/512, PS256/384/512, ES256/384); use_pem = PEM key loading (adds pem + simple_asn1, no TLS) pkcs8 = { version = "0.10", features = ["encryption", "pem", "std"] } # PKCS#8 PEM parsing + PBES2 passphrase decryption [dev-dependencies]