diff --git a/src/cmd_u2fsign.rs b/src/cmd_u2fsign.rs index 034e484..0bf24c4 100644 --- a/src/cmd_u2fsign.rs +++ b/src/cmd_u2fsign.rs @@ -97,9 +97,6 @@ impl Command for CommandImpl { let counter = &sign_data[1..=4]; let signature = &sign_data[5..]; - // let client_data = u2fv2_challenge_str.as_bytes().to_vec(); - // let app_id_hash = sha256(app_id.as_bytes()); - // let client_data_hash = sha256(&client_data[..]); let counter_u32 = u32::from_be_bytes([counter[0], counter[1], counter[2], counter[3]]); // application (32B) + user presence (1B) + counter (4B) + client data hash (32B) let mut signed_message = Vec::with_capacity(128); @@ -129,7 +126,6 @@ impl Command for CommandImpl { information!("- presence : {}", user_presence_flag); information!("- counter : {}", counter_u32); information!("- signature: {}", hex::encode(&signature)); - // success!("Key handle used: {}", base64::encode(&handle_used)); information!("Key handle: {}", hex::encode(&handle_used)); information!("Signed message: {}", hex::encode(&signed_message)); }