half way done with encryption plugin, fixed encryption bug in onionrcrypto when using non anonymous encryption

This commit is contained in:
Kevin Froman 2018-10-19 00:04:11 -05:00
parent fbd82d38fe
commit 220fda02ce
No known key found for this signature in database
GPG key ID: 0D414D0FE405B63B
3 changed files with 5 additions and 3 deletions

View file

@ -732,6 +732,7 @@ class Core:
onionrusers.OnionrUser(self, asymPeer).generateForwardKey()
else:
logger.info(forwardEncrypted)
onionrusers.OnionrUser(self, asymPeer).generateForwardKey()
fsKey = onionrusers.OnionrUser(self, asymPeer).getGeneratedForwardKeys()[0]
meta['newFSKey'] = fsKey[0]
jsonMeta = json.dumps(meta)