diff --git a/Cargo.toml b/Cargo.toml index 20c13b2..7f86b3d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "efi_signer" -version = "0.2.4" +version = "0.2.5" edition = "2021" authors = ["Li Chaoran "] description = "A crates for signing and parsing EFI image" @@ -11,25 +11,23 @@ readme = "README.md" [dependencies] byteorder = "1.4.3" -cms = { version = "0.2.1", features = ["pem"] } -der = "0.7.2" -digest = "0.10.6" +cms = { version = "0.2.2", features = ["pem"] } +der = "0.7.8" +digest = "0.10.7" goblin = "0.6.1" log = "0.4.17" -md-5 = "0.10.5" +md-5 = "0.10.6" openssl = "0.10.52" openssl-sys = "0.9.87" -picky = { version = "7.0.0-rc.5", features = ["pkcs7", "wincert", "ec", "time_conversion", "ctl", "ctl_http_fetch"] } -picky-asn1-x509 = "0.9.0" -pkcs7 = "0.4.0" +picky = { version = "7.0.0-rc.8", features = ["pkcs7", "wincert", "time_conversion", "ctl", "ctl_http_fetch"] } +picky-asn1-x509 = "0.12.0" serde = "1.0.159" -sha1 = "0.10.5" -sha2 = "0.10.6" +sha1 = "0.10.6" +sha2 = "0.10.8" snafu = { version = "0.7.4", features = ["backtraces", "backtraces-impl-std", "unstable-provider-api"] } -x509-cert = "0.2.1" +x509-cert = "0.2.4" [dev-dependencies] clap = { version = "4.2.4", features = ["derive"] } env_logger = "0.10.0" - diff --git a/examples/main.rs b/examples/main.rs index 923fb04..a928137 100644 --- a/examples/main.rs +++ b/examples/main.rs @@ -66,10 +66,10 @@ struct Parse { #[derive(Args)] struct Sign { #[arg(long, short, required(true))] - #[arg(help = "Private key in p7b format")] + #[arg(help = "Private key in PEM format")] key: String, #[arg(long, short, required(true))] - #[arg(help = "Certificate in PEM format")] + #[arg(help = "Certificate in pkcs7 format")] cert: String, #[arg(long, short, required(false))] #[arg(help = "Whether to generate a detach signature")] diff --git a/rust-toolchain b/rust-toolchain new file mode 100644 index 0000000..67eb03d --- /dev/null +++ b/rust-toolchain @@ -0,0 +1,2 @@ +[toolchain] +channel = "nightly-2023-08-08"