Skip to content

Switch to not_valid_after_utc and not_valid_before_utc#5129

Merged
jtschladen merged 2 commits intoNetflix:mainfrom
jtschladen:utc
Mar 19, 2025
Merged

Switch to not_valid_after_utc and not_valid_before_utc#5129
jtschladen merged 2 commits intoNetflix:mainfrom
jtschladen:utc

Conversation

@jtschladen
Copy link
Copy Markdown
Contributor

Cleans up these warnings:

CryptographyDeprecationWarning: Properties that return a naïve datetime object have been deprecated. Please switch to not_valid_before_utc. return cert.not_valid_before
CryptographyDeprecationWarning: Properties that return a naïve datetime object have been deprecated. Please switch to not_valid_after_utc. return cert.not_valid_after

@jtschladen jtschladen merged commit 1ffeaad into Netflix:main Mar 19, 2025
31 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants