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