#1029375 freeipa-client: backtrace for "ipa cert-show 1" in testing

Package:
freeipa-client
Source:
freeipa-client
Description:
FreeIPA centralized identity framework -- client
Submitter:
Jochen Kellner
Date:
2023-01-21 23:33:04 UTC
Severity:
normal
#1029375#5
Date:
2023-01-21 23:23:53 UTC
From:
To:
Dear Maintainer,

   * What led up to the situation?

I've just upgraded an ipa client to bookworm/testing. When running
"ipa cert-show 1" I get a python backtrace:

[23:57:06]:echidna:(pts/3):~$ ipa cert-show 1
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'?

Using the package from unstable works as expected when reading this:
https://pagure.io/freeipa/issue/9160

It would be useful to get the fixed freeipa-client&Co into bookworm.
I've unfortunatly not tried other ipa subcommands to assess the complete
impact.