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