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