feat: v1.11.6, rename file-sign, file-verify
This commit is contained in:
2
Cargo.lock
generated
2
Cargo.lock
generated
@@ -508,7 +508,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "card-cli"
|
||||
version = "1.11.5"
|
||||
version = "1.11.6"
|
||||
dependencies = [
|
||||
"aes-gcm-stream",
|
||||
"authenticator 0.3.1",
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "card-cli"
|
||||
version = "1.11.5"
|
||||
version = "1.11.6"
|
||||
authors = ["Hatter Jiang <jht5945@gmail.com>"]
|
||||
edition = "2018"
|
||||
|
||||
|
||||
@@ -36,7 +36,7 @@ pub struct CommandImpl;
|
||||
// all hex is in lower case default
|
||||
// file ext: *.simple-sig
|
||||
impl Command for CommandImpl {
|
||||
fn name(&self) -> &str { "sign-file" }
|
||||
fn name(&self) -> &str { "file-sign" }
|
||||
|
||||
fn subcommand<'a>(&self) -> App<'a, 'a> {
|
||||
SubCommand::with_name(self.name()).about("PIV sign(with SHA256) subcommand")
|
||||
@@ -18,7 +18,7 @@ use crate::util::base64_decode;
|
||||
pub struct CommandImpl;
|
||||
|
||||
impl Command for CommandImpl {
|
||||
fn name(&self) -> &str { "verify-file" }
|
||||
fn name(&self) -> &str { "file-verify" }
|
||||
|
||||
fn subcommand<'a>(&self) -> App<'a, 'a> {
|
||||
SubCommand::with_name(self.name()).about("PIV verify(with SHA256) subcommand")
|
||||
@@ -38,7 +38,7 @@ mod cmd_se_ecdh;
|
||||
mod cmd_se_ecsign;
|
||||
mod cmd_se_generate;
|
||||
mod cmd_se_recover;
|
||||
mod cmd_signfile;
|
||||
mod cmd_filesign;
|
||||
mod cmd_signjwt;
|
||||
mod cmd_signjwtsoft;
|
||||
mod cmd_signjwtse;
|
||||
@@ -50,7 +50,7 @@ mod cmd_sshpivsign;
|
||||
mod cmd_sshpubkey;
|
||||
mod cmd_u2fregister;
|
||||
mod cmd_u2fsign;
|
||||
mod cmd_verifyfile;
|
||||
mod cmd_fileverify;
|
||||
mod cmd_parseecdsasignature;
|
||||
mod cmd_generatekeypair;
|
||||
mod digest;
|
||||
@@ -133,8 +133,8 @@ fn inner_main() -> CommandError {
|
||||
Box::new(cmd_signjwt::CommandImpl),
|
||||
Box::new(cmd_signjwtsoft::CommandImpl),
|
||||
Box::new(cmd_signjwtse::CommandImpl),
|
||||
Box::new(cmd_signfile::CommandImpl),
|
||||
Box::new(cmd_verifyfile::CommandImpl),
|
||||
Box::new(cmd_filesign::CommandImpl),
|
||||
Box::new(cmd_fileverify::CommandImpl),
|
||||
Box::new(cmd_se::CommandImpl),
|
||||
Box::new(cmd_se_generate::CommandImpl),
|
||||
Box::new(cmd_se_recover::CommandImpl),
|
||||
|
||||
Reference in New Issue
Block a user