fixed forward secrecy test

This commit is contained in:
Kevin Froman 2020-03-26 03:57:42 -05:00
parent b8a8cfd3f6
commit 16ae16f042

View File

@ -37,7 +37,7 @@ class OnionrForwardSecrecyTests(unittest.TestCase):
encrypted = friendUser.forwardEncrypt(message)
decrypted = crypto.encryption.pub_key_decrypt(encrypted[0], privkey=fakeForwardPair[1], encodedData=True)
self.assertEqual(decrypted, message.encode())
self.assertEqual(decrypted, message)
def test_forward_encrypt(self):