A few tests are failing because of a new deprecation warning visible in rawhide (f45).
test_integration/test_commands.py::TestIPACommand::test_certmap_match_issue7520
test_integration/test_commands.py::TestIPACommand::test_add_permission_failure_issue5923
test_integration/test_random_serial_numbers.py::TestIPACommand_RSN::test_certmap_match_issue7520
test_integration/test_random_serial_numbers.py::TestIPACommand_RSN::test_add_permission_failure_issue5923
The test fails because ipa commands display a Deprecation warning issued by python-cryptography package:
DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd86:transport.py:513 RUN ['ipa', 'certmap-match', '/etc/ipa/ca.crt'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd86:transport.py:557 /usr/lib/python3.14/site-packages/ipalib/constants.py:407: CryptographyDeprecationWarning: Single-key TripleDES (8-byte keys) is deprecated and support will be removed in a future release. Use 24-byte keys instead (e.g., key + key + key). DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd86:transport.py:557 if backend.cipher_supported(TripleDES( DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd86:transport.py:557 --------------- DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd86:transport.py:557 0 users matched DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd86:transport.py:557 --------------- DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd86:transport.py:557 ---------------------------- DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd86:transport.py:557 Number of entries returned 0 DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd86:transport.py:557 ---------------------------- DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd86:transport.py:217 Exit code: 1
When importing ipalib.constants the package python3-cryptography raises a DeprecationWarning. SImple reproducer:
python3 -c 'from cryptography.hazmat.decrepit.ciphers.algorithms import TripleDES; from cryptography.hazmat.backends.openssl.backend import backend; from cryptography.hazmat.primitives.ciphers import modes; backend.cipher_supported(TripleDES(b"\x00" * 8), modes.CBC(b"\x00" * 8))'
With python3-cryptography-46.0.7-1.fc44 there is no warning With python3-cryptography-47.0.0-1.fc45 we see the following:
python3 -c 'from cryptography.hazmat.decrepit.ciphers.algorithms import TripleDES; from cryptography.hazmat.backends.openssl.backend import backend; from cryptography.hazmat.primitives.ciphers import modes; backend.cipher_supported(TripleDES(b"\x00" * 8), modes.CBC(b"\x00" * 8))' <string>:1: CryptographyDeprecationWarning: Single-key TripleDES (8-byte keys) is deprecated and support will be removed in a future release. Use 24-byte keys instead (e.g., key + key + key).
The code in ipalib/constants.py can be modified to use a 24-byte key when checking if TripleDES is supported. For instance TripleDES(b"\x00" * 24)
TripleDES(b"\x00" * 24)
Metadata Update from @frenaud: - Issue assigned to frenaud
Example of test failure in https://$ARTIFACTS_SERVER/idm-ci/freeipa_upstream_nightly/Nightly-rawhide/master/2026-05-02_19-30/rawhide/test_commands/1/report.html?sort=result
Metadata Update from @frenaud: - Custom field on_review adjusted to https://github.com/freeipa/freeipa/pull/8391
master:
ipa-4-13:
Metadata Update from @frenaud: - Issue close_status updated to: fixed - Issue status updated to: Closed (was: Open)