blob: 2b05466ccb9da58edd6acdfcfec0c4ebcb9dedc5 [file] [log] [blame]
Paul Bakker02710262011-02-22 16:26:47 +00001PolarSSL ChangeLog
2
Paul Bakker95874f72011-04-01 09:32:55 +00003= Version 0.14.3 released on 2011-04-01
4Bugfixes
5 * Fixed mistake in default certificates
6
Paul Bakkerd741cf42011-02-28 21:10:41 +00007= Version 0.14.2 released on 2011-02-28
8This release replaces version 0.14.1 which had possible copyright issues.
Paul Bakker02710262011-02-22 16:26:47 +00009Bugfixes
10 * Corrected parsing of UTCTime dates before 1990 and
11 after 1950
12 * Support more exotic OID's when parsing certificates
13 (found by Mads Kiilerich)
14 * Support more exotic name representations when parsing
15 certificates (found by Mads Kiilerich)
16 * Replaced the expired test certificates
17 * Do not bail out if no client certificate specified. Try
18 to negotiate anonymous connection (Fixes ticket #12,
19 found by Boris Krasnovskiy)
20
Paul Bakkerd741cf42011-02-28 21:10:41 +000021Security fixes
22 * Fixed a possible Man-in-the-Middle attack on the
23 Diffie Hellman key exchange (thanks to Larry Highsmith,
24 Subreption LLC)
25
Paul Bakker02710262011-02-22 16:26:47 +000026= Version 0.14.0 released on 2010-08-16
27Features
28 * Added support for SSL_EDH_RSA_AES_128_SHA and
29 SSL_EDH_RSA_CAMELLIA_128_SHA ciphersuites
30 * Added compile-time and run-time version information
31 * Expanded ssl_client2 arguments for more flexibility
32 * Added support for TLS v1.1
33
34Changes
35 * Made Makefile cleaner
36 * Removed dependency on rand() in rsa_pkcs1_encrypt().
37 Now using random fuction provided to function and
38 changed the prototype of rsa_pkcs1_encrypt(),
39 rsa_init() and rsa_gen_key().
40 * Some SSL defines were renamed in order to avoid
41 future confusion
42
43Bug fixes
44 * Fixed CMake out of source build for tests (found by
45 kkert)
46 * rsa_check_private() now supports PKCS1v2 keys as well
47 * Fixed deadlock in rsa_pkcs1_encrypt() on failing random
48 generator
49
50= Version 0.13.1 released on 2010-03-24
51Bug fixes
52 * Fixed Makefile in library that was mistakenly merged
53 * Added missing const string fixes
54
55= Version 0.13.0 released on 2010-03-21
56Features
57 * Added option parsing for host and port selection to
58 ssl_client2
59 * Added support for GeneralizedTime in X509 parsing
60 * Added cert_app program to allow easy reading and
61 printing of X509 certificates from file or SSL
62 connection.
63
64Changes
65 * Added const correctness for main code base
66 * X509 signature algorithm determination is now
67 in a function to allow easy future expansion
68 * Changed symmetric cipher functions to
69 identical interface (returning int result values)
70 * Changed ARC4 to use seperate input/output buffer
71 * Added reset function for HMAC context as speed-up
72 for specific use-cases
73
74Bug fixes
75 * Fixed bug resulting in failure to send the last
76 certificate in the chain in ssl_write_certificate() and
77 ssl_write_certificate_request() (found by fatbob)
78 * Added small fixes for compiler warnings on a Mac
79 (found by Frank de Brabander)
80 * Fixed algorithmic bug in mpi_is_prime() (found by
81 Smbat Tonoyan)
82
83= Version 0.12.1 released on 2009-10-04
84Changes
85 * Coverage test definitions now support 'depends_on'
86 tagging system.
87 * Tests requiring specific hashing algorithms now honor
88 the defines.
89
90Bug fixes
91 * Changed typo in #ifdef in x509parse.c (found
92 by Eduardo)
93
94= Version 0.12.0 released on 2009-07-28
95Features
96 * Added CMake makefiles as alternative to regular Makefiles.
97 * Added preliminary Code Coverage tests for AES, ARC4,
98 Base64, MPI, SHA-family, MD-family, HMAC-SHA-family,
99 Camellia, DES, 3-DES, RSA PKCS#1, XTEA, Diffie-Hellman
100 and X509parse.
101
102Changes
103 * Error codes are not (necessarily) negative. Keep
104 this is mind when checking for errors.
105 * RSA_RAW renamed to SIG_RSA_RAW for consistency.
106 * Fixed typo in name of POLARSSL_ERR_RSA_OUTPUT_TOO_LARGE.
107 * Changed interface for AES and Camellia setkey functions
108 to indicate invalid key lengths.
109
110Bug fixes
111 * Fixed include location of endian.h on FreeBSD (found by
112 Gabriel)
113 * Fixed include location of endian.h and name clash on
114 Apples (found by Martin van Hensbergen)
115 * Fixed HMAC-MD2 by modifying md2_starts(), so that the
116 required HMAC ipad and opad variables are not cleared.
117 (found by code coverage tests)
118 * Prevented use of long long in bignum if
119 POLARSSL_HAVE_LONGLONG not defined (found by Giles
120 Bathgate).
121 * Fixed incorrect handling of negative strings in
122 mpi_read_string() (found by code coverage tests).
123 * Fixed segfault on handling empty rsa_context in
124 rsa_check_pubkey() and rsa_check_privkey() (found by
125 code coverage tests).
126 * Fixed incorrect handling of one single negative input
127 value in mpi_add_abs() (found by code coverage tests).
128 * Fixed incorrect handling of negative first input
129 value in mpi_sub_abs() (found by code coverage tests).
130 * Fixed incorrect handling of negative first input
131 value in mpi_mod_mpi() and mpi_mod_int(). Resulting
132 change also affects mpi_write_string() (found by code
133 coverage tests).
134 * Corrected is_prime() results for 0, 1 and 2 (found by
135 code coverage tests).
136 * Fixed Camellia and XTEA for 64-bit Windows systems.
137
138= Version 0.11.1 released on 2009-05-17
139 * Fixed missing functionality for SHA-224, SHA-256, SHA384,
140 SHA-512 in rsa_pkcs1_sign()
141
142= Version 0.11.0 released on 2009-05-03
143 * Fixed a bug in mpi_gcd() so that it also works when both
144 input numbers are even and added testcases to check
145 (found by Pierre Habouzit).
146 * Added support for SHA-224, SHA-256, SHA-384 and SHA-512
147 one way hash functions with the PKCS#1 v1.5 signing and
148 verification.
149 * Fixed minor bug regarding mpi_gcd located within the
150 POLARSSL_GENPRIME block.
151 * Fixed minor memory leak in x509parse_crt() and added better
152 handling of 'full' certificate chains (found by Mathias
153 Olsson).
154 * Centralized file opening and reading for x509 files into
155 load_file()
156 * Made definition of net_htons() endian-clean for big endian
157 systems (Found by Gernot).
158 * Undefining POLARSSL_HAVE_ASM now also handles prevents asm in
159 padlock and timing code.
160 * Fixed an off-by-one buffer allocation in ssl_set_hostname()
161 responsible for crashes and unwanted behaviour.
162 * Added support for Certificate Revocation List (CRL) parsing.
163 * Added support for CRL revocation to x509parse_verify() and
164 SSL/TLS code.
165 * Fixed compatibility of XTEA and Camellia on a 64-bit system
166 (found by Felix von Leitner).
167
168= Version 0.10.0 released on 2009-01-12
169 * Migrated XySSL to PolarSSL
170 * Added XTEA symmetric cipher
171 * Added Camellia symmetric cipher
172 * Added support for ciphersuites: SSL_RSA_CAMELLIA_128_SHA,
173 SSL_RSA_CAMELLIA_256_SHA and SSL_EDH_RSA_CAMELLIA_256_SHA
174 * Fixed dangerous bug that can cause a heap overflow in
175 rsa_pkcs1_decrypt (found by Christophe Devine)
176
177================================================================
178XySSL ChangeLog
179
180= Version 0.9 released on 2008-03-16
181
182 * Added support for ciphersuite: SSL_RSA_AES_128_SHA
183 * Enabled support for large files by default in aescrypt2.c
184 * Preliminary openssl wrapper contributed by David Barrett
185 * Fixed a bug in ssl_write() that caused the same payload to
186 be sent twice in non-blocking mode when send returns EAGAIN
187 * Fixed ssl_parse_client_hello(): session id and challenge must
188 not be swapped in the SSLv2 ClientHello (found by Greg Robson)
189 * Added user-defined callback debug function (Krystian Kolodziej)
190 * Before freeing a certificate, properly zero out all cert. data
191 * Fixed the "mode" parameter so that encryption/decryption are
192 not swapped on PadLock; also fixed compilation on older versions
193 of gcc (bug reported by David Barrett)
194 * Correctly handle the case in padlock_xcryptcbc() when input or
195 ouput data is non-aligned by falling back to the software
196 implementation, as VIA Nehemiah cannot handle non-aligned buffers
197 * Fixed a memory leak in x509parse_crt() which was reported by Greg
198 Robson-Garth; some x509write.c fixes by Pascal Vizeli, thanks to
199 Matthew Page who reported several bugs
200 * Fixed x509_get_ext() to accept some rare certificates which have
201 an INTEGER instead of a BOOLEAN for BasicConstraints::cA.
202 * Added support on the client side for the TLS "hostname" extension
203 (patch contributed by David Patino)
204 * Make x509parse_verify() return BADCERT_CN_MISMATCH when an empty
205 string is passed as the CN (bug reported by spoofy)
206 * Added an option to enable/disable the BN assembly code
207 * Updated rsa_check_privkey() to verify that (D*E) = 1 % (P-1)*(Q-1)
208 * Disabled obsolete hash functions by default (MD2, MD4); updated
209 selftest and benchmark to not test ciphers that have been disabled
210 * Updated x509parse_cert_info() to correctly display byte 0 of the
211 serial number, setup correct server port in the ssl client example
212 * Fixed a critical denial-of-service with X.509 cert. verification:
213 peer may cause xyssl to loop indefinitely by sending a certificate
214 for which the RSA signature check fails (bug reported by Benoit)
215 * Added test vectors for: AES-CBC, AES-CFB, DES-CBC and 3DES-CBC,
216 HMAC-MD5, HMAC-SHA1, HMAC-SHA-256, HMAC-SHA-384, and HMAC-SHA-512
217 * Fixed HMAC-SHA-384 and HMAC-SHA-512 (thanks to Josh Sinykin)
218 * Modified ssl_parse_client_key_exchange() to protect against
219 Daniel Bleichenbacher attack on PKCS#1 v1.5 padding, as well
220 as the Klima-Pokorny-Rosa extension of Bleichenbacher's attack
221 * Updated rsa_gen_key() so that ctx->N is always nbits in size
222 * Fixed assembly PPC compilation errors on Mac OS X, thanks to
223 David Barrett and Dusan Semen
224
225= Version 0.8 released on 2007-10-20
226
227 * Modified the HMAC functions to handle keys larger
228 than 64 bytes, thanks to Stephane Desneux and gary ng
229 * Fixed ssl_read_record() to properly update the handshake
230 message digests, which fixes IE6/IE7 client authentication
231 * Cleaned up the XYSSL* #defines, suggested by Azriel Fasten
232 * Fixed net_recv(), thanks to Lorenz Schori and Egon Kocjan
233 * Added user-defined callbacks for handling I/O and sessions
234 * Added lots of debugging output in the SSL/TLS functions
235 * Added preliminary X.509 cert. writing by Pascal Vizeli
236 * Added preliminary support for the VIA PadLock routines
237 * Added AES-CFB mode of operation, contributed by chmike
238 * Added an SSL/TLS stress testing program (ssl_test.c)
239 * Updated the RSA PKCS#1 code to allow choosing between
240 RSA_PUBLIC and RSA_PRIVATE, as suggested by David Barrett
241 * Updated ssl_read() to skip 0-length records from OpenSSL
242 * Fixed the make install target to comply with *BSD make
243 * Fixed a bug in mpi_read_binary() on 64-bit platforms
244 * mpi_is_prime() speedups, thanks to Kevin McLaughlin
245 * Fixed a long standing memory leak in mpi_is_prime()
246 * Replaced realloc with malloc in mpi_grow(), and set
247 the sign of zero as positive in mpi_init() (reported
248 by Jonathan M. McCune)
249
250= Version 0.7 released on 2007-07-07
251
252 * Added support for the MicroBlaze soft-core processor
253 * Fixed a bug in ssl_tls.c which sometimes prevented SSL
254 connections from being established with non-blocking I/O
255 * Fixed a couple bugs in the VS6 and UNIX Makefiles
256 * Fixed the "PIC register ebx clobbered in asm" bug
257 * Added HMAC starts/update/finish support functions
258 * Added the SHA-224, SHA-384 and SHA-512 hash functions
259 * Fixed the net_set_*block routines, thanks to Andreas
260 * Added a few demonstration programs: md5sum, sha1sum,
261 dh_client, dh_server, rsa_genkey, rsa_sign, rsa_verify
262 * Added new bignum import and export helper functions
263 * Rewrote README.txt in program/ssl/ca to better explain
264 how to create a test PKI
265
266= Version 0.6 released on 2007-04-01
267
268 * Ciphers used in SSL/TLS can now be disabled at compile
269 time, to reduce the memory footprint on embedded systems
270 * Added multiply assembly code for the TriCore and modified
271 havege_struct for this processor, thanks to David Patiño
272 * Added multiply assembly code for 64-bit PowerPCs,
273 thanks to Peking University and the OSU Open Source Lab
274 * Added experimental support of Quantum Cryptography
275 * Added support for autoconf, contributed by Arnaud Cornet
276 * Fixed "long long" compilation issues on IA-64 and PPC64
277 * Fixed a bug introduced in xyssl-0.5/timing.c: hardclock
278 was not being correctly defined on ARM and MIPS
279
280= Version 0.5 released on 2007-03-01
281
282 * Added multiply assembly code for SPARC and Alpha
283 * Added (beta) support for non-blocking I/O operations
284 * Implemented session resuming and client authentication
285 * Fixed some portability issues on WinCE, MINIX 3, Plan9
286 (thanks to Benjamin Newman), HP-UX, FreeBSD and Solaris
287 * Improved the performance of the EDH key exchange
288 * Fixed a bug that caused valid packets with a payload
289 size of 16384 bytes to be rejected
290
291= Version 0.4 released on 2007-02-01
292
293 * Added support for Ephemeral Diffie-Hellman key exchange
294 * Added multiply asm code for SSE2, ARM, PPC, MIPS and M68K
295 * Various improvement to the modular exponentiation code
296 * Rewrote the headers to generate the API docs with doxygen
297 * Fixed a bug in ssl_encrypt_buf (incorrect padding was
298 generated) and in ssl_parse_client_hello (max. client
299 version was not properly set), thanks to Didier Rebeix
300 * Fixed another bug in ssl_parse_client_hello: clients with
301 cipherlists larger than 96 bytes were incorrectly rejected
302 * Fixed a couple memory leak in x509_read.c
303
304= Version 0.3 released on 2007-01-01
305
306 * Added server-side SSLv3 and TLSv1.0 support
307 * Multiple fixes to enhance the compatibility with g++,
308 thanks to Xosé Antón Otero Ferreira
309 * Fixed a bug in the CBC code, thanks to dowst; also,
310 the bignum code is no longer dependant on long long
311 * Updated rsa_pkcs1_sign to handle arbitrary large inputs
312 * Updated timing.c for improved compatibility with i386
313 and 486 processors, thanks to Arnaud Cornet
314
315= Version 0.2 released on 2006-12-01
316
317 * Updated timing.c to support ARM and MIPS arch
318 * Updated the MPI code to support 8086 on MSVC 1.5
319 * Added the copyright notice at the top of havege.h
320 * Fixed a bug in sha2_hmac, thanks to newsoft/Wenfang Zhang
321 * Fixed a bug reported by Adrian Rüegsegger in x509_read_key
322 * Fixed a bug reported by Torsten Lauter in ssl_read_record
323 * Fixed a bug in rsa_check_privkey that would wrongly cause
324 valid RSA keys to be dismissed (thanks to oldwolf)
325 * Fixed a bug in mpi_is_prime that caused some primes to fail
326 the Miller-Rabin primality test
327
328 I'd also like to thank Younès Hafri for the CRUX linux port,
329 Khalil Petit who added XySSL into pkgsrc and Arnaud Cornet
330 who maintains the Debian package :-)
331
332= Version 0.1 released on 2006-11-01
333
334>>>>>>> .merge-right.r961