• Bug#1105101: CryptographyDeprecationWarning

    From Harald Dunkel@21:1/5 to All on Sun May 11 13:20:02 2025
    Package: certbot
    Version: 2.11.0-1.1

    on a renewal certbot shows a few warnings about deprecated python3 features:

    /usr/lib/python3/dist-packages/certbot/ocsp.py:238: CryptographyDeprecationWarning: Properties that return a naïve datetime object have been deprecated. Please switch to this_update_utc.
    if not response_ocsp.this_update: /usr/lib/python3/dist-packages/certbot/ocsp.py:240: CryptographyDeprecationWarning: Properties that return a naïve datetime object have been deprecated. Please switch to this_update_utc.
    if response_ocsp.this_update > now + timedelta(minutes=5): /usr/lib/python3/dist-packages/certbot/ocsp.py:242: CryptographyDeprecationWarning: Properties that return a naïve datetime object have been deprecated. Please switch to next_update_utc.
    if response_ocsp.next_update and response_ocsp.next_update < now -
    timedelta(minutes=5):


    Regards

    Harri

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)