diff options
author | Mark Haines <mark.haines@matrix.org> | 2014-10-13 16:47:23 +0100 |
---|---|---|
committer | Mark Haines <mark.haines@matrix.org> | 2014-10-13 16:47:23 +0100 |
commit | 34034af1c9f67af399b59581af8469d489757446 (patch) | |
tree | ab1934cb0325dd2b653bece1e955c1c0ddd13243 /synapse/crypto/keyring.py | |
parent | Respond with more helpful error messages for unsigned requests (diff) | |
download | synapse-34034af1c9f67af399b59581af8469d489757446.tar.xz |
Better response message when signature is missing or unsupported
Diffstat (limited to '')
-rw-r--r-- | synapse/crypto/keyring.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/crypto/keyring.py b/synapse/crypto/keyring.py index 3c85295274..015f76ebe3 100644 --- a/synapse/crypto/keyring.py +++ b/synapse/crypto/keyring.py @@ -42,7 +42,7 @@ class Keyring(object): if not key_ids: raise SynapseError( 400, - "No supported algorithms in signing keys", + "Not signed with a supported algorithm", Codes.UNAUTHORIZED, ) try: |