Control: tags -1 + upstream Control: forwarded -1 https://bugs.launchpad.net/u1db/+bug/1383475
The problems are caused by disabled SSLv3. See also https://bugs.launchpad.net/u1db/+bug/1383475 I was able to build the package with the following patch: --- u1db-13.10.orig/u1db/tests/test_https.py +++ u1db-13.10/u1db/tests/test_https.py @@ -26,7 +26,7 @@ def https_server_def(): 'testing.cert') key_file = os.path.join(os.path.dirname(__file__), 'testing-certs', 'testing.key') - ssl_context = SSL.Context(SSL.SSLv23_METHOD) + ssl_context = SSL.Context(SSL.TLSv1_METHOD) ssl_context.use_privatekey_file(key_file) ssl_context.use_certificate_chain_file(cert_file) srv = httpserver.WSGIServerBase(application, host_port, Index: u1db-13.10/u1db/remote/http_client.py =================================================================== --- u1db-13.10.orig/u1db/remote/http_client.py +++ u1db-13.10/u1db/remote/http_client.py @@ -77,7 +77,7 @@ class _VerifiedHTTPSConnection(httplib.H # XXX no cert verification implemented elsewhere for now cert_opts = {} self.sock = ssl.wrap_socket(sock, self.key_file, self.cert_file, - ssl_version=ssl.PROTOCOL_SSLv3, + ssl_version=ssl.PROTOCOL_TLSv1, **cert_opts ) if cert_opts: but I'm not sure what consequences does the second hunk have. -- WBR, wRAR
signature.asc
Description: Digital signature