Skip to content

Scan hangs forever when "invalid padding" error occurs #632

@FestiveKyle

Description

@FestiveKyle

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

Image of error:
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions