feat: add chall, challconfig

This commit is contained in:
2021-07-17 13:41:49 +08:00
parent cdf14ff1b6
commit 3f17b6bb76
6 changed files with 843 additions and 17 deletions

View File

@@ -10,6 +10,9 @@ mod pgp;
mod pgpcardutil;
mod pgpcardlist;
mod pgpcardsign;
mod piv;
mod chall;
mod challconfig;
use clap::{App, AppSettings};
use cmd::{Command, CommandError};
@@ -29,6 +32,9 @@ fn inner_main() -> CommandError {
Box::new(pgp::CommandImpl),
Box::new(pgpcardlist::CommandImpl),
Box::new(pgpcardsign::CommandImpl),
Box::new(piv::CommandImpl),
Box::new(chall::CommandImpl),
Box::new(challconfig::CommandImpl),
];
let mut app = App::new(env!("CARGO_PKG_NAME"))
.version(env!("CARGO_PKG_VERSION"))