[Pki-devel] Replace legacy Python base64 invocations

Christian Heimes cheimes at redhat.com
Mon Jun 29 11:45:57 UTC 2015


Patch for https://fedorahosted.org/pki/ticket/1102

b64encode() and base64.encodestring() work slightly different.
encodestring() includes an extra newline at the end of the string. It
seems the server treats both representations equally.

I ran the KRA tests according to base/kra/functional/drmtest.readme.txt.
The tests are passing, too.

Christian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pki-cheimes-0005-Replace-legacy-Python-base64-invocations.patch
Type: text/x-patch
Size: 8669 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/pki-devel/attachments/20150629/ae090572/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 455 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/pki-devel/attachments/20150629/ae090572/attachment.sig>


More information about the Pki-devel mailing list