]>
Commit | Line | Data |
---|---|---|
81a6c781 | 1 | |
f1c236f8 | 2 | OpenSSL CHANGES |
651d0aff RE |
3 | _______________ |
4 | ||
c549810d DSH |
5 | Changes between 1.0.0a and 1.0.1 [xx XXX xxxx] |
6 | ||
160f9b5b DSH |
7 | *) Add call to ENGINE_register_all_complete() to |
8 | ENGINE_load_builtin_engines(), so some implementations get used | |
9 | automatically instead of needing explicit application support. | |
10 | [Steve Henson] | |
11 | ||
53e7985c DSH |
12 | *) Add support for TLS key exporter as described in RFC5705. |
13 | [Robin Seggelmann <seggelmann@fh-muenster.de>, Steve Henson] | |
14 | ||
1eb1cf45 DSH |
15 | *) Initial TLSv1.1 support. Since TLSv1.1 is very similar to TLS v1.0 only |
16 | a few changes are required: | |
17 | ||
18 | Add SSL_OP_NO_TLSv1_1 flag. | |
19 | Add TLSv1_1 methods. | |
20 | Update version checking logic to handle version 1.1. | |
21 | Add explicit IV handling (ported from DTLS code). | |
22 | Add command line options to s_client/s_server. | |
23 | [Steve Henson] | |
c549810d | 24 | |
1dba06e7 DSH |
25 | Changes between 1.0.0a and 1.0.0b [xx XXX xxxx] |
26 | ||
27 | *) | |
28 | ||
9c7baca8 | 29 | Changes between 1.0.0 and 1.0.0a [01 Jun 2010] |
6747de65 | 30 | |
618265e6 DSH |
31 | *) Check return value of int_rsa_verify in pkey_rsa_verifyrecover |
32 | (CVE-2010-1633) | |
33 | [Steve Henson, Peter-Michael Hager <hager@dortmund.net>] | |
6747de65 | 34 | |
91bad2b0 | 35 | Changes between 0.9.8n and 1.0.0 [29 Mar 2010] |
93fac08e | 36 | |
17004262 DSH |
37 | *) Add "missing" function EVP_CIPHER_CTX_copy(). This copies a cipher |
38 | context. The operation can be customised via the ctrl mechanism in | |
39 | case ENGINEs want to include additional functionality. | |
40 | [Steve Henson] | |
41 | ||
1699389a DSH |
42 | *) Tolerate yet another broken PKCS#8 key format: private key value negative. |
43 | [Steve Henson] | |
44 | ||
93fac08e DSH |
45 | *) Add new -subject_hash_old and -issuer_hash_old options to x509 utility to |
46 | output hashes compatible with older versions of OpenSSL. | |
47 | [Willy Weisz <weisz@vcpc.univie.ac.at>] | |
5b5464d5 | 48 | |
e642fd7a DSH |
49 | *) Fix compression algorithm handling: if resuming a session use the |
50 | compression algorithm of the resumed session instead of determining | |
51 | it from client hello again. Don't allow server to change algorithm. | |
52 | [Steve Henson] | |
aaf35f11 | 53 | |
96109228 DSH |
54 | *) Add load_crls() function to apps tidying load_certs() too. Add option |
55 | to verify utility to allow additional CRLs to be included. | |
56 | [Steve Henson] | |
57 | ||
0c690586 DSH |
58 | *) Update OCSP request code to permit adding custom headers to the request: |
59 | some responders need this. | |
60 | [Steve Henson] | |
61 | ||
80afb40a DSH |
62 | *) The function EVP_PKEY_sign() returns <=0 on error: check return code |
63 | correctly. | |
64 | [Julia Lawall <julia@diku.dk>] | |
65 | ||
c9add317 DSH |
66 | *) Update verify callback code in apps/s_cb.c and apps/verify.c, it |
67 | needlessly dereferenced structures, used obsolete functions and | |
68 | didn't handle all updated verify codes correctly. | |
69 | [Steve Henson] | |
70 | ||
aefb9dc5 | 71 | *) Disable MD2 in the default configuration. |
11ba084e DSH |
72 | [Steve Henson] |
73 | ||
0cb76e79 DSH |
74 | *) In BIO_pop() and BIO_push() use the ctrl argument (which was NULL) to |
75 | indicate the initial BIO being pushed or popped. This makes it possible | |
76 | to determine whether the BIO is the one explicitly called or as a result | |
77 | of the ctrl being passed down the chain. Fix BIO_pop() and SSL BIOs so | |
78 | it handles reference counts correctly and doesn't zero out the I/O bio | |
79 | when it is not being explicitly popped. WARNING: applications which | |
80 | included workarounds for the old buggy behaviour will need to be modified | |
81 | or they could free up already freed BIOs. | |
82 | [Steve Henson] | |
83 | ||
aefb9dc5 BM |
84 | *) Extend the uni2asc/asc2uni => OPENSSL_uni2asc/OPENSSL_asc2uni |
85 | renaming to all platforms (within the 0.9.8 branch, this was | |
86 | done conditionally on Netware platforms to avoid a name clash). | |
6178da01 DSH |
87 | [Guenter <lists@gknw.net>] |
88 | ||
e1f09dfd DSH |
89 | *) Add ECDHE and PSK support to DTLS. |
90 | [Michael Tuexen <tuexen@fh-muenster.de>] | |
91 | ||
376bbb58 DSH |
92 | *) Add CHECKED_STACK_OF macro to safestack.h, otherwise safestack can't |
93 | be used on C++. | |
94 | [Steve Henson] | |
95 | ||
19ae0907 DSH |
96 | *) Add "missing" function EVP_MD_flags() (without this the only way to |
97 | retrieve a digest flags is by accessing the structure directly. Update | |
98 | EVP_MD_do_all*() and EVP_CIPHER_do_all*() to include the name a digest | |
99 | or cipher is registered as in the "from" argument. Print out all | |
100 | registered digests in the dgst usage message instead of manually | |
101 | attempting to work them out. | |
102 | [Steve Henson] | |
103 | ||
9ae57435 DSH |
104 | *) If no SSLv2 ciphers are used don't use an SSLv2 compatible client hello: |
105 | this allows the use of compression and extensions. Change default cipher | |
106 | string to remove SSLv2 ciphersuites. This effectively avoids ancient SSLv2 | |
107 | by default unless an application cipher string requests it. | |
108 | [Steve Henson] | |
109 | ||
5d487626 DSH |
110 | *) Alter match criteria in PKCS12_parse(). It used to try to use local |
111 | key ids to find matching certificates and keys but some PKCS#12 files | |
112 | don't follow the (somewhat unwritten) rules and this strategy fails. | |
113 | Now just gather all certificates together and the first private key | |
114 | then look for the first certificate that matches the key. | |
115 | [Steve Henson] | |
116 | ||
aaf35f11 DSH |
117 | *) Support use of registered digest and cipher names for dgst and cipher |
118 | commands instead of having to add each one as a special case. So now | |
119 | you can do: | |
120 | ||
121 | openssl sha256 foo | |
122 | ||
123 | as well as: | |
124 | ||
125 | openssl dgst -sha256 foo | |
126 | ||
127 | and this works for ENGINE based algorithms too. | |
128 | ||
129 | [Steve Henson] | |
3ff55e96 | 130 | |
b6af2c7e DSH |
131 | *) Update Gost ENGINE to support parameter files. |
132 | [Victor B. Wagner <vitus@cryptocom.ru>] | |
133 | ||
33ab2e31 DSH |
134 | *) Support GeneralizedTime in ca utility. |
135 | [Oliver Martin <oliver@volatilevoid.net>, Steve Henson] | |
136 | ||
c2c99e28 DSH |
137 | *) Enhance the hash format used for certificate directory links. The new |
138 | form uses the canonical encoding (meaning equivalent names will work | |
139 | even if they aren't identical) and uses SHA1 instead of MD5. This form | |
140 | is incompatible with the older format and as a result c_rehash should | |
141 | be used to rebuild symbolic links. | |
142 | [Steve Henson] | |
143 | ||
8125d9f9 DSH |
144 | *) Make PKCS#8 the default write format for private keys, replacing the |
145 | traditional format. This form is standardised, more secure and doesn't | |
146 | include an implicit MD5 dependency. | |
147 | [Steve Henson] | |
148 | ||
363bd0b4 DSH |
149 | *) Add a $gcc_devteam_warn option to Configure. The idea is that any code |
150 | committed to OpenSSL should pass this lot as a minimum. | |
151 | [Steve Henson] | |
152 | ||
12bf56c0 DSH |
153 | *) Add session ticket override functionality for use by EAP-FAST. |
154 | [Jouni Malinen <j@w1.fi>] | |
155 | ||
87d52468 DSH |
156 | *) Modify HMAC functions to return a value. Since these can be implemented |
157 | in an ENGINE errors can occur. | |
158 | [Steve Henson] | |
159 | ||
1ea6472e BL |
160 | *) Type-checked OBJ_bsearch_ex. |
161 | [Ben Laurie] | |
162 | ||
babb3798 BL |
163 | *) Type-checked OBJ_bsearch. Also some constification necessitated |
164 | by type-checking. Still to come: TXT_DB, bsearch(?), | |
165 | OBJ_bsearch_ex, qsort, CRYPTO_EX_DATA, ASN1_VALUE, ASN1_STRING, | |
1ea6472e BL |
166 | CONF_VALUE. |
167 | [Ben Laurie] | |
babb3798 | 168 | |
87d3a0cd DSH |
169 | *) New function OPENSSL_gmtime_adj() to add a specific number of days and |
170 | seconds to a tm structure directly, instead of going through OS | |
171 | specific date routines. This avoids any issues with OS routines such | |
172 | as the year 2038 bug. New *_adj() functions for ASN1 time structures | |
173 | and X509_time_adj_ex() to cover the extended range. The existing | |
174 | X509_time_adj() is still usable and will no longer have any date issues. | |
175 | [Steve Henson] | |
176 | ||
d43c4497 DSH |
177 | *) Delta CRL support. New use deltas option which will attempt to locate |
178 | and search any appropriate delta CRLs available. | |
179 | ||
180 | This work was sponsored by Google. | |
181 | [Steve Henson] | |
182 | ||
4b96839f DSH |
183 | *) Support for CRLs partitioned by reason code. Reorganise CRL processing |
184 | code and add additional score elements. Validate alternate CRL paths | |
185 | as part of the CRL checking and indicate a new error "CRL path validation | |
186 | error" in this case. Applications wanting additional details can use | |
187 | the verify callback and check the new "parent" field. If this is not | |
188 | NULL CRL path validation is taking place. Existing applications wont | |
189 | see this because it requires extended CRL support which is off by | |
190 | default. | |
191 | ||
192 | This work was sponsored by Google. | |
193 | [Steve Henson] | |
194 | ||
249a77f5 DSH |
195 | *) Support for freshest CRL extension. |
196 | ||
197 | This work was sponsored by Google. | |
198 | [Steve Henson] | |
199 | ||
d0fff69d DSH |
200 | *) Initial indirect CRL support. Currently only supported in the CRLs |
201 | passed directly and not via lookup. Process certificate issuer | |
202 | CRL entry extension and lookup CRL entries by bother issuer name | |
4b96839f | 203 | and serial number. Check and process CRL issuer entry in IDP extension. |
d0fff69d DSH |
204 | |
205 | This work was sponsored by Google. | |
206 | [Steve Henson] | |
207 | ||
9d84d4ed DSH |
208 | *) Add support for distinct certificate and CRL paths. The CRL issuer |
209 | certificate is validated separately in this case. Only enabled if | |
210 | an extended CRL support flag is set: this flag will enable additional | |
211 | CRL functionality in future. | |
212 | ||
213 | This work was sponsored by Google. | |
214 | [Steve Henson] | |
9d84d4ed | 215 | |
002e66c0 DSH |
216 | *) Add support for policy mappings extension. |
217 | ||
218 | This work was sponsored by Google. | |
219 | [Steve Henson] | |
220 | ||
e9746e03 DSH |
221 | *) Fixes to pathlength constraint, self issued certificate handling, |
222 | policy processing to align with RFC3280 and PKITS tests. | |
223 | ||
224 | This work was sponsored by Google. | |
225 | [Steve Henson] | |
226 | ||
227 | *) Support for name constraints certificate extension. DN, email, DNS | |
228 | and URI types are currently supported. | |
229 | ||
230 | This work was sponsored by Google. | |
231 | [Steve Henson] | |
232 | ||
4c329696 GT |
233 | *) To cater for systems that provide a pointer-based thread ID rather |
234 | than numeric, deprecate the current numeric thread ID mechanism and | |
235 | replace it with a structure and associated callback type. This | |
236 | mechanism allows a numeric "hash" to be extracted from a thread ID in | |
237 | either case, and on platforms where pointers are larger than 'long', | |
238 | mixing is done to help ensure the numeric 'hash' is usable even if it | |
239 | can't be guaranteed unique. The default mechanism is to use "&errno" | |
240 | as a pointer-based thread ID to distinguish between threads. | |
241 | ||
242 | Applications that want to provide their own thread IDs should now use | |
243 | CRYPTO_THREADID_set_callback() to register a callback that will call | |
244 | either CRYPTO_THREADID_set_numeric() or CRYPTO_THREADID_set_pointer(). | |
245 | ||
2ecd2ede BM |
246 | Note that ERR_remove_state() is now deprecated, because it is tied |
247 | to the assumption that thread IDs are numeric. ERR_remove_state(0) | |
248 | to free the current thread's error state should be replaced by | |
249 | ERR_remove_thread_state(NULL). | |
250 | ||
4c329696 GT |
251 | (This new approach replaces the functions CRYPTO_set_idptr_callback(), |
252 | CRYPTO_get_idptr_callback(), and CRYPTO_thread_idptr() that existed in | |
253 | OpenSSL 0.9.9-dev between June 2006 and August 2008. Also, if an | |
254 | application was previously providing a numeric thread callback that | |
255 | was inappropriate for distinguishing threads, then uniqueness might | |
256 | have been obtained with &errno that happened immediately in the | |
257 | intermediate development versions of OpenSSL; this is no longer the | |
258 | case, the numeric thread callback will now override the automatic use | |
259 | of &errno.) | |
260 | [Geoff Thorpe, with help from Bodo Moeller] | |
261 | ||
5cbd2033 DSH |
262 | *) Initial support for different CRL issuing certificates. This covers a |
263 | simple case where the self issued certificates in the chain exist and | |
264 | the real CRL issuer is higher in the existing chain. | |
e9746e03 DSH |
265 | |
266 | This work was sponsored by Google. | |
5cbd2033 DSH |
267 | [Steve Henson] |
268 | ||
5ce278a7 BL |
269 | *) Removed effectively defunct crypto/store from the build. |
270 | [Ben Laurie] | |
271 | ||
272 | *) Revamp of STACK to provide stronger type-checking. Still to come: | |
273 | TXT_DB, bsearch(?), OBJ_bsearch, qsort, CRYPTO_EX_DATA, ASN1_VALUE, | |
274 | ASN1_STRING, CONF_VALUE. | |
275 | [Ben Laurie] | |
276 | ||
8671b898 BL |
277 | *) Add a new SSL_MODE_RELEASE_BUFFERS mode flag to release unused buffer |
278 | RAM on SSL connections. This option can save about 34k per idle SSL. | |
279 | [Nick Mathewson] | |
280 | ||
3c1d6bbc BL |
281 | *) Revamp of LHASH to provide stronger type-checking. Still to come: |
282 | STACK, TXT_DB, bsearch, qsort. | |
283 | [Ben Laurie] | |
284 | ||
8931b30d DSH |
285 | *) Initial support for Cryptographic Message Syntax (aka CMS) based |
286 | on RFC3850, RFC3851 and RFC3852. New cms directory and cms utility, | |
fd47c361 | 287 | support for data, signedData, compressedData, digestedData and |
eb9d8d8c DSH |
288 | encryptedData, envelopedData types included. Scripts to check against |
289 | RFC4134 examples draft and interop and consistency checks of many | |
290 | content types and variants. | |
8931b30d DSH |
291 | [Steve Henson] |
292 | ||
3df93571 | 293 | *) Add options to enc utility to support use of zlib compression BIO. |
8931b30d DSH |
294 | [Steve Henson] |
295 | ||
73980531 DSH |
296 | *) Extend mk1mf to support importing of options and assembly language |
297 | files from Configure script, currently only included in VC-WIN32. | |
298 | The assembly language rules can now optionally generate the source | |
299 | files from the associated perl scripts. | |
300 | [Steve Henson] | |
301 | ||
0e1dba93 DSH |
302 | *) Implement remaining functionality needed to support GOST ciphersuites. |
303 | Interop testing has been performed using CryptoPro implementations. | |
304 | [Victor B. Wagner <vitus@cryptocom.ru>] | |
305 | ||
0023adb4 AP |
306 | *) s390x assembler pack. |
307 | [Andy Polyakov] | |
308 | ||
4c7c5ff6 AP |
309 | *) ARMv4 assembler pack. ARMv4 refers to v4 and later ISA, not CPU |
310 | "family." | |
311 | [Andy Polyakov] | |
312 | ||
761772d7 BM |
313 | *) Implement Opaque PRF Input TLS extension as specified in |
314 | draft-rescorla-tls-opaque-prf-input-00.txt. Since this is not an | |
315 | official specification yet and no extension type assignment by | |
316 | IANA exists, this extension (for now) will have to be explicitly | |
317 | enabled when building OpenSSL by providing the extension number | |
318 | to use. For example, specify an option | |
319 | ||
320 | -DTLSEXT_TYPE_opaque_prf_input=0x9527 | |
321 | ||
322 | to the "config" or "Configure" script to enable the extension, | |
323 | assuming extension number 0x9527 (which is a completely arbitrary | |
324 | and unofficial assignment based on the MD5 hash of the Internet | |
325 | Draft). Note that by doing so, you potentially lose | |
326 | interoperability with other TLS implementations since these might | |
327 | be using the same extension number for other purposes. | |
328 | ||
329 | SSL_set_tlsext_opaque_prf_input(ssl, src, len) is used to set the | |
330 | opaque PRF input value to use in the handshake. This will create | |
331 | an interal copy of the length-'len' string at 'src', and will | |
332 | return non-zero for success. | |
333 | ||
334 | To get more control and flexibility, provide a callback function | |
335 | by using | |
336 | ||
337 | SSL_CTX_set_tlsext_opaque_prf_input_callback(ctx, cb) | |
338 | SSL_CTX_set_tlsext_opaque_prf_input_callback_arg(ctx, arg) | |
339 | ||
340 | where | |
341 | ||
342 | int (*cb)(SSL *, void *peerinput, size_t len, void *arg); | |
343 | void *arg; | |
344 | ||
345 | Callback function 'cb' will be called in handshakes, and is | |
346 | expected to use SSL_set_tlsext_opaque_prf_input() as appropriate. | |
347 | Argument 'arg' is for application purposes (the value as given to | |
348 | SSL_CTX_set_tlsext_opaque_prf_input_callback_arg() will directly | |
349 | be provided to the callback function). The callback function | |
350 | has to return non-zero to report success: usually 1 to use opaque | |
351 | PRF input just if possible, or 2 to enforce use of the opaque PRF | |
352 | input. In the latter case, the library will abort the handshake | |
353 | if opaque PRF input is not successfully negotiated. | |
354 | ||
355 | Arguments 'peerinput' and 'len' given to the callback function | |
356 | will always be NULL and 0 in the case of a client. A server will | |
357 | see the client's opaque PRF input through these variables if | |
358 | available (NULL and 0 otherwise). Note that if the server | |
359 | provides an opaque PRF input, the length must be the same as the | |
360 | length of the client's opaque PRF input. | |
361 | ||
362 | Note that the callback function will only be called when creating | |
363 | a new session (session resumption can resume whatever was | |
364 | previously negotiated), and will not be called in SSL 2.0 | |
365 | handshakes; thus, SSL_CTX_set_options(ctx, SSL_OP_NO_SSLv2) or | |
366 | SSL_set_options(ssl, SSL_OP_NO_SSLv2) is especially recommended | |
367 | for applications that need to enforce opaque PRF input. | |
368 | ||
369 | [Bodo Moeller] | |
370 | ||
81025661 DSH |
371 | *) Update ssl code to support digests other than SHA1+MD5 for handshake |
372 | MAC. | |
373 | ||
374 | [Victor B. Wagner <vitus@cryptocom.ru>] | |
375 | ||
6434abbf DSH |
376 | *) Add RFC4507 support to OpenSSL. This includes the corrections in |
377 | RFC4507bis. The encrypted ticket format is an encrypted encoded | |
378 | SSL_SESSION structure, that way new session features are automatically | |
379 | supported. | |
380 | ||
ba0e826d DSH |
381 | If a client application caches session in an SSL_SESSION structure |
382 | support is transparent because tickets are now stored in the encoded | |
383 | SSL_SESSION. | |
384 | ||
385 | The SSL_CTX structure automatically generates keys for ticket | |
386 | protection in servers so again support should be possible | |
6434abbf DSH |
387 | with no application modification. |
388 | ||
389 | If a client or server wishes to disable RFC4507 support then the option | |
390 | SSL_OP_NO_TICKET can be set. | |
391 | ||
392 | Add a TLS extension debugging callback to allow the contents of any client | |
393 | or server extensions to be examined. | |
ec5d7473 DSH |
394 | |
395 | This work was sponsored by Google. | |
6434abbf DSH |
396 | [Steve Henson] |
397 | ||
3c07d3a3 DSH |
398 | *) Final changes to avoid use of pointer pointer casts in OpenSSL. |
399 | OpenSSL should now compile cleanly on gcc 4.2 | |
400 | [Peter Hartley <pdh@utter.chaos.org.uk>, Steve Henson] | |
401 | ||
b948e2c5 DSH |
402 | *) Update SSL library to use new EVP_PKEY MAC API. Include generic MAC |
403 | support including streaming MAC support: this is required for GOST | |
404 | ciphersuite support. | |
405 | [Victor B. Wagner <vitus@cryptocom.ru>, Steve Henson] | |
406 | ||
9cfc8a9d DSH |
407 | *) Add option -stream to use PKCS#7 streaming in smime utility. New |
408 | function i2d_PKCS7_bio_stream() and PEM_write_PKCS7_bio_stream() | |
409 | to output in BER and PEM format. | |
410 | [Steve Henson] | |
411 | ||
47b71e6e DSH |
412 | *) Experimental support for use of HMAC via EVP_PKEY interface. This |
413 | allows HMAC to be handled via the EVP_DigestSign*() interface. The | |
414 | EVP_PKEY "key" in this case is the HMAC key, potentially allowing | |
2022cfe0 DSH |
415 | ENGINE support for HMAC keys which are unextractable. New -mac and |
416 | -macopt options to dgst utility. | |
47b71e6e DSH |
417 | [Steve Henson] |
418 | ||
d952c79a DSH |
419 | *) New option -sigopt to dgst utility. Update dgst to use |
420 | EVP_Digest{Sign,Verify}*. These two changes make it possible to use | |
421 | alternative signing paramaters such as X9.31 or PSS in the dgst | |
422 | utility. | |
423 | [Steve Henson] | |
424 | ||
fd5bc65c BM |
425 | *) Change ssl_cipher_apply_rule(), the internal function that does |
426 | the work each time a ciphersuite string requests enabling | |
427 | ("foo+bar"), moving ("+foo+bar"), disabling ("-foo+bar", or | |
428 | removing ("!foo+bar") a class of ciphersuites: Now it maintains | |
429 | the order of disabled ciphersuites such that those ciphersuites | |
430 | that most recently went from enabled to disabled not only stay | |
431 | in order with respect to each other, but also have higher priority | |
432 | than other disabled ciphersuites the next time ciphersuites are | |
433 | enabled again. | |
434 | ||
435 | This means that you can now say, e.g., "PSK:-PSK:HIGH" to enable | |
436 | the same ciphersuites as with "HIGH" alone, but in a specific | |
437 | order where the PSK ciphersuites come first (since they are the | |
438 | most recently disabled ciphersuites when "HIGH" is parsed). | |
439 | ||
440 | Also, change ssl_create_cipher_list() (using this new | |
441 | funcionality) such that between otherwise identical | |
442 | cihpersuites, ephemeral ECDH is preferred over ephemeral DH in | |
443 | the default order. | |
444 | [Bodo Moeller] | |
445 | ||
0a05123a BM |
446 | *) Change ssl_create_cipher_list() so that it automatically |
447 | arranges the ciphersuites in reasonable order before starting | |
448 | to process the rule string. Thus, the definition for "DEFAULT" | |
449 | (SSL_DEFAULT_CIPHER_LIST) now is just "ALL:!aNULL:!eNULL", but | |
450 | remains equivalent to "AES:ALL:!aNULL:!eNULL:+aECDH:+kRSA:+RC4:@STRENGTH". | |
451 | This makes it much easier to arrive at a reasonable default order | |
452 | in applications for which anonymous ciphers are OK (meaning | |
453 | that you can't actually use DEFAULT). | |
454 | [Bodo Moeller; suggested by Victor Duchovni] | |
455 | ||
52b8dad8 BM |
456 | *) Split the SSL/TLS algorithm mask (as used for ciphersuite string |
457 | processing) into multiple integers instead of setting | |
458 | "SSL_MKEY_MASK" bits, "SSL_AUTH_MASK" bits, "SSL_ENC_MASK", | |
459 | "SSL_MAC_MASK", and "SSL_SSL_MASK" bits all in a single integer. | |
460 | (These masks as well as the individual bit definitions are hidden | |
461 | away into the non-exported interface ssl/ssl_locl.h, so this | |
462 | change to the definition of the SSL_CIPHER structure shouldn't | |
463 | affect applications.) This give us more bits for each of these | |
464 | categories, so there is no longer a need to coagulate AES128 and | |
465 | AES256 into a single algorithm bit, and to coagulate Camellia128 | |
466 | and Camellia256 into a single algorithm bit, which has led to all | |
467 | kinds of kludges. | |
468 | ||
469 | Thus, among other things, the kludge introduced in 0.9.7m and | |
470 | 0.9.8e for masking out AES256 independently of AES128 or masking | |
471 | out Camellia256 independently of AES256 is not needed here in 0.9.9. | |
472 | ||
473 | With the change, we also introduce new ciphersuite aliases that | |
474 | so far were missing: "AES128", "AES256", "CAMELLIA128", and | |
475 | "CAMELLIA256". | |
476 | [Bodo Moeller] | |
477 | ||
357d5de5 NL |
478 | *) Add support for dsa-with-SHA224 and dsa-with-SHA256. |
479 | Use the leftmost N bytes of the signature input if the input is | |
480 | larger than the prime q (with N being the size in bytes of q). | |
481 | [Nils Larsch] | |
482 | ||
11d8cdc6 DSH |
483 | *) Very *very* experimental PKCS#7 streaming encoder support. Nothing uses |
484 | it yet and it is largely untested. | |
485 | [Steve Henson] | |
486 | ||
06e2dd03 NL |
487 | *) Add support for the ecdsa-with-SHA224/256/384/512 signature types. |
488 | [Nils Larsch] | |
489 | ||
de121164 | 490 | *) Initial incomplete changes to avoid need for function casts in OpenSSL |
297e6f19 | 491 | some compilers (gcc 4.2 and later) reject their use. Safestack is |
a6fbcb42 | 492 | reimplemented. Update ASN1 to avoid use of legacy functions. |
de121164 DSH |
493 | [Steve Henson] |
494 | ||
3189772e AP |
495 | *) Win32/64 targets are linked with Winsock2. |
496 | [Andy Polyakov] | |
497 | ||
010fa0b3 DSH |
498 | *) Add an X509_CRL_METHOD structure to allow CRL processing to be redirected |
499 | to external functions. This can be used to increase CRL handling | |
500 | efficiency especially when CRLs are very large by (for example) storing | |
501 | the CRL revoked certificates in a database. | |
502 | [Steve Henson] | |
503 | ||
5d20c4fb DSH |
504 | *) Overhaul of by_dir code. Add support for dynamic loading of CRLs so |
505 | new CRLs added to a directory can be used. New command line option | |
506 | -verify_return_error to s_client and s_server. This causes real errors | |
507 | to be returned by the verify callback instead of carrying on no matter | |
508 | what. This reflects the way a "real world" verify callback would behave. | |
509 | [Steve Henson] | |
510 | ||
511 | *) GOST engine, supporting several GOST algorithms and public key formats. | |
512 | Kindly donated by Cryptocom. | |
513 | [Cryptocom] | |
514 | ||
bc7535bc DSH |
515 | *) Partial support for Issuing Distribution Point CRL extension. CRLs |
516 | partitioned by DP are handled but no indirect CRL or reason partitioning | |
517 | (yet). Complete overhaul of CRL handling: now the most suitable CRL is | |
518 | selected via a scoring technique which handles IDP and AKID in CRLs. | |
519 | [Steve Henson] | |
520 | ||
521 | *) New X509_STORE_CTX callbacks lookup_crls() and lookup_certs() which | |
522 | will ultimately be used for all verify operations: this will remove the | |
523 | X509_STORE dependency on certificate verification and allow alternative | |
524 | lookup methods. X509_STORE based implementations of these two callbacks. | |
525 | [Steve Henson] | |
526 | ||
f6e7d014 DSH |
527 | *) Allow multiple CRLs to exist in an X509_STORE with matching issuer names. |
528 | Modify get_crl() to find a valid (unexpired) CRL if possible. | |
529 | [Steve Henson] | |
530 | ||
edc54021 DSH |
531 | *) New function X509_CRL_match() to check if two CRLs are identical. Normally |
532 | this would be called X509_CRL_cmp() but that name is already used by | |
533 | a function that just compares CRL issuer names. Cache several CRL | |
534 | extensions in X509_CRL structure and cache CRLDP in X509. | |
535 | [Steve Henson] | |
536 | ||
450ea834 DSH |
537 | *) Store a "canonical" representation of X509_NAME structure (ASN1 Name) |
538 | this maps equivalent X509_NAME structures into a consistent structure. | |
539 | Name comparison can then be performed rapidly using memcmp(). | |
540 | [Steve Henson] | |
541 | ||
454dbbc5 DSH |
542 | *) Non-blocking OCSP request processing. Add -timeout option to ocsp |
543 | utility. | |
c1c6c0bf DSH |
544 | [Steve Henson] |
545 | ||
b7683e3a DSH |
546 | *) Allow digests to supply their own micalg string for S/MIME type using |
547 | the ctrl EVP_MD_CTRL_MICALG. | |
548 | [Steve Henson] | |
549 | ||
550 | *) During PKCS7 signing pass the PKCS7 SignerInfo structure to the | |
551 | EVP_PKEY_METHOD before and after signing via the EVP_PKEY_CTRL_PKCS7_SIGN | |
552 | ctrl. It can then customise the structure before and/or after signing | |
553 | if necessary. | |
554 | [Steve Henson] | |
555 | ||
0ee2166c DSH |
556 | *) New function OBJ_add_sigid() to allow application defined signature OIDs |
557 | to be added to OpenSSLs internal tables. New function OBJ_sigid_free() | |
558 | to free up any added signature OIDs. | |
559 | [Steve Henson] | |
560 | ||
5ba4bf35 DSH |
561 | *) New functions EVP_CIPHER_do_all(), EVP_CIPHER_do_all_sorted(), |
562 | EVP_MD_do_all() and EVP_MD_do_all_sorted() to enumerate internal | |
563 | digest and cipher tables. New options added to openssl utility: | |
564 | list-message-digest-algorithms and list-cipher-algorithms. | |
565 | [Steve Henson] | |
566 | ||
c4e7870a BM |
567 | *) Change the array representation of binary polynomials: the list |
568 | of degrees of non-zero coefficients is now terminated with -1. | |
569 | Previously it was terminated with 0, which was also part of the | |
570 | value; thus, the array representation was not applicable to | |
571 | polynomials where t^0 has coefficient zero. This change makes | |
572 | the array representation useful in a more general context. | |
573 | [Douglas Stebila] | |
574 | ||
89bbe14c BM |
575 | *) Various modifications and fixes to SSL/TLS cipher string |
576 | handling. For ECC, the code now distinguishes between fixed ECDH | |
577 | with RSA certificates on the one hand and with ECDSA certificates | |
578 | on the other hand, since these are separate ciphersuites. The | |
579 | unused code for Fortezza ciphersuites has been removed. | |
580 | ||
581 | For consistency with EDH, ephemeral ECDH is now called "EECDH" | |
582 | (not "ECDHE"). For consistency with the code for DH | |
583 | certificates, use of ECDH certificates is now considered ECDH | |
584 | authentication, not RSA or ECDSA authentication (the latter is | |
585 | merely the CA's signing algorithm and not actively used in the | |
586 | protocol). | |
587 | ||
588 | The temporary ciphersuite alias "ECCdraft" is no longer | |
589 | available, and ECC ciphersuites are no longer excluded from "ALL" | |
590 | and "DEFAULT". The following aliases now exist for RFC 4492 | |
591 | ciphersuites, most of these by analogy with the DH case: | |
592 | ||
593 | kECDHr - ECDH cert, signed with RSA | |
594 | kECDHe - ECDH cert, signed with ECDSA | |
595 | kECDH - ECDH cert (signed with either RSA or ECDSA) | |
596 | kEECDH - ephemeral ECDH | |
597 | ECDH - ECDH cert or ephemeral ECDH | |
598 | ||
599 | aECDH - ECDH cert | |
600 | aECDSA - ECDSA cert | |
601 | ECDSA - ECDSA cert | |
602 | ||
603 | AECDH - anonymous ECDH | |
604 | EECDH - non-anonymous ephemeral ECDH (equivalent to "kEECDH:-AECDH") | |
605 | ||
606 | [Bodo Moeller] | |
607 | ||
fb7b3932 DSH |
608 | *) Add additional S/MIME capabilities for AES and GOST ciphers if supported. |
609 | Use correct micalg parameters depending on digest(s) in signed message. | |
610 | [Steve Henson] | |
611 | ||
01b8b3c7 DSH |
612 | *) Add engine support for EVP_PKEY_ASN1_METHOD. Add functions to process |
613 | an ENGINE asn1 method. Support ENGINE lookups in the ASN1 code. | |
614 | [Steve Henson] | |
de9fcfe3 | 615 | |
58aa573a | 616 | *) Initial engine support for EVP_PKEY_METHOD. New functions to permit |
c9777d26 DSH |
617 | an engine to register a method. Add ENGINE lookups for methods and |
618 | functional reference processing. | |
58aa573a DSH |
619 | [Steve Henson] |
620 | ||
91c9e621 DSH |
621 | *) New functions EVP_Digest{Sign,Verify)*. These are enchance versions of |
622 | EVP_{Sign,Verify}* which allow an application to customise the signature | |
623 | process. | |
624 | [Steve Henson] | |
625 | ||
55311921 DSH |
626 | *) New -resign option to smime utility. This adds one or more signers |
627 | to an existing PKCS#7 signedData structure. Also -md option to use an | |
628 | alternative message digest algorithm for signing. | |
629 | [Steve Henson] | |
630 | ||
a6e7fcd1 DSH |
631 | *) Tidy up PKCS#7 routines and add new functions to make it easier to |
632 | create PKCS7 structures containing multiple signers. Update smime | |
633 | application to support multiple signers. | |
634 | [Steve Henson] | |
635 | ||
121dd39f DSH |
636 | *) New -macalg option to pkcs12 utility to allow setting of an alternative |
637 | digest MAC. | |
638 | [Steve Henson] | |
639 | ||
856640b5 | 640 | *) Initial support for PKCS#5 v2.0 PRFs other than default SHA1 HMAC. |
b8f702a0 | 641 | Reorganize PBE internals to lookup from a static table using NIDs, |
6d3a1eac DSH |
642 | add support for HMAC PBE OID translation. Add a EVP_CIPHER ctrl: |
643 | EVP_CTRL_PBE_PRF_NID this allows a cipher to specify an alternative | |
644 | PRF which will be automatically used with PBES2. | |
856640b5 DSH |
645 | [Steve Henson] |
646 | ||
34b3c72e | 647 | *) Replace the algorithm specific calls to generate keys in "req" with the |
959e8dfe DSH |
648 | new API. |
649 | [Steve Henson] | |
650 | ||
399a6f0b DSH |
651 | *) Update PKCS#7 enveloped data routines to use new API. This is now |
652 | supported by any public key method supporting the encrypt operation. A | |
653 | ctrl is added to allow the public key algorithm to examine or modify | |
654 | the PKCS#7 RecipientInfo structure if it needs to: for RSA this is | |
655 | a no op. | |
656 | [Steve Henson] | |
28e4fe34 | 657 | |
03919683 DSH |
658 | *) Add a ctrl to asn1 method to allow a public key algorithm to express |
659 | a default digest type to use. In most cases this will be SHA1 but some | |
660 | algorithms (such as GOST) need to specify an alternative digest. The | |
661 | return value indicates how strong the prefernce is 1 means optional and | |
662 | 2 is mandatory (that is it is the only supported type). Modify | |
663 | ASN1_item_sign() to accept a NULL digest argument to indicate it should | |
664 | use the default md. Update openssl utilities to use the default digest | |
665 | type for signing if it is not explicitly indicated. | |
666 | [Steve Henson] | |
667 | ||
ee1d9ec0 DSH |
668 | *) Use OID cross reference table in ASN1_sign() and ASN1_verify(). New |
669 | EVP_MD flag EVP_MD_FLAG_PKEY_METHOD_SIGNATURE. This uses the relevant | |
670 | signing method from the key type. This effectively removes the link | |
671 | between digests and public key types. | |
672 | [Steve Henson] | |
673 | ||
d2027098 DSH |
674 | *) Add an OID cross reference table and utility functions. Its purpose is to |
675 | translate between signature OIDs such as SHA1WithrsaEncryption and SHA1, | |
676 | rsaEncryption. This will allow some of the algorithm specific hackery | |
677 | needed to use the correct OID to be removed. | |
678 | [Steve Henson] | |
679 | ||
492a9e24 DSH |
680 | *) Remove algorithm specific dependencies when setting PKCS7_SIGNER_INFO |
681 | structures for PKCS7_sign(). They are now set up by the relevant public | |
682 | key ASN1 method. | |
683 | [Steve Henson] | |
684 | ||
9ca7047d DSH |
685 | *) Add provisional EC pkey method with support for ECDSA and ECDH. |
686 | [Steve Henson] | |
687 | ||
ffb1ac67 DSH |
688 | *) Add support for key derivation (agreement) in the API, DH method and |
689 | pkeyutl. | |
690 | [Steve Henson] | |
691 | ||
3ba0885a DSH |
692 | *) Add DSA pkey method and DH pkey methods, extend DH ASN1 method to support |
693 | public and private key formats. As a side effect these add additional | |
694 | command line functionality not previously available: DSA signatures can be | |
695 | generated and verified using pkeyutl and DH key support and generation in | |
696 | pkey, genpkey. | |
697 | [Steve Henson] | |
698 | ||
4700aea9 UM |
699 | *) BeOS support. |
700 | [Oliver Tappe <zooey@hirschkaefer.de>] | |
701 | ||
702 | *) New make target "install_html_docs" installs HTML renditions of the | |
703 | manual pages. | |
704 | [Oliver Tappe <zooey@hirschkaefer.de>] | |
705 | ||
f5cda4cb DSH |
706 | *) New utility "genpkey" this is analagous to "genrsa" etc except it can |
707 | generate keys for any algorithm. Extend and update EVP_PKEY_METHOD to | |
708 | support key and parameter generation and add initial key generation | |
709 | functionality for RSA. | |
710 | [Steve Henson] | |
711 | ||
f733a5ef DSH |
712 | *) Add functions for main EVP_PKEY_method operations. The undocumented |
713 | functions EVP_PKEY_{encrypt,decrypt} have been renamed to | |
714 | EVP_PKEY_{encrypt,decrypt}_old. | |
715 | [Steve Henson] | |
716 | ||
0b6f3c66 DSH |
717 | *) Initial definitions for EVP_PKEY_METHOD. This will be a high level public |
718 | key API, doesn't do much yet. | |
719 | [Steve Henson] | |
720 | ||
0b33dac3 DSH |
721 | *) New function EVP_PKEY_asn1_get0_info() to retrieve information about |
722 | public key algorithms. New option to openssl utility: | |
723 | "list-public-key-algorithms" to print out info. | |
724 | [Steve Henson] | |
725 | ||
33273721 BM |
726 | *) Implement the Supported Elliptic Curves Extension for |
727 | ECC ciphersuites from draft-ietf-tls-ecc-12.txt. | |
728 | [Douglas Stebila] | |
729 | ||
246e0931 DSH |
730 | *) Don't free up OIDs in OBJ_cleanup() if they are in use by EVP_MD or |
731 | EVP_CIPHER structures to avoid later problems in EVP_cleanup(). | |
732 | [Steve Henson] | |
733 | ||
3e4585c8 | 734 | *) New utilities pkey and pkeyparam. These are similar to algorithm specific |
f5cda4cb | 735 | utilities such as rsa, dsa, dsaparam etc except they process any key |
3e4585c8 | 736 | type. |
3e84b6e1 DSH |
737 | [Steve Henson] |
738 | ||
35208f36 DSH |
739 | *) Transfer public key printing routines to EVP_PKEY_ASN1_METHOD. New |
740 | functions EVP_PKEY_print_public(), EVP_PKEY_print_private(), | |
741 | EVP_PKEY_print_param() to print public key data from an EVP_PKEY | |
742 | structure. | |
743 | [Steve Henson] | |
744 | ||
448be743 DSH |
745 | *) Initial support for pluggable public key ASN1. |
746 | De-spaghettify the public key ASN1 handling. Move public and private | |
747 | key ASN1 handling to a new EVP_PKEY_ASN1_METHOD structure. Relocate | |
748 | algorithm specific handling to a single module within the relevant | |
749 | algorithm directory. Add functions to allow (near) opaque processing | |
750 | of public and private key structures. | |
751 | [Steve Henson] | |
752 | ||
36ca4ba6 BM |
753 | *) Implement the Supported Point Formats Extension for |
754 | ECC ciphersuites from draft-ietf-tls-ecc-12.txt. | |
755 | [Douglas Stebila] | |
756 | ||
ddac1974 NL |
757 | *) Add initial support for RFC 4279 PSK TLS ciphersuites. Add members |
758 | for the psk identity [hint] and the psk callback functions to the | |
759 | SSL_SESSION, SSL and SSL_CTX structure. | |
760 | ||
761 | New ciphersuites: | |
762 | PSK-RC4-SHA, PSK-3DES-EDE-CBC-SHA, PSK-AES128-CBC-SHA, | |
763 | PSK-AES256-CBC-SHA | |
764 | ||
765 | New functions: | |
766 | SSL_CTX_use_psk_identity_hint | |
767 | SSL_get_psk_identity_hint | |
768 | SSL_get_psk_identity | |
769 | SSL_use_psk_identity_hint | |
770 | ||
771 | [Mika Kousa and Pasi Eronen of Nokia Corporation] | |
772 | ||
c7235be6 UM |
773 | *) Add RFC 3161 compliant time stamp request creation, response generation |
774 | and response verification functionality. | |
775 |