feat: add verify-file

This commit is contained in:
2024-04-21 16:08:49 +08:00
parent b3d8c791c4
commit 266cf01930
7 changed files with 280 additions and 118 deletions

30
Cargo.lock generated
View File

@@ -368,7 +368,7 @@ dependencies = [
[[package]]
name = "card-cli"
version = "1.8.6"
version = "1.9.0"
dependencies = [
"authenticator",
"base64 0.21.7",
@@ -389,7 +389,7 @@ dependencies = [
"pem",
"rand 0.8.5",
"reqwest",
"ring",
"ring 0.17.8",
"rust_util",
"sequoia-openpgp",
"serde",
@@ -1360,7 +1360,7 @@ version = "0.4.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7660d28d24a831d690228a275d544654a30f3b167a8e491cf31af5fe5058b546"
dependencies = [
"untrusted",
"untrusted 0.9.0",
]
[[package]]
@@ -2420,6 +2420,21 @@ dependencies = [
"subtle",
]
[[package]]
name = "ring"
version = "0.16.20"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "3053cf52e236a3ed746dfc745aa9cacf1b791d846bdaf412f60a8d7d6e17c8fc"
dependencies = [
"cc",
"libc",
"once_cell",
"spin 0.5.2",
"untrusted 0.7.1",
"web-sys",
"winapi 0.3.9",
]
[[package]]
name = "ring"
version = "0.17.8"
@@ -2431,7 +2446,7 @@ dependencies = [
"getrandom 0.2.14",
"libc",
"spin 0.9.8",
"untrusted",
"untrusted 0.9.0",
"windows-sys 0.52.0",
]
@@ -3480,6 +3495,12 @@ version = "0.2.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f962df74c8c05a667b5ee8bcf162993134c104e96440b663c8daa176dc772d8c"
[[package]]
name = "untrusted"
version = "0.7.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a156c684c91ea7d62626509bce3cb4e1d9ed5c4d978f7b4352658f96a4c26b4a"
[[package]]
name = "untrusted"
version = "0.9.0"
@@ -3884,6 +3905,7 @@ dependencies = [
"lazy_static",
"nom",
"oid-registry",
"ring 0.16.20",
"rusticata-macros",
"thiserror",
"time 0.3.36",