tor-keymgr: Bump ssh-key to 0.6.1 and remove unnecessary dependency.

Now that [ssh-key 0.6.1] is out, we no longer need the explicit sec1
dependency in tor-keymgr.

[ssh-key 0.6.1]: https://github.com/RustCrypto/SSH/pull/155
This commit is contained in:
Gabriela Moldovan 2023-08-24 11:29:49 +01:00
parent 0d513656d0
commit ddacfef45c
No known key found for this signature in database
GPG Key ID: 3946E0ADE72BAC99
2 changed files with 3 additions and 14 deletions

5
Cargo.lock generated
View File

@ -3766,9 +3766,9 @@ dependencies = [
[[package]] [[package]]
name = "ssh-key" name = "ssh-key"
version = "0.6.0" version = "0.6.1"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "4b0a17fec6ea344bfa1cda3aed2f0696fddc6295cfcc8c454a3bf58b8ffaabeb" checksum = "728fdf5286c394f12d83eaad51190af629aade5494813ce6b57f7425f1ca51b7"
dependencies = [ dependencies = [
"p256", "p256",
"p384", "p384",
@ -4673,7 +4673,6 @@ dependencies = [
"fs-mistrust", "fs-mistrust",
"itertools", "itertools",
"rand 0.8.5", "rand 0.8.5",
"sec1",
"serde", "serde",
"serde_json", "serde_json",
"ssh-key", "ssh-key",

View File

@ -31,18 +31,8 @@ dyn-clone = "1.0.11"
fs-mistrust = { path = "../fs-mistrust", version = "0.7.3", features = ["serde", "walkdir"] } fs-mistrust = { path = "../fs-mistrust", version = "0.7.3", features = ["serde", "walkdir"] }
itertools = "0.11.0" itertools = "0.11.0"
rand = "0.8" rand = "0.8"
# TODO HSS: this is not actually a direct dependency of tor-keymgr. It is added
# here to satisfy the minimal-versions check, which would otherwise fail, as
# ssh-key has a hard dependency on 0.7.3.
# Adding `-p sec1:0.7.3` to the update command from in
# maint/downgrade_dependencies doesn't work because cargo isn't won't be able
# select sec1@0.7.3 after downgrading the dependencies.
#
# See https://github.com/RustCrypto/SSH/issues/153
sec1 = "0.7.3"
serde = { version = "1.0.103", features = ["derive"] } serde = { version = "1.0.103", features = ["derive"] }
ssh-key = { version = "0.6.0", features = ["std"] } ssh-key = { version = "0.6.1", features = ["std"] }
thiserror = "1" thiserror = "1"
tor-config = { path = "../tor-config", version = "0.9.3" } tor-config = { path = "../tor-config", version = "0.9.3" }
tor-error = { path = "../tor-error", version = "0.5.3" } tor-error = { path = "../tor-error", version = "0.5.3" }