Author messa
Recipients docs@python, messa
Date 2015-06-26.13:05:40
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1435323940.35.0.0347196481189.issue24516@psf.upfronthosting.co.za>
In-reply-to
Content
Please, is it possible to put more information about the purpose parameter to the documentation of ssl.create_default_context()? It's not obvious that SERVER_AUTH should be used for client sockets and not server sockets. It took me a while to discover this, while all I was getting was only "SSLEOFError: EOF occurred in violation of protocol" (which is also not helpful).

This is especially confusing, because OpenSSL uses serverAuth and clientAuth (for extendedKeyUsage configuration) in the exactly opposite meaning.
History
Date User Action Args
2015-06-26 13:05:40messasetrecipients: + messa, docs@python
2015-06-26 13:05:40messasetmessageid: <1435323940.35.0.0347196481189.issue24516@psf.upfronthosting.co.za>
2015-06-26 13:05:40messalinkissue24516 messages
2015-06-26 13:05:40messacreate