diff --git a/Cargo.lock b/Cargo.lock index 31c31aa..cca0238 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1691,7 +1691,7 @@ dependencies = [ [[package]] name = "tiny-encrypt" -version = "1.1.0" +version = "1.1.1" dependencies = [ "aes-gcm-stream", "base64", diff --git a/Cargo.toml b/Cargo.toml index 09f8a22..2d65b24 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tiny-encrypt" -version = "1.1.0" +version = "1.1.1" edition = "2021" license = "MIT" description = "A simple and tiny file encrypt tool" diff --git a/src/cmd_initkeychainkey.rs b/src/cmd_initkeychainkey.rs index e71cc66..2a89011 100644 --- a/src/cmd_initkeychainkey.rs +++ b/src/cmd_initkeychainkey.rs @@ -14,9 +14,6 @@ pub struct CmdKeychainKey { /// Service name, or tiny-encrypt #[arg(long, short = 's')] pub server_name: Option, - /// Key type, or default x25519 - #[arg(long, short = 't')] - pub key_type: Option, /// Key name #[arg(long, short = 'n')] pub key_name: String, diff --git a/src/cmd_version.rs b/src/cmd_version.rs index f6a1d1f..048ad9f 100644 --- a/src/cmd_version.rs +++ b/src/cmd_version.rs @@ -8,8 +8,8 @@ pub struct CmdVersion {} pub fn version(_cmd_version: CmdVersion) -> XResult<()> { let mut features: Vec<&str> = vec![]; - #[cfg(feature = "smartcard")] - features.push("smartcard"); + #[cfg(feature = "encrypt")] + features.push("encrypt"); #[cfg(feature = "macos")] features.push("macos"); if features.is_empty() { features.push("-"); }