Upstream PyCA cryptography plans to remove the register_interface() API, https://github.com/pyca/cryptography/pull/7234 . FreeIPA currently uses it to register a custom implementation of X509 Certificate class at https://github.com/freeipa/freeipa/blob/release-4-9-9/ipalib/x509.py#L91 .
register_interface()
I don't know what would be the best approach to replace register_interface. Maybe subclass Certificate? Maybe __instancecheck__ / __subclasscheck__?
__instancecheck__
__subclasscheck__
Docs generation is now catching this issue: https://readthedocs.org/projects/freeipa/builds/18009797/
PR: https://github.com/freeipa/freeipa/pull/6455
master:
ipa-4-10:
ipa-4-9:
Log in to comment on this ticket.