Added FIXME at bare except warning in protocol.py

This commit is contained in:
kuldeep.k@cisinlabs.com 2021-08-17 15:57:11 +05:30
parent ccff8a09f3
commit f997bca5e4
No known key found for this signature in database
GPG Key ID: AF4FB299BF7C7C2A

View File

@ -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.')