feat: updates hmac enc

This commit is contained in:
2025-05-06 23:19:40 +08:00
parent 63fabc6054
commit 81f7a6d77e
5 changed files with 13 additions and 27 deletions

View File

@@ -29,6 +29,9 @@ pub fn build_serial_arg() -> Arg<'static, 'static> {
Arg::with_name("serial").long("serial").takes_value(true).help("Serial number")
}
pub fn build_key_uri_arg() -> Arg<'static, 'static> {
Arg::with_name("key").long("key").required(true).takes_value(true).help("Key uri")
}
pub fn build_pin_arg() -> Arg<'static, 'static> {
Arg::with_name("pin").short("p").long("pin").takes_value(true).help("PIV card user PIN")