]>
Commit | Line | Data |
---|---|---|
81a6c781 | 1 | |
f1c236f8 | 2 | OpenSSL CHANGES |
651d0aff RE |
3 | _______________ |
4 | ||
3c5406b3 | 5 | Changes between 0.9.8e and 0.9.9 [xx XXX xxxx] |
3ff55e96 | 6 | |
11d8cdc6 DSH |
7 | *) Very *very* experimental PKCS#7 streaming encoder support. Nothing uses |
8 | it yet and it is largely untested. | |
9 | [Steve Henson] | |
10 | ||
06e2dd03 NL |
11 | *) Add support for the ecdsa-with-SHA224/256/384/512 signature types. |
12 | [Nils Larsch] | |
13 | ||
de121164 DSH |
14 | *) Initial incomplete changes to avoid need for function casts in OpenSSL |
15 | when OPENSSL_NO_FCAST is set: some compilers (gcc 4.2 and later) reject | |
16 | their use. Safestack is reimplemented using inline functions: tests show | |
17 | that these calls are typically optimized away by compilers so they have | |
18 | no additional overhead. Update ASN1 to avoid use of legacy functions. | |
19 | [Steve Henson] | |
20 | ||
3189772e AP |
21 | *) Win32/64 targets are linked with Winsock2. |
22 | [Andy Polyakov] | |
23 | ||
010fa0b3 DSH |
24 | *) Add an X509_CRL_METHOD structure to allow CRL processing to be redirected |
25 | to external functions. This can be used to increase CRL handling | |
26 | efficiency especially when CRLs are very large by (for example) storing | |
27 | the CRL revoked certificates in a database. | |
28 | [Steve Henson] | |
29 | ||
5d20c4fb DSH |
30 | *) Overhaul of by_dir code. Add support for dynamic loading of CRLs so |
31 | new CRLs added to a directory can be used. New command line option | |
32 | -verify_return_error to s_client and s_server. This causes real errors | |
33 | to be returned by the verify callback instead of carrying on no matter | |
34 | what. This reflects the way a "real world" verify callback would behave. | |
35 | [Steve Henson] | |
36 | ||
37 | *) GOST engine, supporting several GOST algorithms and public key formats. | |
38 | Kindly donated by Cryptocom. | |
39 | [Cryptocom] | |
40 | ||
bc7535bc DSH |
41 | *) Partial support for Issuing Distribution Point CRL extension. CRLs |
42 | partitioned by DP are handled but no indirect CRL or reason partitioning | |
43 | (yet). Complete overhaul of CRL handling: now the most suitable CRL is | |
44 | selected via a scoring technique which handles IDP and AKID in CRLs. | |
45 | [Steve Henson] | |
46 | ||
47 | *) New X509_STORE_CTX callbacks lookup_crls() and lookup_certs() which | |
48 | will ultimately be used for all verify operations: this will remove the | |
49 | X509_STORE dependency on certificate verification and allow alternative | |
50 | lookup methods. X509_STORE based implementations of these two callbacks. | |
51 | [Steve Henson] | |
52 | ||
f6e7d014 DSH |
53 | *) Allow multiple CRLs to exist in an X509_STORE with matching issuer names. |
54 | Modify get_crl() to find a valid (unexpired) CRL if possible. | |
55 | [Steve Henson] | |
56 | ||
edc54021 DSH |
57 | *) New function X509_CRL_match() to check if two CRLs are identical. Normally |
58 | this would be called X509_CRL_cmp() but that name is already used by | |
59 | a function that just compares CRL issuer names. Cache several CRL | |
60 | extensions in X509_CRL structure and cache CRLDP in X509. | |
61 | [Steve Henson] | |
62 | ||
450ea834 DSH |
63 | *) Store a "canonical" representation of X509_NAME structure (ASN1 Name) |
64 | this maps equivalent X509_NAME structures into a consistent structure. | |
65 | Name comparison can then be performed rapidly using memcmp(). | |
66 | [Steve Henson] | |
67 | ||
454dbbc5 DSH |
68 | *) Non-blocking OCSP request processing. Add -timeout option to ocsp |
69 | utility. | |
c1c6c0bf DSH |
70 | [Steve Henson] |
71 | ||
b7683e3a DSH |
72 | *) Allow digests to supply their own micalg string for S/MIME type using |
73 | the ctrl EVP_MD_CTRL_MICALG. | |
74 | [Steve Henson] | |
75 | ||
76 | *) During PKCS7 signing pass the PKCS7 SignerInfo structure to the | |
77 | EVP_PKEY_METHOD before and after signing via the EVP_PKEY_CTRL_PKCS7_SIGN | |
78 | ctrl. It can then customise the structure before and/or after signing | |
79 | if necessary. | |
80 | [Steve Henson] | |
81 | ||
0ee2166c DSH |
82 | *) New function OBJ_add_sigid() to allow application defined signature OIDs |
83 | to be added to OpenSSLs internal tables. New function OBJ_sigid_free() | |
84 | to free up any added signature OIDs. | |
85 | [Steve Henson] | |
86 | ||
5ba4bf35 DSH |
87 | *) New functions EVP_CIPHER_do_all(), EVP_CIPHER_do_all_sorted(), |
88 | EVP_MD_do_all() and EVP_MD_do_all_sorted() to enumerate internal | |
89 | digest and cipher tables. New options added to openssl utility: | |
90 | list-message-digest-algorithms and list-cipher-algorithms. | |
91 | [Steve Henson] | |
92 | ||
48fc582f BM |
93 | *) In addition to the numerical (unsigned long) thread ID, provide |
94 | for a pointer (void *) thread ID. This helps accomodate systems | |
95 | that do not provide an unsigned long thread ID. OpenSSL assumes | |
96 | it is in the same thread iff both the numerical and the pointer | |
97 | thread ID agree; so applications are just required to define one | |
98 | of them appropriately (e.g., by using a pointer to a per-thread | |
99 | memory object malloc()ed by the application for the pointer-type | |
100 | thread ID). Exactly analoguous to the existing functions | |
101 | ||
102 | void CRYPTO_set_id_callback(unsigned long (*func)(void)); | |
103 | unsigned long (*CRYPTO_get_id_callback(void))(void); | |
104 | unsigned long CRYPTO_thread_id(void); | |
105 | ||
106 | we now have additional functions | |
107 | ||
108 | void CRYPTO_set_idptr_callback(void *(*func)(void)); | |
109 | void *(*CRYPTO_get_idptr_callback(void))(void); | |
110 | void *CRYPTO_thread_idptr(void); | |
111 | ||
112 | also in <openssl/crypto.h>. The default value for | |
113 | CRYPTO_thread_idptr() if the application has not provided its own | |
114 | callback is &errno. | |
115 | [Bodo Moeller] | |
116 | ||
c4e7870a BM |
117 | *) Change the array representation of binary polynomials: the list |
118 | of degrees of non-zero coefficients is now terminated with -1. | |
119 | Previously it was terminated with 0, which was also part of the | |
120 | value; thus, the array representation was not applicable to | |
121 | polynomials where t^0 has coefficient zero. This change makes | |
122 | the array representation useful in a more general context. | |
123 | [Douglas Stebila] | |
124 | ||
89bbe14c BM |
125 | *) Various modifications and fixes to SSL/TLS cipher string |
126 | handling. For ECC, the code now distinguishes between fixed ECDH | |
127 | with RSA certificates on the one hand and with ECDSA certificates | |
128 | on the other hand, since these are separate ciphersuites. The | |
129 | unused code for Fortezza ciphersuites has been removed. | |
130 | ||
131 | For consistency with EDH, ephemeral ECDH is now called "EECDH" | |
132 | (not "ECDHE"). For consistency with the code for DH | |
133 | certificates, use of ECDH certificates is now considered ECDH | |
134 | authentication, not RSA or ECDSA authentication (the latter is | |
135 | merely the CA's signing algorithm and not actively used in the | |
136 | protocol). | |
137 | ||
138 | The temporary ciphersuite alias "ECCdraft" is no longer | |
139 | available, and ECC ciphersuites are no longer excluded from "ALL" | |
140 | and "DEFAULT". The following aliases now exist for RFC 4492 | |
141 | ciphersuites, most of these by analogy with the DH case: | |
142 | ||
143 | kECDHr - ECDH cert, signed with RSA | |
144 | kECDHe - ECDH cert, signed with ECDSA | |
145 | kECDH - ECDH cert (signed with either RSA or ECDSA) | |
146 | kEECDH - ephemeral ECDH | |
147 | ECDH - ECDH cert or ephemeral ECDH | |
148 | ||
149 | aECDH - ECDH cert | |
150 | aECDSA - ECDSA cert | |
151 | ECDSA - ECDSA cert | |
152 | ||
153 | AECDH - anonymous ECDH | |
154 | EECDH - non-anonymous ephemeral ECDH (equivalent to "kEECDH:-AECDH") | |
155 | ||
156 | [Bodo Moeller] | |
157 | ||
fb7b3932 DSH |
158 | *) Add additional S/MIME capabilities for AES and GOST ciphers if supported. |
159 | Use correct micalg parameters depending on digest(s) in signed message. | |
160 | [Steve Henson] | |
161 | ||
01b8b3c7 DSH |
162 | *) Add engine support for EVP_PKEY_ASN1_METHOD. Add functions to process |
163 | an ENGINE asn1 method. Support ENGINE lookups in the ASN1 code. | |
164 | [Steve Henson] | |
de9fcfe3 | 165 | |
58aa573a | 166 | *) Initial engine support for EVP_PKEY_METHOD. New functions to permit |
c9777d26 DSH |
167 | an engine to register a method. Add ENGINE lookups for methods and |
168 | functional reference processing. | |
58aa573a DSH |
169 | [Steve Henson] |
170 | ||
91c9e621 DSH |
171 | *) New functions EVP_Digest{Sign,Verify)*. These are enchance versions of |
172 | EVP_{Sign,Verify}* which allow an application to customise the signature | |
173 | process. | |
174 | [Steve Henson] | |
175 | ||
55311921 DSH |
176 | *) New -resign option to smime utility. This adds one or more signers |
177 | to an existing PKCS#7 signedData structure. Also -md option to use an | |
178 | alternative message digest algorithm for signing. | |
179 | [Steve Henson] | |
180 | ||
a6e7fcd1 DSH |
181 | *) Tidy up PKCS#7 routines and add new functions to make it easier to |
182 | create PKCS7 structures containing multiple signers. Update smime | |
183 | application to support multiple signers. | |
184 | [Steve Henson] | |
185 | ||
121dd39f DSH |
186 | *) New -macalg option to pkcs12 utility to allow setting of an alternative |
187 | digest MAC. | |
188 | [Steve Henson] | |
189 | ||
856640b5 | 190 | *) Initial support for PKCS#5 v2.0 PRFs other than default SHA1 HMAC. |
b8f702a0 | 191 | Reorganize PBE internals to lookup from a static table using NIDs, |
6d3a1eac DSH |
192 | add support for HMAC PBE OID translation. Add a EVP_CIPHER ctrl: |
193 | EVP_CTRL_PBE_PRF_NID this allows a cipher to specify an alternative | |
194 | PRF which will be automatically used with PBES2. | |
856640b5 DSH |
195 | [Steve Henson] |
196 | ||
34b3c72e | 197 | *) Replace the algorithm specific calls to generate keys in "req" with the |
959e8dfe DSH |
198 | new API. |
199 | [Steve Henson] | |
200 | ||
399a6f0b DSH |
201 | *) Update PKCS#7 enveloped data routines to use new API. This is now |
202 | supported by any public key method supporting the encrypt operation. A | |
203 | ctrl is added to allow the public key algorithm to examine or modify | |
204 | the PKCS#7 RecipientInfo structure if it needs to: for RSA this is | |
205 | a no op. | |
206 | [Steve Henson] | |
28e4fe34 | 207 | |
03919683 DSH |
208 | *) Add a ctrl to asn1 method to allow a public key algorithm to express |
209 | a default digest type to use. In most cases this will be SHA1 but some | |
210 | algorithms (such as GOST) need to specify an alternative digest. The | |
211 | return value indicates how strong the prefernce is 1 means optional and | |
212 | 2 is mandatory (that is it is the only supported type). Modify | |
213 | ASN1_item_sign() to accept a NULL digest argument to indicate it should | |
214 | use the default md. Update openssl utilities to use the default digest | |
215 | type for signing if it is not explicitly indicated. | |
216 | [Steve Henson] | |
217 | ||
ee1d9ec0 DSH |
218 | *) Use OID cross reference table in ASN1_sign() and ASN1_verify(). New |
219 | EVP_MD flag EVP_MD_FLAG_PKEY_METHOD_SIGNATURE. This uses the relevant | |
220 | signing method from the key type. This effectively removes the link | |
221 | between digests and public key types. | |
222 | [Steve Henson] | |
223 | ||
d2027098 DSH |
224 | *) Add an OID cross reference table and utility functions. Its purpose is to |
225 | translate between signature OIDs such as SHA1WithrsaEncryption and SHA1, | |
226 | rsaEncryption. This will allow some of the algorithm specific hackery | |
227 | needed to use the correct OID to be removed. | |
228 | [Steve Henson] | |
229 | ||
492a9e24 DSH |
230 | *) Remove algorithm specific dependencies when setting PKCS7_SIGNER_INFO |
231 | structures for PKCS7_sign(). They are now set up by the relevant public | |
232 | key ASN1 method. | |
233 | [Steve Henson] | |
234 | ||
9ca7047d DSH |
235 | *) Add provisional EC pkey method with support for ECDSA and ECDH. |
236 | [Steve Henson] | |
237 | ||
ffb1ac67 DSH |
238 | *) Add support for key derivation (agreement) in the API, DH method and |
239 | pkeyutl. | |
240 | [Steve Henson] | |
241 | ||
3ba0885a DSH |
242 | *) Add DSA pkey method and DH pkey methods, extend DH ASN1 method to support |
243 | public and private key formats. As a side effect these add additional | |
244 | command line functionality not previously available: DSA signatures can be | |
245 | generated and verified using pkeyutl and DH key support and generation in | |
246 | pkey, genpkey. | |
247 | [Steve Henson] | |
248 | ||
4700aea9 UM |
249 | *) BeOS support. |
250 | [Oliver Tappe <zooey@hirschkaefer.de>] | |
251 | ||
252 | *) New make target "install_html_docs" installs HTML renditions of the | |
253 | manual pages. | |
254 | [Oliver Tappe <zooey@hirschkaefer.de>] | |
255 | ||
f5cda4cb DSH |
256 | *) New utility "genpkey" this is analagous to "genrsa" etc except it can |
257 | generate keys for any algorithm. Extend and update EVP_PKEY_METHOD to | |
258 | support key and parameter generation and add initial key generation | |
259 | functionality for RSA. | |
260 | [Steve Henson] | |
261 | ||
f733a5ef DSH |
262 | *) Add functions for main EVP_PKEY_method operations. The undocumented |
263 | functions EVP_PKEY_{encrypt,decrypt} have been renamed to | |
264 | EVP_PKEY_{encrypt,decrypt}_old. | |
265 | [Steve Henson] | |
266 | ||
0b6f3c66 DSH |
267 | *) Initial definitions for EVP_PKEY_METHOD. This will be a high level public |
268 | key API, doesn't do much yet. | |
269 | [Steve Henson] | |
270 | ||
0b33dac3 DSH |
271 | *) New function EVP_PKEY_asn1_get0_info() to retrieve information about |
272 | public key algorithms. New option to openssl utility: | |
273 | "list-public-key-algorithms" to print out info. | |
274 | [Steve Henson] | |
275 | ||
33273721 BM |
276 | *) Implement the Supported Elliptic Curves Extension for |
277 | ECC ciphersuites from draft-ietf-tls-ecc-12.txt. | |
278 | [Douglas Stebila] | |
279 | ||
246e0931 DSH |
280 | *) Don't free up OIDs in OBJ_cleanup() if they are in use by EVP_MD or |
281 | EVP_CIPHER structures to avoid later problems in EVP_cleanup(). | |
282 | [Steve Henson] | |
283 | ||
3e4585c8 | 284 | *) New utilities pkey and pkeyparam. These are similar to algorithm specific |
f5cda4cb | 285 | utilities such as rsa, dsa, dsaparam etc except they process any key |
3e4585c8 | 286 | type. |
3e84b6e1 DSH |
287 | [Steve Henson] |
288 | ||
35208f36 DSH |
289 | *) Transfer public key printing routines to EVP_PKEY_ASN1_METHOD. New |
290 | functions EVP_PKEY_print_public(), EVP_PKEY_print_private(), | |
291 | EVP_PKEY_print_param() to print public key data from an EVP_PKEY | |
292 | structure. | |
293 | [Steve Henson] | |
294 | ||
448be743 DSH |
295 | *) Initial support for pluggable public key ASN1. |
296 | De-spaghettify the public key ASN1 handling. Move public and private | |
297 | key ASN1 handling to a new EVP_PKEY_ASN1_METHOD structure. Relocate | |
298 | algorithm specific handling to a single module within the relevant | |
299 | algorithm directory. Add functions to allow (near) opaque processing | |
300 | of public and private key structures. | |
301 | [Steve Henson] | |
302 | ||
36ca4ba6 BM |
303 | *) Implement the Supported Point Formats Extension for |
304 | ECC ciphersuites from draft-ietf-tls-ecc-12.txt. | |
305 | [Douglas Stebila] | |
306 | ||
ddac1974 NL |
307 | *) Add initial support for RFC 4279 PSK TLS ciphersuites. Add members |
308 | for the psk identity [hint] and the psk callback functions to the | |
309 | SSL_SESSION, SSL and SSL_CTX structure. | |
310 | ||
311 | New ciphersuites: | |
312 | PSK-RC4-SHA, PSK-3DES-EDE-CBC-SHA, PSK-AES128-CBC-SHA, | |
313 | PSK-AES256-CBC-SHA | |
314 | ||
315 | New functions: | |
316 | SSL_CTX_use_psk_identity_hint | |
317 | SSL_get_psk_identity_hint | |
318 | SSL_get_psk_identity | |
319 | SSL_use_psk_identity_hint | |
320 | ||
321 | [Mika Kousa and Pasi Eronen of Nokia Corporation] | |
322 | ||
c7235be6 UM |
323 | *) Add RFC 3161 compliant time stamp request creation, response generation |
324 | and response verification functionality. | |
325 |