diff --git a/Cargo.lock b/Cargo.lock index 3f4780d..4238078 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -264,7 +264,6 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e2fe0a4fafae25053c19a03fefe040607bda956b4941d692ed9fb9d3c18a3193" dependencies = [ "const-oid", - "pem-rfc7468", "zeroize", ] @@ -316,7 +315,6 @@ dependencies = [ "elliptic-curve", "rfc6979", "signature", - "spki", "zeroize", ] @@ -353,7 +351,6 @@ dependencies = [ "ff", "group", "hybrid-array", - "pkcs8", "rand_core", "sec1", "subtle", @@ -548,16 +545,6 @@ dependencies = [ "base64ct", ] -[[package]] -name = "pkcs1" -version = "0.8.0-rc.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b2345503b65d9be13aac96ddbec3eed60def8bc83869f9a519789afbcf3c2bea" -dependencies = [ - "der", - "spki", -] - [[package]] name = "pkcs8" version = "0.11.0-rc.6" @@ -684,8 +671,6 @@ dependencies = [ "crypto-bigint", "crypto-primes", "digest", - "pkcs1", - "pkcs8", "rand_core", "sha2", "signature", diff --git a/ssh-key/Cargo.toml b/ssh-key/Cargo.toml index 7dc080e..2762a09 100644 --- a/ssh-key/Cargo.toml +++ b/ssh-key/Cargo.toml @@ -49,7 +49,7 @@ rand_chacha = "0.9" [features] default = ["ecdsa", "rand_core", "std"] alloc = ["encoding/alloc", "signature/alloc", "zeroize/alloc", ] -std = ["alloc", "p256?/std", "p384?/std", "p521?/std", "rsa?/std", "sec1?/std", "dep:home"] +std = ["alloc", "dep:home"] crypto = ["ed25519", "p256", "p384", "p521", "rsa"] # NOTE: `dsa` is obsolete/weak dsa = ["dep:dsa", "dep:sha1", "alloc", "encoding/bigint", "signature/rand_core"]