ChangeLog 24 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653
  1. 2013-08-11 Christian Heimes <christian@python.org>
  2. * OpenSSL/crypto/x509ext.c: Fix handling of NULL bytes inside
  3. subjectAltName general names when formatting an X509 extension
  4. as a string.
  5. * OpenSSL/crypto/x509.c: Fix memory leak in get_extension().
  6. 2011-09-02 Jean-Paul Calderone <exarkun@twistedmatrix.com>
  7. * Release 0.13
  8. 2011-06-12 Jean-Paul Calderone <exarkun@twistedmatrix.com>
  9. * OpenSSL/crypto/pkey.c: Add the PKey.check method, mostly
  10. implemented by Rick Dean, to verify the internal consistency of a
  11. PKey instance.
  12. 2011-06-12 Jean-Paul Calderone <exarkun@twistedmatrix.com>
  13. * OpenSSL/crypto/crypto.c: Fix the sign and verify functions so
  14. they handle data with embedded NULs. Fix by David Brodsky
  15. <lp:~lihalla>.
  16. 2011-05-20 Jean-Paul Calderone <exarkun@twistedmatrix.com>
  17. * OpenSSL/ssl/connection.c, OpenSSL/test/test_ssl.py: Add a new
  18. method to the Connection type, get_peer_cert_chain, for retrieving
  19. the peer's certificate chain.
  20. 2011-05-19 Jean-Paul Calderone <exarkun@twistedmatrix.com>
  21. * OpenSSL/crypto/x509.c, OpenSSL/test/test_crypto.py: Add a new
  22. method to the X509 type, get_signature_algorithm, for inspecting
  23. the signature algorithm field of the certificate. Based on a
  24. patch from <lp:~okuda>.
  25. 2011-05-10 Jean-Paul Calderone <exarkun@twistedmatrix.com>
  26. * OpenSSL/crypto/crypto.h: Work around a Windows/OpenSSL 1.0 issue
  27. explicitly including a Windows header before any OpenSSL headers.
  28. * OpenSSL/crypto/pkcs12.c: Work around an OpenSSL 1.0 issue by
  29. explicitly flushing errors known to be uninteresting after calling
  30. PKCS12_parse.
  31. * OpenSSL/ssl/context.c: Remove SSLv2 support if the underlying
  32. OpenSSL library does not provide it.
  33. * OpenSSL/test/test_crypto.py: Support an OpenSSL 1.0 change from
  34. MD5 to SHA1 by allowing either hash algorithm's result as the
  35. return value of X509.subject_name_hash.
  36. * OpenSSL/test/test_ssl.py: Support an OpenSSL 1.0 change from MD5
  37. to SHA1 by constructing certificate files named using both hash
  38. algorithms' results when testing Context.load_verify_locations.
  39. * Support OpenSSL 1.0.0a.
  40. 2011-04-15 Jean-Paul Calderone <exarkun@twistedmatrix.com>
  41. * OpenSSL/ssl/ssl.c: Add OPENSSL_VERSION_NUMBER, SSLeay_version
  42. and related constants for retrieving version information about the
  43. underlying OpenSSL library.
  44. 2011-04-07 Jean-Paul Calderone <exarkun@twistedmatrix.com>
  45. * Release 0.12
  46. 2011-04-06 Jean-Paul Calderone <exarkun@twistedmatrix.com>
  47. * OpenSSL/crypto/x509.c: Add get_extension_count and get_extension
  48. to the X509 type, allowing read access to certificate extensions.
  49. * OpenSSL/crypto/x509ext.c: Add get_short_name and get_data to the
  50. X509Extension type, allowing read access to the contents of an
  51. extension.
  52. 2011-03-21 Olivier Hervieu <lp:~ohe>
  53. * OpenSSL/ssl/ssl.c: Expose a number of symbolic constants for
  54. values passed to the connection "info" callback.
  55. 2011-01-22 Jean-Paul Calderone <exarkun@twistedmatrix.com>
  56. * OpenSSL/ssl/connection.py: Add support for new-style
  57. buffers (primarily memoryviews) to Connection.send and
  58. Connection.sendall.
  59. 2010-11-01 Jean-Paul Calderone <exarkun@twistedmatrix.com>
  60. * Release 0.11
  61. 2010-10-07 Jean-Paul Calderone <exarkun@twistedmatrix.com>
  62. * Initial support for Python 3.x throughout the codebase.
  63. 2010-09-14 Jean-Paul Calderone <exarkun@twistedmatrix.com>
  64. * OpenSSL/crypto/netscape_spki.c: Fix an off-by-one mistake in the
  65. error handling for NetscapeSPKI.verify. Add additional error
  66. checking to NetscapeSPKI.sign to handle the case where there is no
  67. private key.
  68. * OpenSSL/crypto/x509.c: Fix an overflow bug in the subject_name_hash
  69. method of the X509 type which would cause it to return negative
  70. values on 32 bit systems.
  71. * OpenSSL/crypto/x509req.c: Fix an off-by-one mistake in the error
  72. handling for X509Req.verify.
  73. * OpenSSL/ssl/context.c: Fix the error handling in the load_tmp_dh
  74. method of the Context type which would cause it to always raise
  75. MemoryError, regardless of the actual error (such as a bad file
  76. name).
  77. * OpenSSL/test/: Numerous unit tests added, both for above fixes
  78. and for other previously untested code paths.
  79. 2010-07-27 Jean-Paul Calderone <exarkun@twistedmatrix.com>
  80. * Re-arrange the repository so that the package can be built and
  81. used in-place without requiring installation.
  82. 2010-02-27 James Yonan <james@openvpn.net>
  83. * src/crypto/crypto.c: Added crypto.sign and crypto.verify methods
  84. that wrap EVP_Sign and EVP_Verify function families, using code
  85. derived from Dave Cridland's PyOpenSSL branch.
  86. * test/test_crypto.py: Added unit tests for crypto.sign and
  87. crypto.verify.
  88. 2010-01-27 Jean-Paul Calderone <exarkun@twistedmatrix.com>
  89. * src/ssl/connection.c, src/util.h: Apply patch from Sandro Tosi to
  90. fix misspellings of "compatibility".
  91. 2009-11-13 Jean-Paul Calderone <exarkun@twistedmatrix.com>
  92. * Release 0.10
  93. 2009-11-07 Žiga Seilnacht, Jean-Paul Calderone <exarkun@twistedmatrix.com>
  94. * src/ssl/connection.c, src/ssl/context.c: Add set_client_ca_list,
  95. add_client_ca, and get_client_ca_list to Context for manipulating
  96. the list of certificate authority names which are sent by servers
  97. with the certificate request message.
  98. * src/util.h: Add ssize-related defines if the version of Python
  99. being used does not have them.
  100. * setup.py: Significant changes to the way Windows builds are done,
  101. particularly the way OpenSSL headers and libraries are found (with
  102. the new --with-openssl argument to build_ext).
  103. 2009-08-27 Rick Dean <rick@fdd.com>, Jean-Paul Calderone <exarkun@twistedmatrix.com>
  104. * src/crypto/pkcs12.c: Add setters to the PKCS12 type for the
  105. certificate, private key, ca certificate list, and friendly
  106. name, and add a getter for the friendly name. Also add a method
  107. for exporting a PKCS12 object as a string.
  108. * test/test_crypto.py: Add lots of additional tests for the PKCS12
  109. type.
  110. * doc/pyOpenSSL.tex: Documentation for the new PKCS12 methods.
  111. 2009-07-17 Rick Dean <rick@fdd.com>, Jean-Paul Calderone <exarkun@twistedmatrix.com>
  112. * src/crypto/x509ext.c: Add subject and issuer parameters to
  113. X509Extension, allowing creation of extensions which require that
  114. information. Fixes LP#322813.
  115. 2009-07-16 Jean-Paul Calderone <exarkun@twistedmatrix.com>
  116. * test/util.py: Changed the base TestCase's tearDown to assert that
  117. no errors were left in the OpenSSL error queue by the test.
  118. * src/crypto/crypto.c: Add a private helper in support of the
  119. TestCase.tearDown change.
  120. * src/crypto/x509name.c: Changed X509Name's getattr implementation
  121. to clean up the error queue. Fixes LP#314814.
  122. * test/util.c: Changed flush_error_queue to avoid a reference
  123. counting bug caused by macro expansion.
  124. 2009-07-16 Rick Dean <rick@fdd.com>
  125. * src/rand.c: Added OpenSSL.rand.bytes to get random bytes directly.
  126. * src/util.c: Added generic exceptions_from_error_queue to replace
  127. the various other implementations of this function. Also updated
  128. the rest of the codebase to use this version instead.
  129. 2009-07-05 Jean-Paul Calderone <exarkun@twistedmatrix.com>
  130. * test/util.py, test/test_ssl.py, test/test_crypto.py: Fold the
  131. Python 2.3 compatibility TestCase mixin into the TestCase defined
  132. in util.py.
  133. 2009-07-05 Jean-Paul Calderone <exarkun@twistedmatrix.com>
  134. * test/util.py, test/test_ssl.py, test/test_crypto.py: Stop trying
  135. to use Twisted's TestCase even when it's available. Instead,
  136. always use the stdlib TestCase with a few enhancements.
  137. 2009-07-04 Jean-Paul Calderone <exarkun@twistedmatrix.com>
  138. * Changed most extension types so that they can be instantiated
  139. using the type object rather than a factory function. The old
  140. factory functions are now aliases for the type objects.
  141. Fixes LP#312786.
  142. 2009-05-27 Jean-Paul Calderone <exarkun@twistedmatrix.com>
  143. * Changed all docstrings in extension modules to be friendlier
  144. towards Python programmers. Fixes LP#312787.
  145. 2009-05-27 Jean-Paul Calderone <exarkun@twistedmatrix.com>
  146. * src/crypto/x509ext.c: Correctly deallocate the new Extension
  147. instance when there is an error initializing it and it is not
  148. going to be returned. Resolves LP#368043.
  149. 2009-05-11 Jean-Paul Calderone <exarkun@twistedmatrix.com>
  150. * test/test_crypto.py: Use binary mode for the pipe to talk to the
  151. external openssl binary. The data being transported over this
  152. pipe is indeed binary, so previously it would often be truncated
  153. or otherwise mangled.
  154. * src/ssl/connection.h, src/ssl/connection.c, test/test_ssl.py:
  155. Extend the Connection class with support for in-memory BIOs. This
  156. allows SSL to be run without a real socket, useful for
  157. implementing EAP-TLS or using SSL with Windows IO completion
  158. ports, for example. Based heavily on contributions from Rick
  159. Dean.
  160. 2009-04-25 Jean-Paul Calderone <exarkun@twistedmatrix.com>
  161. * Release 0.9
  162. 2009-04-01 Jean-Paul Calderone <exarkun@twistedmatrix.com>
  163. Samuele Pedroni <pedronis@openend.se>
  164. * src/util.h: Delete the TLS key before trying to set a new value
  165. for it in case the current thread identifier is a recycled one (if
  166. it is recycled, the key won't be set because there is already a
  167. value from the previous thread to have this identifier and to use
  168. the pyOpenSSL API).
  169. 2009-04-01 Jean-Paul Calderone <exarkun@twistedmatrix.com>
  170. * src/crypto/crypto.c: Add FILETYPE_TEXT for dumping keys and
  171. certificates and certificate signature requests to a text format.
  172. 2008-12-31 Jean-Paul Calderone <exarkun@twistedmatrix.com>
  173. * src/crypto/x509ext.c, test/test_crypto.py: Add the get_short_name
  174. method to X509Extension based on patch from Alex Stapleton.
  175. 2008-12-31 Jean-Paul Calderone <exarkun@twistedmatrix.com>
  176. * src/crypto/x509ext.c, test/test_crypto.py: Fix X509Extension so
  177. that it is possible to instantiate extensions which use s2i or r2i
  178. instead of v2i (an extremely obscure extension implementation
  179. detail).
  180. 2008-12-30 Jean-Paul Calderone <exarkun@twistedmatrix.com>
  181. * MANIFEST.in, src/crypto/crypto.c, src/crypto/x509.c,
  182. src/crypto/x509name.c, src/rand/rand.c, src/ssl/context.c: Changes
  183. which eliminate compiler warnings but should not change any
  184. behavior.
  185. 2008-12-28 Jean-Paul Calderone <exarkun@twistedmatrix.com>
  186. * test/test_ssl.py, src/ssl/ssl.c: Expose DTLS-related constants,
  187. OP_NO_QUERY_MTU, OP_COOKIE_EXCHANGE, and OP_NO_TICKET.
  188. 2008-12-28 Jean-Paul Calderone <exarkun@twistedmatrix.com>
  189. * src/ssl/context.c: Add a capath parameter to
  190. Context.load_verify_locations to allow Python code to specify
  191. either or both arguments to the underlying
  192. SSL_CTX_load_verify_locations API.
  193. * src/ssl/context.c: Add Context.set_default_verify_paths, a wrapper
  194. around SSL_CTX_set_default_verify_paths.
  195. 2008-12-28 Jean-Paul Calderone <exarkun@twistedmatrix.com>
  196. * test/test_crypto.py, src/crypto/x509req.c: Added get_version and
  197. set_version_methods to X509ReqType based on patch from Wouter van
  198. Bommel. Resolves LP#274418.
  199. 2008-09-22 Jean-Paul Calderone <exarkun@twistedmatrix.com>
  200. * Release 0.8
  201. 2008-10-19 Jean-Paul Calderone <exarkun@twistedmatrix.com>
  202. * tsafe.py: Revert the deprecation of the thread-safe Connection
  203. wrapper. The Connection class should not segfault if used from
  204. multiple threads now, but it generally cannot be relied on to
  205. produce correct results if used without the thread-safe wrapper.
  206. * doc/pyOpenSSL.tex: Correct the documentation for the set_passwd_cb
  207. callback parameter so that it accurately describes the required
  208. signature.
  209. 2008-09-22 Jean-Paul Calderone <exarkun@twistedmatrix.com>
  210. * Release 0.8a1
  211. 2008-09-21 Jean-Paul Calderone <exarkun@twistedmatrix.com>
  212. * src/ssl/ssl.h, src/ssl/ssl.c: Add a thread-local storage key
  213. which will be used to store and retrieve PyThreadState pointers
  214. whenever it is necessary to release or re-acquire the GIL.
  215. * src/ssl/context.c: Change global_verify_callback so that it
  216. unconditionally manipulates the Python threadstate, rather than
  217. checking the tstate field which is now always NULL.
  218. 2008-04-26 Jean-Paul Calderone <exarkun@twistedmatrix.com>
  219. * src/ssl/context.c: Change global_passphrase_callback and
  220. global_info_callback so that they acquire the GIL before
  221. invoking any CPython APIs and do not release it until after they
  222. are finished invoking all of them (based heavily on on patch
  223. from Dan Williams).
  224. * src/ssl/crypto.c: Initialize OpenSSL thread support so that it
  225. is valid to use OpenSSL APIs from more than one thread (based on
  226. patch from Dan Williams).
  227. * test/test_crypto.py: Add tests for load_privatekey and
  228. dump_privatekey when a passphrase or a passphrase callback is
  229. supplied.
  230. * test/test_ssl.py: Add tests for Context.set_passwd_cb and
  231. Context.set_info_callback.
  232. 2008-04-11 Jean-Paul Calderone <exarkun@twistedmatrix.com>
  233. * Release 0.7
  234. 2008-03-26 Jean-Paul Calderone <exarkun@twistedmatrix.com>
  235. * src/crypto/x509name.c: Add X509Name.get_components
  236. 2008-03-25 Jean-Paul Calderone <exarkun@twistedmatrix.com>
  237. * src/crypto/x509name.c: Add hash and der methods to X509Name.
  238. * src/crypto/x509.c: Fix a bug in X509.get_notBefore and
  239. X509.get_notAfter preventing UTCTIME format timestamps from
  240. working.
  241. 2008-03-12 Jean-Paul Calderone <exarkun@twistedmatrix.com>
  242. * Fix coding problems in examples/. Remove keys and certificates
  243. and add a note about how to generate new ones.
  244. 2008-03-09 Jean-Paul Calderone <exarkun@twistedmatrix.com>
  245. * src/crypto/x509.c: Add getters and setters for the notBefore and
  246. notAfter attributes of X509s.
  247. * src/crypto/pkey.h, src/crypto/pkey.c, src/crypto/x509req.c,
  248. src/crypto/x509.c: Track the initialized and public/private state
  249. of EVP_PKEY structures underlying the crypto_PKeyObj type and
  250. reject X509Req signature operations on keys not suitable for the
  251. task.
  252. 2008-03-06 Jean-Paul Calderone <exarkun@twistedmatrix.com>
  253. * src/crypto/x509name.c: Fix tp_compare so it only returns -1, 0, or
  254. 1. This eliminates a RuntimeWarning emitted by Python.
  255. * src/crypto/x509req.c: Fix reference counting for X509Name returned
  256. by X509Req.get_subject. This removes a segfault when the subject
  257. name outlives the request object.
  258. * src/crypto/x509.c: Change get_serial_number and set_serial_number
  259. to accept Python longs.
  260. * doc/pyOpenSSL.tex: A number of minor corrections.
  261. 2008-03-03 Jean-Paul Calderone <exarkun@twistedmatrix.com>
  262. * src/crypto/crypto.c: Expose X509_verify_cert_error_string. (patch
  263. from Victor Stinner)
  264. 2008-02-22 Jean-Paul Calderone <exarkun@twistedmatrix.com>
  265. * src/ssl/connection.c src/ssl/context.c src/ssl/ssl.c: Fix
  266. compilation on Windows. (patch from Michael Schneider)
  267. 2008-02-21 Jean-Paul Calderone <exarkun@twistedmatrix.com>
  268. * src/ssl/connection.c: Expose SSL_get_shutdown and
  269. SSL_set_shutdown. (patch from James Knight)
  270. * src/ssl/ssl.c: Expose SSL_SENT_SHUTDOWN and SSL_RECEIVED_SHUTDOWN.
  271. (patch from James Knight)
  272. 2008-02-19 Jean-Paul Calderone <exarkun@twistedmatrix.com>
  273. * src/ssl/context.c: Expose SSL_CTX_add_extra_chain_cert.
  274. * src/crypto/x509name.c: Fix memory leaks in __getattr__ and
  275. __setattr_ implementations.
  276. * src/crypto/x509.c: Fix memory leak in X509.get_pubkey().
  277. * leakcheck/: An attempt at a systematic approach to leak
  278. elimination.
  279. 2004-08-13 Martin Sjögren <msjogren@gmail.com>
  280. * Released version 0.6.
  281. 2004-08-11 Martin Sjögren <msjogren@gmail.com>
  282. * doc/pyOpenSSL.tex: Updates to the docs.
  283. 2004-08-10 Martin Sjögren <msjogren@gmail.com>
  284. * src/crypto/x509.c: Add X509.add_extensions based on a patch
  285. from Han S. Lee.
  286. * src/ssl/ssl.c: Add more SSL_OP_ constants. Patch from Mihai
  287. Ibanescu.
  288. 2004-08-09 Martin Sjögren <msjogren@gmail.com>
  289. * setup.py src/crypto/: Add support for Netscape SPKI extensions
  290. based on a patch from Tollef Fog Heen.
  291. * src/crypto/crypto.c: Add support for python passphrase callbacks
  292. based on a patch from Robert Olson.
  293. 2004-08-03 Martin Sjögren <msjogren@gmail.com>
  294. * src/ssl/context.c: Applied patch from Frederic Peters to add
  295. Context.use_certificate_chain_file.
  296. * src/crypto/x509.c: Applid patch from Tollef Fog Heen to add
  297. X509.subject_name_hash and X509.digest.
  298. 2004-08-02 Martin Sjögren <msjogren@gmail.com>
  299. * src/crypto/crypto.c src/ssl/ssl.c: Applied patch from Bastian
  300. Kleineidam to fix full names of exceptions.
  301. 2004-07-19 Martin Sjögren <msjogren@gmail.com>
  302. * doc/pyOpenSSL.tex: Fix the errors regarding X509Name's field names.
  303. 2004-07-18 Martin Sjögren <msjogren@gmail.com>
  304. * examples/certgen.py: Fixed wrong attributes in doc string, thanks
  305. Remy. (SFbug#913315)
  306. * __init__.py, setup.py, version.py: Add __version__, as suggested by
  307. Ronald Oussoren in SFbug#888729.
  308. * examples/proxy.py: Fix typos, thanks Mihai Ibanescu. (SFpatch#895820)
  309. 2003-01-09 Martin Sjögren <martin@strakt.com>
  310. * Use cyclic GC protocol in SSL.Connection, SSL.Context, crypto.PKCS12
  311. and crypto.X509Name.
  312. 2002-12-02 Martin Sjögren <martin@strakt.com>
  313. * tsafe.py: Add some missing methods.
  314. 2002-10-06 Martin Sjögren <martin@strakt.com>
  315. * __init__.py: Import tsafe too!
  316. 2002-10-05 Martin Sjögren <martin@strakt.com>
  317. * src/crypto/x509name.c: Use unicode strings instead of ordinary
  318. strings in getattr/setattr. Note that plain ascii strings should
  319. still work.
  320. 2002-09-17 Martin Sjögren <martin@strakt.com>
  321. * Released version 0.5.1.
  322. 2002-09-09 Martin Sjögren <martin@strakt.com>
  323. * setup.cfg: Fixed build requirements for rpms.
  324. 2002-09-07 Martin Sjögren <martin@strakt.com>
  325. * src/ssl/connection.c: Fix sendall() method. It segfaulted because
  326. it was too generous about giving away the GIL.
  327. * Added SecureXMLRPCServer example, contributed by Michal Wallace.
  328. 2002-09-06 Martin Sjögren <martin@strakt.com>
  329. * setup.cfg: Updated the build requirements.
  330. * src/ssl/connection.c: Fix includes for AIX.
  331. 2002-09-04 Anders Hammarquist <iko@strakt.com>
  332. * Added type checks in all the other places where we expect
  333. specific types of objects passed.
  334. 2002-09-04 Martin Sjögren <martin@strakt.com>
  335. * src/crypto/crypto.c: Added an explicit type check in the dump_*
  336. functions, so that they won't die when e.g. None is passed in.
  337. 2002-08-25 Martin Sjögren <martin@strakt.com>
  338. * doc/pyOpenSSL.tex: Docs for PKCS12.
  339. 2002-08-24 Martin Sjögren <martin@strakt.com>
  340. * src/crypto: Added basic PKCS12 support, thanks to Mark Welch
  341. <mark@collab.net>
  342. 2002-08-16 Martin Sjögren <martin@strakt.com>
  343. * D'oh! Fixes for python 1.5 and python 2.1.
  344. 2002-08-15 Martin Sjögren <martin@strakt.com>
  345. * Version 0.5. Yay!
  346. 2002-07-25 Martin Sjögren <martin@strakt.com>
  347. * src/ssl/context.c: Added set_options method.
  348. * src/ssl/ssl.c: Added constants for Context.set_options method.
  349. 2002-07-23 Martin Sjögren <martin@strakt.com>
  350. * Updated docs
  351. * src/ssl/connection.c: Changed the get_cipher_list method to actually
  352. return a list! WARNING: This change makes the API incompatible with
  353. earlier versions!
  354. 2002-07-15 Martin Sjögren <martin@strakt.com>
  355. * src/ssl/connection.[ch]: Removed the fileno method, it uses the
  356. transport object's fileno instead.
  357. 2002-07-09 Martin Sjögren <martin@strakt.com>
  358. * src/crypto/x509.c src/crypto/x509name.c: Fixed segfault bug where
  359. you used an X509Name after its X509 had been destroyed.
  360. * src/crypto/crypto.[ch] src/crypto/x509req.c src/crypto/x509ext.[ch]:
  361. Added X509 Extension support. Thanks to maas-Maarten Zeeman
  362. <maas@awanim.com>
  363. * src/crypto/pkey.c: Added bits() and type() methods.
  364. 2002-07-08 Martin Sjögren <martin@strakt.com>
  365. * src/ssl/connection.c: Moved the contents of setup_ssl into the
  366. constructor, thereby fixing some segfault bugs :)
  367. * src/ssl/connection.c: Added connect_ex and sendall methods.
  368. * src/crypto/x509name.c: Cleaned up comparisons and NID lookup.
  369. Thank you Maas-Maarten Zeeman <maas@awanim.com>
  370. * src/rand/rand.c: Fix RAND_screen import.
  371. * src/crypto/crypto.c src/crypto/pkcs7.[ch]: Added PKCS7 management,
  372. courtesy of Maas-Maarten Zeeman <maas@awanim.com>
  373. * src/crypto/x509req.c: Added verify method.
  374. 2002-06-17 Martin Sjögren <martin@strakt.com>
  375. * rpm/, setup.cfg: Added improved RPM-building stuff, thanks to
  376. Mihai Ibanescu <misa@redhat.com>
  377. 2002-06-14 Martin Sjögren <martin@strakt.com>
  378. * examples/proxy.py: Example code for using OpenSSL through a proxy
  379. contributed by Mihai Ibanescu <misa@redhat.com>
  380. * Updated installation instruction and added them to the TeX manual.
  381. 2002-06-13 Martin Sjögren <martin@strakt.com>
  382. * src/ssl/context.c: Changed global_verify_callback so that it uses
  383. PyObject_IsTrue instead of requring ints.
  384. * Added pymemcompat.h to make the memory management uniform and
  385. backwards-compatible.
  386. * src/util.h: Added conditional definition of PyModule_AddObject and
  387. PyModule_AddIntConstant
  388. * src/ssl/connection.c: Socket methods are no longer explicitly
  389. wrapped. fileno() is the only method the transport layer object HAS
  390. to support, but if you want to use connect, accept or sock_shutdown,
  391. then the transport layer object has to supply connect, accept
  392. and shutdown respectively.
  393. 2002-06-12 Martin Sjögren <martin@strakt.com>
  394. * Changed comments to docstrings that are visible in Python.
  395. * src/ssl/connection.c: Added set_connect_state and set_accept_state
  396. methods. Thanks to Mark Welch <mark@collab.net> for this.
  397. 2002-06-11 Martin Sjögren <martin@strakt.com>
  398. * src/ssl/connection.c: accept and connect now use SSL_set_accept_state
  399. and SSL_set_connect_state respectively, instead of SSL_accept and
  400. SSL_connect.
  401. * src/ssl/connection.c: Added want_read and want_write methods.
  402. 2002-06-05 Martin Sjögren <martin@strakt.com>
  403. * src/ssl/connection.c: Added error messages for windows. The code is
  404. copied from Python's socketmodule.c. Ick.
  405. * src/ssl/connection.c: Changed the parameters to the SysCallError. It
  406. always has a tuple (number, string) now, even though the number
  407. might not always be useful.
  408. 2002-04-05 Martin Sjögren <md9ms@mdstud.chalmers.se>
  409. * Worked more on the Debian packaging, hopefully the packages
  410. are getting into the main Debian archive soon.
  411. 2002-01-10 Martin Sjögren <martin@strakt.com>
  412. * Worked some more on the Debian packaging, it's turning out real
  413. nice.
  414. * Changed format on this file, I'm going to try to be a bit more
  415. verbose about my changes, and this format makes it easier.
  416. 2002-01-08 Martin Sjögren <martin@strakt.com>
  417. * Version 0.4.1
  418. * Added some example code
  419. * Added the thread safe Connection object in the 'tsafe' submodule
  420. * New Debian packaging
  421. 2001-08-09 Martin Sjögren <martin@strakt.com>
  422. * Version 0.4
  423. * Added a compare function for X509Name structures.
  424. * Moved the submodules to separate .so files, with tiny C APIs so they
  425. can communicate
  426. * Skeletal OpenSSL/__init__.py
  427. * Removed the err submodule, use crypto.Error and SSL.Error instead
  428. 2001-08-06 Martin Sjögren <martin@strakt.com>
  429. * Version 0.3
  430. * Added more types for dealing with certificates (X509Store, X509Req,
  431. PKey)
  432. * Functionality to load private keys, certificates and certificate
  433. requests from memory buffers, and store them too
  434. * X509 and X509Name objects can now be modified as well, very neat when
  435. creating certificates ;)
  436. * Added SSL_MODE_AUTO_RETRY to smooth things for blocking sockets
  437. * Added a sock_shutdown() method to the Connection type
  438. * I don't understand why, but I can't use Py_InitModule() to create
  439. submodules in Python 2.0, the interpreter segfaults on the cleanup
  440. process when I do. I added a conditional compile on the version
  441. number, falling back to my own routine. It would of course be nice to
  442. investigate what is happening, but I don't have the time to do so
  443. * Do INCREF on the type objects before inserting them in the
  444. dictionary, so they will never reach refcount 0 (they are, after all,
  445. statically allocated)
  446. 2001-07-30 Martin Sjögren <martin@strakt.com>
  447. * Version 0.2
  448. * Lots of tweaking and comments in the code
  449. * Now uses distutils instead of the stupid Setup file
  450. * Hacked doc/tools/mkhowto, html generation should now work
  451. 2001-07-16 Martin Sjögren <martin@strakt.com>
  452. * Initial release (0.1, don't expect much from this one :-)