New submission from Adam Simpkins <a...@adamsimpkins.net>: The SSLContext.load_cert_chain() method should accept a password argument to use if the private key is encrypted. Currently it always uses OpenSSL's default password callback, which prompts the user interactively for a password.
I've attached a patch that adds an extra password argument, which can be either a string, bytes, bytearray, or a function to call to get the password. ---------- components: Library (Lib) files: ssl-password.patch keywords: patch messages: 142595 nosy: simpkins priority: normal severity: normal status: open title: SSLContext.load_cert_chain() should accept a password argument type: feature request versions: Python 3.1, Python 3.2 Added file: http://bugs.python.org/file22971/ssl-password.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue12803> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com