feat: updates
This commit is contained in:
20
src/main.rs
20
src/main.rs
@@ -33,11 +33,11 @@ mod cmd_rsaverify;
|
||||
#[cfg(feature = "with-secure-enclave")]
|
||||
mod cmd_se;
|
||||
#[cfg(feature = "with-secure-enclave")]
|
||||
mod cmd_se_generate;
|
||||
mod cmd_se_ecdh;
|
||||
#[cfg(feature = "with-secure-enclave")]
|
||||
mod cmd_se_ecsign;
|
||||
#[cfg(feature = "with-secure-enclave")]
|
||||
mod cmd_se_ecdh;
|
||||
mod cmd_se_generate;
|
||||
mod cmd_signfile;
|
||||
mod cmd_signjwt;
|
||||
mod cmd_sshagent;
|
||||
@@ -54,6 +54,7 @@ mod ecdhutil;
|
||||
mod ecdsautil;
|
||||
mod fido;
|
||||
mod hmacutil;
|
||||
mod keyutil;
|
||||
mod pgpcardutil;
|
||||
mod pinutil;
|
||||
mod pivutil;
|
||||
@@ -64,7 +65,6 @@ mod seutil;
|
||||
mod signfile;
|
||||
mod sshutil;
|
||||
mod util;
|
||||
mod keyutil;
|
||||
|
||||
pub struct DefaultCommandImpl;
|
||||
|
||||
@@ -138,11 +138,15 @@ fn inner_main() -> CommandError {
|
||||
Box::new(cmd_se_ecdh::CommandImpl),
|
||||
];
|
||||
|
||||
let mut features: Vec<&str> = vec![];
|
||||
#[cfg(feature = "with-sequoia-openpgp")]
|
||||
features.push("sequoia-openpgp");
|
||||
#[cfg(feature = "with-secure-enclave")]
|
||||
features.push("secure-enclave");
|
||||
#[allow(clippy::vec_init_then_push)]
|
||||
let features = {
|
||||
let mut features: Vec<&str> = vec![];
|
||||
#[cfg(feature = "with-sequoia-openpgp")]
|
||||
features.push("sequoia-openpgp");
|
||||
#[cfg(feature = "with-secure-enclave")]
|
||||
features.push("secure-enclave");
|
||||
features
|
||||
};
|
||||
let about = format!(
|
||||
"{}, features: [{}]",
|
||||
"Card Cli is a command tool for WebAuthn, OpenPGP, YubiKey ... smart cards",
|
||||
|
||||
Reference in New Issue
Block a user