[Pkg-freeipa-devel] Bug#1029070: /usr/lib/python3/dist-packages/ipalib/x509.py: Broken by python3-cryptography API break in 38.0.1
Sam Morris
sam at robots.org.uk
Tue Jan 17 10:56:35 GMT 2023
Package: python3-ipalib
Version: 4.9.8-1
Severity: important
File: /usr/lib/python3/dist-packages/ipalib/x509.py
$ ipa vault-find
Traceback (most recent call last):
File "/usr/bin/ipa", line 27, in <module>
from ipaclient.__main__ import main
File "/usr/lib/python3/dist-packages/ipaclient/__main__.py", line 7, in <module>
from ipalib import api, cli
File "/usr/lib/python3/dist-packages/ipalib/__init__.py", line 921, in <module>
from ipalib.frontend import Command, LocalOrRemote, Updater
File "/usr/lib/python3/dist-packages/ipalib/frontend.py", line 31, in <module>
from ipalib.parameters import create_param, Param, Str, Flag
File "/usr/lib/python3/dist-packages/ipalib/parameters.py", line 125, in <module>
from ipalib.x509 import (
File "/usr/lib/python3/dist-packages/ipalib/x509.py", line 91, in <module>
@crypto_utils.register_interface(crypto_x509.Certificate)
AttributeError: module 'cryptography.utils' has no attribute 'register_interface'. Did you mean: 'verify_interface'?
According to <https://jasonralph.org/?p=997> this is caused by
cryptography 38.0.1 which removed the register_interface decorator.
-- System Information:
Debian Release: bookworm/sid
APT prefers testing
APT policy: (530, 'testing'), (520, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 6.0.0-5-amd64 (SMP w/2 CPU threads; PREEMPT)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.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 python3-ipalib depends on:
ii freeipa-common 4.9.8-1
ii gpg 2.2.40-1
ii gpg-agent 2.2.40-1
ii keyutils 1.6.3-2
ii librpm9 4.18.0+dfsg-1
ii python3 3.10.6-3+b1
ii python3-cffi 1.15.1-5
ii python3-cryptography 38.0.4-2
ii python3-dbus 1.3.2-3
ii python3-dnspython 2.2.1-2
ii python3-gssapi 1.8.2-1
ii python3-ldap 3.4.3-2+b1
ii python3-libipa-hbac 2.8.2-1~1.gbp44da1a
ii python3-lxml 4.9.2-1
ii python3-netaddr 0.8.0-2
ii python3-netifaces 0.11.0-2
ii python3-pyasn1 0.4.8-3
ii python3-pyasn1-modules 0.2.8-1
ii python3-qrcode 7.3.1-1
ii python3-requests 2.28.1+dfsg-1
ii python3-setuptools 65.5.0-1.1
ii python3-six 1.16.0-4
ii python3-usb 1.2.1-1
ii python3-yubico 1.3.3-0.3
ii systemd 252.4-1
python3-ipalib recommends no packages.
python3-ipalib suggests no packages.
-- no debconf information
More information about the Pkg-freeipa-devel
mailing list