feat: update base64 version
This commit is contained in:
@@ -16,6 +16,7 @@ use rust_util::util_clap::{Command, CommandError};
|
||||
use crate::digest;
|
||||
use crate::fido;
|
||||
use crate::fido::U2fV2Challenge;
|
||||
use crate::util::base64_encode;
|
||||
|
||||
pub struct CommandImpl;
|
||||
|
||||
@@ -123,8 +124,8 @@ impl Command for CommandImpl {
|
||||
json.insert("counter", format!("{}", counter_u32));
|
||||
} else {
|
||||
information!("Sign challenge: {}", u2fv2_challenge_str);
|
||||
information!("Sign challenge base64: {}", base64::encode(&u2fv2_challenge_str));
|
||||
information!("Sign result : {}", base64::encode(&sign_data));
|
||||
information!("Sign challenge base64: {}", base64_encode(&u2fv2_challenge_str));
|
||||
information!("Sign result : {}", base64_encode(&sign_data));
|
||||
information!("- presence : {}", user_presence_flag);
|
||||
information!("- counter : {}", counter_u32);
|
||||
information!("- signature: {}", hex::encode(&signature));
|
||||
|
||||
Reference in New Issue
Block a user