+ added methods to import and select new forward secrecy keys
This commit is contained in:
parent
d151e0d302
commit
c4dcd89dfe
3 changed files with 22 additions and 4 deletions
|
@ -693,7 +693,7 @@ class Core:
|
|||
data = data.encode()
|
||||
except AttributeError:
|
||||
pass
|
||||
# sign before encrypt, as unauthenticated crypto should not be a problem here
|
||||
|
||||
if sign:
|
||||
signature = self._crypto.edSign(jsonMeta.encode() + data, key=self._crypto.privKey, encodeResult=True)
|
||||
signer = self._crypto.pubKey
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue