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 gregory.p.smith
Recipients christian.heimes, gregory.p.smith
Date 2019-07-23.23:54:17
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1563926058.03.0.180495297284.issue37666@roundup.psfhosted.org>
In-reply-to
Content
The underlying https://docs.python.org/3/library/ssl.html#ssl.SSLContext.load_verify_locations API supports cafile, capath and cadata.

urlopen() only offers up cafile and capath.  It should also support cadata for completeness.

This matters for applications that embed their root certificate pem as data.  Requiring the user to write that to a file or ship that as a file just so the library can read it rather than passing it in as a string is gross.

Lets add cadata support to urlopen().
History
Date User Action Args
2019-07-23 23:54:18gregory.p.smithsetrecipients: + gregory.p.smith, christian.heimes
2019-07-23 23:54:18gregory.p.smithsetmessageid: <1563926058.03.0.180495297284.issue37666@roundup.psfhosted.org>
2019-07-23 23:54:17gregory.p.smithlinkissue37666 messages
2019-07-23 23:54:17gregory.p.smithcreate