-
-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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
Getting deprecation warning #6730
Comments
This should be fixed in 10.2.4.
…On Sun, Mar 10, 2024, 11:56 Kobi ***@***.***> wrote:
Problem Description
mitmproxy\certs.py:111: CryptographyDeprecationWarning: Properties that
return a na�ve datetime object have been deprecated. Please switch to
not_valid_after_utc.
Steps to reproduce the behavior:
1. enable sertificates usage
2.
3.
System Information
Mitmproxy: 10.2.3 binary
Python: 3.12.2
OpenSSL: OpenSSL 3.2.1 30 Jan 2024
Platform: Windows-11-10.0.22631-SP0
—
Reply to this email directly, view it on GitHub
<#6730>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAHY2PU25ASEKJZWWVU4NJ3YXQ35RAVCNFSM6AAAAABEO34EDGVHI2DSMVQWIX3LMV43ASLTON2WKOZSGE3TONRVGUYDAMI>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
It seems to still exist: |
You're using an outdated cryptography version. |
Thanks. It looks like we didn't fix this properly for Python < 3.12, #6790 should take care of it! |
Problem Description
mitmproxy\certs.py:111: CryptographyDeprecationWarning: Properties that return a na�ve datetime object have been deprecated. Please switch to not_valid_after_utc.
Steps to reproduce the behavior:
System Information
Mitmproxy: 10.2.3 binary
Python: 3.12.2
OpenSSL: OpenSSL 3.2.1 30 Jan 2024
Platform: Windows-11-10.0.22631-SP0
The text was updated successfully, but these errors were encountered: