feat: v1.11.12, optimize no-pin

This commit is contained in:
2025-03-28 23:25:53 +08:00
parent 3a40d7f0ad
commit 417e3f6a49
11 changed files with 17 additions and 13 deletions

View File

@@ -18,7 +18,7 @@ impl Command for CommandImpl {
SubCommand::with_name(self.name()).about("PIV EC sign(with SHA256) subcommand")
.arg(cmdutil::build_slot_arg())
.arg(cmdutil::build_pin_arg())
.arg(Arg::with_name("no-pin").long("no-pin").help("No PIN"))
.arg(cmdutil::build_no_pin_arg())
.arg(Arg::with_name("algorithm").short("a").long("algorithm").takes_value(true).help("Algorithm, p256 or p384"))
.arg(Arg::with_name("file").short("f").long("file").takes_value(true).help("Input file"))
.arg(Arg::with_name("input").short("i").long("input").takes_value(true).help("Input"))