mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-04 06:54:54 -04:00
Add HomeServer.signing_key
property (#7805)
... instead of duplicating `config.signing_key[0]` everywhere
This commit is contained in:
parent
ef5ed5292b
commit
67593b1728
10 changed files with 12 additions and 12 deletions
|
@ -70,7 +70,7 @@ class GroupAttestationSigning(object):
|
|||
self.keyring = hs.get_keyring()
|
||||
self.clock = hs.get_clock()
|
||||
self.server_name = hs.hostname
|
||||
self.signing_key = hs.config.signing_key[0]
|
||||
self.signing_key = hs.signing_key
|
||||
|
||||
@defer.inlineCallbacks
|
||||
def verify_attestation(self, attestation, group_id, user_id, server_name=None):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue