ChangeLog 24 KB

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