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