From t.laurikainen at IBERMATICA.COM Mon Jul 11 12:55:08 2005 From: t.laurikainen at IBERMATICA.COM (Laurikainen, Tuukka) Date: Mon, 11 Jul 2005 12:55:08 +0200 Subject: [PYTHON-CRYPTO] Problem downloading large files Message-ID: <5775AF95424CB249882242ADC57A910B130492@ibmbxnorte.intranet.ibermatica> Hello all, We're having some problems downloading large files from Zope/Plone running on win32. Uploads works ok. There's been some discussion about similar issues, but with uploads (http://www.zope.org/Wikis/DevSite/Proposals/ZServerSSLIntegration). The variable ac_out_buffer_size in https_server.py mentioned in that post is not present in the current version. The ac_in_buffer_size is assigned a value of 32k (1 << 16 bit shift operation). We've tried to change this value but with no success. This seems to be a problem only with SSL connections. If we download the same file (say, for example of 200MB) through HTTP connection the file transfers correctly. The same transfer through an SSL connection produces a corrupted file. M2Crypto 0.13 (suppose, The ZServerSSL has been installed with the Windows installer), Plone 2.0.3, Zope 2.7.0, Python 2.3.3 on win32. Kind regards, Tuukka From t.laurikainen at IBERMATICA.COM Fri Jul 22 09:55:43 2005 From: t.laurikainen at IBERMATICA.COM (Laurikainen, Tuukka) Date: Fri, 22 Jul 2005 09:55:43 +0200 Subject: [PYTHON-CRYPTO] Problem downloading large files Message-ID: <5775AF95424CB249882242ADC57A910B130683@ibmbxnorte.intranet.ibermatica> Hello all, We're having some problems downloading large files from Zope/Plone running on win32, through an SSL connection. Uploads works ok. There's been some discussion about similar issues, but with uploads (http://www.zope.org/Wikis/DevSite/Proposals/ZServerSSLIntegration). The variable ac_out_buffer_size in https_server.py mentioned in that post is not present in the current version. The ac_in_buffer_size is assigned a value of 32k (1 << 16 bit shift operation). We've tried to change this value but with no success. This seems to be a problem only with SSL connections. If we download the same file (say, for example of 200MB) through HTTP connection the file transfers correctly. The same transfer through an SSL connection produces a corrupted file. M2Crypto 0.13 (suppose, The ZServerSSL has been installed with the Windows installer), Plone 2.0.3, Zope 2.7.0, Python 2.3.3 on win32. Kind regards, Tuukka From mpiluso at COMCAST.NET Thu Jul 28 14:42:46 2005 From: mpiluso at COMCAST.NET (Mike) Date: Thu, 28 Jul 2005 08:42:46 -0400 Subject: [PYTHON-CRYPTO] Message-ID: Hello, I'm trying to compile and install M2Crypto version 0.13 with the 0.13.1 patch. I tried this several times thinking that the version of OpenSSL was incompatible with this version of M2Crypto. My configuration is as follows: Redhat 7.3 Openssl version 0.9.7g Swig 1.3.25 Python 2.4.1 When issuing "python setup.py build," get a ton of warnings (which eventually causes compilation to fail). The full error text is attached. Can anybody help? Thanks. Mike -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: m2crypto_error.txt URL: From m.bizzarri at ICUBE.IT Thu Jul 28 17:26:17 2005 From: m.bizzarri at ICUBE.IT (Marco Bizzarri) Date: Thu, 28 Jul 2005 17:26:17 +0200 Subject: [PYTHON-CRYPTO] In-Reply-To: References: Message-ID: <42E8F919.9000808@icube.it> IIRC: try with: swig 1.3.21 openssl 0.9.7f Regards Marco Mike wrote: > Hello, > > I'm trying to compile and install M2Crypto version 0.13 with the 0.13.1 > patch. I tried this several times thinking that the version of OpenSSL was > incompatible with this version of M2Crypto. My configuration is as follows: > > Redhat 7.3 > Openssl version 0.9.7g > Swig 1.3.25 > Python 2.4.1 > > When issuing "python setup.py build," get a ton of warnings (which > eventually causes compilation to fail). The full error text is attached. Can > anybody help? > > Thanks. > Mike > > > > > ------------------------------------------------------------------------ > > [root at server1 m2crypto-0.13]# python setup.py build > running build > running build_py > not copying M2Crypto/ASN1.py (output up-to-date) > not copying M2Crypto/AuthCookie.py (output up-to-date) > not copying M2Crypto/BIO.py (output up-to-date) > not copying M2Crypto/DH.py (output up-to-date) > not copying M2Crypto/DSA.py (output up-to-date) > not copying M2Crypto/EVP.py (output up-to-date) > not copying M2Crypto/Err.py (output up-to-date) > not copying M2Crypto/RC4.py (output up-to-date) > not copying M2Crypto/RSA.py (output up-to-date) > not copying M2Crypto/Rand.py (output up-to-date) > not copying M2Crypto/SMIME.py (output up-to-date) > not copying M2Crypto/X509.py (output up-to-date) > not copying M2Crypto/__init__.py (output up-to-date) > not copying M2Crypto/callback.py (output up-to-date) > not copying M2Crypto/ftpslib.py (output up-to-date) > not copying M2Crypto/httpslib.py (output up-to-date) > not copying M2Crypto/m2.py (output up-to-date) > not copying M2Crypto/m2urllib.py (output up-to-date) > not copying M2Crypto/m2xmlrpclib.py (output up-to-date) > not copying M2Crypto/threading.py (output up-to-date) > not copying M2Crypto/util.py (output up-to-date) > not copying M2Crypto/_version.py (output up-to-date) > not copying M2Crypto/SSL/Cipher.py (output up-to-date) > not copying M2Crypto/SSL/Connection.py (output up-to-date) > not copying M2Crypto/SSL/Context.py (output up-to-date) > not copying M2Crypto/SSL/Error.py (output up-to-date) > not copying M2Crypto/SSL/SSLServer.py (output up-to-date) > not copying M2Crypto/SSL/Session.py (output up-to-date) > not copying M2Crypto/SSL/__init__.py (output up-to-date) > not copying M2Crypto/SSL/cb.py (output up-to-date) > not copying M2Crypto/SSL/ssl_dispatcher.py (output up-to-date) > not copying M2Crypto/SSL/timeout.py (output up-to-date) > not copying M2Crypto/PGP/PublicKey.py (output up-to-date) > not copying M2Crypto/PGP/PublicKeyRing.py (output up-to-date) > not copying M2Crypto/PGP/RSA.py (output up-to-date) > not copying M2Crypto/PGP/__init__.py (output up-to-date) > not copying M2Crypto/PGP/constants.py (output up-to-date) > not copying M2Crypto/PGP/packet.py (output up-to-date) > running build_ext > building '__m2crypto' extension > swigging SWIG/_m2crypto.i to SWIG/_m2crypto.c > swig -python -ISWIG -o SWIG/_m2crypto.c SWIG/_m2crypto.i > SWIG/_lib.i:406: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_lib.i:407: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_lib.i:408: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_lib.i:409: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_lib.i:410: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_lib.i:411: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_bio.i:11: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_bio.i:12: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_bio.i:13: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_bio.i:14: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_bio.i:15: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_bio.i:17: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_bio.i:18: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_bio.i:19: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_bio.i:20: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_bio.i:21: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_bio.i:22: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_bio.i:23: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_bio.i:24: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_bio.i:26: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_bio.i:27: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_rand.i:6: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_rand.i:7: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_rand.i:8: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_rand.i:9: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_evp.i:18: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_evp.i:19: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_evp.i:20: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_evp.i:21: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_evp.i:23: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_evp.i:24: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_evp.i:25: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_evp.i:26: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_evp.i:27: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_evp.i:28: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_evp.i:29: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_evp.i:30: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_evp.i:31: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_evp.i:32: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_evp.i:33: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_evp.i:34: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_evp.i:35: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_evp.i:36: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_evp.i:37: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_evp.i:38: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_evp.i:45: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_evp.i:46: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_evp.i:47: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_evp.i:48: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_evp.i:55: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_evp.i:56: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_evp.i:57: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_evp.i:58: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_evp.i:59: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_evp.i:60: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_evp.i:61: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_evp.i:62: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_evp.i:63: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_evp.i:64: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_evp.i:65: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_evp.i:66: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_evp.i:67: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_evp.i:68: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_evp.i:70: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_evp.i:71: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_evp.i:72: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_evp.i:73: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_dh.i:14: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_dh.i:15: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_dh.i:16: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_dh.i:17: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_dh.i:18: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_rsa.i:14: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_rsa.i:15: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_rsa.i:16: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_rsa.i:17: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_dsa.i:21: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_dsa.i:22: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_dsa.i:23: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_dsa.i:24: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_ssl.i:21: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_ssl.i:22: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_ssl.i:23: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_ssl.i:24: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_ssl.i:25: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_ssl.i:26: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_ssl.i:27: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_ssl.i:29: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_ssl.i:30: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_ssl.i:31: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_ssl.i:32: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_ssl.i:34: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_ssl.i:35: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_ssl.i:36: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_ssl.i:37: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_ssl.i:38: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_ssl.i:39: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_ssl.i:40: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_ssl.i:41: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_ssl.i:42: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_ssl.i:43: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_ssl.i:45: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_ssl.i:47: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_ssl.i:48: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_ssl.i:49: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_ssl.i:50: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_ssl.i:51: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_ssl.i:52: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_ssl.i:53: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_ssl.i:54: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_ssl.i:55: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_ssl.i:56: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_ssl.i:57: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_ssl.i:59: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_ssl.i:60: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_ssl.i:61: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_ssl.i:62: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_ssl.i:63: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_ssl.i:64: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_ssl.i:65: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_ssl.i:67: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_ssl.i:68: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_ssl.i:70: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_ssl.i:71: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_ssl.i:73: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_ssl.i:74: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_ssl.i:75: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_ssl.i:76: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_ssl.i:77: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_ssl.i:78: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_ssl.i:79: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_x509.i:15: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_x509.i:16: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_x509.i:17: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_x509.i:19: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_x509.i:20: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_x509.i:22: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_x509.i:23: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_x509.i:24: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_x509.i:25: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_x509.i:26: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_x509.i:27: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_x509.i:28: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_x509.i:30: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_x509.i:32: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_x509.i:33: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_x509.i:34: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_x509.i:35: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_x509.i:36: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_x509.i:37: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_x509.i:38: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_x509.i:39: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_x509.i:40: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_x509.i:42: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_x509.i:43: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_x509.i:44: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_x509.i:45: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_x509.i:46: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_x509.i:47: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_x509.i:48: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_x509.i:51: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_x509.i:52: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_x509.i:53: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_x509.i:54: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_x509.i:55: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_x509.i:57: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_x509.i:59: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_x509.i:60: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_x509.i:61: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_asn1.i:14: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_asn1.i:15: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_asn1.i:16: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_asn1.i:17: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_asn1.i:18: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_asn1.i:19: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_asn1.i:21: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_asn1.i:22: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_asn1.i:23: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_asn1.i:25: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_asn1.i:26: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_asn1.i:27: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_asn1.i:28: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_asn1.i:29: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_asn1.i:30: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_asn1.i:32: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_pkcs7.i:18: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_pkcs7.i:19: Warning(121): %name is deprecated. Use %rename instead. > gcc -g -O2 -fPIC -I/usr/local/src/m2crypto-0.13/SWIG -I/usr/local/include -I/usr/include/python1.5 -c SWIG/_m2crypto.c -o bui ld/temp.li > nux-i686-1.5/_m2crypto.o -DTHREADING > SWIG/_m2crypto.c: In function `PySwigObject_repr': > SWIG/_m2crypto.c:663: warning: return makes pointer from integer without a cast > SWIG/_m2crypto.c: In function `PySwigPacked_repr': > SWIG/_m2crypto.c:876: warning: return makes pointer from integer without a cast > SWIG/_m2crypto.c:878: warning: return makes pointer from integer without a cast > SWIG/_m2crypto.c: In function `PySwigPacked_str': > SWIG/_m2crypto.c:887: warning: return makes pointer from integer without a cast > SWIG/_m2crypto.c:889: warning: return makes pointer from integer without a cast > SWIG/_m2crypto.c: At top level: > SWIG/_m2crypto.c:3912: conflicting types for `SSL_get_error' > /usr/local/include/openssl/ssl.h:1326: previous declaration of `SSL_get_error' > SWIG/_m2crypto.c:3926: conflicting types for `SSL_CTX_get_verify_depth' > /usr/local/include/openssl/ssl.h:1281: previous declaration of `SSL_CTX_get_verify_depth' > SWIG/_m2crypto.c:3927: conflicting types for `SSL_CTX_get_verify_mode' > /usr/local/include/openssl/ssl.h:1280: previous declaration of `SSL_CTX_get_verify_mode' > SWIG/_m2crypto.c:3937: conflicting types for `SSL_CTX_get_timeout' > /usr/local/include/openssl/ssl.h:1175: previous declaration of `SSL_CTX_get_timeout' > SWIG/_m2crypto.c:3949: conflicting types for `SSL_pending' > /usr/local/include/openssl/ssl.h:1194: previous declaration of `SSL_pending' > SWIG/_m2crypto.c:3950: conflicting types for `SSL_get_peer_certificate' > /usr/local/include/openssl/ssl.h:1275: previous declaration of `SSL_get_peer_certificate' > SWIG/_m2crypto.c:3951: conflicting types for `SSL_get_current_cipher' > /usr/local/include/openssl/ssl.h:1183: previous declaration of `SSL_get_current_cipher' > SWIG/_m2crypto.c:3952: conflicting types for `SSL_get_verify_mode' > /usr/local/include/openssl/ssl.h:1207: previous declaration of `SSL_get_verify_mode' > SWIG/_m2crypto.c:3953: conflicting types for `SSL_get_verify_depth' > /usr/local/include/openssl/ssl.h:1208: previous declaration of `SSL_get_verify_depth' > SWIG/_m2crypto.c:3954: conflicting types for `SSL_get_verify_result' > /usr/local/include/openssl/ssl.h:1404: previous declaration of `SSL_get_verify_result' > SWIG/_m2crypto.c:3955: conflicting types for `SSL_get_SSL_CTX' > /usr/local/include/openssl/ssl.h:1397: previous declaration of `SSL_get_SSL_CTX' > SWIG/_m2crypto.c:3956: conflicting types for `SSL_get_default_timeout' > /usr/local/include/openssl/ssl.h:1372: previous declaration of `SSL_get_default_timeout' > SWIG/_m2crypto.c:3958: conflicting types for `SSL_get_cipher_list' > /usr/local/include/openssl/ssl.h:1191: previous declaration of `SSL_get_cipher_list' > SWIG/_m2crypto.c:3959: conflicting types for `SSL_CIPHER_get_name' > /usr/local/include/openssl/ssl.h:1186: previous declaration of `SSL_CIPHER_get_name' > SWIG/_m2crypto.c:3960: conflicting types for `SSL_CIPHER_get_version' > /usr/local/include/openssl/ssl.h:1185: previous declaration of `SSL_CIPHER_get_version' > SWIG/_m2crypto.c:3961: conflicting types for `SSL_get_session' > /usr/local/include/openssl/ssl.h:1395: previous declaration of `SSL_get_session' > SWIG/_m2crypto.c:3965: conflicting types for `SSL_SESSION_print' > /usr/local/include/openssl/ssl.h:1260: previous declaration of `SSL_SESSION_print' > SWIG/_m2crypto.c:3967: conflicting types for `SSL_SESSION_get_timeout' > /usr/local/include/openssl/ssl.h:1249: previous declaration of `SSL_SESSION_get_timeout' > SWIG/_m2crypto.c:4480: conflicting types for `X509_NAME_ENTRY_set_data' > /usr/local/include/openssl/x509.h:1052: previous declaration of `X509_NAME_ENTRY_set_data' > SWIG/_m2crypto.c:16131: warning: `PyModule_AddObject' was declared implicitly `extern' and later `static' > SWIG/_m2crypto.c:1352: warning: previous declaration of `PyModule_AddObject' > error: command 'gcc' failed with exit status 1 > [root at server1 m2crypto-0.13]# uname -a > Linux server1 2.4.18-3smp #1 SMP Thu Apr 18 06:59:55 EDT 2002 i686 unknown -------------- next part -------------- A non-text attachment was scrubbed... Name: m.bizzarri.vcf Type: text/x-vcard Size: 328 bytes Desc: not available URL: From heikki at OSAFOUNDATION.ORG Thu Jul 28 18:40:30 2005 From: heikki at OSAFOUNDATION.ORG (Heikki Toivonen) Date: Thu, 28 Jul 2005 09:40:30 -0700 Subject: [PYTHON-CRYPTO] In-Reply-To: References: Message-ID: <42E90A7E.9090606@osafoundation.org> Mike wrote: > I'm trying to compile and install M2Crypto version 0.13 with the 0.13.1 > patch. I tried this several times thinking that the version of OpenSSL was > incompatible with this version of M2Crypto. My configuration is as follows: > > Openssl version 0.9.7g > Swig 1.3.25 > Python 2.4.1 You need a newer version of M2Crypto. Currently only available with Subversion. -- Heikki Toivonen -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 253 bytes Desc: OpenPGP digital signature URL: From heikki at OSAFOUNDATION.ORG Thu Jul 28 19:59:37 2005 From: heikki at OSAFOUNDATION.ORG (Heikki Toivonen) Date: Thu, 28 Jul 2005 10:59:37 -0700 Subject: [PYTHON-CRYPTO] M2Crypto Release Candidate 1 Message-ID: <42E91D09.3040307@osafoundation.org> I want to get the gears rolling towards the next M2Crypto release (0.14 perhaps, but not yet sure). In this M2Crypto release: * Support for OpenSSL up to 0.9.7g * Support for SWIG 1.3.24 * Support for Python 2.4 * Twisted integration * Eliminated C pointers from interfaces (some may still remain in callbacks) * Many cases where Python interpreter crashed have been fixed * Improved thread safety of many callbacks * Memory leak fixes * And of course more of the OpenSSL API is covered, new docstrings and tests have been written This is a call for people to test the Subversion revision number 308, which is the release candidate. To get the source, do this: svn co -r 308 http://svn.osafoundation.org/m2crypto/trunk m2 Please report on this list if you think there are any blockers for this release. Currently known bugs: https://bugzilla.osafoundation.org/buglist.cgi?product=M2Crypto&bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED Also, please respond with information about the configurations where this release works or does not work. I have personally tested with the following: * Windows XP - Cygwin 1.5.16 - Cygwin OpenSSL 0.9.7g - Cygwin SWIG 1.3.24 - Cygwin Python 2.4 * Debian (testing) - OpenSSL 0.9.7e - SWIG 1.3.24 - Python 2.3.5 -- Heikki Toivonen -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 253 bytes Desc: OpenPGP digital signature URL: From mpiluso at COMCAST.NET Thu Jul 28 20:20:18 2005 From: mpiluso at COMCAST.NET (Mike) Date: Thu, 28 Jul 2005 14:20:18 -0400 Subject: [PYTHON-CRYPTO] In-Reply-To: <42E8F919.9000808@icube.it> Message-ID: Ok, I installed swig 1.3.21 and openssl 0.9.7f as you recommended, but I'm having the same problem. Here are the details on what I did. - Installed OpenSSL 0.9.7f; ran tests (all ran OK). Did "make install" - Copied *.a from /usr/local/ssl/lib to /usr/local/lib - Copied (recursively) /usr/local/ssl/include/openssl to /usr/local/include - CD'd to /usr/local/src/m2crypto-0.13 - Issued command "python setup.py build" The new output is attached. It looks like the deprecation warnings went away, but I still get a lot of warnings that cause gcc to fail. Appreciate the help... Mike -----Original Message----- From: generic crypto class API for Python [mailto:PYTHON-CRYPTO at NIC.SURFNET.NL] On Behalf Of Marco Bizzarri Sent: Thursday, July 28, 2005 11:26 AM To: PYTHON-CRYPTO at NIC.SURFNET.NL Subject: IIRC: try with: swig 1.3.21 openssl 0.9.7f Regards Marco Mike wrote: > Hello, > > I'm trying to compile and install M2Crypto version 0.13 with the 0.13.1 > patch. I tried this several times thinking that the version of OpenSSL was > incompatible with this version of M2Crypto. My configuration is as follows: > > Redhat 7.3 > Openssl version 0.9.7g > Swig 1.3.25 > Python 2.4.1 > > When issuing "python setup.py build," get a ton of warnings (which > eventually causes compilation to fail). The full error text is attached. Can > anybody help? > > Thanks. > Mike > > > > > ------------------------------------------------------------------------ > > [root at server1 m2crypto-0.13]# python setup.py build > running build > running build_py > not copying M2Crypto/ASN1.py (output up-to-date) > not copying M2Crypto/AuthCookie.py (output up-to-date) > not copying M2Crypto/BIO.py (output up-to-date) > not copying M2Crypto/DH.py (output up-to-date) > not copying M2Crypto/DSA.py (output up-to-date) > not copying M2Crypto/EVP.py (output up-to-date) > not copying M2Crypto/Err.py (output up-to-date) > not copying M2Crypto/RC4.py (output up-to-date) > not copying M2Crypto/RSA.py (output up-to-date) > not copying M2Crypto/Rand.py (output up-to-date) > not copying M2Crypto/SMIME.py (output up-to-date) > not copying M2Crypto/X509.py (output up-to-date) > not copying M2Crypto/__init__.py (output up-to-date) > not copying M2Crypto/callback.py (output up-to-date) > not copying M2Crypto/ftpslib.py (output up-to-date) > not copying M2Crypto/httpslib.py (output up-to-date) > not copying M2Crypto/m2.py (output up-to-date) > not copying M2Crypto/m2urllib.py (output up-to-date) > not copying M2Crypto/m2xmlrpclib.py (output up-to-date) > not copying M2Crypto/threading.py (output up-to-date) > not copying M2Crypto/util.py (output up-to-date) > not copying M2Crypto/_version.py (output up-to-date) > not copying M2Crypto/SSL/Cipher.py (output up-to-date) > not copying M2Crypto/SSL/Connection.py (output up-to-date) > not copying M2Crypto/SSL/Context.py (output up-to-date) > not copying M2Crypto/SSL/Error.py (output up-to-date) > not copying M2Crypto/SSL/SSLServer.py (output up-to-date) > not copying M2Crypto/SSL/Session.py (output up-to-date) > not copying M2Crypto/SSL/__init__.py (output up-to-date) > not copying M2Crypto/SSL/cb.py (output up-to-date) > not copying M2Crypto/SSL/ssl_dispatcher.py (output up-to-date) > not copying M2Crypto/SSL/timeout.py (output up-to-date) > not copying M2Crypto/PGP/PublicKey.py (output up-to-date) > not copying M2Crypto/PGP/PublicKeyRing.py (output up-to-date) > not copying M2Crypto/PGP/RSA.py (output up-to-date) > not copying M2Crypto/PGP/__init__.py (output up-to-date) > not copying M2Crypto/PGP/constants.py (output up-to-date) > not copying M2Crypto/PGP/packet.py (output up-to-date) > running build_ext > building '__m2crypto' extension > swigging SWIG/_m2crypto.i to SWIG/_m2crypto.c > swig -python -ISWIG -o SWIG/_m2crypto.c SWIG/_m2crypto.i > SWIG/_lib.i:406: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_lib.i:407: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_lib.i:408: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_lib.i:409: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_lib.i:410: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_lib.i:411: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_bio.i:11: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_bio.i:12: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_bio.i:13: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_bio.i:14: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_bio.i:15: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_bio.i:17: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_bio.i:18: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_bio.i:19: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_bio.i:20: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_bio.i:21: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_bio.i:22: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_bio.i:23: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_bio.i:24: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_bio.i:26: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_bio.i:27: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_rand.i:6: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_rand.i:7: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_rand.i:8: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_rand.i:9: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_evp.i:18: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_evp.i:19: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_evp.i:20: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_evp.i:21: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_evp.i:23: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_evp.i:24: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_evp.i:25: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_evp.i:26: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_evp.i:27: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_evp.i:28: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_evp.i:29: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_evp.i:30: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_evp.i:31: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_evp.i:32: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_evp.i:33: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_evp.i:34: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_evp.i:35: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_evp.i:36: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_evp.i:37: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_evp.i:38: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_evp.i:45: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_evp.i:46: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_evp.i:47: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_evp.i:48: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_evp.i:55: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_evp.i:56: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_evp.i:57: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_evp.i:58: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_evp.i:59: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_evp.i:60: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_evp.i:61: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_evp.i:62: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_evp.i:63: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_evp.i:64: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_evp.i:65: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_evp.i:66: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_evp.i:67: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_evp.i:68: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_evp.i:70: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_evp.i:71: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_evp.i:72: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_evp.i:73: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_dh.i:14: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_dh.i:15: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_dh.i:16: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_dh.i:17: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_dh.i:18: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_rsa.i:14: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_rsa.i:15: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_rsa.i:16: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_rsa.i:17: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_dsa.i:21: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_dsa.i:22: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_dsa.i:23: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_dsa.i:24: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_ssl.i:21: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_ssl.i:22: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_ssl.i:23: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_ssl.i:24: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_ssl.i:25: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_ssl.i:26: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_ssl.i:27: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_ssl.i:29: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_ssl.i:30: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_ssl.i:31: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_ssl.i:32: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_ssl.i:34: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_ssl.i:35: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_ssl.i:36: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_ssl.i:37: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_ssl.i:38: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_ssl.i:39: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_ssl.i:40: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_ssl.i:41: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_ssl.i:42: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_ssl.i:43: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_ssl.i:45: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_ssl.i:47: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_ssl.i:48: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_ssl.i:49: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_ssl.i:50: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_ssl.i:51: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_ssl.i:52: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_ssl.i:53: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_ssl.i:54: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_ssl.i:55: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_ssl.i:56: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_ssl.i:57: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_ssl.i:59: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_ssl.i:60: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_ssl.i:61: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_ssl.i:62: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_ssl.i:63: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_ssl.i:64: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_ssl.i:65: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_ssl.i:67: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_ssl.i:68: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_ssl.i:70: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_ssl.i:71: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_ssl.i:73: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_ssl.i:74: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_ssl.i:75: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_ssl.i:76: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_ssl.i:77: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_ssl.i:78: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_ssl.i:79: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_x509.i:15: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_x509.i:16: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_x509.i:17: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_x509.i:19: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_x509.i:20: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_x509.i:22: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_x509.i:23: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_x509.i:24: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_x509.i:25: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_x509.i:26: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_x509.i:27: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_x509.i:28: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_x509.i:30: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_x509.i:32: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_x509.i:33: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_x509.i:34: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_x509.i:35: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_x509.i:36: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_x509.i:37: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_x509.i:38: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_x509.i:39: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_x509.i:40: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_x509.i:42: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_x509.i:43: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_x509.i:44: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_x509.i:45: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_x509.i:46: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_x509.i:47: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_x509.i:48: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_x509.i:51: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_x509.i:52: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_x509.i:53: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_x509.i:54: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_x509.i:55: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_x509.i:57: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_x509.i:59: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_x509.i:60: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_x509.i:61: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_asn1.i:14: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_asn1.i:15: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_asn1.i:16: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_asn1.i:17: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_asn1.i:18: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_asn1.i:19: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_asn1.i:21: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_asn1.i:22: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_asn1.i:23: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_asn1.i:25: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_asn1.i:26: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_asn1.i:27: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_asn1.i:28: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_asn1.i:29: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_asn1.i:30: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_asn1.i:32: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_pkcs7.i:18: Warning(121): %name is deprecated. Use %rename instead. > SWIG/_pkcs7.i:19: Warning(121): %name is deprecated. Use %rename instead. > gcc -g -O2 -fPIC -I/usr/local/src/m2crypto-0.13/SWIG -I/usr/local/include -I/usr/include/python1.5 -c SWIG/_m2crypto.c -o bui ld/temp.li > nux-i686-1.5/_m2crypto.o -DTHREADING > SWIG/_m2crypto.c: In function `PySwigObject_repr': > SWIG/_m2crypto.c:663: warning: return makes pointer from integer without a cast > SWIG/_m2crypto.c: In function `PySwigPacked_repr': > SWIG/_m2crypto.c:876: warning: return makes pointer from integer without a cast > SWIG/_m2crypto.c:878: warning: return makes pointer from integer without a cast > SWIG/_m2crypto.c: In function `PySwigPacked_str': > SWIG/_m2crypto.c:887: warning: return makes pointer from integer without a cast > SWIG/_m2crypto.c:889: warning: return makes pointer from integer without a cast > SWIG/_m2crypto.c: At top level: > SWIG/_m2crypto.c:3912: conflicting types for `SSL_get_error' > /usr/local/include/openssl/ssl.h:1326: previous declaration of `SSL_get_error' > SWIG/_m2crypto.c:3926: conflicting types for `SSL_CTX_get_verify_depth' > /usr/local/include/openssl/ssl.h:1281: previous declaration of `SSL_CTX_get_verify_depth' > SWIG/_m2crypto.c:3927: conflicting types for `SSL_CTX_get_verify_mode' > /usr/local/include/openssl/ssl.h:1280: previous declaration of `SSL_CTX_get_verify_mode' > SWIG/_m2crypto.c:3937: conflicting types for `SSL_CTX_get_timeout' > /usr/local/include/openssl/ssl.h:1175: previous declaration of `SSL_CTX_get_timeout' > SWIG/_m2crypto.c:3949: conflicting types for `SSL_pending' > /usr/local/include/openssl/ssl.h:1194: previous declaration of `SSL_pending' > SWIG/_m2crypto.c:3950: conflicting types for `SSL_get_peer_certificate' > /usr/local/include/openssl/ssl.h:1275: previous declaration of `SSL_get_peer_certificate' > SWIG/_m2crypto.c:3951: conflicting types for `SSL_get_current_cipher' > /usr/local/include/openssl/ssl.h:1183: previous declaration of `SSL_get_current_cipher' > SWIG/_m2crypto.c:3952: conflicting types for `SSL_get_verify_mode' > /usr/local/include/openssl/ssl.h:1207: previous declaration of `SSL_get_verify_mode' > SWIG/_m2crypto.c:3953: conflicting types for `SSL_get_verify_depth' > /usr/local/include/openssl/ssl.h:1208: previous declaration of `SSL_get_verify_depth' > SWIG/_m2crypto.c:3954: conflicting types for `SSL_get_verify_result' > /usr/local/include/openssl/ssl.h:1404: previous declaration of `SSL_get_verify_result' > SWIG/_m2crypto.c:3955: conflicting types for `SSL_get_SSL_CTX' > /usr/local/include/openssl/ssl.h:1397: previous declaration of `SSL_get_SSL_CTX' > SWIG/_m2crypto.c:3956: conflicting types for `SSL_get_default_timeout' > /usr/local/include/openssl/ssl.h:1372: previous declaration of `SSL_get_default_timeout' > SWIG/_m2crypto.c:3958: conflicting types for `SSL_get_cipher_list' > /usr/local/include/openssl/ssl.h:1191: previous declaration of `SSL_get_cipher_list' > SWIG/_m2crypto.c:3959: conflicting types for `SSL_CIPHER_get_name' > /usr/local/include/openssl/ssl.h:1186: previous declaration of `SSL_CIPHER_get_name' > SWIG/_m2crypto.c:3960: conflicting types for `SSL_CIPHER_get_version' > /usr/local/include/openssl/ssl.h:1185: previous declaration of `SSL_CIPHER_get_version' > SWIG/_m2crypto.c:3961: conflicting types for `SSL_get_session' > /usr/local/include/openssl/ssl.h:1395: previous declaration of `SSL_get_session' > SWIG/_m2crypto.c:3965: conflicting types for `SSL_SESSION_print' > /usr/local/include/openssl/ssl.h:1260: previous declaration of `SSL_SESSION_print' > SWIG/_m2crypto.c:3967: conflicting types for `SSL_SESSION_get_timeout' > /usr/local/include/openssl/ssl.h:1249: previous declaration of `SSL_SESSION_get_timeout' > SWIG/_m2crypto.c:4480: conflicting types for `X509_NAME_ENTRY_set_data' > /usr/local/include/openssl/x509.h:1052: previous declaration of `X509_NAME_ENTRY_set_data' > SWIG/_m2crypto.c:16131: warning: `PyModule_AddObject' was declared implicitly `extern' and later `static' > SWIG/_m2crypto.c:1352: warning: previous declaration of `PyModule_AddObject' > error: command 'gcc' failed with exit status 1 > [root at server1 m2crypto-0.13]# uname -a > Linux server1 2.4.18-3smp #1 SMP Thu Apr 18 06:59:55 EDT 2002 i686 unknown -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: m2crypto_error_2.txt URL: From mpiluso at COMCAST.NET Thu Jul 28 20:23:21 2005 From: mpiluso at COMCAST.NET (Mike) Date: Thu, 28 Jul 2005 14:23:21 -0400 Subject: [PYTHON-CRYPTO] In-Reply-To: <42E90A7E.9090606@osafoundation.org> Message-ID: Ok, I can try another version of M2Crypto, but I need a somewhat stable version. What version do you recommend? I have built M2Crypto on win32 a while ago and didn't have any problems like this. Thanks. -----Original Message----- From: generic crypto class API for Python [mailto:PYTHON-CRYPTO at NIC.SURFNET.NL] On Behalf Of Heikki Toivonen Sent: Thursday, July 28, 2005 12:41 PM To: PYTHON-CRYPTO at NIC.SURFNET.NL Subject: Mike wrote: > I'm trying to compile and install M2Crypto version 0.13 with the 0.13.1 > patch. I tried this several times thinking that the version of OpenSSL was > incompatible with this version of M2Crypto. My configuration is as follows: > > Openssl version 0.9.7g > Swig 1.3.25 > Python 2.4.1 You need a newer version of M2Crypto. Currently only available with Subversion. -- Heikki Toivonen From mpiluso at COMCAST.NET Thu Jul 28 21:24:25 2005 From: mpiluso at COMCAST.NET (Mike) Date: Thu, 28 Jul 2005 15:24:25 -0400 Subject: [PYTHON-CRYPTO] m2crypto compile problems on linux In-Reply-To: <42E90A7E.9090606@osafoundation.org> Message-ID: Ok, I installed the "trunk" version from subversion and updated swig to 1.3.25 using openssl 0.9.7f. It compiled successfully, but only after telling "setup.py" that my include and lib dirs are /usr/local/include and /usr/local/lib, respectively. Thanks to those who helped me with this problem. -----Original Message----- From: generic crypto class API for Python [mailto:PYTHON-CRYPTO at NIC.SURFNET.NL] On Behalf Of Heikki Toivonen Sent: Thursday, July 28, 2005 12:41 PM To: PYTHON-CRYPTO at NIC.SURFNET.NL Subject: Mike wrote: > I'm trying to compile and install M2Crypto version 0.13 with the 0.13.1 > patch. I tried this several times thinking that the version of OpenSSL was > incompatible with this version of M2Crypto. My configuration is as follows: > > Openssl version 0.9.7g > Swig 1.3.25 > Python 2.4.1 You need a newer version of M2Crypto. Currently only available with Subversion. -- Heikki Toivonen From heikki at OSAFOUNDATION.ORG Thu Jul 28 21:33:50 2005 From: heikki at OSAFOUNDATION.ORG (Heikki Toivonen) Date: Thu, 28 Jul 2005 12:33:50 -0700 Subject: [PYTHON-CRYPTO] M2Crypto Release Candidate 1 In-Reply-To: <20050728193123.A737818E39@mailgw.mcs.anl.gov> References: <20050728193123.A737818E39@mailgw.mcs.anl.gov> Message-ID: <42E9331E.8040108@osafoundation.org> Ivan R. Judson wrote: > Why not Open SSL 0.9.8? I don't have it on any of my boxes yet. If I get it and it is not much work to support it, I'll do it. But in the meanwhile, patches appreciated :) -- Heikki Toivonen -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 253 bytes Desc: OpenPGP digital signature URL: From judson at MCS.ANL.GOV Thu Jul 28 21:31:16 2005 From: judson at MCS.ANL.GOV (Ivan R. Judson) Date: Thu, 28 Jul 2005 14:31:16 -0500 Subject: [PYTHON-CRYPTO] M2Crypto Release Candidate 1 In-Reply-To: <42E91D09.3040307@osafoundation.org> Message-ID: <20050728193123.A737818E39@mailgw.mcs.anl.gov> Why not Open SSL 0.9.8? --Ivan > -----Original Message----- > From: generic crypto class API for Python > [mailto:PYTHON-CRYPTO at NIC.SURFNET.NL] On Behalf Of Heikki Toivonen > Sent: Thursday, July 28, 2005 1:00 PM > To: PYTHON-CRYPTO at NIC.SURFNET.NL > Subject: [PYTHON-CRYPTO] M2Crypto Release Candidate 1 > > I want to get the gears rolling towards the next M2Crypto > release (0.14 perhaps, but not yet sure). > > In this M2Crypto release: > > * Support for OpenSSL up to 0.9.7g > * Support for SWIG 1.3.24 > * Support for Python 2.4 > * Twisted integration > * Eliminated C pointers from interfaces (some may still > remain in callbacks) > * Many cases where Python interpreter crashed have been fixed > * Improved thread safety of many callbacks > * Memory leak fixes > * And of course more of the OpenSSL API is covered, new > docstrings and tests have been written > > This is a call for people to test the Subversion revision > number 308, which is the release candidate. To get the > source, do this: > > svn co -r 308 http://svn.osafoundation.org/m2crypto/trunk m2 > > Please report on this list if you think there are any > blockers for this release. > > Currently known bugs: > > https://bugzilla.osafoundation.org/buglist.cgi?product=M2Crypt o&bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED > > > Also, please respond with information about the > configurations where this release works or does not work. I > have personally tested with the > following: > > * Windows XP > - Cygwin 1.5.16 > - Cygwin OpenSSL 0.9.7g > - Cygwin SWIG 1.3.24 > - Cygwin Python 2.4 > > * Debian (testing) > - OpenSSL 0.9.7e > - SWIG 1.3.24 > - Python 2.3.5 > > -- > Heikki Toivonen > > From judson at MCS.ANL.GOV Thu Jul 28 21:46:02 2005 From: judson at MCS.ANL.GOV (Ivan R. Judson) Date: Thu, 28 Jul 2005 14:46:02 -0500 Subject: [PYTHON-CRYPTO] M2Crypto Release Candidate 1 In-Reply-To: <42E9331E.8040108@osafoundation.org> Message-ID: <20050728194609.3148016524@mailgw.mcs.anl.gov> Working on it, and verifying windows stuff. --Ivan > -----Original Message----- > From: generic crypto class API for Python > [mailto:PYTHON-CRYPTO at NIC.SURFNET.NL] On Behalf Of Heikki Toivonen > Sent: Thursday, July 28, 2005 2:34 PM > To: PYTHON-CRYPTO at NIC.SURFNET.NL > Subject: Re: [PYTHON-CRYPTO] M2Crypto Release Candidate 1 > > Ivan R. Judson wrote: > > Why not Open SSL 0.9.8? > > I don't have it on any of my boxes yet. If I get it and it is > not much work to support it, I'll do it. But in the > meanwhile, patches appreciated :) > > -- > Heikki Toivonen > > From aplot at SBIT.KRASNOYARSK.SU Fri Jul 29 04:04:10 2005 From: aplot at SBIT.KRASNOYARSK.SU (Andrey Plotnikov) Date: Fri, 29 Jul 2005 10:04:10 +0800 Subject: [PYTHON-CRYPTO] M2Crypto Release Candidate 1 In-Reply-To: <42E9331E.8040108@osafoundation.org> References: <20050728193123.A737818E39@mailgw.mcs.anl.gov> <42E9331E.8040108@osafoundation.org> Message-ID: <42E98E9A.70105@sbit.krasnoyarsk.su> Heikki Toivonen wrote: >Ivan R. Judson wrote: > > >>Why not Open SSL 0.9.8? >> >> > >I don't have it on any of my boxes yet. If I get it and it is not much >work to support it, I'll do it. But in the meanwhile, patches appreciated :) > > > I use m2crypto with openssl-0.9.8 for working with S/MIME mails. Its my patch for building m2crypto with openssl-0.9.8. -- Andrey Plotnikov -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: m2crypto-0_13-ossl-0_9_8.diff URL: From judson at MCS.ANL.GOV Fri Jul 29 05:11:33 2005 From: judson at MCS.ANL.GOV (Ivan R. Judson) Date: Thu, 28 Jul 2005 22:11:33 -0500 Subject: [PYTHON-CRYPTO] M2Crypto Release Candidate 1 In-Reply-To: <42E98E9A.70105@sbit.krasnoyarsk.su> Message-ID: <20050729031137.BAC0E18E39@mailgw.mcs.anl.gov> I'm working on this combo on win xp with vs.net and activepython. Attached is the output of my attempted build. I'm very anxious to have this work, so if you have ideas, please send them along... --Ivan > -----Original Message----- > From: generic crypto class API for Python > [mailto:PYTHON-CRYPTO at NIC.SURFNET.NL] On Behalf Of Andrey Plotnikov > Sent: Thursday, July 28, 2005 9:04 PM > To: PYTHON-CRYPTO at NIC.SURFNET.NL > Subject: Re: [PYTHON-CRYPTO] M2Crypto Release Candidate 1 > > Heikki Toivonen wrote: > > >Ivan R. Judson wrote: > > > > > >>Why not Open SSL 0.9.8? > >> > >> > > > >I don't have it on any of my boxes yet. If I get it and it > is not much > >work to support it, I'll do it. But in the meanwhile, patches > >appreciated :) > > > > > > > I use m2crypto with openssl-0.9.8 for working with S/MIME mails. > Its my patch for building m2crypto with openssl-0.9.8. > > -- > Andrey Plotnikov > > From heikki at OSAFOUNDATION.ORG Fri Jul 29 07:57:58 2005 From: heikki at OSAFOUNDATION.ORG (Heikki Toivonen) Date: Thu, 28 Jul 2005 22:57:58 -0700 Subject: [PYTHON-CRYPTO] M2Crypto Release Candidate 1 In-Reply-To: <42E98E9A.70105@sbit.krasnoyarsk.su> References: <20050728193123.A737818E39@mailgw.mcs.anl.gov> <42E9331E.8040108@osafoundation.org> <42E98E9A.70105@sbit.krasnoyarsk.su> Message-ID: <42E9C566.3010405@osafoundation.org> Andrey Plotnikov wrote: > I use m2crypto with openssl-0.9.8 for working with S/MIME mails. > Its my patch for building m2crypto with openssl-0.9.8. While your patch may make it work with 0.9.8 (haven't tested) it will break with OpenSSL releases prior to that. What is needed for the official M2Crypto is to make another const define for OpenSSL 0.9.8 which expands to const there and to nothing in prior releases. This is what I did for the earlier constness changes. -- Heikki Toivonen -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 253 bytes Desc: OpenPGP digital signature URL: From heikki at OSAFOUNDATION.ORG Sat Jul 30 01:32:44 2005 From: heikki at OSAFOUNDATION.ORG (Heikki Toivonen) Date: Fri, 29 Jul 2005 16:32:44 -0700 Subject: [PYTHON-CRYPTO] M2Crypto Release Candidate 2 Message-ID: <42EABC9C.1090304@osafoundation.org> I want to get the gears rolling towards the next M2Crypto release (0.14 perhaps, but not yet sure). In this M2Crypto release: * Support for OpenSSL up to 0.9.8 * Support for SWIG 1.3.24 * Support for Python 2.4 * Twisted integration * Eliminated C pointers from interfaces (some may still remain in callbacks) * Many cases where Python interpreter crashed have been fixed * Improved thread safety of many callbacks * Memory leak fixes * And of course more of the OpenSSL API is covered, new docstrings and tests have been written This is a call for people to test the Subversion revision number 310, which is the release candidate. To get the source, do this: svn co -r 310 http://svn.osafoundation.org/m2crypto/trunk m2 Please report on this list if you think there are any blockers for this release. Currently known bugs: https://bugzilla.osafoundation.org/buglist.cgi?product=M2Crypto&bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED Also, please respond with information about the configurations where this release works or does not work. I have personally tested with the following: * Windows XP - Cygwin 1.5.18 - Cygwin OpenSSL 0.9.8 - Cygwin SWIG 1.3.24 - Cygwin Python 2.4 * Debian (testing) - OpenSSL 0.9.7e - SWIG 1.3.24 - Python 2.3.5 Changes since release candidate 1: * Support OpenSSL 0.9.8 * Commented out X509_check_ca which is not supported in all OpenSSL 0.9.7 versions -- Heikki Toivonen -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 253 bytes Desc: OpenPGP digital signature URL: