nabla-c0d3 / sslyze

Fast and powerful SSL/TLS scanning library.
GNU Affero General Public License v3.0
3.19k stars 445 forks source link

Cannot instantiate default MozillaTlsConfigurationChecker - JSON with definition incorrectly formatted #614

Closed Marian-Kechlibar closed 9 months ago

Marian-Kechlibar commented 10 months ago

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):

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

nabla-c0d3 commented 9 months ago

Fixed in v5.2.0.