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