summary refs log tree commit diff
path: root/synapse/crypto
diff options
context:
space:
mode:
authorMark Haines <mark.haines@matrix.org>2014-10-13 16:47:23 +0100
committerMark Haines <mark.haines@matrix.org>2014-10-13 16:47:23 +0100
commit34034af1c9f67af399b59581af8469d489757446 (patch)
treeab1934cb0325dd2b653bece1e955c1c0ddd13243 /synapse/crypto
parentRespond with more helpful error messages for unsigned requests (diff)
downloadsynapse-34034af1c9f67af399b59581af8469d489757446.tar.xz
Better response message when signature is missing or unsupported
Diffstat (limited to 'synapse/crypto')
-rw-r--r--synapse/crypto/keyring.py2
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: