mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2024-12-26 16:29:24 -05:00
Better response message when signature is missing or unsupported
This commit is contained in:
parent
07639c79d9
commit
34034af1c9
@ -42,7 +42,7 @@ class Keyring(object):
|
|||||||
if not key_ids:
|
if not key_ids:
|
||||||
raise SynapseError(
|
raise SynapseError(
|
||||||
400,
|
400,
|
||||||
"No supported algorithms in signing keys",
|
"Not signed with a supported algorithm",
|
||||||
Codes.UNAUTHORIZED,
|
Codes.UNAUTHORIZED,
|
||||||
)
|
)
|
||||||
try:
|
try:
|
||||||
|
Loading…
Reference in New Issue
Block a user