mirror of
https://github.com/trussed-dev/piv-authenticator.git
synced 2026-06-20 04:16:15 -07:00
Use debug instead of error for non-fatal logs
This commit is contained in:
committed by
sosthene-nitrokey
parent
c831001470
commit
d12f1d06c4
+3
-3
@@ -482,7 +482,7 @@ impl<'a, T: Client> LoadedAuthenticator<'a, T> {
|
||||
exponentiation: tlv::get_do(&[0x85], input),
|
||||
};
|
||||
|
||||
error!(
|
||||
debug!(
|
||||
"witness: {}, challenge: {}, response: {}, exponentiation: {}",
|
||||
&parsed.witness.is_some(),
|
||||
&parsed.challenge.is_some(),
|
||||
@@ -701,7 +701,7 @@ impl<'a, T: Client> LoadedAuthenticator<'a, T> {
|
||||
just_verified: bool,
|
||||
mut reply: Reply<'_, R>,
|
||||
) -> Result {
|
||||
error!("Request for sign, data length: {}, data:", message.len());
|
||||
debug!("Request for sign, data length: {}, data:", message.len());
|
||||
// error!("{}", delog::hexstr!(message));
|
||||
|
||||
let Ok(key_ref) = auth.key_reference.try_into() else {
|
||||
@@ -737,7 +737,7 @@ impl<'a, T: Client> LoadedAuthenticator<'a, T> {
|
||||
reply.append_len(response.len())?;
|
||||
reply.expand(&response)?;
|
||||
}
|
||||
error!("Signed data len: {}, Data:", response.len());
|
||||
debug!("Signed data len: {}, Data:", response.len());
|
||||
// error!("{}", delog::hexstr!(&response));
|
||||
|
||||
reply.prepend_len(offset)?;
|
||||
|
||||
Reference in New Issue
Block a user