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