summaryrefslogtreecommitdiffstats
path: root/Lib/ssl.py
Commit message (Collapse)AuthorAgeFilesLines
* fix name collision issuesBenjamin Peterson2008-12-311-3/+3
|
* #4788 qualify some bare except clausesBenjamin Peterson2008-12-311-2/+2
|
* fix for release blocker 3910, 2.6 regression in socket.ssl methodBill Janssen2008-09-291-2/+13
|
* incorporate fixes from issue 3162; SSL doc patchBill Janssen2008-09-081-5/+39
|
* remove duplicate close() from ssl.py; expose unwrap and add test for itBill Janssen2008-08-121-4/+8
|
* various SSL fixes; issues 1251, 3162, 3212Bill Janssen2008-06-281-256/+105
|
* Patch #2167 from calvin: Remove unused importsChristian Heimes2008-02-231-1/+1
|
* Add support for asyncore server-side SSL support. This requiresBill Janssen2007-09-161-25/+311
| | | | | | | | | | | | | | | adding the 'makefile' method to ssl.SSLSocket, and importing the requisite fakefile class from socket.py, and making the appropriate changes to it to make it use the SSL connection. Added sample HTTPS server to test_ssl.py, and test that uses it. Change SSL tests to use https://svn.python.org/, instead of www.sf.net and pop.gmail.com. Added utility function to ssl module, get_server_certificate, to wrap up the several things to be done to pull a certificate from a remote server.
* More work on SSL support.Bill Janssen2007-09-101-10/+39
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Much expanded test suite: All protocols tested against all other protocols. All protocols tested with all certificate options. Tests for bad key and bad cert. Test of STARTTLS functionality. Test of RAND_* functions. * Fixes for threading/malloc bug. * Issue 1065 fixed: sslsocket class renamed to SSLSocket. sslerror class renamed to SSLError. Function "wrap_socket" now used to wrap an existing socket. * Issue 1583946 finally fixed: Support for subjectAltName added. Subject name now returned as proper DN list of RDNs. * SSLError exported from socket as "sslerror". * RAND_* functions properly exported from ssl.py. * Documentation improved: Example of how to create a self-signed certificate. Better indexing.
* Added docstrings to methods and functions.Bill Janssen2007-08-301-0/+36
|
* This contains a number of things:Bill Janssen2007-08-291-125/+74
| | | | | | | | | | | | | | | | 1) Improve the documentation of the SSL module, with a fuller explanation of certificate usage, another reference, proper formatting of this and that. 2) Fix Windows bug in ssl.py, and general bug in sslsocket.close(). Remove some unused code from ssl.py. Allow accept() to be called on sslsocket sockets. 3) Use try-except-else in import of ssl in socket.py. Deprecate use of socket.ssl(). 4) Remove use of socket.ssl() in every library module, except for test_socket_ssl.py and test_ssl.py.
* Bill Janssen wrote:Guido van Rossum2007-08-261-4/+5
| | | | | Here's a patch which makes test_ssl a better player in the buildbots environment. I deep-ended on "try-except-else" clauses.
* Server-side SSL and certificate validation, by Bill Janssen.Guido van Rossum2007-08-251-0/+252
While cleaning up Bill's C style, I may have cleaned up some code he didn't touch as well (in _ssl.c).