feat: register outputs json
This commit is contained in:
@@ -48,7 +48,8 @@ impl Command for CommandImpl {
|
||||
}));
|
||||
|
||||
let u2fv2_challenge = U2fV2Challenge::new_random(app_id);
|
||||
let chall_bytes = digest::sha256(&u2fv2_challenge.to_json());
|
||||
let u2fv2_challenge_str = u2fv2_challenge.to_json();
|
||||
let chall_bytes = digest::sha256(&u2fv2_challenge_str);
|
||||
|
||||
let app_bytes = digest::sha256(app_id);
|
||||
|
||||
@@ -80,6 +81,8 @@ impl Command for CommandImpl {
|
||||
success!("Key handle used: {}", base64::encode(&handle_used));
|
||||
success!("Key handle used: {}", hex::encode(&handle_used));
|
||||
|
||||
// u2f::authorization::parse_sign_response(app_id.to_string(), u2fv2_challenge_str.as_bytes().to_vec(), )
|
||||
|
||||
Ok(())
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user