freeipa/ipaserver
Christian Heimes c925b44f43 Load certificate files as binary data
In Python 3, cryptography requires certificate data to be binary. Even
PEM encoded files are treated as binary content.

certmap-match and cert-find were loading certificates as text files. A
new BinaryFile type loads files as binary content.

Fixes: https://pagure.io/freeipa/issue/7520
Signed-off-by: Christian Heimes <cheimes@redhat.com>
Reviewed-By: Stanislav Laznicka <slaznick@redhat.com>
Reviewed-By: Florence Blanc-Renaud <frenaud@redhat.com>
2018-04-30 20:42:00 +02:00
..
advise ipa-advise: adapt config-client-for-smart-card-auth to authselect 2018-04-27 14:01:33 +02:00
dnssec Add absolute_import future imports 2018-04-20 09:43:37 +02:00
install Enable SPAKE support using krb5.conf.d snippet 2018-04-28 16:35:16 +02:00
plugins Load certificate files as binary data 2018-04-30 20:42:00 +02:00
secrets Add absolute_import future imports 2018-04-20 09:43:37 +02:00
__init__.py Change FreeIPA license to GPLv3+ 2010-12-20 17:19:53 -05:00
dcerpc_common.py trust: detect and error out when non-AD trust with IPA domain name exists 2017-12-07 21:18:51 +02:00
dcerpc.py Add absolute_import future imports 2018-04-20 09:43:37 +02:00
dns_data_management.py DNS update: reduce timeout for CA records 2017-08-30 13:02:59 +02:00
Makefile.am Build: Makefiles for Python packages 2016-11-09 13:08:32 +01:00
p11helper.py py3: softhsm key_id must be bytes 2017-06-01 09:24:24 +02:00
rpcserver.py Add absolute_import future imports 2018-04-20 09:43:37 +02:00
servroles.py Removes NTP server role from servroles and description 2018-04-09 11:00:02 -04:00
setup.cfg Port all setup.py to setuptools 2016-10-20 18:43:37 +02:00
setup.py Have all the scripts run in python 3 by default 2018-02-15 18:43:12 +01:00
topology.py fix incorrect suffix handling in topology checks 2017-06-05 18:37:37 +02:00