blob: ab9810b78c04af6db55af3a90495b0373e685153 [file] [log] [blame]
Jean-Paul Calderone7df40db2008-03-03 15:12:42 -050012008-03-03 Jean-Paul Calderone <exarkun@twistedmatrix.com>
2
3 * src/crypto/crypto.c: Expose X509_verify_cert_error_string. (patch
4 from Victor Stinner)
5
Jean-Paul Calderone12ea9a02008-02-22 12:24:39 -050062008-02-22 Jean-Paul Calderone <exarkun@twistedmatrix.com>
7
8 * src/ssl/connection.c src/ssl/context.c src/ssl/ssl.c: Fix
9 compilation on Windows. (patch from Michael Schneider)
10
Jean-Paul Calderone72b8f0f2008-02-21 23:57:40 -0500112008-02-21 Jean-Paul Calderone <exarkun@twistedmatrix.com>
12
13 * src/ssl/connection.c: Expose SSL_get_shutdown and
14 SSL_set_shutdown. (patch from James Knight)
15 * src/ssl/ssl.c: Expose SSL_SENT_SHUTDOWN and SSL_RECEIVED_SHUTDOWN.
16 (patch from James Knight)
17
Jean-Paul Calderone779db6b2008-02-19 21:00:37 -0500182008-02-19 Jean-Paul Calderone <exarkun@twistedmatrix.com>
19
20 * src/ssl/context.c: Expose SSL_CTX_add_extra_chain_cert.
21 * src/crypto/x509name.c: Fix memory leaks in __getattr__ and
22 __setattr_ implementations.
Jean-Paul Calderone19555b92008-02-19 22:29:57 -050023 * src/crypto/x509.c: Fix memory leak in X509.get_pubkey().
24 * leakcheck/: An attempt at a systematic approach to leak
25 elimination.
Jean-Paul Calderone779db6b2008-02-19 21:00:37 -050026
Jean-Paul Calderone897bc252008-02-18 20:50:23 -0500272004-08-13 Martin Sjögren <msjogren@gmail.com>
28
29 * Released version 0.6.
30
312004-08-11 Martin Sjögren <msjogren@gmail.com>
32
33 * doc/pyOpenSSL.tex: Updates to the docs.
34
352004-08-10 Martin Sjögren <msjogren@gmail.com>
36
37 * src/crypto/x509.c: Add X509.add_extensions based on a patch
38 from Han S. Lee.
39 * src/ssl/ssl.c: Add more SSL_OP_ constants. Patch from Mihai
40 Ibanescu.
41
422004-08-09 Martin Sjögren <msjogren@gmail.com>
43
44 * setup.py src/crypto/: Add support for Netscape SPKI extensions
45 based on a patch from Tollef Fog Heen.
46 * src/crypto/crypto.c: Add support for python passphrase callbacks
47 based on a patch from Robert Olson.
48
492004-08-03 Martin Sjögren <msjogren@gmail.com>
50
51 * src/ssl/context.c: Applied patch from Frederic Peters to add
52 Context.use_certificate_chain_file.
53 * src/crypto/x509.c: Applid patch from Tollef Fog Heen to add
54 X509.subject_name_hash and X509.digest.
55
562004-08-02 Martin Sjögren <msjogren@gmail.com>
57
58 * src/crypto/crypto.c src/ssl/ssl.c: Applied patch from Bastian
59 Kleineidam to fix full names of exceptions.
60
612004-07-19 Martin Sjögren <msjogren@gmail.com>
62
63 * doc/pyOpenSSL.tex: Fix the errors regarding X509Name's field names.
64
652004-07-18 Martin Sjögren <msjogren@gmail.com>
66
67 * examples/certgen.py: Fixed wrong attributes in doc string, thanks
68 Remy. (SFbug#913315)
69 * __init__.py, setup.py, version.py: Add __version__, as suggested by
70 Ronald Oussoren in SFbug#888729.
71 * examples/proxy.py: Fix typos, thanks Mihai Ibanescu. (SFpatch#895820)
72
732003-01-09 Martin Sjögren <martin@strakt.com>
74
75 * Use cyclic GC protocol in SSL.Connection, SSL.Context, crypto.PKCS12
76 and crypto.X509Name.
77
782002-12-02 Martin Sjögren <martin@strakt.com>
79
80 * tsafe.py: Add some missing methods.
81
822002-10-06 Martin Sjögren <martin@strakt.com>
83
84 * __init__.py: Import tsafe too!
85
862002-10-05 Martin Sjögren <martin@strakt.com>
87
88 * src/crypto/x509name.c: Use unicode strings instead of ordinary
89 strings in getattr/setattr. Note that plain ascii strings should
90 still work.
91
922002-09-17 Martin Sjögren <martin@strakt.com>
93
94 * Released version 0.5.1.
95
962002-09-09 Martin Sjögren <martin@strakt.com>
97
98 * setup.cfg: Fixed build requirements for rpms.
99
1002002-09-07 Martin Sjögren <martin@strakt.com>
101
102 * src/ssl/connection.c: Fix sendall() method. It segfaulted because
103 it was too generous about giving away the GIL.
104 * Added SecureXMLRPCServer example, contributed by Michal Wallace.
105
1062002-09-06 Martin Sjögren <martin@strakt.com>
107
108 * setup.cfg: Updated the build requirements.
109 * src/ssl/connection.c: Fix includes for AIX.
110
1112002-09-04 Anders Hammarquist <iko@strakt.com>
112
113 * Added type checks in all the other places where we expect
114 specific types of objects passed.
115
1162002-09-04 Martin Sjögren <martin@strakt.com>
117
118 * src/crypto/crypto.c: Added an explicit type check in the dump_*
119 functions, so that they won't die when e.g. None is passed in.
120
1212002-08-25 Martin Sjögren <martin@strakt.com>
122
123 * doc/pyOpenSSL.tex: Docs for PKCS12.
124
1252002-08-24 Martin Sjögren <martin@strakt.com>
126
127 * src/crypto: Added basic PKCS12 support, thanks to Mark Welch
128 <mark@collab.net>
129
1302002-08-16 Martin Sjögren <martin@strakt.com>
131
132 * D'oh! Fixes for python 1.5 and python 2.1.
133
1342002-08-15 Martin Sjögren <martin@strakt.com>
135
136 * Version 0.5. Yay!
137
1382002-07-25 Martin Sjögren <martin@strakt.com>
139
140 * src/ssl/context.c: Added set_options method.
141 * src/ssl/ssl.c: Added constants for Context.set_options method.
142
1432002-07-23 Martin Sjögren <martin@strakt.com>
144
145 * Updated docs
146 * src/ssl/connection.c: Changed the get_cipher_list method to actually
147 return a list! WARNING: This change makes the API incompatible with
148 earlier versions!
149
1502002-07-15 Martin Sjögren <martin@strakt.com>
151
152 * src/ssl/connection.[ch]: Removed the fileno method, it uses the
153 transport object's fileno instead.
154
1552002-07-09 Martin Sjögren <martin@strakt.com>
156
157 * src/crypto/x509.c src/crypto/x509name.c: Fixed segfault bug where
158 you used an X509Name after its X509 had been destroyed.
159 * src/crypto/crypto.[ch] src/crypto/x509req.c src/crypto/x509ext.[ch]:
160 Added X509 Extension support. Thanks to maas-Maarten Zeeman
161 <maas@awanim.com>
162 * src/crypto/pkey.c: Added bits() and type() methods.
163
1642002-07-08 Martin Sjögren <martin@strakt.com>
165
166 * src/ssl/connection.c: Moved the contents of setup_ssl into the
167 constructor, thereby fixing some segfault bugs :)
168 * src/ssl/connection.c: Added connect_ex and sendall methods.
169 * src/crypto/x509name.c: Cleaned up comparisons and NID lookup.
170 Thank you Maas-Maarten Zeeman <maas@awanim.com>
171 * src/rand/rand.c: Fix RAND_screen import.
172 * src/crypto/crypto.c src/crypto/pkcs7.[ch]: Added PKCS7 management,
173 courtesy of Maas-Maarten Zeeman <maas@awanim.com>
174 * src/crypto/x509req.c: Added verify method.
175
1762002-06-17 Martin Sjögren <martin@strakt.com>
177
178 * rpm/, setup.cfg: Added improved RPM-building stuff, thanks to
179 Mihai Ibanescu <misa@redhat.com>
180
1812002-06-14 Martin Sjögren <martin@strakt.com>
182
183 * examples/proxy.py: Example code for using OpenSSL through a proxy
184 contributed by Mihai Ibanescu <misa@redhat.com>
185 * Updated installation instruction and added them to the TeX manual.
186
1872002-06-13 Martin Sjögren <martin@strakt.com>
188
189 * src/ssl/context.c: Changed global_verify_callback so that it uses
190 PyObject_IsTrue instead of requring ints.
191 * Added pymemcompat.h to make the memory management uniform and
192 backwards-compatible.
193 * src/util.h: Added conditional definition of PyModule_AddObject and
194 PyModule_AddIntConstant
195 * src/ssl/connection.c: Socket methods are no longer explicitly
196 wrapped. fileno() is the only method the transport layer object HAS
197 to support, but if you want to use connect, accept or sock_shutdown,
198 then the transport layer object has to supply connect, accept
199 and shutdown respectively.
200
2012002-06-12 Martin Sjögren <martin@strakt.com>
202
203 * Changed comments to docstrings that are visible in Python.
204 * src/ssl/connection.c: Added set_connect_state and set_accept_state
205 methods. Thanks to Mark Welch <mark@collab.net> for this.
206
2072002-06-11 Martin Sjögren <martin@strakt.com>
208
209 * src/ssl/connection.c: accept and connect now use SSL_set_accept_state
210 and SSL_set_connect_state respectively, instead of SSL_accept and
211 SSL_connect.
212 * src/ssl/connection.c: Added want_read and want_write methods.
213
2142002-06-05 Martin Sjögren <martin@strakt.com>
215
216 * src/ssl/connection.c: Added error messages for windows. The code is
217 copied from Python's socketmodule.c. Ick.
218 * src/ssl/connection.c: Changed the parameters to the SysCallError. It
219 always has a tuple (number, string) now, even though the number
220 might not always be useful.
221
2222002-04-05 Martin Sjögren <md9ms@mdstud.chalmers.se>
223
224 * Worked more on the Debian packaging, hopefully the packages
225 are getting into the main Debian archive soon.
226
2272002-01-10 Martin Sjögren <martin@strakt.com>
228
229 * Worked some more on the Debian packaging, it's turning out real
230 nice.
231 * Changed format on this file, I'm going to try to be a bit more
232 verbose about my changes, and this format makes it easier.
233
2342002-01-08 Martin Sjögren <martin@strakt.com>
235
236 * Version 0.4.1
237 * Added some example code
238 * Added the thread safe Connection object in the 'tsafe' submodule
239 * New Debian packaging
240
2412001-08-09 Martin Sjögren <martin@strakt.com>
242
243 * Version 0.4
244 * Added a compare function for X509Name structures.
245 * Moved the submodules to separate .so files, with tiny C APIs so they
246 can communicate
247 * Skeletal OpenSSL/__init__.py
248 * Removed the err submodule, use crypto.Error and SSL.Error instead
249
2502001-08-06 Martin Sjögren <martin@strakt.com>
251
252 * Version 0.3
253 * Added more types for dealing with certificates (X509Store, X509Req,
254 PKey)
255 * Functionality to load private keys, certificates and certificate
256 requests from memory buffers, and store them too
257 * X509 and X509Name objects can now be modified as well, very neat when
258 creating certificates ;)
259 * Added SSL_MODE_AUTO_RETRY to smooth things for blocking sockets
260 * Added a sock_shutdown() method to the Connection type
261 * I don't understand why, but I can't use Py_InitModule() to create
262 submodules in Python 2.0, the interpreter segfaults on the cleanup
263 process when I do. I added a conditional compile on the version
264 number, falling back to my own routine. It would of course be nice to
265 investigate what is happening, but I don't have the time to do so
266 * Do INCREF on the type objects before inserting them in the
267 dictionary, so they will never reach refcount 0 (they are, after all,
268 statically allocated)
269
2702001-07-30 Martin Sjögren <martin@strakt.com>
271
272 * Version 0.2
273 * Lots of tweaking and comments in the code
274 * Now uses distutils instead of the stupid Setup file
275 * Hacked doc/tools/mkhowto, html generation should now work
276
2772001-07-16 Martin Sjögren <martin@strakt.com>
278
279 * Initial release (0.1, don't expect much from this one :-)
280