feat: parse pgp cert works

This commit is contained in:
2021-07-10 00:12:08 +08:00
parent c5e105ebc9
commit a8ca665ce9
5 changed files with 131 additions and 15 deletions

View File

@@ -6,6 +6,7 @@ mod fido;
mod digest;
mod register;
mod sign;
mod pgp;
mod pgpcardlist;
use clap::{App, AppSettings};
@@ -16,6 +17,7 @@ fn main() -> CommandError {
let commands: Vec<Box<dyn Command>> = vec![
Box::new(register::CommandImpl),
Box::new(sign::CommandImpl),
Box::new(pgp::CommandImpl),
Box::new(pgpcardlist::CommandImpl),
];
let mut app = App::new(env!("CARGO_PKG_NAME"))