Message216138
The unittest, test_ssl.test_default_ecdh_curve, is failing on OS X (and FreeBSD 9).
The test fails with the error message:
"""
======================================================================
ERROR: test_default_ecdh_curve (test.test_ssl.ThreadedTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/jramnani/code/cpython/Lib/test/test_ssl.py", line 2596, in test_default_ecdh_curve
context.set_ciphers("ECDH")
ssl.SSLError: ('No cipher can be selected.',)
----------------------------------------------------------------------
"""
It looks to be related to issue, #21015 (changesets 3b81d1b3f9d1 and 869277faf3dc).
OS Info:
* Version: OS X 10.9.2
* OpenSSL version: OpenSSL 0.9.8y 5 Feb 2013
The problem looks like OpenSSL on OS X is reporting that it has ECDH when it does not.
Python 3.5.0a0 (default:8cf384852680, Apr 14 2014, 13:32:46)
[GCC 4.2.1 Compatible Apple LLVM 5.1 (clang-503.0.38)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import ssl
>>> ssl.HAS_ECDH
True |
|
Date |
User |
Action |
Args |
2014-04-14 17:57:48 | jramnani | set | recipients:
+ jramnani |
2014-04-14 17:57:48 | jramnani | set | messageid: <1397498268.54.0.53776547909.issue21218@psf.upfronthosting.co.za> |
2014-04-14 17:57:48 | jramnani | link | issue21218 messages |
2014-04-14 17:57:48 | jramnani | create | |
|