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

pyatls: make max clock skew configurable #16

Merged
merged 2 commits into from
May 24, 2024
Merged

Conversation

HernanGatta
Copy link
Contributor

Overview

Make the maximum clock skew configurable to accommodate large skews observed in Azure services compared to a properly synchronized clock.

This PR adds an environment variable to configure this: PYATLS_CLOCK_SKEW_SECONDS_MAX

Make the maximum tolerable clock skew configurable to account for the
large skews observed in Azure services.

This change introduces the following environment variable:

- PYATLS_CLOCK_SKEW_SECONDS_MAX
@HernanGatta HernanGatta added the feat New feature for the user label May 24, 2024
@HernanGatta HernanGatta requested a review from octaviansima May 24, 2024 22:04
@HernanGatta HernanGatta self-assigned this May 24, 2024
Copy link

🦙 MegaLinter status: ✅ SUCCESS

Descriptor Linter Files Fixed Errors Elapsed time
✅ ACTION actionlint 1 0 0.01s
✅ PYTHON black 18 0 0.77s
✅ PYTHON flake8 18 0 0.5s
✅ PYTHON isort 18 0 0.3s
✅ YAML yamllint 5 0 0.32s

See detailed report in MegaLinter reports

You could have the same capabilities but better runtime performances if you use a MegaLinter flavor:

MegaLinter is graciously provided by OX Security

@HernanGatta HernanGatta merged commit ccba326 into dev May 24, 2024
1 check passed
@HernanGatta HernanGatta deleted the hegatta/configurable-skew branch May 24, 2024 22:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feat New feature for the user
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants