[Pki-devel] PATCH 005] Replace legacy Python base64 invocations with Py3-safe code

Christian Heimes cheimes at redhat.com
Wed Aug 19 14:03:14 UTC 2015


On 2015-06-29 13:45, Christian Heimes wrote:
> 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.

Here is another take on my old patch. The new patch also fixes a
compatibility issue with Python 3.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: pki-cheimes-0005-2-Replace-legacy-Python-base64-invocations.patch
Type: text/x-patch
Size: 11667 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/pki-devel/attachments/20150819/77dd2065/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/20150819/77dd2065/attachment.sig>


More information about the Pki-devel mailing list