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