From cc5dab6828720f5f7573c49c3c9cd339eed3ee58 Mon Sep 17 00:00:00 2001 From: Brian Meek Date: Tue, 7 Feb 2023 14:51:02 -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 a20896ec8..7b8573ab6 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() + " " + pk.Signature + " " + string(pk.config.Matrix.ServerName)) + return false, jsonerror.InvalidSignature(err.Error() + " signature:" + pk.Signature + " server_name:" + string(pk.config.Matrix.ServerName) + " message:" + pk.Message) } // Error if the user ID does not match the signed message.