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.

作者 pitrou
收信人 eric.araujo, giampaolo.rodola, janssen, pitrou, simpkins
日期 2011-08-24.21:20:47
SpamBayes Score 0.0007324395
Marked as misclassified
Message-id <1314220848.83.0.912727150975.issue12803@psf.upfronthosting.co.za>
In-reply-to
内容
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).
历史
日期 用户 动作 参数
2011-08-24 21:20:48pitrou修改recipients: + pitrou, janssen, giampaolo.rodola, eric.araujo, simpkins
2011-08-24 21:20:48pitrou修改messageid: <1314220848.83.0.912727150975.issue12803@psf.upfronthosting.co.za>
2011-08-24 21:20:48pitrou链接issue12803 messages
2011-08-24 21:20:47pitrou创建