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 pitrou
Recipients eric.araujo, giampaolo.rodola, janssen, pitrou, simpkins
Date 2011-08-24.21:20:47
SpamBayes Score 0.0007324395
Marked as misclassified No
Message-id <1314220848.83.0.912727150975.issue12803@psf.upfronthosting.co.za>
In-reply-to
Content
I have one last concern: what is the character set of an OpenSSL password? I see you are using PyUnicode_AsEncodedString(x, NULL, NULL), which basically returns a utf8-encoded bytestring. Since the OpenSSL doc don't specify anything, we could accept it as a best-effort thing.
Or perhaps we should use PyUnicode_EncodeFSDefault(), which uses the "filesystem encoding", which is usually the same as the current terminal (assuming the password is typed on a terminal).
History
Date User Action Args
2011-08-24 21:20:48pitrousetrecipients: + pitrou, janssen, giampaolo.rodola, eric.araujo, simpkins
2011-08-24 21:20:48pitrousetmessageid: <1314220848.83.0.912727150975.issue12803@psf.upfronthosting.co.za>
2011-08-24 21:20:48pitroulinkissue12803 messages
2011-08-24 21:20:47pitroucreate