mirror of
https://git.pleroma.social/pleroma/relay.git
synced 2024-12-22 11:11:09 +00:00
correctly call aputils.Signer.new
This commit is contained in:
parent
8f16cab048
commit
e281a06e7f
|
@ -76,7 +76,7 @@ class RelayDatabase(dict):
|
|||
|
||||
if not self['private-key']:
|
||||
logging.info("No actor keys present, generating 4096-bit RSA keypair.")
|
||||
self.signer = aputils.Signer.new(self.config.keyid, 4096)
|
||||
self.signer = aputils.Signer.new(self.config.keyid, size=4096)
|
||||
self['private-key'] = self.signer.export()
|
||||
|
||||
else:
|
||||
|
|
Loading…
Reference in a new issue