Closed yonting closed 9 months ago
Did a PR if you want the change.
Thanks for your contribution. I accepted it as-is, but had to apply another fix to solve the following error:
TypeError: can't compare offset-naive and offset-aware datetimes
(see above)
I just released a new version requests-pkcs12 1.23 that contains your fix:
Again, thanks for your contribution!
cryptography.x509.Certificate.not_valid_after
is deprecated since version 42.0.0. It is used in library:https://github.com/m-click/requests_pkcs12/blob/fe83fb58785f884fbe69e8466e9d66aae0069272/requests_pkcs12.py#L38
It can use
cryptography.x509.Certificate.not_valid_after_utc
instead but then needcryptography>= 42.0.0
insetup.py
.What are you thinking?
I can do a PR.