Scan hangs forever when "invalid padding" error occurs
FestiveKyle opened this issue · comments
Describe the bug
If an OpenSSLError is raised for invalid padding
, the scan hangs forever. There is an illegal padding
in the _HANDSHAKE_REJECTED_TLS_ERRORS
, but not a invalid padding
.
Expected behavior
The error should be caught.
Python environment (please complete the following information):
- OS: Ubuntu 22.04
- Python version: 3.10.12
Additional context
Thanks for the fix 👍😀
Fixed in v6.0.0.