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