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