diff options
author | Richard van der Hoff <1389908+richvdh@users.noreply.github.com> | 2019-06-06 09:33:09 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-06-06 09:33:09 +0100 |
commit | 2eb47e5ee74f3e3370d58b38c41da54ff6cd0a42 (patch) | |
tree | 1e344eb7213d240c1836635d93ce147a08afcc17 /synapse/groups/attestations.py | |
parent | Merge pull request #5362 from matrix-org/rav/fix_custom_ca (diff) | |
parent | Associate a request_name with each verify request, for logging (diff) | |
download | synapse-2eb47e5ee74f3e3370d58b38c41da54ff6cd0a42.tar.xz |
Merge pull request #5353 from matrix-org/rav/verify_key_logging
Associate a request_name with each verify request, for logging
Diffstat (limited to 'synapse/groups/attestations.py')
-rw-r--r-- | synapse/groups/attestations.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/synapse/groups/attestations.py b/synapse/groups/attestations.py index fa6b641ee1..e5dda1975f 100644 --- a/synapse/groups/attestations.py +++ b/synapse/groups/attestations.py @@ -101,7 +101,9 @@ class GroupAttestationSigning(object): if valid_until_ms < now: raise SynapseError(400, "Attestation expired") - yield self.keyring.verify_json_for_server(server_name, attestation, now) + yield self.keyring.verify_json_for_server( + server_name, attestation, now, "Group attestation" + ) def create_attestation(self, group_id, user_id): """Create an attestation for the group_id and user_id with default |