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