Add better documentation on how id_function() should be defined and what
[openssl.git] / NEWS
1
2   NEWS
3   ====
4
5   This file gives a brief overview of the major changes between each OpenSSL
6   release. For more details please read the CHANGES file.
7
8   Major changes between OpenSSL 0.9.7g and OpenSSL 0.9.8:
9
10       o Major work on the BIGNUM library for higher efficiency and to
11         make operations more streamlined and less contradictory.  This
12         is the result of a major audit of the BIGNUM library.
13       o Addition of BIGNUM functions for fields GF(2^m) and NIST
14         curves, to support the Elliptic Crypto functions.
15       o Major work on Elliptic Crypto; ECDH and ECDSA added, including
16         the use through EVP, X509 and ENGINE.
17       o New ASN.1 mini-compiler that's usable through the OpenSSL
18         configuration file.
19       o Added support for ASN.1 indefinite length constructed encoding.
20       o New PKCS#12 'medium level' API to manipulate PKCS#12 files.
21       o Complete rework of shared library construction and linking
22         programs with shared or static libraries, through a separate
23         Makefile.shared.
24       o Changed ENGINE framework to load dynamic engine modules
25         automatically from specifically given directories.
26       o New structure and ASN.1 functions for CertificatePair.
27       o Changed the ZLIB compression method to be stateful.
28       o Changed the key-generation and primality testing "progress"
29         mechanism to take a structure that contains the ticker
30         function and an argument.
31       o New engine module: GMP (performs private key exponentiation).
32       o New engine module: VIA PadLOck ACE extension in VIA C3
33         Nehemiah processors.
34       o Added support for IPv6 addresses in certificate extensions.
35         See RFC 1884, section 2.2.
36       o Added support for certificate policy mappings, policy
37         constraints and name constraints.
38       o Added support for multi-valued AVAs in the OpenSSL
39         configuration file.
40       o Added support for multiple certificates with the same subject
41         in the 'openssl ca' index file.
42       o Make it possible to create self-signed certificates using
43         'openssl ca -selfsign'.
44       o Make it possible to generate a serial number file with
45         'openssl ca -create_serial'.
46       o New binary search functions with extended functionality.
47       o New BUF functions.
48       o New STORE structure and library to provide an interface to all
49         sorts of data repositories.  Supports storage of public and
50         private keys, certificates, CRLs, numbers and arbitrary blobs.
51         This library is unfortunately unfinished and unused withing
52         OpenSSL.
53       o New control functions for the error stack.
54       o Changed the PKCS#7 library to support one-pass S/MIME
55         processing.
56       o Added the possibility to compile without old deprecated
57         functionality with the OPENSSL_NO_DEPRECATED macro or the
58         'no-deprecated' argument to the config and Configure scripts.
59       o Constification of all ASN.1 conversion functions, and other
60         affected functions.
61       o Improved platform support for PowerPC.
62       o New FIPS 180-2 algorithms (SHA-224, -256, -384 and -512).
63       o New X509_VERIFY_PARAM structure to support parametrisation
64         of X.509 path validation.
65       o Major overhaul of RC4 performance on Intel P4, IA-64 and
66         AMD64.
67       o Changed the Configure script to have some algorithms disabled
68         by default.  Those can be explicitely enabled with the new
69         argument form 'enable-xxx'.
70       o Change the default digest in 'openssl' commands from MD5 to
71         SHA-1.
72       o Added support for DTLS.  THIS IS STILL BEING WORKED ON!
73       o New BIGNUM blinding.
74       o Added support for the RSA-PSS encryption scheme
75       o Added support for the RSA X.931 padding.
76
77   Major changes between OpenSSL 0.9.7f and OpenSSL 0.9.7g:
78
79       o More compilation issues fixed.
80       o Adaptation to more modern Kerberos API.
81       o Enhanced or corrected configuration for Solaris64, Mingw and Cygwin.
82       o Enhanced x86_64 assembler BIGNUM module.
83       o More constification.
84       o Added processing of proxy certificates (RFC 3820).
85
86   Major changes between OpenSSL 0.9.7e and OpenSSL 0.9.7f:
87
88       o Several compilation issues fixed.
89       o Many memory allocation failure checks added.
90       o Improved comparison of X509 Name type.
91       o Mandatory basic checks on certificates.
92       o Performance improvements.
93
94   Major changes between OpenSSL 0.9.7d and OpenSSL 0.9.7e:
95
96       o Fix race condition in CRL checking code.
97       o Fixes to PKCS#7 (S/MIME) code.
98
99   Major changes between OpenSSL 0.9.7c and OpenSSL 0.9.7d:
100
101       o Security: Fix Kerberos ciphersuite SSL/TLS handshaking bug
102       o Security: Fix null-pointer assignment in do_change_cipher_spec()
103       o Allow multiple active certificates with same subject in CA index
104       o Multiple X509 verification fixes
105       o Speed up HMAC and other operations
106
107   Major changes between OpenSSL 0.9.7b and OpenSSL 0.9.7c:
108
109       o Security: fix various ASN1 parsing bugs.
110       o New -ignore_err option to OCSP utility.
111       o Various interop and bug fixes in S/MIME code.
112       o SSL/TLS protocol fix for unrequested client certificates.
113
114   Major changes between OpenSSL 0.9.7a and OpenSSL 0.9.7b:
115
116       o Security: counter the Klima-Pokorny-Rosa extension of
117         Bleichbacher's attack 
118       o Security: make RSA blinding default.
119       o Configuration: Irix fixes, AIX fixes, better mingw support.
120       o Support for new platforms: linux-ia64-ecc.
121       o Build: shared library support fixes.
122       o ASN.1: treat domainComponent correctly.
123       o Documentation: fixes and additions.
124
125   Major changes between OpenSSL 0.9.7 and OpenSSL 0.9.7a:
126
127       o Security: Important security related bugfixes.
128       o Enhanced compatibility with MIT Kerberos.
129       o Can be built without the ENGINE framework.
130       o IA32 assembler enhancements.
131       o Support for new platforms: FreeBSD/IA64 and FreeBSD/Sparc64.
132       o Configuration: the no-err option now works properly.
133       o SSL/TLS: now handles manual certificate chain building.
134       o SSL/TLS: certain session ID malfunctions corrected.
135
136   Major changes between OpenSSL 0.9.6 and OpenSSL 0.9.7:
137
138       o New library section OCSP.
139       o Complete rewrite of ASN1 code.
140       o CRL checking in verify code and openssl utility.
141       o Extension copying in 'ca' utility.
142       o Flexible display options in 'ca' utility.
143       o Provisional support for international characters with UTF8.
144       o Support for external crypto devices ('engine') is no longer
145         a separate distribution.
146       o New elliptic curve library section.
147       o New AES (Rijndael) library section.
148       o Support for new platforms: Windows CE, Tandem OSS, A/UX, AIX 64-bit,
149         Linux x86_64, Linux 64-bit on Sparc v9
150       o Extended support for some platforms: VxWorks
151       o Enhanced support for shared libraries.
152       o Now only builds PIC code when shared library support is requested.
153       o Support for pkg-config.
154       o Lots of new manuals.
155       o Makes symbolic links to or copies of manuals to cover all described
156         functions.
157       o Change DES API to clean up the namespace (some applications link also
158         against libdes providing similar functions having the same name).
159         Provide macros for backward compatibility (will be removed in the
160         future).
161       o Unify handling of cryptographic algorithms (software and engine)
162         to be available via EVP routines for asymmetric and symmetric ciphers.
163       o NCONF: new configuration handling routines.
164       o Change API to use more 'const' modifiers to improve error checking
165         and help optimizers.
166       o Finally remove references to RSAref.
167       o Reworked parts of the BIGNUM code.
168       o Support for new engines: Broadcom ubsec, Accelerated Encryption
169         Processing, IBM 4758.
170       o A few new engines added in the demos area.
171       o Extended and corrected OID (object identifier) table.
172       o PRNG: query at more locations for a random device, automatic query for
173         EGD style random sources at several locations.
174       o SSL/TLS: allow optional cipher choice according to server's preference.
175       o SSL/TLS: allow server to explicitly set new session ids.
176       o SSL/TLS: support Kerberos cipher suites (RFC2712).
177         Only supports MIT Kerberos for now.
178       o SSL/TLS: allow more precise control of renegotiations and sessions.
179       o SSL/TLS: add callback to retrieve SSL/TLS messages.
180       o SSL/TLS: support AES cipher suites (RFC3268).
181
182   Major changes between OpenSSL 0.9.6j and OpenSSL 0.9.6k:
183
184       o Security: fix various ASN1 parsing bugs.
185       o SSL/TLS protocol fix for unrequested client certificates.
186
187   Major changes between OpenSSL 0.9.6i and OpenSSL 0.9.6j:
188
189       o Security: counter the Klima-Pokorny-Rosa extension of
190         Bleichbacher's attack 
191       o Security: make RSA blinding default.
192       o Build: shared library support fixes.
193
194   Major changes between OpenSSL 0.9.6h and OpenSSL 0.9.6i:
195
196       o Important security related bugfixes.
197
198   Major changes between OpenSSL 0.9.6g and OpenSSL 0.9.6h:
199
200       o New configuration targets for Tandem OSS and A/UX.
201       o New OIDs for Microsoft attributes.
202       o Better handling of SSL session caching.
203       o Better comparison of distinguished names.
204       o Better handling of shared libraries in a mixed GNU/non-GNU environment.
205       o Support assembler code with Borland C.
206       o Fixes for length problems.
207       o Fixes for uninitialised variables.
208       o Fixes for memory leaks, some unusual crashes and some race conditions.
209       o Fixes for smaller building problems.
210       o Updates of manuals, FAQ and other instructive documents.
211
212   Major changes between OpenSSL 0.9.6f and OpenSSL 0.9.6g:
213
214       o Important building fixes on Unix.
215
216   Major changes between OpenSSL 0.9.6e and OpenSSL 0.9.6f:
217
218       o Various important bugfixes.
219
220   Major changes between OpenSSL 0.9.6d and OpenSSL 0.9.6e:
221
222       o Important security related bugfixes.
223       o Various SSL/TLS library bugfixes.
224
225   Major changes between OpenSSL 0.9.6c and OpenSSL 0.9.6d:
226
227       o Various SSL/TLS library bugfixes.
228       o Fix DH parameter generation for 'non-standard' generators.
229
230   Major changes between OpenSSL 0.9.6b and OpenSSL 0.9.6c:
231
232       o Various SSL/TLS library bugfixes.
233       o BIGNUM library fixes.
234       o RSA OAEP and random number generation fixes.
235       o Object identifiers corrected and added.
236       o Add assembler BN routines for IA64.
237       o Add support for OS/390 Unix, UnixWare with gcc, OpenUNIX 8,
238         MIPS Linux; shared library support for Irix, HP-UX.
239       o Add crypto accelerator support for AEP, Baltimore SureWare,
240         Broadcom and Cryptographic Appliance's keyserver
241         [in 0.9.6c-engine release].
242
243   Major changes between OpenSSL 0.9.6a and OpenSSL 0.9.6b:
244
245       o Security fix: PRNG improvements.
246       o Security fix: RSA OAEP check.
247       o Security fix: Reinsert and fix countermeasure to Bleichbacher's
248         attack.
249       o MIPS bug fix in BIGNUM.
250       o Bug fix in "openssl enc".
251       o Bug fix in X.509 printing routine.
252       o Bug fix in DSA verification routine and DSA S/MIME verification.
253       o Bug fix to make PRNG thread-safe.
254       o Bug fix in RAND_file_name().
255       o Bug fix in compatibility mode trust settings.
256       o Bug fix in blowfish EVP.
257       o Increase default size for BIO buffering filter.
258       o Compatibility fixes in some scripts.
259
260   Major changes between OpenSSL 0.9.6 and OpenSSL 0.9.6a:
261
262       o Security fix: change behavior of OpenSSL to avoid using
263         environment variables when running as root.
264       o Security fix: check the result of RSA-CRT to reduce the
265         possibility of deducing the private key from an incorrectly
266         calculated signature.
267       o Security fix: prevent Bleichenbacher's DSA attack.
268       o Security fix: Zero the premaster secret after deriving the
269         master secret in DH ciphersuites.
270       o Reimplement SSL_peek(), which had various problems.
271       o Compatibility fix: the function des_encrypt() renamed to
272         des_encrypt1() to avoid clashes with some Unixen libc.
273       o Bug fixes for Win32, HP/UX and Irix.
274       o Bug fixes in BIGNUM, SSL, PKCS#7, PKCS#12, X.509, CONF and
275         memory checking routines.
276       o Bug fixes for RSA operations in threaded environments.
277       o Bug fixes in misc. openssl applications.
278       o Remove a few potential memory leaks.
279       o Add tighter checks of BIGNUM routines.
280       o Shared library support has been reworked for generality.
281       o More documentation.
282       o New function BN_rand_range().
283       o Add "-rand" option to openssl s_client and s_server.
284
285   Major changes between OpenSSL 0.9.5a and OpenSSL 0.9.6:
286
287       o Some documentation for BIO and SSL libraries.
288       o Enhanced chain verification using key identifiers.
289       o New sign and verify options to 'dgst' application.
290       o Support for DER and PEM encoded messages in 'smime' application.
291       o New 'rsautl' application, low level RSA utility.
292       o MD4 now included.
293       o Bugfix for SSL rollback padding check.
294       o Support for external crypto devices [1].
295       o Enhanced EVP interface.
296
297     [1] The support for external crypto devices is currently a separate
298         distribution.  See the file README.ENGINE.
299
300   Major changes between OpenSSL 0.9.5 and OpenSSL 0.9.5a:
301
302       o Bug fixes for Win32, SuSE Linux, NeXTSTEP and FreeBSD 2.2.8 
303       o Shared library support for HPUX and Solaris-gcc
304       o Support of Linux/IA64
305       o Assembler support for Mingw32
306       o New 'rand' application
307       o New way to check for existence of algorithms from scripts
308
309   Major changes between OpenSSL 0.9.4 and OpenSSL 0.9.5:
310
311       o S/MIME support in new 'smime' command
312       o Documentation for the OpenSSL command line application
313       o Automation of 'req' application
314       o Fixes to make s_client, s_server work under Windows
315       o Support for multiple fieldnames in SPKACs
316       o New SPKAC command line utilty and associated library functions
317       o Options to allow passwords to be obtained from various sources
318       o New public key PEM format and options to handle it
319       o Many other fixes and enhancements to command line utilities
320       o Usable certificate chain verification
321       o Certificate purpose checking
322       o Certificate trust settings
323       o Support of authority information access extension
324       o Extensions in certificate requests
325       o Simplified X509 name and attribute routines
326       o Initial (incomplete) support for international character sets
327       o New DH_METHOD, DSA_METHOD and enhanced RSA_METHOD
328       o Read only memory BIOs and simplified creation function
329       o TLS/SSL protocol bugfixes: Accept TLS 'client hello' in SSL 3.0
330         record; allow fragmentation and interleaving of handshake and other
331         data
332       o TLS/SSL code now "tolerates" MS SGC
333       o Work around for Netscape client certificate hang bug
334       o RSA_NULL option that removes RSA patent code but keeps other
335         RSA functionality
336       o Memory leak detection now allows applications to add extra information
337         via a per-thread stack
338       o PRNG robustness improved
339       o EGD support
340       o BIGNUM library bug fixes
341       o Faster DSA parameter generation
342       o Enhanced support for Alpha Linux
343       o Experimental MacOS support
344
345   Major changes between OpenSSL 0.9.3 and OpenSSL 0.9.4:
346
347       o Transparent support for PKCS#8 format private keys: these are used
348         by several software packages and are more secure than the standard
349         form
350       o PKCS#5 v2.0 implementation
351       o Password callbacks have a new void * argument for application data
352       o Avoid various memory leaks
353       o New pipe-like BIO that allows using the SSL library when actual I/O
354         must be handled by the application (BIO pair)
355
356   Major changes between OpenSSL 0.9.2b and OpenSSL 0.9.3:
357       o Lots of enhancements and cleanups to the Configuration mechanism
358       o RSA OEAP related fixes
359       o Added `openssl ca -revoke' option for revoking a certificate
360       o Source cleanups: const correctness, type-safe stacks and ASN.1 SETs
361       o Source tree cleanups: removed lots of obsolete files
362       o Thawte SXNet, certificate policies and CRL distribution points
363         extension support
364       o Preliminary (experimental) S/MIME support
365       o Support for ASN.1 UTF8String and VisibleString
366       o Full integration of PKCS#12 code
367       o Sparc assembler bignum implementation, optimized hash functions
368       o Option to disable selected ciphers
369
370   Major changes between OpenSSL 0.9.1c and OpenSSL 0.9.2b:
371       o Fixed a security hole related to session resumption
372       o Fixed RSA encryption routines for the p < q case
373       o "ALL" in cipher lists now means "everything except NULL ciphers"
374       o Support for Triple-DES CBCM cipher
375       o Support of Optimal Asymmetric Encryption Padding (OAEP) for RSA
376       o First support for new TLSv1 ciphers
377       o Added a few new BIOs (syslog BIO, reliable BIO)
378       o Extended support for DSA certificate/keys.
379       o Extended support for Certificate Signing Requests (CSR)
380       o Initial support for X.509v3 extensions
381       o Extended support for compression inside the SSL record layer
382       o Overhauled Win32 builds
383       o Cleanups and fixes to the Big Number (BN) library
384       o Support for ASN.1 GeneralizedTime
385       o Splitted ASN.1 SETs from SEQUENCEs
386       o ASN1 and PEM support for Netscape Certificate Sequences
387       o Overhauled Perl interface
388       o Lots of source tree cleanups.
389       o Lots of memory leak fixes.
390       o Lots of bug fixes.
391
392   Major changes between SSLeay 0.9.0b and OpenSSL 0.9.1c:
393       o Integration of the popular NO_RSA/NO_DSA patches
394       o Initial support for compression inside the SSL record layer
395       o Added BIO proxy and filtering functionality
396       o Extended Big Number (BN) library
397       o Added RIPE MD160 message digest
398       o Addeed support for RC2/64bit cipher
399       o Extended ASN.1 parser routines
400       o Adjustations of the source tree for CVS
401       o Support for various new platforms
402