mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2024-12-27 07:39:28 -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