New submission from Gregory P. Smith <g...@krypto.org>:
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(). ---------- assignee: christian.heimes components: Library (Lib), SSL messages: 348359 nosy: christian.heimes, gregory.p.smith priority: normal severity: normal stage: needs patch status: open title: urllib.requests.urlopen doesn't support cadata= type: enhancement versions: Python 3.8, Python 3.9 _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue37666> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com