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