Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
Marian-Kechlibar opened this issue Aug 22, 2023 · 1 comment

Comments

@Marian-Kechlibar
Copy link

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.

@nabla-c0d3
Copy link
Owner

Fixed in v5.2.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
Status: Done
Development

No branches or pull requests

2 participants