diff options
author | Christian Heimes <cheimes@redhat.com> | 2015-09-21 14:44:50 +0200 |
---|---|---|
committer | Christian Heimes <cheimes@redhat.com> | 2015-10-01 20:02:59 +0200 |
commit | 344caf335d94e7aa3a32bdd850ed1363088c896d (patch) | |
tree | 25407b09ad8a79e59f0446c47d3debc9b3adddfa /base/kra/src | |
parent | 4f5051463ea9dc1366a2b58b9814c0e7997c1813 (diff) | |
download | pki-344caf335d94e7aa3a32bdd850ed1363088c896d.tar.gz pki-344caf335d94e7aa3a32bdd850ed1363088c896d.tar.xz pki-344caf335d94e7aa3a32bdd850ed1363088c896d.zip |
Replace legacy Python base64 invocations with Py3-safe code
Replace deprecated decodestring() and encodestring() with b64decode()
and b64encode().
Provice specialized encode_cert() / decode_cert() functions to handle
base64 encoding and decoding for X.509 certs in JSON strings. In Python
3 the base64 function don't suppor ASCII text, just ASCII bytes.
Diffstat (limited to 'base/kra/src')
0 files changed, 0 insertions, 0 deletions