Package: certbot
Version: 2.11.0-1
Severity: normal
X-Debbugs-Cc: [email protected]

Dear Maintainer,

according to the manpage only errors shall be printed when using `-q`:

>            -q, --quiet           Silence all output except errors. Useful for
>                                  automation via cron. Implies 
> --non-interactive.
>                                  (default: False)

But certbot is creating noise by printing warnings:

>  certbot --nginx -q renew
> /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):


Best regards,
Martin

-- System Information:
Debian Release: trixie/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 6.11.10-amd64 (SMP w/6 CPU threads; PREEMPT)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages certbot depends on:
ii  debconf [debconf-2.0]  1.5.87
ii  python3                3.12.7-1
ii  python3-certbot        2.11.0-1

certbot recommends no packages.

Versions of packages certbot suggests:
pn  python-certbot-doc      <none>
pn  python3-certbot-apache  <none>
ii  python3-certbot-nginx   2.9.0-1

-- debconf information:
  certbot/remove_live_certs: true

Reply via email to