ANN: M2Crypto 0.21.1

2011-01-17 Thread Heikki Toivonen
eb session management; FTP/TLS client and server; S/MIME; ZServerSSL: A HTTPS server for Zope and ZSmime: An S/MIME messenger for Zope. M2Crypto can also be used to provide SSL for Twisted. Smartcards supported through the Engine interface. -- Heikki Toivonen - http://heikkitoivonen.net -- http://mail.

Re: Newbie question regarding SSL and certificate verification

2010-07-31 Thread Heikki Toivonen
munity around it, most of the changes over the last few years have been submitted by someone else than the maintainer. -- Heikki Toivonen - http://heikkitoivonen.net -- http://mail.python.org/mailman/listinfo/python-list

Re: M2Crypto-0.20.2, SWIG-2.0.0, and OpenSSL-1.0.0a build problem

2010-07-17 Thread Heikki Toivonen
://chandlerproject.org/Projects/MeTooCrypto for details on how to get the sources. Thanks any ETA on a new release supporting OpenSSL 1.0.x? I was actually planning on doing a release by the end of June, but life happened. Maybe by the end of August... -- Heikki Toivonen - http://heikkitoivonen.net -- http

Re: M2Crypto-0.20.2, SWIG-2.0.0, and OpenSSL-1.0.0a build problem

2010-07-16 Thread Heikki Toivonen
enSSL changed APIs. M2Crypto trunk works, as will the next M2Crypto release. So at this time, you should check out M2Crypto from the Subversion repository. See http://chandlerproject.org/Projects/MeTooCrypto for details on how to get the sources. -- Heikki Toivonen - http://heikkitoivone

Re: python xmlrpc client with ssl client certificates and standard modules

2010-01-06 Thread Heikki Toivonen
ode: [...] Please note that if you just use the stdlib it is not secure out of the box. With Python 2.6 and the ssl module you can make it so, but it requires some work on your part. See for example http://www.heikkitoivonen.net/blog/2008/10/14/ssl-in-python-26/ -- Heikki Toivonen - http://

Re: AES decrypting in Python

2009-10-07 Thread Heikki Toivonen
l return the last piece of the decrypted data. You might also want to take a look at m2secret[1] which is a small library/utility built on top of M2Crypto to encrypt/decrypt stuff. By default it uses AES. [1] http://www.heikkitoivonen.net/m2secret/ -- Heikki Toivonen - http://heikkitoivonen.net --

ANN: M2Crypto 0.20.2

2009-10-06 Thread Heikki Toivonen
roject.org/Projects/MeTooCrypto. Changelog: - (Re)Enable configuration and use with OpenSSL 0.9.7g and older by disabling RSA PSS methods when using such old OpenSSL that don't support it, thanks to Stef Walter NOTE: If you are using OpenSSL that is newer than 0.9.7g there is no need to update

Re: M2Crypto 0.20.1 won't build on Red Hat Linux

2009-10-01 Thread Heikki Toivonen
hers to build and operate with, but this is the first I hear AES128-SHA might not be turned on anymore. And even stranger still is that the test is explicitly asking for 128 yet it is getting 256 back. Could you rerun the test again just to make sure you can repeat it, and if so, let me know th

Re: M2Crypto 0.20.1 won't build on Red Hat Linux

2009-10-01 Thread Heikki Toivonen
ance notice, while I was on vacation :( Blog is back up, so the URL works again: http://www.heikkitoivonen.net/blog/2009/02/09/m2crypto-build-wrapper-for-fedora-core-based-distributions/ I've also added this to the FAQ: http://chandlerproject.org/Projects/MeTooCrypto#Code -- Heikki Toi

ANN: M2Crypto 0.20.1

2009-08-28 Thread Heikki Toivonen
roject.org/Projects/MeTooCrypto. Changelog: - Fix regression in httpslib.ProxyHTTPSConnection, by Miloslav Trmac -- Heikki Toivonen - http://heikkitoivonen.net -- http://mail.python.org/mailman/listinfo/python-list

ANN: M2Crypto 0.20

2009-08-10 Thread Heikki Toivonen
de to unit tests, and used FIPS-compliant key sizes in other tests, by Miloslav Trmac. Note that tests run much slower because of this! - Unit tests cover 80% of the code -- Heikki Toivonen - http://heikkitoivonen.net -- http://mail.python.org/mailman/listinfo/python-list

Re: Setuptools - help!

2009-08-07 Thread Heikki Toivonen
stem Python packages. I like using virtualenv to create isolated Python environments. I can easily install whatever Python packages I want into each environment, delete them when I am done with them or messed up etc. http://pypi.python.org/pypi/virtualenv -- Heikki Toivonen - http://heikkitoivonen.n

Re: M2Crypto: How to generate subjectKeyIdentifier / authorityKeyIdentifier

2009-08-04 Thread Heikki Toivonen
eckin, but which might help you out: https://bugzilla.osafoundation.org/show_bug.cgi?id=7530 https://bugzilla.osafoundation.org/show_bug.cgi?id=12151 -- Heikki Toivonen - http://heikkitoivonen.net -- http://mail.python.org/mailman/listinfo/python-list

Re: M2Crypto: X509.X509_Extension_Stack() throws AssertionError

2009-08-03 Thread Heikki Toivonen
AltName. With the change in spelling for subjectAltName your test passes for me using OpenSSL 1.0.0beta3 and M2Crypto 0.20beta with the (still incomplete) patch to make M2Crypto work with OpenSSL 1.0: https://bugzilla.osafoundation.org/show_bug.cgi?id=12855 -- Heikki Toivonen - http://heikkito

Re: M2Crypto: AttributeError: 'CSR' object has no attribute 'pkey'

2009-08-01 Thread Heikki Toivonen
won't cause any surprises. In other words, write the above as: if cert_extension_stack is not None: -- Heikki Toivonen - http://heikkitoivonen.net -- http://mail.python.org/mailman/listinfo/python-list

Re: M2Crypto hangs on this URL

2009-07-28 Thread Heikki Toivonen
ction(ctx) c.connect(('sagar310.pontins.com', 443)) c.send('GET /sraep/ \n') c.close() -- Heikki Toivonen - http://heikkitoivonen.net -- http://mail.python.org/mailman/listinfo/python-list

Re: validating HTTPS certificates?

2009-06-29 Thread Heikki Toivonen
tually verify the server's certificate. Right, stdlib does not do this for you automatically. You'd either need to write that code yourself, or use a third party library. I wrote a long post about this when 2.6 came out: http://www.heikkitoivonen.net/blog/2008/10/14/ssl-in-python-26/ --

pexpect and inconsistent exit values

2008-12-15 Thread Heikki Toivonen
hon dep.py cmd= true child exitstatus= None child signalstatus= 1 child status= 1 I have tried various other commands, and I just can't seem to be able to get reliable exit codes from commands I execute. Any ideas what is going on? -- Heikki Toivonen - http://heikkitoivonen.net -- http://mail.python.org/mailman/listinfo/python-list

pexpect and inconsistent exit codes

2008-12-11 Thread Heikki Toivonen
envs/fabexp$ python dep.py cmd= true child exitstatus= None child signalstatus= 1 child status= 1 I have tried various other commands, and I just can't seem to be able to get reliable exit codes from commands I execute. Any ideas what is going on? -- Heikki Toivonen - http://heikkitoivonen.net -- http://mail.python.org/mailman/listinfo/python-list

Re: m2crypto loading cert file from memory buffer

2008-12-05 Thread Heikki Toivonen
Typically certificates are public, for example all of your peers will get the certificate anyway, so I don't see this as a problem. Your private key is what you want to protect. Just make sure it is not concatenated to your certificate file and there would probably be no problem leaving the c

ANN: M2Crypto 0.19.1

2008-10-12 Thread Heikki Toivonen
Python 2.4 with Py_ssize_t patches Download link available from the M2Crypto homepage: http://chandlerproject.org/Projects/MeTooCrypto Or use easy_install (may not work on all systems): easy_install M2Crypto -- Heikki Toivonen - http://www.heikkitoivonen.net -- http://mail.python.org/mailma

ANN: Solu 0.1 - Office Resource Finder

2008-10-08 Thread Heikki Toivonen
e's information. Besides the easy installation, all you need to set up an instance is your office map or office floorplan or blueprints stored as an image file. This is the first public release. Solu Project Homepage: http://www.heikkitoivonen.net/solu/ Enjoy! -- Heikki Toivonen - http://ww

ANN: M2Crypto 0.19

2008-10-05 Thread Heikki Toivonen
eTooCrypto Or use easy_install (may not work on all systems): easy_install M2Crypto -- Heikki Toivonen - http://www.heikkitoivonen.net -- http://mail.python.org/mailman/listinfo/python-list

Re: urllib getting SSL certificate info

2008-08-20 Thread Heikki Toivonen
link to it from the M2Crypto homepage: http://chandlerproject.org/Projects/MeTooCrypto -- Heikki Toivonen - http://www.heikkitoivonen.net -- http://mail.python.org/mailman/listinfo/python-list

ANN: Chandler 1.0

2008-08-09 Thread Heikki Toivonen
m the Chandler Project homepage. Thanks for your interest in Chandler Desktop! -- Heikki Toivonen - http://www.heikkitoivonen.net -- http://mail.python.org/mailman/listinfo/python-list

Re: Undocumented Python 2.6 change: Py_None vs NULL when C implementation raises exception

2008-07-23 Thread Heikki Toivonen
Martin v. Löwis wrote: > Heikki Toivonen wrote: >> I tracked this down to the C code incorrectly returning Py_None when it >> should have returned NULL. Changing the C code to return NULL made it >> behave correctly in 2.6. > > Can you please be specific what fun

Undocumented Python 2.6 change: Py_None vs NULL when C implementation raises exception

2008-07-23 Thread Heikki Toivonen
anges for 2.6 that this behavior changed, don't you think? -- Heikki Toivonen -- http://mail.python.org/mailman/listinfo/python-list

Re: SSL through python. possible ?

2008-05-05 Thread Heikki Toivonen
at does not work with 2.3, let me know and I'll fix it. -- Heikki Toivonen -- http://mail.python.org/mailman/listinfo/python-list

Re: Python and SOAP status

2008-05-02 Thread Heikki Toivonen
Sorry, suds link should have been https://fedorahosted.org/suds -- Heikki Toivonen -- http://mail.python.org/mailman/listinfo/python-list

Python and SOAP status

2008-05-02 Thread Heikki Toivonen
://trac.optio.webfactional.com/) and suds (http://trac.optio.webfactional.com/). If you have any experience in using these, I'd very much like to hear from you. There was quite a depressing post about ZSI's status at http://www.kunxi.org/archives/2008/01/pythonsoap-second-encounter/. --

Re: SSL through python. possible ?

2008-05-02 Thread Heikki Toivonen
Mike Driscoll wrote: > On Apr 29, 8:56 am, TkNeo <[EMAIL PROTECTED]> wrote: >> I need to do SSL file transfer using python? Is there a library i can >> use ? > > http://sandbox.rulemaker.net/ngps/m2/ M2Crypto has since moved to http://chandlerproject.org/Project

Re: [Python 2.4/2.5] subprocess module is sorely deficient?

2008-04-22 Thread Heikki Toivonen
ctions in cross-platform way. I actually blogged about this a week ago so rather than rehash the issues I'll point you to the article which contains links to all the pieces we used: http://www.heikkitoivonen.net/blog/2008/04/16/pythons-ossystem-considered-harmful/ -- Heikki Toivo

Re: Any experience with Python on a PDA ?

2008-02-27 Thread Heikki Toivonen
running Python 2.5 on Cingular 8525 was not very good. Launching Python itself took close to 10 seconds, and then you add your application launch on top of that. I used Tkinter for UI, and Tkinter often failed to load, requiring soft reset. Once the app was running, though, the speed was ok.

ANN: CaltrainPy 0.2

2008-01-16 Thread Heikki Toivonen
screenshot here: http://www.heikkitoivonen.net/blog/2008/01/16/caltrainpy-02/ -- Heikki Toivonen -- http://mail.python.org/mailman/listinfo/python-list

ANN: Chandler 0.7.3

2007-12-06 Thread Heikki Toivonen
The Chandler Project is pleased to announce the 0.7.3 release of Chandler Desktop! Chandler Desktop is an open source, standards-based personal information manager (PIM) built around small group collaboration and a core set of information management workflows modeled on Inbox usage patterns and Da

ANN: Chandler 0.7.2

2007-11-14 Thread Heikki Toivonen
The Chandler Project is pleased to announce the 0.7.2 release of Chandler Desktop! Download links, information on mailing lists, and how to get the sources are available from the homepage[1]. The 0.7.2 release is the second in a series of quick, time-based releases since Chandler Preview 0.7.0.1

Re: Eclipse Plugins

2007-10-26 Thread Heikki Toivonen
use some automatic refactoring tools but support that that is pretty primitive for Python at the moment. PyDev is open source, and the developer is pretty responsive, so if you could describe what is missing there is a good chance it would get implemented. I even fixed two bugs myself, my first ever

ANN: M2Crypto 0.18.2

2007-10-12 Thread Heikki Toivonen
least Red Hat Linux and Debian Linux (unstable). -- Heikki Toivonen -- http://mail.python.org/mailman/listinfo/python-list

ANN: Chandler 0.7.1

2007-10-10 Thread Heikki Toivonen
p masters before occurrences Bug #10913 AttributeError: 'NoneType' object has no attribute 'status' when resubmitting an HTTP request Bug #10941 SSL certificate errors should not be hijacked by the generic sharing error dialog Thanks for your interest in Chandler Desktop! -- Heikki Toivonen -- http://mail.python.org/mailman/listinfo/python-list

Re: M2Crypto possible intermittent bug

2007-10-10 Thread Heikki Toivonen
ols, and place breakpoints in |case SSL_ERROR_SYSCALL| blocks (from _ssl.i). Then rerun the tests. That would be my first guess as to where these might be coming from. -- Heikki Toivonen -- http://mail.python.org/mailman/listinfo/python-list

ANN: M2Crypto 0.18.1

2007-10-08 Thread Heikki Toivonen
affects at least Fedora Core systems. -- Heikki Toivonen -- http://mail.python.org/mailman/listinfo/python-list

Re: TwistedMatrix missing OpenSSL?

2007-10-05 Thread Heikki Toivonen
viewcvs.osafoundation.org/m2crypto/trunk/M2Crypto/SSL/TwistedProtocolWrapper.py?view=markup And you can find the said projects here: http://chandlerproject.org/Projects/MeTooCrypto http://trevp.net/tlslite/ -- Heikki Toivonen -- http://mail.python.org/mailman/listinfo/python-list

Re: TwistedMatrix missing OpenSSL?

2007-10-05 Thread Heikki Toivonen
t checked). http://pyopenssl.sourceforge.net/ http://www.keyphrene.com/products/pyOpenSSL-extended/index.php?lng=en -- Heikki Toivonen -- http://mail.python.org/mailman/listinfo/python-list

ANN: Chandler Preview (0.7.0.1)

2007-10-04 Thread Heikki Toivonen
/ -- Heikki Toivonen -- http://mail.python.org/mailman/listinfo/python-list

Re: Python and SSL

2007-09-30 Thread Heikki Toivonen
ies. I also tried to download a ready-made FC8t1 VMWare appliance, but it fails to boot. So currently I am dead in the water. -- Heikki Toivonen -- http://mail.python.org/mailman/listinfo/python-list

Re: Python and SSL

2007-09-28 Thread Heikki Toivonen
, you need to use a third party module. There are a few available, including M2Crypto, TLS Lite, pyOpenSSL and pyOpenSSL-extended. Since I am the maintainer of M2Crypto I will naturally recommend that ;) http://chandlerproject.org/Projects/MeTooCrypto -- Heikki Toivonen -- http://mail.p

Re: M2Crypto 0.18 - new version, same old build bugs - more details

2007-09-24 Thread Heikki Toivonen
d address this for real this time. At least -includeall appears in my Ubuntu Dapper Drake environment. Could you give it a go and let me know how it works? -- Heikki Toivonen -- http://mail.python.org/mailman/listinfo/python-list

Re: M2Crypto 0.18 - new version, same old build bugs.

2007-09-21 Thread Heikki Toivonen
?id=9404 and fixed, at least according to the person who reported the bug. I'd be curious to know why the fix does not work for you... As an alternative, does it work if you add line 130 to setup.py: '-DOPENSSL_NO_EC', # Uncomment if you have trouble compiling without EC support -- Heikki Toivonen -- http://mail.python.org/mailman/listinfo/python-list

Re: wxPython before MainLoop

2007-08-09 Thread Heikki Toivonen
lication/Application.py#1421 3. Start MainLoop http://lxr.osafoundation.org/source/chandler/Chandler.py#086 -- Heikki Toivonen -- http://mail.python.org/mailman/listinfo/python-list

ANN: M2Crypto 0.18

2007-07-27 Thread Heikki Toivonen
tly faster. -- Heikki Toivonen -- http://mail.python.org/mailman/listinfo/python-list

Re: M2Crypto-0.17 blocks python threads?

2007-06-01 Thread Heikki Toivonen
[EMAIL PROTECTED] wrote: > I am having a problem with python threads and M2Crypto. It appears > the M2Crypto used in multi-thread application blocks other threads > from running: This turned into https://bugzilla.osafoundation.org/show_bug.cgi?id=9401 Thanks for the report! --

ANN: CaltrainPy 0.1

2007-05-29 Thread Heikki Toivonen
other ideas and patches welcome as well. -- Heikki Toivonen -- http://mail.python.org/mailman/listinfo/python-list

Re: Debugging multithreaded program using Eclipse/Pydev

2007-04-07 Thread Heikki Toivonen
set_trace() in your code and that way you will break on any thread. Currently I am using pydev myself, having gone through WingIDE and Komodo. -- Heikki Toivonen -- http://mail.python.org/mailman/listinfo/python-list

Re: Python 2.5 fails where 2.4 works when running external program

2007-03-29 Thread Heikki Toivonen
rred use is to pass a > single argument to an exception (which can be a tuple if multiple arguments > are needed) and have it bound to the message attribute. > """ Excellent, thank you! -- Heikki Toivonen -- http://mail.python.org/mailman/listinfo/python-list

Python 2.5 fails where 2.4 works when running external program

2007-03-29 Thread Heikki Toivonen
xternalCommandErrorWithOutputList', e, e.outputList except Exception, e: print 'Exception', e type, value, stack = sys.exc_info() print ''.join(traceback.format_exception(type, value, stack)) except: print 'except' type, value, stack = sys.exc_info() print ''.join(traceback.format_exception(type, value, stack)) else: print 'else' print '*' * 20 ---CLIP--- -- Heikki Toivonen -- http://mail.python.org/mailman/listinfo/python-list

Re: More M2Crypto issues

2007-01-19 Thread Heikki Toivonen
te which one works... I think the oldest that I have personally tested may have been 0.9.7d. -- Heikki Toivonen -- http://mail.python.org/mailman/listinfo/python-list

Re: More M2Crypto issues

2007-01-19 Thread Heikki Toivonen
I'm doing something that requires M2Crypto to > run on a range of machines, which turns out to be rather harder > than expected. Which version of OpenSSL is that? -- Heikki Toivonen -- http://mail.python.org/mailman/listinfo/python-list

Re: More M2Crypto issues

2007-01-19 Thread Heikki Toivonen
SWIG. I'm adding this to the FAQ. -- Heikki Toivonen -- http://mail.python.org/mailman/listinfo/python-list

Re: Wierd M2Crypto bug - phony "peer did not return certificate" error

2007-01-12 Thread Heikki Toivonen
s connection? In your case you could achieve what you want by calling connection_object.socket.settimeout(4.0) method just before calling connect, without needing to edit M2Crypto itself. setdefaulttimeout, socket.settimeout and socket.setblocking are pretty confusing... -- Heikki

Re: More M2Crypto issues. Not big ones, though.

2007-01-12 Thread Heikki Toivonen
works as it should. Any UTF8 (and other encoding) samples would be welcome. > Other than that, I'm having relatively good results with M2Crypto. Glad to hear. -- Heikki Toivonen -- http://mail.python.org/mailman/listinfo/python-list

Re: Wierd M2Crypto bug - phony "peer did not return certificate" error

2007-01-11 Thread Heikki Toivonen
nlikely. They are pretty small code wise, though, so it is not an impossible task. Personally I think I'd prefer if Python stdlib contained a better SSL module that did at least all the checks required for safe SSL connection. (Yeah, yeah, maybe I need to write it myself if nobody else gets to i

Re: Wierd M2Crypto bug - phony "peer did not return certificate" error

2007-01-10 Thread Heikki Toivonen
need Windows and Mac specific parts before it can be checked in. -- Heikki Toivonen -- http://mail.python.org/mailman/listinfo/python-list

ANN: M2Crypto 0.17

2006-12-20 Thread Heikki Toivonen
ith "SMIME_Error: not enough data" - X509.new_extension('subjectKeyIdentifier', 'hash') raises ValueError instead of crashing Python -- Heikki Toivonen -- http://mail.python.org/mailman/listinfo/python-list

ANN: M2Crypto 0.17beta1

2006-12-05 Thread Heikki Toivonen
on memory BIOs because otherwise the read would fail with "SMIME_Error: not enough data" -- Heikki Toivonen -- http://mail.python.org/mailman/listinfo/python-list

Re: Python and SSL enabled

2006-11-01 Thread Heikki Toivonen
Currently you need to install M2Crypto before you can run the tests. Next version of M2Crypto will have an option to run tests without installing. I'd assume if copied the sources to your own site-packages dir and set the PYTHONPATH environment variable this would have worked. Notice that you&#

Re: Python and SSL enabled

2006-10-31 Thread Heikki Toivonen
ort, the 3rd party libs are found in the same dir. -- Heikki Toivonen -- http://mail.python.org/mailman/listinfo/python-list

Re: Python and SSL enabled

2006-10-25 Thread Heikki Toivonen
dlib SSL does not provide certificate checking etc. security features you almost certainly want in a production application. There are several 3rd party Python crypto libraries that provide more secure SSL out of the box, for example M2Crypto. -- Heikki Toivonen -- http://mail.python.org/mailman/listinfo/python-list

Re: SSL follow up

2006-10-25 Thread Heikki Toivonen
those openssl commands handy? If > not, I can look through the documentation tommorrow. I would be surprised if M2Crypto did not provide what you want. If it doesn't, I'd be happy to add the functionality. -- Heikki Toivonen -- http://mail.python.org/mailman/listinfo/python-list

Re: Obtaining SSL certificate info from SSL object - BUG?

2006-10-25 Thread Heikki Toivonen
connected to the server you intended to, it would be better to let M2Crypto do it for you or use the M2Crypto SSL.Checker class explicitly yourself. Other Python crypto libraries probably have equivalent APIs. -- Heikki Toivonen -- http://mail.python.org/mailman/listinfo/python-list

Re: https client certificate validation

2006-10-25 Thread Heikki Toivonen
rce/tests/test_ssl.py#478 -- Heikki Toivonen -- http://mail.python.org/mailman/listinfo/python-list

Re: httplib and HTTPS Connections

2006-10-18 Thread Heikki Toivonen
es that, so we don't have any ssl versions available to do the connection. The easiest way to fix this is to take out the argument to SSL.Context() and let it use the defaults (defaults to all ssl versions). I am fixing that demo as we speak, so it will be included in the next M2Crypto releas

Re: httplib and HTTPS Connections

2006-10-17 Thread Heikki Toivonen
(what is the point of SSL if not secure I ask) you should look at other Python modules. There are several to choose from, for example M2Crypto (I am the maintainer of that), TLS Lite, PyOpenSSL, PyOpenSSL-extended, and possibly others that I am forgetting right now. -- Heikki Toivonen

Re: httplib and HTTPS Connections

2006-10-17 Thread Heikki Toivonen
(what is the point of SSL if not secure I ask) you should look at other Python modules. There are several to choose from, for example M2Crypto (I am the maintainer of that), TLS Lite, PyOpenSSL, PyOpenSSL-extended, and possibly others that I am forgetting right now. -- Heikki Toivonen

Re: wing ide vs. komodo?

2006-10-13 Thread Heikki Toivonen
Eclipse, or that's how the scene seems to me. You are confusing Pydev and Pydev Extensions. The former is free, the latter costs money and has some advanced features. The Pydev maintainer launched Pydev Extensions to get some extra cash and let him spend more time on Pydev development. -- H

Re: wing ide vs. komodo?

2006-10-13 Thread Heikki Toivonen
t. I am currently a Pydev user. I like Pydev because it is open source, cross platform, supports multi-threaded debugging, and simply because Eclipse provides so much stuff (although it is a pretty steep learning curve and it has its own annoyances). -- Heikki Toivonen -- http://mail.python.org/mailman/listinfo/python-list

Re: wing ide vs. komodo?

2006-10-13 Thread Heikki Toivonen
t. I am currently a Pydev user. I like Pydev because it is open source, cross platform, supports multi-threaded debugging, and simply because Eclipse provides so much stuff (although it is a pretty steep learning curve and it has its own annoyances). -- Heikki Toivonen -- http://mail.python.org/mailman/listinfo/python-list

Re: does anybody earn a living programming in python?

2006-09-25 Thread Heikki Toivonen
Python's share has grown by about 1% a year for several years in a row. I think it was around 10-13% a year or two ago. Interestingly enough, Pythonistas earned relatively high salaries compared to others. -- Heikki Toivonen -- http://mail.python.org/mailman/listinfo/python-list

Re: How to measure memory footprint of Python objects?

2006-09-20 Thread Heikki Toivonen
aken during the run upon exiting my Python program > (like I already do for the time taken to run). You could try PySizer: http://pysizer.8325.org/ -- Heikki Toivonen -- http://mail.python.org/mailman/listinfo/python-list

Cross-platform application restart?

2006-09-06 Thread Heikki Toivonen
Is there any way to restart a Python (GUI) application that would work on Windows, Mac OS X and Linux? I'd like to provide a "restart" button to a dialog that would restart the application to pick new changes or start with different options. -- Heikki Toivonen -- http://

ANN: M2Crypto 0.16

2006-07-05 Thread Heikki Toivonen
newer o Some optional new features will require OpenSSL 0.9.8 or newer * SWIG 1.3.24 or newer Get it while it's hot from M2Crypto homepage: http://wiki.osafoundation.org/bin/view/Projects/MeTooCrypto -- Heikki Toivonen -- http://mail.python.org/mailman/listinfo/python-list

ANN: M2Crypto 0.16beta1

2006-06-02 Thread Heikki Toivonen
0.9.8 or newer * SWIG 1.3.24 or newer Get it while it's hot from M2Crypto homepage: http://wiki.osafoundation.org/bin/view/Projects/MeTooCrypto -- Heikki Toivonen -- http://mail.python.org/mailman/listinfo/python-list

Building Python (2.4.x) with Visual C++ 2005 Express Edition?

2006-05-05 Thread Heikki Toivonen
them in vcexpress to convert the projects) and the compilation finished without errors (although with a bunch of deprecation warnings). But when I try to run, python crashes on startup. Has anyone gotten this to work? -- Heikki Toivonen -- http://mail.python.org/mailman/listinfo/python-list

Re: Using ElementTree to tidy up an XML string to my liking

2006-02-24 Thread Heikki Toivonen
e to the Mozilla forums for advice on that. -- Heikki Toivonen -- http://mail.python.org/mailman/listinfo/python-list

Re: Multi-threaded SSL

2006-02-22 Thread Heikki Toivonen
osafoundation.org/bin/view/Projects/MeTooCrypto), both of which provide an alternative SSL transport implementation for Twisted. -- Heikki Toivonen -- http://mail.python.org/mailman/listinfo/python-list

Re: RSA in python

2006-02-21 Thread Heikki Toivonen
e Key 2304:error:0906D06C:PEM routines:PEM_read_bio:no start line:pem_lib.c:644:Expect ing: ANY PRIVATE KEY My suggestion would be to ask on the openssl-users list. -- Heikki Toivonen signature.asc Description: OpenPGP digital signature -- http://mail.python.org/mailman/listinfo/python-list

Re: RSA in python

2006-02-17 Thread Heikki Toivonen
Abhisek Datta wrote: > I am looking for good RSA implementations in python that can import a > public key in PEM format and encrypt a buffer using the imported > public key. I tried m2crypto, but somehow it is giving me exceptions > which I couldnt solve as of now. What you are trying to do should

Re: Errors testing m2crypto

2005-12-16 Thread Heikki Toivonen
; "/usr/local/lib/python2.3/site-packages/M2Crypto/SSL/Context.py", > line 41, in __init__ > map()[self.ctx] = self > File > "/usr/local/lib/python2.3/site-packages/M2Crypto/SSL/Context.py", > line 20, in __setitem__ > self.map[key] = value > TypeE

ANN: M2Crypto 0.15

2005-08-30 Thread Heikki Toivonen
/0.15 m2crypto-0.15 Enjoy! -- Heikki Toivonen -- http://mail.python.org/mailman/listinfo/python-list