From 709810344554ed2f138e43ed1fb756d4ca00e0fa Mon Sep 17 00:00:00 2001 From: Kevin Froman Date: Mon, 14 May 2018 11:31:55 -0500 Subject: [PATCH] small commit before merge --- onionr/onionrcrypto.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/onionr/onionrcrypto.py b/onionr/onionrcrypto.py index d400e8b6..62b9c14e 100644 --- a/onionr/onionrcrypto.py +++ b/onionr/onionrcrypto.py @@ -82,7 +82,6 @@ class OnionrCrypto: retData = key.verify(data, sig) # .encode() is not the same as nacl.encoding except nacl.exceptions.BadSignatureError: pass - else: try: retData = key.verify(data, sig) @@ -160,8 +159,6 @@ class OnionrCrypto: decrypted = self.symmetricDecrypt(data, key, encodedKey=True) return decrypted - return - def symmetricEncrypt(self, data, key, encodedKey=False, returnEncoded=True): '''Encrypt data to a 32-byte key (Salsa20-Poly1305 MAC)''' if encodedKey: