From e515dd4ccd85315c928a28860d42c1a92644cbe3 Mon Sep 17 00:00:00 2001 From: Brian Meek Date: Tue, 7 Feb 2023 14:33:53 -0800 Subject: [PATCH] Logging the config in the error to debug CI Signed-off-by: Brian Meek --- clientapi/auth/login_publickey_ethereum.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clientapi/auth/login_publickey_ethereum.go b/clientapi/auth/login_publickey_ethereum.go index 33c0a16d4..a20896ec8 100644 --- a/clientapi/auth/login_publickey_ethereum.go +++ b/clientapi/auth/login_publickey_ethereum.go @@ -119,7 +119,7 @@ func (pk LoginPublicKeyEthereum) ValidateLoginResponse() (bool, *jsonerror.Matri // Check signature to verify message was not tempered _, err = message.Verify(pk.Signature, (*string)(&pk.config.Matrix.ServerName), nil, nil) if err != nil { - return false, jsonerror.InvalidSignature(err.Error()) + return false, jsonerror.InvalidSignature(err.Error() + " " + pk.Signature + " " + string(pk.config.Matrix.ServerName)) } // Error if the user ID does not match the signed message.