nabla-c0d3 / sslyze

Fast and powerful SSL/TLS scanning library.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cannot instantiate default MozillaTlsConfigurationChecker - JSON with definition incorrectly formatted

Marian-Kechlibar opened this issue · comments

An attempt to run

mozilla_checker = MozillaTlsConfigurationChecker.get_default()

fails with exception thrown by pydantic: "version" parameter in the definition file
5.6.json
is required to be a string, but it is in fact a float (5.6).

Python environment (please complete the following information):

  • OS: Windows 11
  • Python version: 3.11

If I edit the 5.6 json file and redefine
version: 5.6
to
version: "5.6"
the bug disappears.

Fixed in v5.2.0.