Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Issue #26173: Separate bad cert file tests and client rejection test | Martin Panter | 2016-02-01 | 1 | -40/+54 |
| | | | | | | | | | Test test_wrong_cert() runs a server that rejects the client's certificate, so ECONNRESET is reasonable in addition to SSLError. On the other hand, the other three tests don't even need to run a server because they are just testing the parsing of invalid certificate files. Also fix a ResourceWarning by closing the wrapped socket. | ||||
* | Issue #26173: Fix test_ssl confusion with non-existing cert and wrongcert.pem | Martin Panter | 2016-01-30 | 1 | -14/+11 |
| | | | | | | Testing for a non-existing certificate file is already done in test_errors(). Copy wrongcert.pem from Python 2 and use it to test the behaviour with a mismatched certificate. | ||||
* | Issue #25940: Merge ETIMEDOUT fix from 3.4 into 3.5 | Martin Panter | 2016-01-15 | 1 | -1/+1 |
|\ | |||||
| * | Issue #25940: Merge ETIMEDOUT fix from 3.3 into 3.4 | Martin Panter | 2016-01-15 | 1 | -1/+1 |
| |\ | |||||
| | * | Issue #25940: Merge ETIMEDOUT fix from 3.2 into 3.3 | Martin Panter | 2016-01-15 | 1 | -1/+1 |
| | |\ | |||||
| | | * | Issue #25940: On Windows, connecting to port 444 returns ETIMEDOUT | Martin Panter | 2016-01-15 | 1 | -1/+3 |
| | | | | |||||
* | | | | Issue #25940: Update new SSL tests for self-signed.pythontest.net | Martin Panter | 2016-01-14 | 1 | -13/+14 |
| | | | | | | | | | | | | | | | | | | | | Removed SSL_ERROR_SYSCALL checking from ssl_io_loop() so that the loop can terminate when unwrap() raises that error. | ||||
* | | | | Issue #25940: Merge self-signed.pythontest.net testing from 3.4 into 3.5 | Martin Panter | 2016-01-14 | 1 | -51/+56 |
|\ \ \ \ | |/ / / | |||||
| * | | | Issue #25940: Update new SSL tests for self-signed.pythontest.net | Martin Panter | 2016-01-14 | 1 | -12/+12 |
| | | | | |||||
| * | | | Issue #25940: Merge self-signed.pythontest.net testing from 3.3 into 3.4 | Martin Panter | 2016-01-14 | 1 | -39/+44 |
| |\ \ \ | | |/ / | |||||
| | * | | Issue #25940: Merge self-signed.pythontest.net testing from 3.2 into 3.3 | Martin Panter | 2016-01-14 | 1 | -41/+48 |
| | |\ \ | | | |/ | |||||
| | | * | Issue #25940: Use self-signed.pythontest.net in SSL tests | Martin Panter | 2016-01-14 | 1 | -49/+52 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is instead of svn.python.org, whose certificate recently expired, and whose new certificate uses a different root certificate. The certificate used at the pythontest server was modifed to set the "basic constraints" CA flag. This flag seems to be required for test_get_ca_certs_ capath() to work (in Python 3.4+). Added the new self-signed certificate to capath with the following commands: cp Lib/test/{selfsigned_pythontestdotnet.pem,capath/} c_rehash -v Lib/test/capath/ c_rehash -v -old Lib/test/capath/ # Note the generated file names cp Lib/test/capath/{selfsigned_pythontestdotnet.pem,0e4015b9.0} mv Lib/test/capath/{selfsigned_pythontestdotnet.pem,ce7b8643.0} The new server responds with "No route to host" when connecting to port 444. | ||||
| | | * | Issue #18709: Fix CVE-2013-4238. The SSL module now handles NULL bytes | Georg Brandl | 2014-09-30 | 1 | -0/+29 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | inside subjectAltName correctly. Formerly the module has used OpenSSL's GENERAL_NAME_print() function to get the string represention of ASN.1 strings for ``rfc822Name`` (email), ``dNSName`` (DNS) and ``uniformResourceIdentifier`` (URI). | ||||
| | * | | merge 3.2 (#20896) | Benjamin Peterson | 2014-03-12 | 1 | -3/+8 |
| | |\ \ | | | |/ | |||||
| | | * | use ssl.PROTOCOL_SSLv23 for maximum compatibility (closes #20896) | Benjamin Peterson | 2014-03-12 | 1 | -3/+8 |
| | | | | |||||
| | | * | Issue #17980: Fix possible abuse of ssl.match_hostname() for denial of ↵ | Antoine Pitrou | 2013-05-18 | 1 | -0/+11 |
| | | | | | | | | | | | | | | | | service using certificates with many wildcards (CVE-2013-2099). | ||||
* | | | | merge 3.4 (#25530) | Benjamin Peterson | 2015-11-12 | 1 | -9/+9 |
|\ \ \ \ | |/ / / | |||||
| * | | | always set OP_NO_SSLv3 by default (closes #25530) | Benjamin Peterson | 2015-11-12 | 1 | -9/+9 |
| | | | | |||||
* | | | | Issue #24210: Silence more PendingDeprecationWarning warnings in tests. | Berker Peksag | 2015-05-16 | 1 | -7/+15 |
| | | | | |||||
* | | | | merge 3.4 (#23844) | Benjamin Peterson | 2015-04-02 | 1 | -1/+1 |
|\ \ \ \ | |/ / / | |||||
| * | | | replace 512 bit dh key with a 2014 bit one (closes #23844) | Benjamin Peterson | 2015-04-02 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | Patch by Cédric Krier. | ||||
* | | | | Issue #23001: Few functions in modules mmap, ossaudiodev, socket, ssl, and | Serhiy Storchaka | 2015-03-20 | 1 | -0/+2 |
| | | | | | | | | | | | | | | | | | | | | codecs, that accepted only read-only bytes-like object now accept writable bytes-like object too. | ||||
* | | | | Issue #20617: Remove unused import in test_ssl. | Berker Peksag | 2015-03-12 | 1 | -1/+0 |
|\ \ \ \ | |/ / / | | | | | | | | | Patch by Mark Lawrence. | ||||
| * | | | Issue #20617: Remove unused import in test_ssl. | Berker Peksag | 2015-03-12 | 1 | -1/+0 |
| | | | | | | | | | | | | | | | | Patch by Mark Lawrence. | ||||
* | | | | merge 3.4 | Benjamin Peterson | 2015-03-05 | 1 | -1/+2 |
|\ \ \ \ | |/ / / | |||||
| * | | | adjust test_crl_check for trusted first being default | Benjamin Peterson | 2015-03-05 | 1 | -1/+2 |
| | | | | |||||
* | | | | merge 3.4 | Benjamin Peterson | 2015-03-05 | 1 | -2/+3 |
|\ \ \ \ | |/ / / | |||||
| * | | | expose X509_V_FLAG_TRUSTED_FIRST | Benjamin Peterson | 2015-03-05 | 1 | -2/+3 |
| | | | | |||||
* | | | | Issue #23239: ssl.match_hostname() now supports matching of IP addresses. | Antoine Pitrou | 2015-02-15 | 1 | -0/+24 |
| | | | | |||||
* | | | | Issue #23345: merge from 3.4 | Ned Deily | 2015-02-05 | 1 | -1/+1 |
|\ \ \ \ | |/ / / | |||||
| * | | | Issue #23345: Prevent test_ssl failures with large OpenSSL patch level | Ned Deily | 2015-02-05 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | values (like 0.9.8zc). | ||||
| * | | | Issue #21356: Make ssl.RAND_egd() optional to support LibreSSL. The | Victor Stinner | 2015-01-06 | 1 | -2/+3 |
| | | | | | | | | | | | | | | | | | | | | availability of the function is checked during the compilation. Patch written by Bernard Spil. | ||||
| * | | | Issue #22935: Fix test_ssl when the SSLv3 protocol is not supported | Victor Stinner | 2014-12-12 | 1 | -1/+2 |
| | | | | |||||
* | | | | prefer server alpn ordering over the client's | Benjamin Peterson | 2015-01-23 | 1 | -2/+2 |
| | | | | |||||
* | | | | add support for ALPN (closes #20188) | Benjamin Peterson | 2015-01-23 | 1 | -4/+60 |
| | | | | |||||
* | | | | enable cert validation in test | Benjamin Peterson | 2015-01-08 | 1 | -1/+4 |
| | | | | |||||
* | | | | trying again | Benjamin Peterson | 2015-01-08 | 1 | -2/+2 |
| | | | | |||||
* | | | | reorder cipher prefs | Benjamin Peterson | 2015-01-08 | 1 | -1/+1 |
| | | | | |||||
* | | | | drop 256 | Benjamin Peterson | 2015-01-08 | 1 | -2/+2 |
| | | | | |||||
* | | | | try using AES256 | Benjamin Peterson | 2015-01-08 | 1 | -3/+3 |
| | | | | |||||
* | | | | fix assertions after ciphers were changed | Benjamin Peterson | 2015-01-07 | 1 | -2/+1 |
| | | | | |||||
* | | | | rc4 is a long time favorite | Benjamin Peterson | 2015-01-07 | 1 | -2/+2 |
| | | | | |||||
* | | | | everyone should support AES ciphers | Benjamin Peterson | 2015-01-07 | 1 | -3/+4 |
| | | | | |||||
* | | | | include some more ciphers | Benjamin Peterson | 2015-01-07 | 1 | -3/+3 |
| | | | | |||||
* | | | | force test server to speak tlsv1 | Benjamin Peterson | 2015-01-07 | 1 | -1/+1 |
| | | | | |||||
* | | | | remove apparently wrong assertion about des bit size | Benjamin Peterson | 2015-01-07 | 1 | -1/+0 |
| | | | | |||||
* | | | | expose the client's cipher suites from the handshake (closes #23186) | Benjamin Peterson | 2015-01-07 | 1 | -0/+17 |
| | | | | |||||
* | | | | test_ssl: add more debug to investigate test_openssl_version() failure on | Victor Stinner | 2015-01-06 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | | OpenBSD with LibreSSL. | ||||
* | | | | Issue #22935: Fix test_ssl when the SSLv3 protocol is not supported | Victor Stinner | 2014-12-12 | 1 | -3/+4 |
| | | | | |||||
* | | | | merge 3.4 (#22935) | Benjamin Peterson | 2014-12-06 | 1 | -7/+16 |
|\ \ \ \ | |/ / / |