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

Compatibility fix for PyCA cryptography 42.0.0 #346

Merged
merged 2 commits into from
Jan 20, 2025

Conversation

rcritten
Copy link
Collaborator

Cryptography 42.0.0 introduced two new abstract properties not_valid_before_utc and not_valid_after_utc, which are non-naive UTC variants of the not_valid_before and not_valid_after properties.

The old properties are deprecated. The change also modifies tests to handle the new _utc variants.

Fixes: #345

Cryptography 42.0.0 introduced two new abstract properties
`not_valid_before_utc` and `not_valid_after_utc`, which are non-naive UTC
variants of the `not_valid_before` and `not_valid_after` properties.

The old properties are deprecated. The change also modifies tests to
handle the new `_utc` variants.

Fixes: freeipa#345

Signed-off-by: Rob Crittenden <rcritten@redhat.com>
Previously it was using 3.9 - 3.11 and testing on f38 and 39.
F39 was EOLd in November 2024.

Signed-off-by: Rob Crittenden <rcritten@redhat.com>
@rcritten rcritten merged commit 25d1aad into freeipa:master Jan 20, 2025
7 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
1 participant