Skip to content

Commit ca35cb1

Browse files
committed
chore(deps): update pkcs8 and sec1
1 parent e90b0df commit ca35cb1

4 files changed

Lines changed: 68 additions & 37 deletions

File tree

Cargo.lock

Lines changed: 58 additions & 30 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@ readme = "README.md"
1717
[dependencies]
1818
once_cell = "1.8.0"
1919
pkcs1 = { version = "0.7.5", features = ["std"] }
20-
pkcs8 = "0.10.2"
20+
pkcs8 = "0.11.0"
2121
rustls = { version = "0.23.20", default-features = false, features = ["std"] }
22-
sec1 = "0.7.3"
22+
sec1 = "0.8.1"
2323
windows = { version = "0.61.3", features = [
2424
"Win32_Security_Cryptography",
2525
"Win32_System_WinRT",

LICENSE-3rdparty.csv

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,28 @@
11
Component,Origin,License,Copyright
22
aws-lc-rs,https://github.com/aws/aws-lc-rs,ISC AND (Apache-2.0 OR ISC),AWS-LibCrypto
33
aws-lc-sys,https://github.com/aws/aws-lc-rs,ISC AND (Apache-2.0 OR ISC) AND Apache-2.0 AND MIT AND BSD-3-Clause AND (Apache-2.0 OR ISC OR MIT) AND (Apache-2.0 OR ISC OR MIT-0),AWS-LC
4-
base16ct,https://github.com/RustCrypto/formats/tree/master/base16ct,Apache-2.0 OR MIT,RustCrypto Developers
4+
base16ct,https://github.com/RustCrypto/formats,Apache-2.0 OR MIT,RustCrypto Developers
55
base64ct,https://github.com/RustCrypto/formats,Apache-2.0 OR MIT,RustCrypto Developers
66
cfg-if,https://github.com/rust-lang/cfg-if,MIT OR Apache-2.0,Alex Crichton <alex@alexcrichton.com>
7+
const-oid,https://github.com/RustCrypto/formats,Apache-2.0 OR MIT,RustCrypto Developers
78
const-oid,https://github.com/RustCrypto/formats/tree/master/const-oid,Apache-2.0 OR MIT,RustCrypto Developers
9+
der,https://github.com/RustCrypto/formats,Apache-2.0 OR MIT,RustCrypto Developers
810
der,https://github.com/RustCrypto/formats/tree/master/der,Apache-2.0 OR MIT,RustCrypto Developers
9-
generic-array,https://github.com/fizyk20/generic-array,MIT,"Bartłomiej Kamiński <fizyk20@gmail.com>, Aaron Trent <novacrazy@gmail.com>"
1011
getrandom,https://github.com/rust-random/getrandom,MIT OR Apache-2.0,The Rand Project Developers
12+
hybrid-array,https://github.com/RustCrypto/hybrid-array,MIT OR Apache-2.0,RustCrypto Developers
1113
libc,https://github.com/rust-lang/libc,MIT OR Apache-2.0,The Rust Project Developers
1214
once_cell,https://github.com/matklad/once_cell,MIT OR Apache-2.0,Aleksey Kladov <aleksey.kladov@gmail.com>
1315
pkcs1,https://github.com/RustCrypto/formats/tree/master/pkcs1,Apache-2.0 OR MIT,RustCrypto Developers
16+
pkcs8,https://github.com/RustCrypto/formats,Apache-2.0 OR MIT,RustCrypto Developers
1417
pkcs8,https://github.com/RustCrypto/formats/tree/master/pkcs8,Apache-2.0 OR MIT,RustCrypto Developers
1518
proc-macro2,https://github.com/dtolnay/proc-macro2,MIT OR Apache-2.0,"David Tolnay <dtolnay@gmail.com>, Alex Crichton <alex@alexcrichton.com>"
1619
quote,https://github.com/dtolnay/quote,MIT OR Apache-2.0,David Tolnay <dtolnay@gmail.com>
1720
ring,https://github.com/briansmith/ring,Apache-2.0 AND ISC,The ring Authors
1821
rustls,https://github.com/rustls/rustls,Apache-2.0 OR ISC OR MIT,The rustls Authors
1922
rustls-pki-types,https://github.com/rustls/pki-types,MIT OR Apache-2.0,The rustls-pki-types Authors
2023
rustls-webpki,https://github.com/rustls/webpki,ISC,The rustls-webpki Authors
21-
sec1,https://github.com/RustCrypto/formats/tree/master/sec1,Apache-2.0 OR MIT,RustCrypto Developers
24+
sec1,https://github.com/RustCrypto/formats,Apache-2.0 OR MIT,RustCrypto Developers
25+
spki,https://github.com/RustCrypto/formats,Apache-2.0 OR MIT,RustCrypto Developers
2226
spki,https://github.com/RustCrypto/formats/tree/master/spki,Apache-2.0 OR MIT,RustCrypto Developers
2327
subtle,https://github.com/dalek-cryptography/subtle,BSD-3-Clause,"Isis Lovecruft <isis@patternsinthevoid.net>, Henry de Valence <hdevalence@hdevalence.ca>"
2428
syn,https://github.com/dtolnay/syn,MIT OR Apache-2.0,David Tolnay <dtolnay@gmail.com>

src/signer/ec.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,7 @@
55

66
use crate::hash::{SHA256, SHA384, SHA512};
77
use crate::keys::{import_ecdsa_private_key, KeyWrapper};
8-
use pkcs1::der::Decode as _;
9-
use pkcs1::ObjectIdentifier;
8+
use pkcs8::der::{asn1::ObjectIdentifier, Decode as _};
109
use pkcs8::PrivateKeyInfo;
1110
use rustls::crypto::hash::Hash;
1211
use rustls::pki_types::PrivateKeyDer;

0 commit comments

Comments
 (0)