diff options
author | Richard van der Hoff <richard@matrix.org> | 2019-04-25 20:53:10 +0100 |
---|---|---|
committer | Richard van der Hoff <richard@matrix.org> | 2019-04-25 20:55:12 +0100 |
commit | 7ca638c76135d7a0f86f6aa7981554bbe0b7a335 (patch) | |
tree | d19dadd18e0b8a6e3a4f3bbc1536f4f9eb5be650 /synapse/crypto | |
parent | Merge remote-tracking branch 'origin/master' into develop (diff) | |
download | synapse-7ca638c76135d7a0f86f6aa7981554bbe0b7a335.tar.xz |
Clarify logging when PDU signature checking fails
Diffstat (limited to 'synapse/crypto')
-rw-r--r-- | synapse/crypto/keyring.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/synapse/crypto/keyring.py b/synapse/crypto/keyring.py index ed2e994437..b6d1b4cf0b 100644 --- a/synapse/crypto/keyring.py +++ b/synapse/crypto/keyring.py @@ -120,11 +120,9 @@ class Keyring(object): key_ids = signature_ids(json_object, server_name) if not key_ids: - logger.warn("Request from %s: no supported signature keys", - server_name) deferred = defer.fail(SynapseError( 400, - "Not signed with a supported algorithm", + "Not signed by %s" % (server_name, ), Codes.UNAUTHORIZED, )) else: |