fix: show signature when invalid

This commit is contained in:
əlemi 2024-04-23 05:19:24 +02:00
parent e316e1a840
commit 8b88d24250
Signed by: alemi
GPG key ID: A4895B84D311642C

View file

@ -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) => {