feat: card cli

This commit is contained in:
2024-06-08 23:11:40 +08:00
parent 9404d8e5d7
commit 639f87576c
2 changed files with 2 additions and 2 deletions

View File

@@ -12,7 +12,7 @@ impl Command for CommandImpl {
fn name(&self) -> &str { "piv-decrypt" }
fn subcommand<'a>(&self) -> App<'a, 'a> {
SubCommand::with_name(self.name()).about("PIV Sign subcommand")
SubCommand::with_name(self.name()).about("PIV Decrypt subcommand (RSA)")
.arg(Arg::with_name("pin").short("p").long("pin").takes_value(true).default_value("123456").help("OpenPGP card user pin"))
.arg(Arg::with_name("encrypted-data").long("encrypted-data").takes_value(true).help("Encrypted data"))
.arg(Arg::with_name("json").long("json").help("JSON output"))