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