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