Message142924
| 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: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 | |