This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author kristjan.jonsson
Recipients asvetlov, brandon-rhodes, christian.heimes, giampaolo.rodola, jcea, kristjan.jonsson, pitrou
Date 2013-06-27.09:38:29
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1372325909.76.0.559982976105.issue16487@psf.upfronthosting.co.za>
In-reply-to
Content
Thanks for your comments Christian.
"You don't check ERR_GET_LIB() in some places."
Do you have a particular place in mind?

About DER.  As I understand, currently _ssl only supports PEM.  If that is the case, then supporting DER should, IMHO, be a separate patch.  It will probably involve adding an argument to the functions.

Both DER and PEM files are binary formats.  the PEM is base64 encoded ascii with some strict ascii headers and footers.  As such, the encoding is quite explicit.
I am not sure that automatic conversion from unicode to ascii should be undertaken on the C level, particularly if the intention later is to support DER, which is pure binary and where "string" has no place.

I'll have a look at your patch as well, haven't gotten round to do that yet.
History
Date User Action Args
2013-06-27 09:38:29kristjan.jonssonsetrecipients: + kristjan.jonsson, jcea, pitrou, giampaolo.rodola, christian.heimes, asvetlov, brandon-rhodes
2013-06-27 09:38:29kristjan.jonssonsetmessageid: <1372325909.76.0.559982976105.issue16487@psf.upfronthosting.co.za>
2013-06-27 09:38:29kristjan.jonssonlinkissue16487 messages
2013-06-27 09:38:29kristjan.jonssoncreate