Files
freeipa/ipalib
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
..
2015-09-01 11:42:01 +02:00
2016-11-24 15:46:40 +01:00
2018-04-30 20:42:00 +02:00
2018-03-26 09:42:07 +02:00
2017-11-21 16:13:28 +01:00
2017-02-17 10:22:07 +01:00
2017-10-25 09:46:41 +02:00
2018-01-31 16:03:19 +01:00
2016-10-20 18:43:37 +02:00
2018-03-23 12:48:46 +01:00