From 8b88d2425033cef6ee3dc0303eac6e55146177cf Mon Sep 17 00:00:00 2001 From: alemi Date: Tue, 23 Apr 2024 05:19:24 +0200 Subject: [PATCH] fix: show signature when invalid --- src/server/auth.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/server/auth.rs b/src/server/auth.rs index 925c60b3..60095249 100644 --- a/src/server/auth.rs +++ b/src/server/auth.rs @@ -109,7 +109,7 @@ where .verify(&user.public_key) { Ok(true) => identity = Identity::Remote(Context::server(&user_id)), - Ok(false) => tracing::warn!("invalid signature"), + Ok(false) => tracing::warn!("invalid signature: {http_signature:?}"), Err(e) => tracing::error!("error verifying signature: {e}"), }, Err(e) => {