From 34034af1c9f67af399b59581af8469d489757446 Mon Sep 17 00:00:00 2001 From: Mark Haines Date: Mon, 13 Oct 2014 16:47:23 +0100 Subject: [PATCH] Better response message when signature is missing or unsupported --- synapse/crypto/keyring.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: