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 simpkins
Recipients simpkins
Date 2011-08-21.07:28:24
SpamBayes Score 1.3586146e-06
Marked as misclassified No
Message-id <1313911706.89.0.687432161899.issue12803@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2011-08-21 07:28:27simpkinssetrecipients: + simpkins
2011-08-21 07:28:26simpkinssetmessageid: <1313911706.89.0.687432161899.issue12803@psf.upfronthosting.co.za>
2011-08-21 07:28:26simpkinslinkissue12803 messages
2011-08-21 07:28:26simpkinscreate