From f997bca5e4384061d1f98f887a6cb56accf8dbbb Mon Sep 17 00:00:00 2001 From: "kuldeep.k@cisinlabs.com" Date: Tue, 17 Aug 2021 15:57:11 +0530 Subject: [PATCH] Added FIXME at bare except warning in protocol.py --- src/protocol.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/protocol.py b/src/protocol.py index e577f3f2..2868d828 100644 --- a/src/protocol.py +++ b/src/protocol.py @@ -450,6 +450,7 @@ def decryptAndCheckPubkeyPayload(data, address): try: decryptedData = cryptorObject.decrypt(encryptedData) except: # noqa:E722 + # FIXME: use a proper exception after `pyelliptic.ecc` is refactored. # Someone must have encrypted some data with a different key # but tagged it with a tag for which we are watching. logger.info('Pubkey decryption was unsuccessful.')