#5596 Port C extension modules to Python to allow noarch python-ipalib packages
Closed: Fixed None Opened 8 years ago by jcholast.

Currently FreeIPA ships with two C extension modules, both of which can be ported to Python:

  • default_encoding_utf8: This module sets the default encoding to UTF-8. It can be replaced with:

{{{#!python
reload(sys)
sys.setdefaultencoding('utf-8')

  • _ipap11helper: This is a support module for ipapython.p11helper, which calls functions from libcrypto, libp11-kit and a PKCS!#11 module. The libcrypto calls can be replaced with python-cryptography code, the rest can be called using python-cffi.

Once we get rid of these, we can package python-ipalib as noarch.


master:

  • 7e56b4b ipapython: remove default_encoding_utf8

ipa-4-3:

  • 1cf0056 ipapython: remove default_encoding_utf8

master:

  • 500ee7e ipapython: port p11helper C code to Python
  • b808376 ipapython: use python-cryptography instead of libcrypto in p11helper

ipa-4-3:

  • 666ffcc ipapython: port p11helper C code to Python
  • 5cfb953 ipapython: use python-cryptography instead of libcrypto in p11helper

What is missing? Can this be closed?

Spec file update. Patch is on the list.

master:

  • 6896035 spec file: package python-ipalib as noarch

ipa-4-3:

  • 385693a spec file: package python-ipalib as noarch

ipa-4-3:

  • 212c4cb daemons: remove unused erroneous _ipap11helper import

Metadata Update from @jcholast:
- Issue assigned to jcholast
- Issue set to the milestone: FreeIPA 4.3.1

7 years ago

Login to comment on this ticket.

Metadata