Package: ansible
Version: 7.3.0+dfsg-1
Severity: normal
X-Debbugs-Cc: heptal...@gmx.de

Hello,

some Ansible functions like the Jinja2 filter password_hash() are using
the Python module python3-cryptography which is deprecated. Ansible is
printing the following deprecation warning:

[DEPRECATION WARNING]: Encryption using the Python crypt module is
deprecated. The Python crypt module is deprecated and will be removed
from Python 3.13. Install the passlib library for continued encryption
functionality. This feature will be removed in version 2.17. Deprecation
warnings can be disabled by setting deprecation_warnings=False in
ansible.cfg.

This warning can be fixed by installing the package python3-passlib. So
ansible should recommend python3-passlib.

Regards,
Jens

-- System Information:
Debian Release: 12.0
  APT prefers testing-security
  APT policy: (500, 'testing-security'), (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 6.1.0-7-amd64 (SMP w/2 CPU threads; PREEMPT)
Locale: LANG=C.UTF-8, LC_CTYPE=C.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 ansible depends on:
ii  ansible-core       2.14.3-1
ii  openssh-client     1:9.2p1-2
ii  python3            3.11.2-1+b1
ii  python3-distutils  3.11.2-2
ii  python3-dnspython  2.3.0-1
ii  python3-httplib2   0.20.4-3
ii  python3-jinja2     3.1.2-1
ii  python3-netaddr    0.8.0-2
ii  python3-yaml       6.0-3+b2

Versions of packages ansible recommends:
ii  python3-argcomplete   2.0.0-1
ii  python3-cryptography  38.0.4-3
ii  python3-jmespath      1.0.1-1
ii  python3-kerberos      1.1.14-3.1+b7
ii  python3-libcloud      3.4.1-5
ii  python3-selinux       3.4-1+b5
ii  python3-winrm         0.3.0-4
ii  python3-xmltodict     0.13.0-1

Versions of packages ansible suggests:
pn  cowsay   <none>
pn  sshpass  <none>

-- no debconf information

Reply via email to