Message142924
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). |
|
Date |
User |
Action |
Args |
2011-08-24 21:20:48 | pitrou | set | recipients:
+ pitrou, janssen, giampaolo.rodola, eric.araujo, simpkins |
2011-08-24 21:20:48 | pitrou | set | messageid: <1314220848.83.0.912727150975.issue12803@psf.upfronthosting.co.za> |
2011-08-24 21:20:48 | pitrou | link | issue12803 messages |
2011-08-24 21:20:47 | pitrou | create | |
|