Added FIXME at bare except warning in protocol.py
This commit is contained in:
parent
ccff8a09f3
commit
f997bca5e4
|
@ -450,6 +450,7 @@ def decryptAndCheckPubkeyPayload(data, address):
|
||||||
try:
|
try:
|
||||||
decryptedData = cryptorObject.decrypt(encryptedData)
|
decryptedData = cryptorObject.decrypt(encryptedData)
|
||||||
except: # noqa:E722
|
except: # noqa:E722
|
||||||
|
# FIXME: use a proper exception after `pyelliptic.ecc` is refactored.
|
||||||
# Someone must have encrypted some data with a different key
|
# Someone must have encrypted some data with a different key
|
||||||
# but tagged it with a tag for which we are watching.
|
# but tagged it with a tag for which we are watching.
|
||||||
logger.info('Pubkey decryption was unsuccessful.')
|
logger.info('Pubkey decryption was unsuccessful.')
|
||||||
|
|
Reference in New Issue
Block a user