From rich at ANOMOS.INFO Thu Sep 24 20:37:58 2009 From: rich at ANOMOS.INFO (Rich Jones) Date: Thu, 24 Sep 2009 14:37:58 -0400 Subject: [PYTHON-CRYPTO] SOCKS4/5 in ProxyHTTPSConnection (m2crypto) Message-ID: Is this possible? Or only HTTP Proxies? httpslib2 has socks45 support in conjunction with http://socksipy.sourceforge.net/, anyway to achieve similar functionality with m2? Rich http://www.anomos.info PS: Can we be added to the list of projects that use M2Crypto? :) -------------- next part -------------- An HTML attachment was scrubbed... URL: From blq at ARCANE-LABS.NET Tue Sep 29 19:17:47 2009 From: blq at ARCANE-LABS.NET (Benoit Lecocq) Date: Tue, 29 Sep 2009 19:17:47 +0200 Subject: [PYTHON-CRYPTO] M2Crypto : Regression test failure Message-ID: <4AC2413B.7000304@arcane-labs.net> Hi, I try to use M2Crypto with OpenBSD to build a Ports but when I try the regression test I obtain : test_verify_dsa (tests.test_ecdsa.ECDSATestCase) ... ok test_ec_curves_ECDSA (tests.test_ec_curves.ECCurveTests) ... ok ====================================================================== ERROR: test_server_simple_timeouts (tests.test_ssl.MiscSSLClientTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/linux/tmp/py-m2crypto-0.20.1/M2Crypto-0.20.1/tests/test_ssl.py", line 329, in test_server_simple_timeouts s.set_socket_write_timeout(SSL.timeout(909,9)) File "/linux/tmp/py-m2crypto-0.20.1/M2Crypto-0.20.1/M2Crypto/SSL/Connection.py", line 349, in set_socket_write_timeout self.socket.setsockopt(socket.SOL_SOCKET, socket.SO_SNDTIMEO, timeo.pack()) File "", line 1, in setsockopt error: (33, 'Numerical argument out of domain') ---------------------------------------------------------------------- Ran 236 tests in 85.907s FAILED (errors=1) Is it a know problem ? A know bug ? Thanks, benoit