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