removed non-anonymous pubkey encryption, fixes, more tests
This commit is contained in:
parent
4afff79d2f
commit
2e99b6b95c
7 changed files with 33 additions and 41 deletions
|
@ -69,7 +69,7 @@ class PlainEncryption:
|
|||
data['data'] = plaintext
|
||||
data = json.dumps(data)
|
||||
plaintext = data
|
||||
encrypted = self.api.get_core()._crypto.pubKeyEncrypt(plaintext, pubkey, anonymous=True, encodedData=True)
|
||||
encrypted = self.api.get_core()._crypto.pubKeyEncrypt(plaintext, pubkey, encodedData=True)
|
||||
encrypted = self.api.get_core()._utils.bytesToStr(encrypted)
|
||||
logger.info('Encrypted Message: \n\nONIONR ENCRYPTED DATA %s END ENCRYPTED DATA' % (encrypted,))
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue