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