work on mail plugin inbox
This commit is contained in:
parent
f432d9193e
commit
7390945ebf
3 changed files with 22 additions and 10 deletions
|
|
@ -718,7 +718,7 @@ class Core:
|
|||
# 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.pubKeyHashID()
|
||||
signer = self._crypto.pubKey
|
||||
|
||||
if len(jsonMeta) > 1000:
|
||||
raise onionrexceptions.InvalidMetadata('meta in json encoded form must not exceed 1000 bytes')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue