ANN: M2Crypto 0.17

Heikki Toivonen heikki at osafoundation.org
Thu Dec 21 06:40:47 CET 2006


M2Crypto is the most complete Python wrapper for OpenSSL.

Homepage: http://wiki.osafoundation.org/bin/view/Projects/MeTooCrypto

Changes in 0.17:

- setup.py has new test command to run unit tests (requires setuptools)
- Added m2urllib2, by James Bowes (python 2.4 and later, at least for now)
- Added CONNECT proxy for httpslib and m2urllib2, by James Bowes
- Added PKey.get_modulus, X509.get_fingerprint, X509_Name.as_der and
  m2.bn_to_hex, by Thomas Uram
- Prevent Connection.makefile from freeing bio redundantly, by Thomas Uram
- Added Err.peek_error_code, by Thomas Uram
- Fixed m2urllib.open_https to return the response headers, otherwise
code that relied on that would break (for example msnlib-3.5), by Arno
Bakker
- Fixed twisted wrapper to work with >16kb BIO buffers, by Martin Paljak
- Added support for remaining ECs, by Larry Bugbee
- Fixed DSA.save_key and DSA_.save_pub_key, by Larry Bugbee
- SSL.Context.load_verify_locations raises ValueError if cafile and
capath are both None
- Fixed X509.check_purpose() (was always raising exceptions)
- smime_read_pkcs7 was changed to automatically call
BIO_set_mem_eof_return on memory BIOs because otherwise the read would
fail with "SMIME_Error: not enough data"
- X509.new_extension('subjectKeyIdentifier', 'hash') raises ValueError
instead of crashing Python

-- 
  Heikki Toivonen


More information about the Python-announce-list mailing list