消息 [142924]
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:48 | pitrou | 修改 | recipients:
+ pitrou, janssen, giampaolo.rodola, eric.araujo, simpkins |
| 2011-08-24 21:20:48 | pitrou | 修改 | messageid: <1314220848.83.0.912727150975.issue12803@psf.upfronthosting.co.za> |
| 2011-08-24 21:20:48 | pitrou | 链接 | issue12803 messages |
| 2011-08-24 21:20:47 | pitrou | 创建 | |
|