| [20366] | 1 | mbed TLS ChangeLog (Sorted per branch, date)
|
|---|
| 2 |
|
|---|
| 3 | = mbed TLS 2.2.1 released 2016-01-05
|
|---|
| 4 |
|
|---|
| 5 | Security
|
|---|
| 6 | * Fix potential double free when mbedtls_asn1_store_named_data() fails to
|
|---|
| 7 | allocate memory. Only used for certificate generation, not triggerable
|
|---|
| 8 | remotely in SSL/TLS. Found by Rafał Przywara. #367
|
|---|
| 9 | * Disable MD5 handshake signatures in TLS 1.2 by default
|
|---|
| 10 |
|
|---|
| 11 | Bugfix
|
|---|
| 12 | * Fix over-restrictive length limit in GCM. Found by Andreas-N. #362
|
|---|
| 13 | * Fix bug in certificate validation that caused valid chains to be rejected
|
|---|
| 14 | when the first intermediate certificate has pathLenConstraint=0. Found by
|
|---|
| 15 | Nicholas Wilson. Introduced in mbed TLS 2.2.0. #280
|
|---|
| 16 | * Removed potential leak in mbedtls_rsa_rsassa_pkcs1_v15_sign(), found by
|
|---|
| 17 | JayaraghavendranK. #372
|
|---|
| 18 | * Fix suboptimal handling of unexpected records that caused interop issues
|
|---|
| 19 | with some peers over unreliable links. Avoid dropping an entire DTLS
|
|---|
| 20 | datagram if a single record in a datagram is unexpected, instead only
|
|---|
| 21 | drop the record and look at subsequent records (if any are present) in
|
|---|
| 22 | the same datagram. Found by jeannotlapin. #345
|
|---|
| 23 |
|
|---|
| 24 | = mbed TLS 2.2.0 released 2015-11-04
|
|---|
| 25 |
|
|---|
| 26 | Security
|
|---|
| 27 | * Fix potential double free if mbedtls_ssl_conf_psk() is called more than
|
|---|
| 28 | once and some allocation fails. Cannot be forced remotely. Found by Guido
|
|---|
| 29 | Vranken, Intelworks.
|
|---|
| 30 | * Fix potential heap corruption on Windows when
|
|---|
| 31 | mbedtls_x509_crt_parse_path() is passed a path longer than 2GB. Cannot be
|
|---|
| 32 | triggered remotely. Found by Guido Vranken, Intelworks.
|
|---|
| 33 | * Fix potential buffer overflow in some asn1_write_xxx() functions.
|
|---|
| 34 | Cannot be triggered remotely unless you create X.509 certificates based
|
|---|
| 35 | on untrusted input or write keys of untrusted origin. Found by Guido
|
|---|
| 36 | Vranken, Intelworks.
|
|---|
| 37 | * The X509 max_pathlen constraint was not enforced on intermediate
|
|---|
| 38 | certificates. Found by Nicholas Wilson, fix and tests provided by
|
|---|
| 39 | Janos Follath. #280 and #319
|
|---|
| 40 |
|
|---|
| 41 | Features
|
|---|
| 42 | * Experimental support for EC J-PAKE as defined in Thread 1.0.0.
|
|---|
| 43 | Disabled by default as the specification might still change.
|
|---|
| 44 | * Added a key extraction callback to accees the master secret and key
|
|---|
| 45 | block. (Potential uses include EAP-TLS and Thread.)
|
|---|
| 46 |
|
|---|
| 47 | Bugfix
|
|---|
| 48 | * Self-signed certificates were not excluded from pathlen counting,
|
|---|
| 49 | resulting in some valid X.509 being incorrectly rejected. Found and fix
|
|---|
| 50 | provided by Janos Follath. #319
|
|---|
| 51 | * Fix build error with configurations where ECDHE-PSK is the only key
|
|---|
| 52 | exchange. Found and fix provided by Chris Hammond. #270
|
|---|
| 53 | * Fix build error with configurations where RSA, RSA-PSK, ECDH-RSA or
|
|---|
| 54 | ECHD-ECDSA if the only key exchange. Multiple reports. #310
|
|---|
| 55 | * Fixed a bug causing some handshakes to fail due to some non-fatal alerts
|
|---|
| 56 | not being properly ignored. Found by mancha and Kasom Koht-arsa, #308
|
|---|
| 57 | * mbedtls_x509_crt_verify(_with_profile)() now also checks the key type and
|
|---|
| 58 | size/curve against the profile. Before that, there was no way to set a
|
|---|
| 59 | minimum key size for end-entity certificates with RSA keys. Found by
|
|---|
| 60 | Matthew Page of Scannex Electronics Ltd.
|
|---|
| 61 | * Fix failures in MPI on Sparc(64) due to use of bad assembly code.
|
|---|
| 62 | Found by Kurt Danielson. #292
|
|---|
| 63 | * Fix typo in name of the extKeyUsage OID. Found by inestlerode, #314
|
|---|
| 64 | * Fix bug in ASN.1 encoding of booleans that caused generated CA
|
|---|
| 65 | certificates to be rejected by some applications, including OS X
|
|---|
| 66 | Keychain. Found and fixed by Jonathan Leroy, Inikup.
|
|---|
| 67 |
|
|---|
| 68 | Changes
|
|---|
| 69 | * Improved performance of mbedtls_ecp_muladd() when one of the scalars is 1
|
|---|
| 70 | or -1.
|
|---|
| 71 |
|
|---|
| 72 | = mbed TLS 2.1.2 released 2015-10-06
|
|---|
| 73 |
|
|---|
| 74 | Security
|
|---|
| 75 | * Added fix for CVE-2015-5291 to prevent heap corruption due to buffer
|
|---|
| 76 | overflow of the hostname or session ticket. Found by Guido Vranken,
|
|---|
| 77 | Intelworks.
|
|---|
| 78 | * Fix potential double-free if mbedtls_ssl_set_hs_psk() is called more than
|
|---|
| 79 | once in the same handhake and mbedtls_ssl_conf_psk() was used.
|
|---|
| 80 | Found and patch provided by Guido Vranken, Intelworks. Cannot be forced
|
|---|
| 81 | remotely.
|
|---|
| 82 | * Fix stack buffer overflow in pkcs12 decryption (used by
|
|---|
| 83 | mbedtls_pk_parse_key(file)() when the password is > 129 bytes.
|
|---|
| 84 | Found by Guido Vranken, Intelworks. Not triggerable remotely.
|
|---|
| 85 | * Fix potential buffer overflow in mbedtls_mpi_read_string().
|
|---|
| 86 | Found by Guido Vranken, Intelworks. Not exploitable remotely in the context
|
|---|
| 87 | of TLS, but might be in other uses. On 32 bit machines, requires reading a
|
|---|
| 88 | string of close to or larger than 1GB to exploit; on 64 bit machines, would
|
|---|
| 89 | require reading a string of close to or larger than 2^62 bytes.
|
|---|
| 90 | * Fix potential random memory allocation in mbedtls_pem_read_buffer()
|
|---|
| 91 | on crafted PEM input data. Found and fix provided by Guido Vranken,
|
|---|
| 92 | Intelworks. Not triggerable remotely in TLS. Triggerable remotely if you
|
|---|
| 93 | accept PEM data from an untrusted source.
|
|---|
| 94 | * Fix possible heap buffer overflow in base64_encoded() when the input
|
|---|
| 95 | buffer is 512MB or larger on 32-bit platforms. Found by Guido Vranken,
|
|---|
| 96 | Intelworks. Not trigerrable remotely in TLS.
|
|---|
| 97 | * Fix potential double-free if mbedtls_conf_psk() is called repeatedly on
|
|---|
| 98 | the same mbedtls_ssl_config object and memory allocation fails. Found by
|
|---|
| 99 | Guido Vranken, Intelworks. Cannot be forced remotely.
|
|---|
| 100 | * Fix potential heap buffer overflow in servers that perform client
|
|---|
| 101 | authentication against a crafted CA cert. Cannot be triggered remotely
|
|---|
| 102 | unless you allow third parties to pick trust CAs for client auth.
|
|---|
| 103 | Found by Guido Vranken, Intelworks.
|
|---|
| 104 |
|
|---|
| 105 | Bugfix
|
|---|
| 106 | * Fix compile error in net.c with musl libc. Found and patch provided by
|
|---|
| 107 | zhasha (#278).
|
|---|
| 108 | * Fix macroization of 'inline' keyword when building as C++. (#279)
|
|---|
| 109 |
|
|---|
| 110 | Changes
|
|---|
| 111 | * Added checking of hostname length in mbedtls_ssl_set_hostname() to ensure
|
|---|
| 112 | domain names are compliant with RFC 1035.
|
|---|
| 113 | * Fixed paths for check_config.h in example config files. (Found by bachp)
|
|---|
| 114 | (#291)
|
|---|
| 115 |
|
|---|
| 116 | = mbed TLS 2.1.1 released 2015-09-17
|
|---|
| 117 |
|
|---|
| 118 | Security
|
|---|
| 119 | * Add countermeasure against Lenstra's RSA-CRT attack for PKCS#1 v1.5
|
|---|
| 120 | signatures. (Found by Florian Weimer, Red Hat.)
|
|---|
| 121 | https://securityblog.redhat.com/2015/09/02/factoring-rsa-keys-with-tls-perfect-forward-secrecy/
|
|---|
| 122 | * Fix possible client-side NULL pointer dereference (read) when the client
|
|---|
| 123 | tries to continue the handshake after it failed (a misuse of the API).
|
|---|
| 124 | (Found and patch provided by Fabian Foerg, Gotham Digital Science using
|
|---|
| 125 | afl-fuzz.)
|
|---|
| 126 |
|
|---|
| 127 | Bugfix
|
|---|
| 128 | * Fix warning when using a 64bit platform. (found by embedthis) (#275)
|
|---|
| 129 | * Fix off-by-one error in parsing Supported Point Format extension that
|
|---|
| 130 | caused some handshakes to fail.
|
|---|
| 131 |
|
|---|
| 132 | Changes
|
|---|
| 133 | * Made X509 profile pointer const in mbedtls_ssl_conf_cert_profile() to allow
|
|---|
| 134 | use of mbedtls_x509_crt_profile_next. (found by NWilson)
|
|---|
| 135 | * When a client initiates a reconnect from the same port as a live
|
|---|
| 136 | connection, if cookie verification is available
|
|---|
| 137 | (MBEDTLS_SSL_DTLS_HELLO_VERIFY defined in config.h, and usable cookie
|
|---|
| 138 | callbacks set with mbedtls_ssl_conf_dtls_cookies()), this will be
|
|---|
| 139 | detected and mbedtls_ssl_read() will return
|
|---|
| 140 | MBEDTLS_ERR_SSL_CLIENT_RECONNECT - it is then possible to start a new
|
|---|
| 141 | handshake with the same context. (See RFC 6347 section 4.2.8.)
|
|---|
| 142 |
|
|---|
| 143 | = mbed TLS 2.1.0 released 2015-09-04
|
|---|
| 144 |
|
|---|
| 145 | Features
|
|---|
| 146 | * Added support for yotta as a build system.
|
|---|
| 147 | * Primary open source license changed to Apache 2.0 license.
|
|---|
| 148 |
|
|---|
| 149 | Bugfix
|
|---|
| 150 | * Fix segfault in the benchmark program when benchmarking DHM.
|
|---|
| 151 | * Fix build error with CMake and pre-4.5 versions of GCC (found by Hugo
|
|---|
| 152 | Leisink).
|
|---|
| 153 | * Fix bug when parsing a ServerHello without extensions (found by David
|
|---|
| 154 | Sears).
|
|---|
| 155 | * Fix bug in CMake lists that caused libmbedcrypto.a not to be installed
|
|---|
| 156 | (found by Benoit Lecocq).
|
|---|
| 157 | * Fix bug in Makefile that caused libmbedcrypto and libmbedx509 not to be
|
|---|
| 158 | installed (found by Rawi666).
|
|---|
| 159 | * Fix compile error with armcc 5 with --gnu option.
|
|---|
| 160 | * Fix bug in Makefile that caused programs not to be installed correctly
|
|---|
| 161 | (found by robotanarchy) (#232).
|
|---|
| 162 | * Fix bug in Makefile that prevented from installing without building the
|
|---|
| 163 | tests (found by robotanarchy) (#232).
|
|---|
| 164 | * Fix missing -static-libgcc when building shared libraries for Windows
|
|---|
| 165 | with make.
|
|---|
| 166 | * Fix link error when building shared libraries for Windows with make.
|
|---|
| 167 | * Fix error when loading libmbedtls.so.
|
|---|
| 168 | * Fix bug in mbedtls_ssl_conf_default() that caused the default preset to
|
|---|
| 169 | be always used (found by dcb314) (#235)
|
|---|
| 170 | * Fix bug in mbedtls_rsa_public() and mbedtls_rsa_private() that could
|
|---|
| 171 | result trying to unlock an unlocked mutex on invalid input (found by
|
|---|
| 172 | Fredrik Axelsson) (#257)
|
|---|
| 173 | * Fix -Wshadow warnings (found by hnrkp) (#240)
|
|---|
| 174 | * Fix memory corruption on client with overlong PSK identity, around
|
|---|
| 175 | SSL_MAX_CONTENT_LEN or higher - not triggerrable remotely (found by
|
|---|
| 176 | Aleksandrs Saveljevs) (#238)
|
|---|
| 177 | * Fix unused function warning when using MBEDTLS_MDx_ALT or
|
|---|
| 178 | MBEDTLS_SHAxxx_ALT (found by Henrik) (#239)
|
|---|
| 179 | * Fix memory corruption in pkey programs (found by yankuncheng) (#210)
|
|---|
| 180 |
|
|---|
| 181 | Changes
|
|---|
| 182 | * The PEM parser now accepts a trailing space at end of lines (#226).
|
|---|
| 183 | * It is now possible to #include a user-provided configuration file at the
|
|---|
| 184 | end of the default config.h by defining MBEDTLS_USER_CONFIG_FILE on the
|
|---|
| 185 | compiler's command line.
|
|---|
| 186 | * When verifying a certificate chain, if an intermediate certificate is
|
|---|
| 187 | trusted, no later cert is checked. (suggested by hannes-landeholm)
|
|---|
| 188 | (#220).
|
|---|
| 189 | * Prepend a "thread identifier" to debug messages (issue pointed out by
|
|---|
| 190 | Hugo Leisink) (#210).
|
|---|
| 191 | * Add mbedtls_ssl_get_max_frag_len() to query the current maximum fragment
|
|---|
| 192 | length.
|
|---|
| 193 |
|
|---|
| 194 | = mbed TLS 2.0.0 released 2015-07-13
|
|---|
| 195 |
|
|---|
| 196 | Features
|
|---|
| 197 | * Support for DTLS 1.0 and 1.2 (RFC 6347).
|
|---|
| 198 | * Ability to override core functions from MDx, SHAx, AES and DES modules
|
|---|
| 199 | with custom implementation (eg hardware accelerated), complementing the
|
|---|
| 200 | ability to override the whole module.
|
|---|
| 201 | * New server-side implementation of session tickets that rotate keys to
|
|---|
| 202 | preserve forward secrecy, and allows sharing across multiple contexts.
|
|---|
| 203 | * Added a concept of X.509 cerificate verification profile that controls
|
|---|
| 204 | which algorithms and key sizes (curves for ECDSA) are acceptable.
|
|---|
| 205 | * Expanded configurability of security parameters in the SSL module with
|
|---|
| 206 | mbedtls_ssl_conf_dhm_min_bitlen() and mbedtls_ssl_conf_sig_hashes().
|
|---|
| 207 | * Introduced a concept of presets for SSL security-relevant configuration
|
|---|
| 208 | parameters.
|
|---|
| 209 |
|
|---|
| 210 | API Changes
|
|---|
| 211 | * The library has been split into libmbedcrypto, libmbedx509, libmbedtls.
|
|---|
| 212 | You now need to link to all of them if you use TLS for example.
|
|---|
| 213 | * All public identifiers moved to the mbedtls_* or MBEDTLS_* namespace.
|
|---|
| 214 | Some names have been further changed to make them more consistent.
|
|---|
| 215 | Migration helpers scripts/rename.pl and include/mbedlts/compat-1.3.h are
|
|---|
| 216 | provided. Full list of renamings in scripts/data_files/rename-1.3-2.0.txt
|
|---|
| 217 | * Renamings of fields inside structures, not covered by the previous list:
|
|---|
| 218 | mbedtls_cipher_info_t.key_length -> key_bitlen
|
|---|
| 219 | mbedtls_cipher_context_t.key_length -> key_bitlen
|
|---|
| 220 | mbedtls_ecp_curve_info.size -> bit_size
|
|---|
| 221 | * Headers are now found in the 'mbedtls' directory (previously 'polarssl').
|
|---|
| 222 | * The following _init() functions that could return errors have
|
|---|
| 223 | been split into an _init() that returns void and another function that
|
|---|
| 224 | should generally be the first function called on this context after init:
|
|---|
| 225 | mbedtls_ssl_init() -> mbedtls_ssl_setup()
|
|---|
| 226 | mbedtls_ccm_init() -> mbedtls_ccm_setkey()
|
|---|
| 227 | mbedtls_gcm_init() -> mbedtls_gcm_setkey()
|
|---|
| 228 | mbedtls_hmac_drbg_init() -> mbedtls_hmac_drbg_seed(_buf)()
|
|---|
| 229 | mbedtls_ctr_drbg_init() -> mbedtls_ctr_drbg_seed()
|
|---|
| 230 | Note that for mbedtls_ssl_setup(), you need to be done setting up the
|
|---|
| 231 | ssl_config structure before calling it.
|
|---|
| 232 | * Most ssl_set_xxx() functions (all except ssl_set_bio(), ssl_set_hostname(),
|
|---|
| 233 | ssl_set_session() and ssl_set_client_transport_id(), plus
|
|---|
| 234 | ssl_legacy_renegotiation()) have been renamed to mbedtls_ssl_conf_xxx()
|
|---|
| 235 | (see rename.pl and compat-1.3.h above) and their first argument's type
|
|---|
| 236 | changed from ssl_context to ssl_config.
|
|---|
| 237 | * ssl_set_bio() changed signature (contexts merged, order switched, one
|
|---|
| 238 | additional callback for read-with-timeout).
|
|---|
| 239 | * The following functions have been introduced and must be used in callback
|
|---|
| 240 | implementations (SNI, PSK) instead of their *conf counterparts:
|
|---|
| 241 | mbedtls_ssl_set_hs_own_cert()
|
|---|
| 242 | mbedtls_ssl_set_hs_ca_chain()
|
|---|
| 243 | mbedtls_ssl_set_hs_psk()
|
|---|
| 244 | * mbedtls_ssl_conf_ca_chain() lost its last argument (peer_cn), now set
|
|---|
| 245 | using mbedtls_ssl_set_hostname().
|
|---|
| 246 | * mbedtls_ssl_conf_session_cache() changed prototype (only one context
|
|---|
| 247 | pointer, parameters reordered).
|
|---|
| 248 | * On server, mbedtls_ssl_conf_session_tickets_cb() must now be used in
|
|---|
| 249 | place of mbedtls_ssl_conf_session_tickets() to enable session tickets.
|
|---|
| 250 | * The SSL debug callback gained two new arguments (file name, line number).
|
|---|
| 251 | * Debug modes were removed.
|
|---|
| 252 | * mbedtls_ssl_conf_truncated_hmac() now returns void.
|
|---|
| 253 | * mbedtls_memory_buffer_alloc_init() now returns void.
|
|---|
| 254 | * X.509 verification flags are now an uint32_t. Affect the signature of:
|
|---|
| 255 | mbedtls_ssl_get_verify_result()
|
|---|
| 256 | mbedtls_x509_ctr_verify_info()
|
|---|
| 257 | mbedtls_x509_crt_verify() (flags, f_vrfy -> needs to be updated)
|
|---|
| 258 | mbedtls_ssl_conf_verify() (f_vrfy -> needs to be updated)
|
|---|
| 259 | * The following functions changed prototype to avoid an in-out length
|
|---|
| 260 | parameter:
|
|---|
| 261 | mbedtls_base64_encode()
|
|---|
| 262 | mbedtls_base64_decode()
|
|---|
| 263 | mbedtls_mpi_write_string()
|
|---|
| 264 | mbedtls_dhm_calc_secret()
|
|---|
| 265 | * In the NET module, all "int" and "int *" arguments for file descriptors
|
|---|
| 266 | changed type to "mbedtls_net_context *".
|
|---|
| 267 | * net_accept() gained new arguments for the size of the client_ip buffer.
|
|---|
| 268 | * In the threading layer, mbedtls_mutex_init() and mbedtls_mutex_free() now
|
|---|
| 269 | return void.
|
|---|
| 270 | * ecdsa_write_signature() gained an addtional md_alg argument and
|
|---|
| 271 | ecdsa_write_signature_det() was deprecated.
|
|---|
| 272 | * pk_sign() no longer accepts md_alg == POLARSSL_MD_NONE with ECDSA.
|
|---|
| 273 | * Last argument of x509_crt_check_key_usage() and
|
|---|
| 274 | mbedtls_x509write_crt_set_key_usage() changed from int to unsigned.
|
|---|
| 275 | * test_ca_list (from certs.h) is renamed to test_cas_pem and is only
|
|---|
| 276 | available if POLARSSL_PEM_PARSE_C is defined (it never worked without).
|
|---|
| 277 | * Test certificates in certs.c are no longer guaranteed to be nul-terminated
|
|---|
| 278 | strings; use the new *_len variables instead of strlen().
|
|---|
| 279 | * Functions mbedtls_x509_xxx_parse(), mbedtls_pk_parse_key(),
|
|---|
| 280 | mbedtls_pk_parse_public_key() and mbedtls_dhm_parse_dhm() now expect the
|
|---|
| 281 | length parameter to include the terminating null byte for PEM input.
|
|---|
| 282 | * Signature of mpi_mul_mpi() changed to make the last argument unsigned
|
|---|
| 283 | * calloc() is now used instead of malloc() everywhere. API of platform
|
|---|
| 284 | layer and the memory_buffer_alloc module changed accordingly.
|
|---|
| 285 | (Thanks to Mansour Moufid for helping with the replacement.)
|
|---|
| 286 | * Change SSL_DISABLE_RENEGOTIATION config.h flag to SSL_RENEGOTIATION
|
|---|
| 287 | (support for renegotiation now needs explicit enabling in config.h).
|
|---|
| 288 | * Split MBEDTLS_HAVE_TIME into MBEDTLS_HAVE_TIME and MBEDTLS_HAVE_TIME_DATE
|
|---|
| 289 | in config.h
|
|---|
| 290 | * net_connect() and net_bind() have a new 'proto' argument to choose
|
|---|
| 291 | between TCP and UDP, using the macros NET_PROTO_TCP or NET_PROTO_UDP.
|
|---|
| 292 | Their 'port' argument type is changed to a string.
|
|---|
| 293 | * Some constness fixes
|
|---|
| 294 |
|
|---|
| 295 | Removals
|
|---|
| 296 | * Removed mbedtls_ecp_group_read_string(). Only named groups are supported.
|
|---|
| 297 | * Removed mbedtls_ecp_sub() and mbedtls_ecp_add(), use
|
|---|
| 298 | mbedtls_ecp_muladd().
|
|---|
| 299 | * Removed individual mdX_hmac, shaX_hmac, mdX_file and shaX_file functions
|
|---|
| 300 | (use generic functions from md.h)
|
|---|
| 301 | * Removed mbedtls_timing_msleep(). Use mbedtls_net_usleep() or a custom
|
|---|
| 302 | waiting function.
|
|---|
| 303 | * Removed test DHM parameters from the test certs module.
|
|---|
| 304 | * Removed the PBKDF2 module (use PKCS5).
|
|---|
| 305 | * Removed POLARSSL_ERROR_STRERROR_BC (use mbedtls_strerror()).
|
|---|
| 306 | * Removed compat-1.2.h (helper for migrating from 1.2 to 1.3).
|
|---|
| 307 | * Removed openssl.h (very partial OpenSSL compatibility layer).
|
|---|
| 308 | * Configuration options POLARSSL_HAVE_LONGLONG was removed (now always on).
|
|---|
| 309 | * Configuration options POLARSSL_HAVE_INT8 and POLARSSL_HAVE_INT16 have
|
|---|
| 310 | been removed (compiler is required to support 32-bit operations).
|
|---|
| 311 | * Configuration option POLARSSL_HAVE_IPV6 was removed (always enabled).
|
|---|
| 312 | * Removed test program o_p_test, the script compat.sh does more.
|
|---|
| 313 | * Removed test program ssl_test, superseded by ssl-opt.sh.
|
|---|
| 314 | * Removed helper script active-config.pl
|
|---|
| 315 |
|
|---|
| 316 | New deprecations
|
|---|
| 317 | * md_init_ctx() is deprecated in favour of md_setup(), that adds a third
|
|---|
| 318 | argument (allowing memory savings if HMAC is not used)
|
|---|
| 319 |
|
|---|
| 320 | Semi-API changes (technically public, morally private)
|
|---|
| 321 | * Renamed a few headers to include _internal in the name. Those headers are
|
|---|
| 322 | not supposed to be included by users.
|
|---|
| 323 | * Changed md_info_t into an opaque structure (use md_get_xxx() accessors).
|
|---|
| 324 | * Changed pk_info_t into an opaque structure.
|
|---|
| 325 | * Changed cipher_base_t into an opaque structure.
|
|---|
| 326 | * Removed sig_oid2 and rename sig_oid1 to sig_oid in x509_crt and x509_crl.
|
|---|
| 327 | * x509_crt.key_usage changed from unsigned char to unsigned int.
|
|---|
| 328 | * Removed r and s from ecdsa_context
|
|---|
| 329 | * Removed mode from des_context and des3_context
|
|---|
| 330 |
|
|---|
| 331 | Default behavior changes
|
|---|
| 332 | * The default minimum TLS version is now TLS 1.0.
|
|---|
| 333 | * RC4 is now blacklisted by default in the SSL/TLS layer, and excluded from the
|
|---|
| 334 | default ciphersuite list returned by ssl_list_ciphersuites()
|
|---|
| 335 | * Support for receiving SSLv2 ClientHello is now disabled by default at
|
|---|
| 336 | compile time.
|
|---|
| 337 | * The default authmode for SSL/TLS clients is now REQUIRED.
|
|---|
| 338 | * Support for RSA_ALT contexts in the PK layer is now optional. Since is is
|
|---|
| 339 | enabled in the default configuration, this is only noticeable if using a
|
|---|
| 340 | custom config.h
|
|---|
| 341 | * Default DHM parameters server-side upgraded from 1024 to 2048 bits.
|
|---|
| 342 | * A minimum RSA key size of 2048 bits is now enforced during ceritificate
|
|---|
| 343 | chain verification.
|
|---|
| 344 | * Negotiation of truncated HMAC is now disabled by default on server too.
|
|---|
| 345 | * The following functions are now case-sensitive:
|
|---|
| 346 | mbedtls_cipher_info_from_string()
|
|---|
| 347 | mbedtls_ecp_curve_info_from_name()
|
|---|
| 348 | mbedtls_md_info_from_string()
|
|---|
| 349 | mbedtls_ssl_ciphersuite_from_string()
|
|---|
| 350 | mbedtls_version_check_feature()
|
|---|
| 351 |
|
|---|
| 352 | Requirement changes
|
|---|
| 353 | * The minimum MSVC version required is now 2010 (better C99 support).
|
|---|
| 354 | * The NET layer now unconditionnaly relies on getaddrinfo() and select().
|
|---|
| 355 | * Compiler is required to support C99 types such as long long and uint32_t.
|
|---|
| 356 |
|
|---|
| 357 | API changes from the 1.4 preview branch
|
|---|
| 358 | * ssl_set_bio_timeout() was removed, split into mbedtls_ssl_set_bio() with
|
|---|
| 359 | new prototype, and mbedtls_ssl_set_read_timeout().
|
|---|
| 360 | * The following functions now return void:
|
|---|
| 361 | mbedtls_ssl_conf_transport()
|
|---|
| 362 | mbedtls_ssl_conf_max_version()
|
|---|
| 363 | mbedtls_ssl_conf_min_version()
|
|---|
| 364 | * DTLS no longer hard-depends on TIMING_C, but uses a callback interface
|
|---|
| 365 | instead, see mbedtls_ssl_set_timer_cb(), with the Timing module providing
|
|---|
| 366 | an example implementation, see mbedtls_timing_delay_context and
|
|---|
| 367 | mbedtls_timing_set/get_delay().
|
|---|
| 368 | * With UDP sockets, it is no longer necessary to call net_bind() again
|
|---|
| 369 | after a successful net_accept().
|
|---|
| 370 |
|
|---|
| 371 | Changes
|
|---|
| 372 | * mbedtls_ctr_drbg_random() and mbedtls_hmac_drbg_random() are now
|
|---|
| 373 | thread-safe if MBEDTLS_THREADING_C is enabled.
|
|---|
| 374 | * Reduced ROM fooprint of SHA-256 and added an option to reduce it even
|
|---|
| 375 | more (at the expense of performance) MBEDTLS_SHA256_SMALLER.
|
|---|
| 376 |
|
|---|
| 377 | = mbed TLS 1.3 branch
|
|---|
| 378 |
|
|---|
| 379 | Security
|
|---|
| 380 | * With authmode set to SSL_VERIFY_OPTIONAL, verification of keyUsage and
|
|---|
| 381 | extendedKeyUsage on the leaf certificate was lost (results not accessible
|
|---|
| 382 | via ssl_get_verify_results()).
|
|---|
| 383 | * Add countermeasure against "Lucky 13 strikes back" cache-based attack,
|
|---|
| 384 | https://dl.acm.org/citation.cfm?id=2714625
|
|---|
| 385 |
|
|---|
| 386 | Features
|
|---|
| 387 | * Improve ECC performance by using more efficient doubling formulas
|
|---|
| 388 | (contributed by Peter Dettman).
|
|---|
| 389 | * Add x509_crt_verify_info() to display certificate verification results.
|
|---|
| 390 | * Add support for reading DH parameters with privateValueLength included
|
|---|
| 391 | (contributed by Daniel Kahn Gillmor).
|
|---|
| 392 | * Add support for bit strings in X.509 names (request by Fredrik Axelsson).
|
|---|
| 393 | * Add support for id-at-uniqueIdentifier in X.509 names.
|
|---|
| 394 | * Add support for overriding snprintf() (except on Windows) and exit() in
|
|---|
| 395 | the platform layer.
|
|---|
| 396 | * Add an option to use macros instead of function pointers in the platform
|
|---|
| 397 | layer (helps get rid of unwanted references).
|
|---|
| 398 | * Improved Makefiles for Windows targets by fixing library targets and making
|
|---|
| 399 | cross-compilation easier (thanks to Alon Bar-Lev).
|
|---|
| 400 | * The benchmark program also prints heap usage for public-key primitives
|
|---|
| 401 | if POLARSSL_MEMORY_BUFFER_ALLOC_C and POLARSSL_MEMORY_DEBUG are defined.
|
|---|
| 402 | * New script ecc-heap.sh helps measuring the impact of ECC parameters on
|
|---|
| 403 | speed and RAM (heap only for now) usage.
|
|---|
| 404 | * New script memory.sh helps measuring the ROM and RAM requirements of two
|
|---|
| 405 | reduced configurations (PSK-CCM and NSA suite B).
|
|---|
| 406 | * Add config flag POLARSSL_DEPRECATED_WARNING (off by default) to produce
|
|---|
| 407 | warnings on use of deprecated functions (with GCC and Clang only).
|
|---|
| 408 | * Add config flag POLARSSL_DEPRECATED_REMOVED (off by default) to produce
|
|---|
| 409 | errors on use of deprecated functions.
|
|---|
| 410 |
|
|---|
| 411 | Bugfix
|
|---|
| 412 | * Fix compile errors with PLATFORM_NO_STD_FUNCTIONS.
|
|---|
| 413 | * Fix compile error with PLATFORM_EXIT_ALT (thanks to Rafał Przywara).
|
|---|
| 414 | * Fix bug in entropy.c when THREADING_C is also enabled that caused
|
|---|
| 415 | entropy_free() to crash (thanks to Rafał Przywara).
|
|---|
| 416 | * Fix memory leak when gcm_setkey() and ccm_setkey() are used more than
|
|---|
| 417 | once on the same context.
|
|---|
| 418 | * Fix bug in ssl_mail_client when password is longer that username (found
|
|---|
| 419 | by Bruno Pape).
|
|---|
| 420 | * Fix undefined behaviour (memcmp( NULL, NULL, 0 );) in X.509 modules
|
|---|
| 421 | (detected by Clang's 3.6 UBSan).
|
|---|
| 422 | * mpi_size() and mpi_msb() would segfault when called on an mpi that is
|
|---|
| 423 | initialized but not set (found by pravic).
|
|---|
| 424 | * Fix detection of support for getrandom() on Linux (reported by syzzer) by
|
|---|
| 425 | doing it at runtime (using uname) rather that compile time.
|
|---|
| 426 | * Fix handling of symlinks by "make install" (found by Gaël PORTAY).
|
|---|
| 427 | * Fix potential NULL pointer dereference (not trigerrable remotely) when
|
|---|
| 428 | ssl_write() is called before the handshake is finished (introduced in
|
|---|
| 429 | 1.3.10) (first reported by Martin Blumenstingl).
|
|---|
| 430 | * Fix bug in pk_parse_key() that caused some valid private EC keys to be
|
|---|
| 431 | rejected.
|
|---|
| 432 | * Fix bug in Via Padlock support (found by Nikos Mavrogiannopoulos).
|
|---|
| 433 | * Fix thread safety bug in RSA operations (found by Fredrik Axelsson).
|
|---|
| 434 | * Fix hardclock() (only used in the benchmarking program) with some
|
|---|
| 435 | versions of mingw64 (found by kxjhlele).
|
|---|
| 436 | * Fix warnings from mingw64 in timing.c (found by kxjklele).
|
|---|
| 437 | * Fix potential unintended sign extension in asn1_get_len() on 64-bit
|
|---|
| 438 | platforms.
|
|---|
| 439 | * Fix potential memory leak in ssl_set_psk() (found by Mansour Moufid).
|
|---|
| 440 | * Fix compile error when POLARSSL_SSL_DISABLE_RENEGOTATION and
|
|---|
| 441 | POLARSSL_SSL_SSESSION_TICKETS where both enabled in config.h (introduced
|
|---|
| 442 | in 1.3.10).
|
|---|
| 443 | * Add missing extern "C" guard in aesni.h (reported by amir zamani).
|
|---|
| 444 | * Add missing dependency on SHA-256 in some x509 programs (reported by
|
|---|
| 445 | Gergely Budai).
|
|---|
| 446 | * Fix bug related to ssl_set_curves(): the client didn't check that the
|
|---|
| 447 | curve picked by the server was actually allowed.
|
|---|
| 448 |
|
|---|
| 449 | Changes
|
|---|
| 450 | * Remove bias in mpi_gen_prime (contributed by Pascal Junod).
|
|---|
| 451 | * Remove potential sources of timing variations (some contributed by Pascal
|
|---|
| 452 | Junod).
|
|---|
| 453 | * Options POLARSSL_HAVE_INT8 and POLARSSL_HAVE_INT16 are deprecated.
|
|---|
| 454 | * Enabling POLARSSL_NET_C without POLARSSL_HAVE_IPV6 is deprecated.
|
|---|
| 455 | * compat-1.2.h and openssl.h are deprecated.
|
|---|
| 456 | * Adjusting/overriding CFLAGS and LDFLAGS with the make build system is now
|
|---|
| 457 | more flexible (warning: OFLAGS is not used any more) (see the README)
|
|---|
| 458 | (contributed by Alon Bar-Lev).
|
|---|
| 459 | * ssl_set_own_cert() no longer calls pk_check_pair() since the
|
|---|
| 460 | performance impact was bad for some users (this was introduced in 1.3.10).
|
|---|
| 461 | * Move from SHA-1 to SHA-256 in example programs using signatures
|
|---|
| 462 | (suggested by Thorsten Mühlfelder).
|
|---|
| 463 | * Remove some unneeded inclusions of header files from the standard library
|
|---|
| 464 | "minimize" others (eg use stddef.h if only size_t is needed).
|
|---|
| 465 | * Change #include lines in test files to use double quotes instead of angle
|
|---|
| 466 | brackets for uniformity with the rest of the code.
|
|---|
| 467 | * Remove dependency on sscanf() in X.509 parsing modules.
|
|---|
| 468 |
|
|---|
| 469 | = mbed TLS 1.3.10 released 2015-02-09
|
|---|
| 470 | Security
|
|---|
| 471 | * NULL pointer dereference in the buffer-based allocator when the buffer is
|
|---|
| 472 | full and polarssl_free() is called (found by Mark Hasemeyer)
|
|---|
| 473 | (only possible if POLARSSL_MEMORY_BUFFER_ALLOC_C is enabled, which it is
|
|---|
| 474 | not by default).
|
|---|
| 475 | * Fix remotely-triggerable uninitialised pointer dereference caused by
|
|---|
| 476 | crafted X.509 certificate (TLS server is not affected if it doesn't ask for a
|
|---|
| 477 | client certificate) (found using Codenomicon Defensics).
|
|---|
| 478 | * Fix remotely-triggerable memory leak caused by crafted X.509 certificates
|
|---|
| 479 | (TLS server is not affected if it doesn't ask for a client certificate)
|
|---|
| 480 | (found using Codenomicon Defensics).
|
|---|
| 481 | * Fix potential stack overflow while parsing crafted X.509 certificates
|
|---|
| 482 | (TLS server is not affected if it doesn't ask for a client certificate)
|
|---|
| 483 | (found using Codenomicon Defensics).
|
|---|
| 484 | * Fix timing difference that could theoretically lead to a
|
|---|
| 485 | Bleichenbacher-style attack in the RSA and RSA-PSK key exchanges
|
|---|
| 486 | (reported by Sebastian Schinzel).
|
|---|
| 487 |
|
|---|
| 488 | Features
|
|---|
| 489 | * Add support for FALLBACK_SCSV (draft-ietf-tls-downgrade-scsv).
|
|---|
| 490 | * Add support for Extended Master Secret (draft-ietf-tls-session-hash).
|
|---|
| 491 | * Add support for Encrypt-then-MAC (RFC 7366).
|
|---|
| 492 | * Add function pk_check_pair() to test if public and private keys match.
|
|---|
| 493 | * Add x509_crl_parse_der().
|
|---|
| 494 | * Add compile-time option POLARSSL_X509_MAX_INTERMEDIATE_CA to limit the
|
|---|
| 495 | length of an X.509 verification chain.
|
|---|
| 496 | * Support for renegotiation can now be disabled at compile-time
|
|---|
| 497 | * Support for 1/n-1 record splitting, a countermeasure against BEAST.
|
|---|
| 498 | * Certificate selection based on signature hash, preferring SHA-1 over SHA-2
|
|---|
| 499 | for pre-1.2 clients when multiple certificates are available.
|
|---|
| 500 | * Add support for getrandom() syscall on recent Linux kernels with Glibc or
|
|---|
| 501 | a compatible enough libc (eg uClibc).
|
|---|
| 502 | * Add ssl_set_arc4_support() to make it easier to disable RC4 at runtime
|
|---|
| 503 | while using the default ciphersuite list.
|
|---|
| 504 | * Added new error codes and debug messages about selection of
|
|---|
| 505 | ciphersuite/certificate.
|
|---|
| 506 |
|
|---|
| 507 | Bugfix
|
|---|
| 508 | * Stack buffer overflow if ctr_drbg_update() is called with too large
|
|---|
| 509 | add_len (found by Jean-Philippe Aumasson) (not triggerable remotely).
|
|---|
| 510 | * Possible buffer overflow of length at most POLARSSL_MEMORY_ALIGN_MULTIPLE
|
|---|
| 511 | if memory_buffer_alloc_init() was called with buf not aligned and len not
|
|---|
| 512 | a multiple of POLARSSL_MEMORY_ALIGN_MULTIPLE (not triggerable remotely).
|
|---|
| 513 | * User set CFLAGS were ignored by Cmake with gcc (introduced in 1.3.9, found
|
|---|
| 514 | by Julian Ospald).
|
|---|
| 515 | * Fix potential undefined behaviour in Camellia.
|
|---|
| 516 | * Fix potential failure in ECDSA signatures when POLARSSL_ECP_MAX_BITS is a
|
|---|
| 517 | multiple of 8 (found by Gergely Budai).
|
|---|
| 518 | * Fix unchecked return code in x509_crt_parse_path() on Windows (found by
|
|---|
| 519 | Peter Vaskovic).
|
|---|
| 520 | * Fix assembly selection for MIPS64 (thanks to James Cowgill).
|
|---|
| 521 | * ssl_get_verify_result() now works even if the handshake was aborted due
|
|---|
| 522 | to a failed verification (found by Fredrik Axelsson).
|
|---|
| 523 | * Skip writing and parsing signature_algorithm extension if none of the
|
|---|
| 524 | key exchanges enabled needs certificates. This fixes a possible interop
|
|---|
| 525 | issue with some servers when a zero-length extension was sent. (Reported
|
|---|
| 526 | by Peter Dettman.)
|
|---|
| 527 | * On a 0-length input, base64_encode() did not correctly set output length
|
|---|
| 528 | (found by Hendrik van den Boogaard).
|
|---|
| 529 |
|
|---|
| 530 | Changes
|
|---|
| 531 | * Use deterministic nonces for AEAD ciphers in TLS by default (possible to
|
|---|
| 532 | switch back to random with POLARSSL_SSL_AEAD_RANDOM_IV in config.h).
|
|---|
| 533 | * Blind RSA private operations even when POLARSSL_RSA_NO_CRT is defined.
|
|---|
| 534 | * ssl_set_own_cert() now returns an error on key-certificate mismatch.
|
|---|
| 535 | * Forbid repeated extensions in X.509 certificates.
|
|---|
| 536 | * debug_print_buf() now prints a text view in addition to hexadecimal.
|
|---|
| 537 | * A specific error is now returned when there are ciphersuites in common
|
|---|
| 538 | but none of them is usable due to external factors such as no certificate
|
|---|
| 539 | with a suitable (extended)KeyUsage or curve or no PSK set.
|
|---|
| 540 | * It is now possible to disable negotiation of truncated HMAC server-side
|
|---|
| 541 | at runtime with ssl_set_truncated_hmac().
|
|---|
| 542 | * Example programs for SSL client and server now disable SSLv3 by default.
|
|---|
| 543 | * Example programs for SSL client and server now disable RC4 by default.
|
|---|
| 544 | * Use platform.h in all test suites and programs.
|
|---|
| 545 |
|
|---|
| 546 | = PolarSSL 1.3.9 released 2014-10-20
|
|---|
| 547 | Security
|
|---|
| 548 | * Lowest common hash was selected from signature_algorithms extension in
|
|---|
| 549 | TLS 1.2 (found by Darren Bane) (introduced in 1.3.8).
|
|---|
| 550 | * Remotely-triggerable memory leak when parsing some X.509 certificates
|
|---|
| 551 | (server is not affected if it doesn't ask for a client certificate)
|
|---|
| 552 | (found using Codenomicon Defensics).
|
|---|
| 553 | * Remotely-triggerable memory leak when parsing crafted ClientHello
|
|---|
| 554 | (not affected if ECC support was compiled out) (found using Codenomicon
|
|---|
| 555 | Defensics).
|
|---|
| 556 |
|
|---|
| 557 | Bugfix
|
|---|
| 558 | * Support escaping of commas in x509_string_to_names()
|
|---|
| 559 | * Fix compile error in ssl_pthread_server (found by Julian Ospald).
|
|---|
| 560 | * Fix net_accept() regarding non-blocking sockets (found by Luca Pesce).
|
|---|
| 561 | * Don't print uninitialised buffer in ssl_mail_client (found by Marc Abel).
|
|---|
| 562 | * Fix warnings from Clang's scan-build (contributed by Alfred Klomp).
|
|---|
| 563 | * Fix compile error in timing.c when POLARSSL_NET_C and POLARSSL_SELFTEST
|
|---|
| 564 | are defined but not POLARSSL_HAVE_TIME (found by Stephane Di Vito).
|
|---|
| 565 | * Remove non-existent file from VS projects (found by Peter Vaskovic).
|
|---|
| 566 | * ssl_read() could return non-application data records on server while
|
|---|
| 567 | renegotation was pending, and on client when a HelloRequest was received.
|
|---|
| 568 | * Server-initiated renegotiation would fail with non-blocking I/O if the
|
|---|
| 569 | write callback returned WANT_WRITE when requesting renegotiation.
|
|---|
| 570 | * ssl_close_notify() could send more than one message in some circumstances
|
|---|
| 571 | with non-blocking I/O.
|
|---|
| 572 | * Fix compiler warnings on iOS (found by Sander Niemeijer).
|
|---|
| 573 | * x509_crt_parse() did not increase total_failed on PEM error
|
|---|
| 574 | * Fix compile error with armcc in mpi_is_prime()
|
|---|
| 575 | * Fix potential bad read in parsing ServerHello (found by Adrien
|
|---|
| 576 | Vialletelle).
|
|---|
| 577 |
|
|---|
| 578 | Changes
|
|---|
| 579 | * Ciphersuites using SHA-256 or SHA-384 now require TLS 1.x (there is no
|
|---|
| 580 | standard defining how to use SHA-2 with SSL 3.0).
|
|---|
| 581 | * Ciphersuites using RSA-PSK key exchange new require TLS 1.x (the spec is
|
|---|
| 582 | ambiguous on how to encode some packets with SSL 3.0).
|
|---|
| 583 | * Made buffer size in pk_write_(pub)key_pem() more dynamic, eg smaller if
|
|---|
| 584 | RSA is disabled, larger if POLARSSL_MPI_MAX_SIZE is larger.
|
|---|
| 585 | * ssl_read() now returns POLARSSL_ERR_NET_WANT_READ rather than
|
|---|
| 586 | POLARSSL_ERR_SSL_UNEXPECTED_MESSAGE on harmless alerts.
|
|---|
| 587 | * POLARSSL_MPI_MAX_SIZE now defaults to 1024 in order to allow 8192 bits
|
|---|
| 588 | RSA keys.
|
|---|
| 589 | * Accept spaces at end of line or end of buffer in base64_decode().
|
|---|
| 590 | * X.509 certificates with more than one AttributeTypeAndValue per
|
|---|
| 591 | RelativeDistinguishedName are not accepted any more.
|
|---|
| 592 |
|
|---|
| 593 | = PolarSSL 1.3.8 released 2014-07-11
|
|---|
| 594 | Security
|
|---|
| 595 | * Fix length checking for AEAD ciphersuites (found by Codenomicon).
|
|---|
| 596 | It was possible to crash the server (and client) using crafted messages
|
|---|
| 597 | when a GCM suite was chosen.
|
|---|
| 598 |
|
|---|
| 599 | Features
|
|---|
| 600 | * Add CCM module and cipher mode to Cipher Layer
|
|---|
| 601 | * Support for CCM and CCM_8 ciphersuites
|
|---|
| 602 | * Support for parsing and verifying RSASSA-PSS signatures in the X.509
|
|---|
| 603 | modules (certificates, CRLs and CSRs).
|
|---|
| 604 | * Blowfish in the cipher layer now supports variable length keys.
|
|---|
| 605 | * Add example config.h for PSK with CCM, optimized for low RAM usage.
|
|---|
| 606 | * Optimize for RAM usage in example config.h for NSA Suite B profile.
|
|---|
| 607 | * Add POLARSSL_REMOVE_ARC4_CIPHERSUITES to allow removing RC4 ciphersuites
|
|---|
| 608 | from the default list (inactive by default).
|
|---|
| 609 | * Add server-side enforcement of sent renegotiation requests
|
|---|
| 610 | (ssl_set_renegotiation_enforced())
|
|---|
| 611 | * Add SSL_CIPHERSUITES config.h flag to allow specifying a list of
|
|---|
| 612 | ciphersuites to use and save some memory if the list is small.
|
|---|
| 613 |
|
|---|
| 614 | Changes
|
|---|
| 615 | * Add LINK_WITH_PTHREAD option in CMake for explicit linking that is
|
|---|
| 616 | required on some platforms (e.g. OpenBSD)
|
|---|
| 617 | * Migrate zeroizing of data to polarssl_zeroize() instead of memset()
|
|---|
| 618 | against unwanted compiler optimizations
|
|---|
| 619 | * md_list() now returns hashes strongest first
|
|---|
| 620 | * Selection of hash for signing ServerKeyExchange in TLS 1.2 now picks
|
|---|
| 621 | strongest offered by client.
|
|---|
| 622 | * All public contexts have _init() and _free() functions now for simpler
|
|---|
| 623 | usage pattern
|
|---|
| 624 |
|
|---|
| 625 | Bugfix
|
|---|
| 626 | * Fix in debug_print_msg()
|
|---|
| 627 | * Enforce alignment in the buffer allocator even if buffer is not aligned
|
|---|
| 628 | * Remove less-than-zero checks on unsigned numbers
|
|---|
| 629 | * Stricter check on SSL ClientHello internal sizes compared to actual packet
|
|---|
| 630 | size (found by TrustInSoft)
|
|---|
| 631 | * Fix WSAStartup() return value check (found by Peter Vaskovic)
|
|---|
| 632 | * Other minor issues (found by Peter Vaskovic)
|
|---|
| 633 | * Fix symlink command for cross compiling with CMake (found by Andre
|
|---|
| 634 | Heinecke)
|
|---|
| 635 | * Fix DER output of gen_key app (found by Gergely Budai)
|
|---|
| 636 | * Very small records were incorrectly rejected when truncated HMAC was in
|
|---|
| 637 | use with some ciphersuites and versions (RC4 in all versions, CBC with
|
|---|
| 638 | versions < TLS 1.1).
|
|---|
| 639 | * Very large records using more than 224 bytes of padding were incorrectly
|
|---|
| 640 | rejected with CBC-based ciphersuites and TLS >= 1.1
|
|---|
| 641 | * Very large records using less padding could cause a buffer overread of up
|
|---|
| 642 | to 32 bytes with CBC-based ciphersuites and TLS >= 1.1
|
|---|
| 643 | * Restore ability to use a v1 cert as a CA if trusted locally. (This had
|
|---|
| 644 | been removed in 1.3.6.)
|
|---|
| 645 | * Restore ability to locally trust a self-signed cert that is not a proper
|
|---|
| 646 | CA for use as an end entity certificate. (This had been removed in
|
|---|
| 647 | 1.3.6.)
|
|---|
| 648 | * Fix preprocessor checks for bn_mul PPC asm (found by Barry K. Nathan).
|
|---|
| 649 | * Use \n\t rather than semicolons for bn_mul asm, since some assemblers
|
|---|
| 650 | interpret semicolons as comment delimiters (found by Barry K. Nathan).
|
|---|
| 651 | * Fix off-by-one error in parsing Supported Point Format extension that
|
|---|
| 652 | caused some handshakes to fail.
|
|---|
| 653 | * Fix possible miscomputation of the premaster secret with DHE-PSK key
|
|---|
| 654 | exchange that caused some handshakes to fail with other implementations.
|
|---|
| 655 | (Failure rate <= 1/255 with common DHM moduli.)
|
|---|
| 656 | * Disable broken Sparc64 bn_mul assembly (found by Florian Obser).
|
|---|
| 657 | * Fix base64_decode() to return and check length correctly (in case of
|
|---|
| 658 | tight buffers)
|
|---|
| 659 | * Fix mpi_write_string() to write "00" as hex output for empty MPI (found
|
|---|
| 660 | by Hui Dong)
|
|---|
| 661 |
|
|---|
| 662 | = PolarSSL 1.3.7 released on 2014-05-02
|
|---|
| 663 | Features
|
|---|
| 664 | * debug_set_log_mode() added to determine raw or full logging
|
|---|
| 665 | * debug_set_threshold() added to ignore messages over threshold level
|
|---|
| 666 | * version_check_feature() added to check for compile-time options at
|
|---|
| 667 | run-time
|
|---|
| 668 |
|
|---|
| 669 | Changes
|
|---|
| 670 | * POLARSSL_CONFIG_OPTIONS has been removed. All values are individually
|
|---|
| 671 | checked and filled in the relevant module headers
|
|---|
| 672 | * Debug module only outputs full lines instead of parts
|
|---|
| 673 | * Better support for the different Attribute Types from IETF PKIX (RFC 5280)
|
|---|
| 674 | * AES-NI now compiles with "old" assemblers too
|
|---|
| 675 | * Ciphersuites based on RC4 now have the lowest priority by default
|
|---|
| 676 |
|
|---|
| 677 | Bugfix
|
|---|
| 678 | * Only iterate over actual certificates in ssl_write_certificate_request()
|
|---|
| 679 | (found by Matthew Page)
|
|---|
| 680 | * Typos in platform.c and pkcs11.c (found by Daniel Phillips and Steffan
|
|---|
| 681 | Karger)
|
|---|
| 682 | * cert_write app should use subject of issuer certificate as issuer of cert
|
|---|
| 683 | * Fix false reject in padding check in ssl_decrypt_buf() for CBC
|
|---|
| 684 | ciphersuites, for full SSL frames of data.
|
|---|
| 685 | * Improve interoperability by not writing extension length in ClientHello /
|
|---|
| 686 | ServerHello when no extensions are present (found by Matthew Page)
|
|---|
| 687 | * rsa_check_pubkey() now allows an E up to N
|
|---|
| 688 | * On OpenBSD, use arc4random_buf() instead of rand() to prevent warnings
|
|---|
| 689 | * mpi_fill_random() was creating numbers larger than requested on
|
|---|
| 690 | big-endian platform when size was not an integer number of limbs
|
|---|
| 691 | * Fix dependencies issues in X.509 test suite.
|
|---|
| 692 | * Some parts of ssl_tls.c were compiled even when the module was disabled.
|
|---|
| 693 | * Fix detection of DragonflyBSD in net.c (found by Markus Pfeiffer)
|
|---|
| 694 | * Fix detection of Clang on some Apple platforms with CMake
|
|---|
| 695 | (found by Barry K. Nathan)
|
|---|
| 696 |
|
|---|
| 697 | = PolarSSL 1.3.6 released on 2014-04-11
|
|---|
| 698 |
|
|---|
| 699 | Features
|
|---|
| 700 | * Support for the ALPN SSL extension
|
|---|
| 701 | * Add option 'use_dev_random' to gen_key application
|
|---|
| 702 | * Enable verification of the keyUsage extension for CA and leaf
|
|---|
| 703 | certificates (POLARSSL_X509_CHECK_KEY_USAGE)
|
|---|
| 704 | * Enable verification of the extendedKeyUsage extension
|
|---|
| 705 | (POLARSSL_X509_CHECK_EXTENDED_KEY_USAGE)
|
|---|
| 706 |
|
|---|
| 707 | Changes
|
|---|
| 708 | * x509_crt_info() now prints information about parsed extensions as well
|
|---|
| 709 | * pk_verify() now returns a specific error code when the signature is valid
|
|---|
| 710 | but shorter than the supplied length.
|
|---|
| 711 | * Use UTC time to check certificate validity.
|
|---|
| 712 | * Reject certificates with times not in UTC, per RFC 5280.
|
|---|
| 713 |
|
|---|
| 714 | Security
|
|---|
| 715 | * Avoid potential timing leak in ecdsa_sign() by blinding modular division.
|
|---|
| 716 | (Found by Watson Ladd.)
|
|---|
| 717 | * The notAfter date of some certificates was no longer checked since 1.3.5.
|
|---|
| 718 | This affects certificates in the user-supplied chain except the top
|
|---|
| 719 | certificate. If the user-supplied chain contains only one certificates,
|
|---|
| 720 | it is not affected (ie, its notAfter date is properly checked).
|
|---|
| 721 | * Prevent potential NULL pointer dereference in ssl_read_record() (found by
|
|---|
| 722 | TrustInSoft)
|
|---|
| 723 |
|
|---|
| 724 | Bugfix
|
|---|
| 725 | * The length of various ClientKeyExchange messages was not properly checked.
|
|---|
| 726 | * Some example server programs were not sending the close_notify alert.
|
|---|
| 727 | * Potential memory leak in mpi_exp_mod() when error occurs during
|
|---|
| 728 | calculation of RR.
|
|---|
| 729 | * Fixed malloc/free default #define in platform.c (found by Gergely Budai).
|
|---|
| 730 | * Fixed type which made POLARSSL_ENTROPY_FORCE_SHA256 uneffective (found by
|
|---|
| 731 | Gergely Budai).
|
|---|
| 732 | * Fix #include path in ecdsa.h which wasn't accepted by some compilers.
|
|---|
| 733 | (found by Gergely Budai)
|
|---|
| 734 | * Fix compile errors when POLARSSL_ERROR_STRERROR_BC is undefined (found by
|
|---|
| 735 | Shuo Chen).
|
|---|
| 736 | * oid_get_numeric_string() used to truncate the output without returning an
|
|---|
| 737 | error if the output buffer was just 1 byte too small.
|
|---|
| 738 | * dhm_parse_dhm() (hence dhm_parse_dhmfile()) did not set dhm->len.
|
|---|
| 739 | * Calling pk_debug() on an RSA-alt key would segfault.
|
|---|
| 740 | * pk_get_size() and pk_get_len() were off by a factor 8 for RSA-alt keys.
|
|---|
| 741 | * Potential buffer overwrite in pem_write_buffer() because of low length
|
|---|
| 742 | indication (found by Thijs Alkemade)
|
|---|
| 743 | * EC curves constants, which should be only in ROM since 1.3.3, were also
|
|---|
| 744 | stored in RAM due to missing 'const's (found by Gergely Budai).
|
|---|
| 745 |
|
|---|
| 746 | = PolarSSL 1.3.5 released on 2014-03-26
|
|---|
| 747 | Features
|
|---|
| 748 | * HMAC-DRBG as a separate module
|
|---|
| 749 | * Option to set the Curve preference order (disabled by default)
|
|---|
| 750 | * Single Platform compatilibity layer (for memory / printf / fprintf)
|
|---|
| 751 | * Ability to provide alternate timing implementation
|
|---|
| 752 | * Ability to force the entropy module to use SHA-256 as its basis
|
|---|
| 753 | (POLARSSL_ENTROPY_FORCE_SHA256)
|
|---|
| 754 | * Testing script ssl-opt.sh added for testing 'live' ssl option
|
|---|
| 755 | interoperability against OpenSSL and PolarSSL
|
|---|
| 756 | * Support for reading EC keys that use SpecifiedECDomain in some cases.
|
|---|
| 757 | * Entropy module now supports seed writing and reading
|
|---|
| 758 |
|
|---|
| 759 | Changes
|
|---|
| 760 | * Deprecated the Memory layer
|
|---|
| 761 | * entropy_add_source(), entropy_update_manual() and entropy_gather()
|
|---|
| 762 | now thread-safe if POLARSSL_THREADING_C defined
|
|---|
| 763 | * Improvements to the CMake build system, contributed by Julian Ospald.
|
|---|
| 764 | * Work around a bug of the version of Clang shipped by Apple with Mavericks
|
|---|
| 765 | that prevented bignum.c from compiling. (Reported by Rafael Baptista.)
|
|---|
| 766 | * Revamped the compat.sh interoperatibility script to include support for
|
|---|
| 767 | testing against GnuTLS
|
|---|
| 768 | * Deprecated ssl_set_own_cert_rsa() and ssl_set_own_cert_rsa_alt()
|
|---|
| 769 | * Improvements to tests/Makefile, contributed by Oden Eriksson.
|
|---|
| 770 |
|
|---|
| 771 | Security
|
|---|
| 772 | * Forbid change of server certificate during renegotiation to prevent
|
|---|
| 773 | "triple handshake" attack when authentication mode is 'optional' (the
|
|---|
| 774 | attack was already impossible when authentication is required).
|
|---|
| 775 | * Check notBefore timestamp of certificates and CRLs from the future.
|
|---|
| 776 | * Forbid sequence number wrapping
|
|---|
| 777 | * Fixed possible buffer overflow with overlong PSK
|
|---|
| 778 | * Possible remotely-triggered out-of-bounds memory access fixed (found by
|
|---|
| 779 | TrustInSoft)
|
|---|
| 780 |
|
|---|
| 781 | Bugfix
|
|---|
| 782 | * ecp_gen_keypair() does more tries to prevent failure because of
|
|---|
| 783 | statistics
|
|---|
| 784 | * Fixed bug in RSA PKCS#1 v1.5 "reversed" operations
|
|---|
| 785 | * Fixed testing with out-of-source builds using cmake
|
|---|
| 786 | * Fixed version-major intolerance in server
|
|---|
| 787 | * Fixed CMake symlinking on out-of-source builds
|
|---|
| 788 | * Fixed dependency issues in test suite
|
|---|
| 789 | * Programs rsa_sign_pss and rsa_verify_pss were not using PSS since 1.3.0
|
|---|
| 790 | * Bignum's MIPS-32 assembly was used on MIPS-64, causing chaos. (Found by
|
|---|
| 791 | Alex Wilson.)
|
|---|
| 792 | * ssl_cache was creating entries when max_entries=0 if TIMING_C was enabled.
|
|---|
| 793 | * m_sleep() was sleeping twice too long on most Unix platforms.
|
|---|
| 794 | * Fixed bug with session tickets and non-blocking I/O in the unlikely case
|
|---|
| 795 | send() would return an EAGAIN error when sending the ticket.
|
|---|
| 796 | * ssl_cache was leaking memory when reusing a timed out entry containing a
|
|---|
| 797 | client certificate.
|
|---|
| 798 | * ssl_srv was leaking memory when client presented a timed out ticket
|
|---|
| 799 | containing a client certificate
|
|---|
| 800 | * ssl_init() was leaving a dirty pointer in ssl_context if malloc of
|
|---|
| 801 | out_ctr failed
|
|---|
| 802 | * ssl_handshake_init() was leaving dirty pointers in subcontexts if malloc
|
|---|
| 803 | of one of them failed
|
|---|
| 804 | * Fix typo in rsa_copy() that impacted PKCS#1 v2 contexts
|
|---|
| 805 | * x509_get_current_time() uses localtime_r() to prevent thread issues
|
|---|
| 806 |
|
|---|
| 807 | = PolarSSL 1.3.4 released on 2014-01-27
|
|---|
| 808 | Features
|
|---|
| 809 | * Support for the Koblitz curves: secp192k1, secp224k1, secp256k1
|
|---|
| 810 | * Support for RIPEMD-160
|
|---|
| 811 | * Support for AES CFB8 mode
|
|---|
| 812 | * Support for deterministic ECDSA (RFC 6979)
|
|---|
| 813 |
|
|---|
| 814 | Bugfix
|
|---|
| 815 | * Potential memory leak in bignum_selftest()
|
|---|
| 816 | * Replaced expired test certificate
|
|---|
| 817 | * ssl_mail_client now terminates lines with CRLF, instead of LF
|
|---|
| 818 | * net module handles timeouts on blocking sockets better (found by Tilman
|
|---|
| 819 | Sauerbeck)
|
|---|
| 820 | * Assembly format fixes in bn_mul.h
|
|---|
| 821 |
|
|---|
| 822 | Security
|
|---|
| 823 | * Missing MPI_CHK calls added around unguarded mpi calls (found by
|
|---|
| 824 | TrustInSoft)
|
|---|
| 825 |
|
|---|
| 826 | = PolarSSL 1.3.3 released on 2013-12-31
|
|---|
| 827 | Features
|
|---|
| 828 | * EC key generation support in gen_key app
|
|---|
| 829 | * Support for adhering to client ciphersuite order preference
|
|---|
| 830 | (POLARSSL_SSL_SRV_RESPECT_CLIENT_PREFERENCE)
|
|---|
| 831 | * Support for Curve25519
|
|---|
| 832 | * Support for ECDH-RSA and ECDH-ECDSA key exchanges and ciphersuites
|
|---|
| 833 | * Support for IPv6 in the NET module
|
|---|
| 834 | * AES-NI support for AES, AES-GCM and AES key scheduling
|
|---|
| 835 | * SSL Pthread-based server example added (ssl_pthread_server)
|
|---|
| 836 |
|
|---|
| 837 | Changes
|
|---|
| 838 | * gen_prime() speedup
|
|---|
| 839 | * Speedup of ECP multiplication operation
|
|---|
| 840 | * Relaxed some SHA2 ciphersuite's version requirements
|
|---|
| 841 | * Dropped use of readdir_r() instead of readdir() with threading support
|
|---|
| 842 | * More constant-time checks in the RSA module
|
|---|
| 843 | * Split off curves from ecp.c into ecp_curves.c
|
|---|
| 844 | * Curves are now stored fully in ROM
|
|---|
| 845 | * Memory usage optimizations in ECP module
|
|---|
| 846 | * Removed POLARSSL_THREADING_DUMMY
|
|---|
| 847 |
|
|---|
| 848 | Bugfix
|
|---|
| 849 | * Fixed bug in mpi_set_bit() on platforms where t_uint is wider than int
|
|---|
| 850 | * Fixed X.509 hostname comparison (with non-regular characters)
|
|---|
| 851 | * SSL now gracefully handles missing RNG
|
|---|
| 852 | * Missing defines / cases for RSA_PSK key exchange
|
|---|
| 853 | * crypt_and_hash app checks MAC before final decryption
|
|---|
| 854 | * Potential memory leak in ssl_ticket_keys_init()
|
|---|
| 855 | * Memory leak in benchmark application
|
|---|
| 856 | * Fixed x509_crt_parse_path() bug on Windows platforms
|
|---|
| 857 | * Added missing MPI_CHK() around some statements in mpi_div_mpi() (found by
|
|---|
| 858 | TrustInSoft)
|
|---|
| 859 | * Fixed potential overflow in certificate size verification in
|
|---|
| 860 | ssl_write_certificate() (found by TrustInSoft)
|
|---|
| 861 |
|
|---|
| 862 | Security
|
|---|
| 863 | * Possible remotely-triggered out-of-bounds memory access fixed (found by
|
|---|
| 864 | TrustInSoft)
|
|---|
| 865 |
|
|---|
| 866 | = PolarSSL 1.3.2 released on 2013-11-04
|
|---|
| 867 | Features
|
|---|
| 868 | * PK tests added to test framework
|
|---|
| 869 | * Added optional optimization for NIST MODP curves (POLARSSL_ECP_NIST_OPTIM)
|
|---|
| 870 | * Support for Camellia-GCM mode and ciphersuites
|
|---|
| 871 |
|
|---|
| 872 | Changes
|
|---|
| 873 | * Padding checks in cipher layer are now constant-time
|
|---|
| 874 | * Value comparisons in SSL layer are now constant-time
|
|---|
| 875 | * Support for serialNumber, postalAddress and postalCode in X509 names
|
|---|
| 876 | * SSL Renegotiation was refactored
|
|---|
| 877 |
|
|---|
| 878 | Bugfix
|
|---|
| 879 | * More stringent checks in cipher layer
|
|---|
| 880 | * Server does not send out extensions not advertised by client
|
|---|
| 881 | * Prevent possible alignment warnings on casting from char * to 'aligned *'
|
|---|
| 882 | * Misc fixes and additions to dependency checks
|
|---|
| 883 | * Const correctness
|
|---|
| 884 | * cert_write with selfsign should use issuer_name as subject_name
|
|---|
| 885 | * Fix ECDSA corner case: missing reduction mod N (found by DualTachyon)
|
|---|
| 886 | * Defines to handle UEFI environment under MSVC
|
|---|
| 887 | * Server-side initiated renegotiations send HelloRequest
|
|---|
| 888 |
|
|---|
| 889 | = PolarSSL 1.3.1 released on 2013-10-15
|
|---|
| 890 | Features
|
|---|
| 891 | * Support for Brainpool curves and TLS ciphersuites (RFC 7027)
|
|---|
| 892 | * Support for ECDHE-PSK key-exchange and ciphersuites
|
|---|
| 893 | * Support for RSA-PSK key-exchange and ciphersuites
|
|---|
| 894 |
|
|---|
| 895 | Changes
|
|---|
| 896 | * RSA blinding locks for a smaller amount of time
|
|---|
| 897 | * TLS compression only allocates working buffer once
|
|---|
| 898 | * Introduced POLARSSL_HAVE_READDIR_R for systems without it
|
|---|
| 899 | * config.h is more script-friendly
|
|---|
| 900 |
|
|---|
| 901 | Bugfix
|
|---|
| 902 | * Missing MSVC defines added
|
|---|
| 903 | * Compile errors with POLARSSL_RSA_NO_CRT
|
|---|
| 904 | * Header files with 'polarssl/'
|
|---|
| 905 | * Const correctness
|
|---|
| 906 | * Possible naming collision in dhm_context
|
|---|
| 907 | * Better support for MSVC
|
|---|
| 908 | * threading_set_alt() name
|
|---|
| 909 | * Added missing x509write_crt_set_version()
|
|---|
| 910 |
|
|---|
| 911 | = PolarSSL 1.3.0 released on 2013-10-01
|
|---|
| 912 | Features
|
|---|
| 913 | * Elliptic Curve Cryptography module added
|
|---|
| 914 | * Elliptic Curve Diffie Hellman module added
|
|---|
| 915 | * Ephemeral Elliptic Curve Diffie Hellman support for SSL/TLS
|
|---|
| 916 | (ECDHE-based ciphersuites)
|
|---|
| 917 | * Ephemeral Elliptic Curve Digital Signature Algorithm support for SSL/TLS
|
|---|
| 918 | (ECDSA-based ciphersuites)
|
|---|
| 919 | * Ability to specify allowed ciphersuites based on the protocol version.
|
|---|
| 920 | * PSK and DHE-PSK based ciphersuites added
|
|---|
| 921 | * Memory allocation abstraction layer added
|
|---|
| 922 | * Buffer-based memory allocator added (no malloc() / free() / HEAP usage)
|
|---|
| 923 | * Threading abstraction layer added (dummy / pthread / alternate)
|
|---|
| 924 | * Public Key abstraction layer added
|
|---|
| 925 | * Parsing Elliptic Curve keys
|
|---|
| 926 | * Parsing Elliptic Curve certificates
|
|---|
| 927 | * Support for max_fragment_length extension (RFC 6066)
|
|---|
| 928 | * Support for truncated_hmac extension (RFC 6066)
|
|---|
| 929 | * Support for zeros-and-length (ANSI X.923) padding, one-and-zeros
|
|---|
| 930 | (ISO/IEC 7816-4) padding and zero padding in the cipher layer
|
|---|
| 931 | * Support for session tickets (RFC 5077)
|
|---|
| 932 | * Certificate Request (CSR) generation with extensions (key_usage,
|
|---|
| 933 | ns_cert_type)
|
|---|
| 934 | * X509 Certificate writing with extensions (basic_constraints,
|
|---|
| 935 | issuer_key_identifier, etc)
|
|---|
| 936 | * Optional blinding for RSA, DHM and EC
|
|---|
| 937 | * Support for multiple active certificate / key pairs in SSL servers for
|
|---|
| 938 | the same host (Not to be confused with SNI!)
|
|---|
| 939 |
|
|---|
| 940 | Changes
|
|---|
| 941 | * Ability to enable / disable SSL v3 / TLS 1.0 / TLS 1.1 / TLS 1.2
|
|---|
| 942 | individually
|
|---|
| 943 | * Introduced separate SSL Ciphersuites module that is based on
|
|---|
| 944 | Cipher and MD information
|
|---|
| 945 | * Internals for SSL module adapted to have separate IV pointer that is
|
|---|
| 946 | dynamically set (Better support for hardware acceleration)
|
|---|
| 947 | * Moved all OID functionality to a separate module. RSA function
|
|---|
| 948 | prototypes for the RSA sign and verify functions changed as a result
|
|---|
| 949 | * Split up the GCM module into a starts/update/finish cycle
|
|---|
| 950 | * Client and server now filter sent and accepted ciphersuites on minimum
|
|---|
| 951 | and maximum protocol version
|
|---|
| 952 | * Ability to disable server_name extension (RFC 6066)
|
|---|
| 953 | * Renamed error_strerror() to the less conflicting polarssl_strerror()
|
|---|
| 954 | (Ability to keep old as well with POLARSSL_ERROR_STRERROR_BC)
|
|---|
| 955 | * SHA2 renamed to SHA256, SHA4 renamed to SHA512 and functions accordingly
|
|---|
| 956 | * All RSA operations require a random generator for blinding purposes
|
|---|
| 957 | * X509 core refactored
|
|---|
| 958 | * x509_crt_verify() now case insensitive for cn (RFC 6125 6.4)
|
|---|
| 959 | * Also compiles / runs without time-based functions (!POLARSSL_HAVE_TIME)
|
|---|
| 960 | * Support faulty X509 v1 certificates with extensions
|
|---|
| 961 | (POLARSSL_X509_ALLOW_EXTENSIONS_NON_V3)
|
|---|
| 962 |
|
|---|
| 963 | Bugfix
|
|---|
| 964 | * Fixed parse error in ssl_parse_certificate_request()
|
|---|
| 965 | * zlib compression/decompression skipped on empty blocks
|
|---|
| 966 | * Support for AIX header locations in net.c module
|
|---|
| 967 | * Fixed file descriptor leaks
|
|---|
| 968 |
|
|---|
| 969 | Security
|
|---|
| 970 | * RSA blinding on CRT operations to counter timing attacks
|
|---|
| 971 | (found by Cyril Arnaud and Pierre-Alain Fouque)
|
|---|
| 972 |
|
|---|
| 973 |
|
|---|
| 974 | = Version 1.2.14 released 2015-05-??
|
|---|
| 975 |
|
|---|
| 976 | Security
|
|---|
| 977 | * Fix potential invalid memory read in the server, that allows a client to
|
|---|
| 978 | crash it remotely (found by Caj Larsson).
|
|---|
| 979 | * Fix potential invalid memory read in certificate parsing, that allows a
|
|---|
| 980 | client to crash the server remotely if client authentication is enabled
|
|---|
| 981 | (found using Codenomicon Defensics).
|
|---|
| 982 | * Add countermeasure against "Lucky 13 strikes back" cache-based attack,
|
|---|
| 983 | https://dl.acm.org/citation.cfm?id=2714625
|
|---|
| 984 |
|
|---|
| 985 | Bugfix
|
|---|
| 986 | * Fix bug in Via Padlock support (found by Nikos Mavrogiannopoulos).
|
|---|
| 987 | * Fix hardclock() (only used in the benchmarking program) with some
|
|---|
| 988 | versions of mingw64 (found by kxjhlele).
|
|---|
| 989 | * Fix warnings from mingw64 in timing.c (found by kxjklele).
|
|---|
| 990 | * Fix potential unintended sign extension in asn1_get_len() on 64-bit
|
|---|
| 991 | platforms (found with Coverity Scan).
|
|---|
| 992 |
|
|---|
| 993 | = Version 1.2.13 released 2015-02-16
|
|---|
| 994 | Note: Although PolarSSL has been renamed to mbed TLS, no changes reflecting
|
|---|
| 995 | this will be made in the 1.2 branch at this point.
|
|---|
| 996 |
|
|---|
| 997 | Security
|
|---|
| 998 | * Fix remotely-triggerable uninitialised pointer dereference caused by
|
|---|
| 999 | crafted X.509 certificate (TLS server is not affected if it doesn't ask
|
|---|
| 1000 | for a client certificate) (found using Codenomicon Defensics).
|
|---|
| 1001 | * Fix remotely-triggerable memory leak caused by crafted X.509 certificates
|
|---|
| 1002 | (TLS server is not affected if it doesn't ask for a client certificate)
|
|---|
| 1003 | (found using Codenomicon Defensics).
|
|---|
| 1004 | * Fix potential stack overflow while parsing crafted X.509 certificates
|
|---|
| 1005 | (TLS server is not affected if it doesn't ask for a client certificate)
|
|---|
| 1006 | found using Codenomicon Defensics).
|
|---|
| 1007 | * Fix buffer overread of size 1 when parsing crafted X.509 certificates
|
|---|
| 1008 | (TLS server is not affected if it doesn't ask for a client certificate).
|
|---|
| 1009 |
|
|---|
| 1010 | Bugfix
|
|---|
| 1011 | * Fix potential undefined behaviour in Camellia.
|
|---|
| 1012 | * Fix memory leaks in PKCS#5 and PKCS#12.
|
|---|
| 1013 | * Stack buffer overflow if ctr_drbg_update() is called with too large
|
|---|
| 1014 | add_len (found by Jean-Philippe Aumasson) (not triggerable remotely).
|
|---|
| 1015 | * Fix bug in MPI/bignum on s390/s390x (reported by Dan Horák) (introduced
|
|---|
| 1016 | in 1.2.12).
|
|---|
| 1017 | * Fix unchecked return code in x509_crt_parse_path() on Windows (found by
|
|---|
| 1018 | Peter Vaskovic).
|
|---|
| 1019 | * Fix assembly selection for MIPS64 (thanks to James Cowgill).
|
|---|
| 1020 | * ssl_get_verify_result() now works even if the handshake was aborted due
|
|---|
| 1021 | to a failed verification (found by Fredrik Axelsson).
|
|---|
| 1022 | * Skip writing and parsing signature_algorithm extension if none of the
|
|---|
| 1023 | key exchanges enabled needs certificates. This fixes a possible interop
|
|---|
| 1024 | issue with some servers when a zero-length extension was sent. (Reported
|
|---|
| 1025 | by Peter Dettman.)
|
|---|
| 1026 | * On a 0-length input, base64_encode() did not correctly set output length
|
|---|
| 1027 | (found by Hendrik van den Boogaard).
|
|---|
| 1028 |
|
|---|
| 1029 | Changes
|
|---|
| 1030 | * Blind RSA private operations even when POLARSSL_RSA_NO_CRT is defined.
|
|---|
| 1031 | * Forbid repeated extensions in X.509 certificates.
|
|---|
| 1032 | * Add compile-time option POLARSSL_X509_MAX_INTERMEDIATE_CA to limit the
|
|---|
| 1033 | length of an X.509 verification chain (default = 8).
|
|---|
| 1034 | = Version 1.2.12 released 2014-10-24
|
|---|
| 1035 |
|
|---|
| 1036 | Security
|
|---|
| 1037 | * Remotely-triggerable memory leak when parsing some X.509 certificates
|
|---|
| 1038 | (server is not affected if it doesn't ask for a client certificate).
|
|---|
| 1039 | (Found using Codenomicon Defensics.)
|
|---|
| 1040 |
|
|---|
| 1041 | Bugfix
|
|---|
| 1042 | * Fix potential bad read in parsing ServerHello (found by Adrien
|
|---|
| 1043 | Vialletelle).
|
|---|
| 1044 | * ssl_close_notify() could send more than one message in some circumstances
|
|---|
| 1045 | with non-blocking I/O.
|
|---|
| 1046 | * x509_crt_parse() did not increase total_failed on PEM error
|
|---|
| 1047 | * Fix compiler warnings on iOS (found by Sander Niemeijer).
|
|---|
| 1048 | * Don't print uninitialised buffer in ssl_mail_client (found by Marc Abel).
|
|---|
| 1049 | * Fix net_accept() regarding non-blocking sockets (found by Luca Pesce).
|
|---|
| 1050 | * ssl_read() could return non-application data records on server while
|
|---|
| 1051 | renegotation was pending, and on client when a HelloRequest was received.
|
|---|
| 1052 | * Fix warnings from Clang's scan-build (contributed by Alfred Klomp).
|
|---|
| 1053 |
|
|---|
| 1054 | Changes
|
|---|
| 1055 | * X.509 certificates with more than one AttributeTypeAndValue per
|
|---|
| 1056 | RelativeDistinguishedName are not accepted any more.
|
|---|
| 1057 | * ssl_read() now returns POLARSSL_ERR_NET_WANT_READ rather than
|
|---|
| 1058 | POLARSSL_ERR_SSL_UNEXPECTED_MESSAGE on harmless alerts.
|
|---|
| 1059 | * Accept spaces at end of line or end of buffer in base64_decode().
|
|---|
| 1060 |
|
|---|
| 1061 | = Version 1.2.11 released 2014-07-11
|
|---|
| 1062 | Features
|
|---|
| 1063 | * Entropy module now supports seed writing and reading
|
|---|
| 1064 |
|
|---|
| 1065 | Changes
|
|---|
| 1066 | * Introduced POLARSSL_HAVE_READDIR_R for systems without it
|
|---|
| 1067 | * Improvements to the CMake build system, contributed by Julian Ospald.
|
|---|
| 1068 | * Work around a bug of the version of Clang shipped by Apple with Mavericks
|
|---|
| 1069 | that prevented bignum.c from compiling. (Reported by Rafael Baptista.)
|
|---|
| 1070 | * Improvements to tests/Makefile, contributed by Oden Eriksson.
|
|---|
| 1071 | * Use UTC time to check certificate validity.
|
|---|
| 1072 | * Reject certificates with times not in UTC, per RFC 5280.
|
|---|
| 1073 | * Migrate zeroizing of data to polarssl_zeroize() instead of memset()
|
|---|
| 1074 | against unwanted compiler optimizations
|
|---|
| 1075 |
|
|---|
| 1076 | Security
|
|---|
| 1077 | * Forbid change of server certificate during renegotiation to prevent
|
|---|
| 1078 | "triple handshake" attack when authentication mode is optional (the
|
|---|
| 1079 | attack was already impossible when authentication is required).
|
|---|
| 1080 | * Check notBefore timestamp of certificates and CRLs from the future.
|
|---|
| 1081 | * Forbid sequence number wrapping
|
|---|
| 1082 | * Prevent potential NULL pointer dereference in ssl_read_record() (found by
|
|---|
| 1083 | TrustInSoft)
|
|---|
| 1084 | * Fix length checking for AEAD ciphersuites (found by Codenomicon).
|
|---|
| 1085 | It was possible to crash the server (and client) using crafted messages
|
|---|
| 1086 | when a GCM suite was chosen.
|
|---|
| 1087 |
|
|---|
| 1088 | Bugfix
|
|---|
| 1089 | * Fixed X.509 hostname comparison (with non-regular characters)
|
|---|
| 1090 | * SSL now gracefully handles missing RNG
|
|---|
| 1091 | * crypt_and_hash app checks MAC before final decryption
|
|---|
| 1092 | * Fixed x509_crt_parse_path() bug on Windows platforms
|
|---|
| 1093 | * Added missing MPI_CHK() around some statements in mpi_div_mpi() (found by
|
|---|
| 1094 | TrustInSoft)
|
|---|
| 1095 | * Fixed potential overflow in certificate size verification in
|
|---|
| 1096 | ssl_write_certificate() (found by TrustInSoft)
|
|---|
| 1097 | * Fix ASM format in bn_mul.h
|
|---|
| 1098 | * Potential memory leak in bignum_selftest()
|
|---|
| 1099 | * Replaced expired test certificate
|
|---|
| 1100 | * ssl_mail_client now terminates lines with CRLF, instead of LF
|
|---|
| 1101 | * Fix bug in RSA PKCS#1 v1.5 "reversed" operations
|
|---|
| 1102 | * Fixed testing with out-of-source builds using cmake
|
|---|
| 1103 | * Fixed version-major intolerance in server
|
|---|
| 1104 | * Fixed CMake symlinking on out-of-source builds
|
|---|
| 1105 | * Bignum's MIPS-32 assembly was used on MIPS-64, causing chaos. (Found by
|
|---|
| 1106 | Alex Wilson.)
|
|---|
| 1107 | * ssl_init() was leaving a dirty pointer in ssl_context if malloc of
|
|---|
| 1108 | out_ctr failed
|
|---|
| 1109 | * ssl_handshake_init() was leaving dirty pointers in subcontexts if malloc
|
|---|
| 1110 | of one of them failed
|
|---|
| 1111 | * x509_get_current_time() uses localtime_r() to prevent thread issues
|
|---|
| 1112 | * Some example server programs were not sending the close_notify alert.
|
|---|
| 1113 | * Potential memory leak in mpi_exp_mod() when error occurs during
|
|---|
| 1114 | calculation of RR.
|
|---|
| 1115 | * Improve interoperability by not writing extension length in ClientHello
|
|---|
| 1116 | when no extensions are present (found by Matthew Page)
|
|---|
| 1117 | * rsa_check_pubkey() now allows an E up to N
|
|---|
| 1118 | * On OpenBSD, use arc4random_buf() instead of rand() to prevent warnings
|
|---|
| 1119 | * mpi_fill_random() was creating numbers larger than requested on
|
|---|
| 1120 | big-endian platform when size was not an integer number of limbs
|
|---|
| 1121 | * Fix detection of DragonflyBSD in net.c (found by Markus Pfeiffer)
|
|---|
| 1122 | * Stricter check on SSL ClientHello internal sizes compared to actual packet
|
|---|
| 1123 | size (found by TrustInSoft)
|
|---|
| 1124 | * Fix preprocessor checks for bn_mul PPC asm (found by Barry K. Nathan).
|
|---|
| 1125 | * Use \n\t rather than semicolons for bn_mul asm, since some assemblers
|
|---|
| 1126 | interpret semicolons as comment delimiters (found by Barry K. Nathan).
|
|---|
| 1127 | * Disable broken Sparc64 bn_mul assembly (found by Florian Obser).
|
|---|
| 1128 | * Fix base64_decode() to return and check length correctly (in case of
|
|---|
| 1129 | tight buffers)
|
|---|
| 1130 |
|
|---|
| 1131 | = Version 1.2.10 released 2013-10-07
|
|---|
| 1132 | Changes
|
|---|
| 1133 | * Changed RSA blinding to a slower but thread-safe version
|
|---|
| 1134 |
|
|---|
| 1135 | Bugfix
|
|---|
| 1136 | * Fixed memory leak in RSA as a result of introduction of blinding
|
|---|
| 1137 | * Fixed ssl_pkcs11_decrypt() prototype
|
|---|
| 1138 | * Fixed MSVC project files
|
|---|
| 1139 |
|
|---|
| 1140 | = Version 1.2.9 released 2013-10-01
|
|---|
| 1141 | Changes
|
|---|
| 1142 | * x509_verify() now case insensitive for cn (RFC 6125 6.4)
|
|---|
| 1143 |
|
|---|
| 1144 | Bugfix
|
|---|
| 1145 | * Fixed potential memory leak when failing to resume a session
|
|---|
| 1146 | * Fixed potential file descriptor leaks (found by Remi Gacogne)
|
|---|
| 1147 | * Minor fixes
|
|---|
| 1148 |
|
|---|
| 1149 | Security
|
|---|
| 1150 | * Fixed potential heap buffer overflow on large hostname setting
|
|---|
| 1151 | * Fixed potential negative value misinterpretation in load_file()
|
|---|
| 1152 | * RSA blinding on CRT operations to counter timing attacks
|
|---|
| 1153 | (found by Cyril Arnaud and Pierre-Alain Fouque)
|
|---|
| 1154 |
|
|---|
| 1155 | = Version 1.2.8 released 2013-06-19
|
|---|
| 1156 | Features
|
|---|
| 1157 | * Parsing of PKCS#8 encrypted private key files
|
|---|
| 1158 | * PKCS#12 PBE and derivation functions
|
|---|
| 1159 | * Centralized module option values in config.h to allow user-defined
|
|---|
| 1160 | settings without editing header files by using POLARSSL_CONFIG_OPTIONS
|
|---|
| 1161 |
|
|---|
| 1162 | Changes
|
|---|
| 1163 | * HAVEGE random generator disabled by default
|
|---|
| 1164 | * Internally split up x509parse_key() into a (PEM) handler function
|
|---|
| 1165 | and specific DER parser functions for the PKCS#1 and unencrypted
|
|---|
| 1166 | PKCS#8 private key formats
|
|---|
| 1167 | * Added mechanism to provide alternative implementations for all
|
|---|
| 1168 | symmetric cipher and hash algorithms (e.g. POLARSSL_AES_ALT in
|
|---|
| 1169 | config.h)
|
|---|
| 1170 | * PKCS#5 module added. Moved PBKDF2 functionality inside and deprecated
|
|---|
| 1171 | old PBKDF2 module
|
|---|
| 1172 |
|
|---|
| 1173 | Bugfix
|
|---|
| 1174 | * Secure renegotiation extension should only be sent in case client
|
|---|
| 1175 | supports secure renegotiation
|
|---|
| 1176 | * Fixed offset for cert_type list in ssl_parse_certificate_request()
|
|---|
| 1177 | * Fixed const correctness issues that have no impact on the ABI
|
|---|
| 1178 | * x509parse_crt() now better handles PEM error situations
|
|---|
| 1179 | * ssl_parse_certificate() now calls x509parse_crt_der() directly
|
|---|
| 1180 | instead of the x509parse_crt() wrapper that can also parse PEM
|
|---|
| 1181 | certificates
|
|---|
| 1182 | * x509parse_crtpath() is now reentrant and uses more portable stat()
|
|---|
| 1183 | * Fixed bignum.c and bn_mul.h to support Thumb2 and LLVM compiler
|
|---|
| 1184 | * Fixed values for 2-key Triple DES in cipher layer
|
|---|
| 1185 | * ssl_write_certificate_request() can handle empty ca_chain
|
|---|
| 1186 |
|
|---|
| 1187 | Security
|
|---|
| 1188 | * A possible DoS during the SSL Handshake, due to faulty parsing of
|
|---|
| 1189 | PEM-encoded certificates has been fixed (found by Jack Lloyd)
|
|---|
| 1190 |
|
|---|
| 1191 | = Version 1.2.7 released 2013-04-13
|
|---|
| 1192 | Features
|
|---|
| 1193 | * Ability to specify allowed ciphersuites based on the protocol version.
|
|---|
| 1194 |
|
|---|
| 1195 | Changes
|
|---|
| 1196 | * Default Blowfish keysize is now 128-bits
|
|---|
| 1197 | * Test suites made smaller to accommodate Raspberry Pi
|
|---|
| 1198 |
|
|---|
| 1199 | Bugfix
|
|---|
| 1200 | * Fix for MPI assembly for ARM
|
|---|
| 1201 | * GCM adapted to support sizes > 2^29
|
|---|
| 1202 |
|
|---|
| 1203 | = Version 1.2.6 released 2013-03-11
|
|---|
| 1204 | Bugfix
|
|---|
| 1205 | * Fixed memory leak in ssl_free() and ssl_reset() for active session
|
|---|
| 1206 | * Corrected GCM counter incrementation to use only 32-bits instead of
|
|---|
| 1207 | 128-bits (found by Yawning Angel)
|
|---|
| 1208 | * Fixes for 64-bit compilation with MS Visual Studio
|
|---|
| 1209 | * Fixed net_bind() for specified IP addresses on little endian systems
|
|---|
| 1210 | * Fixed assembly code for ARM (Thumb and regular) for some compilers
|
|---|
| 1211 |
|
|---|
| 1212 | Changes
|
|---|
| 1213 | * Internally split up rsa_pkcs1_encrypt(), rsa_pkcs1_decrypt(),
|
|---|
| 1214 | rsa_pkcs1_sign() and rsa_pkcs1_verify() to separate PKCS#1 v1.5 and
|
|---|
| 1215 | PKCS#1 v2.1 functions
|
|---|
| 1216 | * Added support for custom labels when using rsa_rsaes_oaep_encrypt()
|
|---|
| 1217 | or rsa_rsaes_oaep_decrypt()
|
|---|
| 1218 | * Re-added handling for SSLv2 Client Hello when the define
|
|---|
| 1219 | POLARSSL_SSL_SRV_SUPPORT_SSLV2_CLIENT_HELLO is set
|
|---|
| 1220 | * The SSL session cache module (ssl_cache) now also retains peer_cert
|
|---|
| 1221 | information (not the entire chain)
|
|---|
| 1222 |
|
|---|
| 1223 | Security
|
|---|
| 1224 | * Removed further timing differences during SSL message decryption in
|
|---|
| 1225 | ssl_decrypt_buf()
|
|---|
| 1226 | * Removed timing differences due to bad padding from
|
|---|
| 1227 | rsa_rsaes_pkcs1_v15_decrypt() and rsa_pkcs1_decrypt() for PKCS#1 v1.5
|
|---|
| 1228 | operations
|
|---|
| 1229 |
|
|---|
| 1230 | = Version 1.2.5 released 2013-02-02
|
|---|
| 1231 | Changes
|
|---|
| 1232 | * Allow enabling of dummy error_strerror() to support some use-cases
|
|---|
| 1233 | * Debug messages about padding errors during SSL message decryption are
|
|---|
| 1234 | disabled by default and can be enabled with POLARSSL_SSL_DEBUG_ALL
|
|---|
| 1235 | * Sending of security-relevant alert messages that do not break
|
|---|
| 1236 | interoperability can be switched on/off with the flag
|
|---|
| 1237 | POLARSSL_SSL_ALL_ALERT_MESSAGES
|
|---|
| 1238 |
|
|---|
| 1239 | Security
|
|---|
| 1240 | * Removed timing differences during SSL message decryption in
|
|---|
| 1241 | ssl_decrypt_buf() due to badly formatted padding
|
|---|
| 1242 |
|
|---|
| 1243 | = Version 1.2.4 released 2013-01-25
|
|---|
| 1244 | Changes
|
|---|
| 1245 | * More advanced SSL ciphersuite representation and moved to more dynamic
|
|---|
| 1246 | SSL core
|
|---|
| 1247 | * Added ssl_handshake_step() to allow single stepping the handshake process
|
|---|
| 1248 |
|
|---|
| 1249 | Bugfix
|
|---|
| 1250 | * Memory leak when using RSA_PKCS_V21 operations fixed
|
|---|
| 1251 | * Handle future version properly in ssl_write_certificate_request()
|
|---|
| 1252 | * Correctly handle CertificateRequest message in client for <= TLS 1.1
|
|---|
| 1253 | without DN list
|
|---|
| 1254 |
|
|---|
| 1255 | = Version 1.2.3 released 2012-11-26
|
|---|
| 1256 | Bugfix
|
|---|
| 1257 | * Server not always sending correct CertificateRequest message
|
|---|
| 1258 |
|
|---|
| 1259 | = Version 1.2.2 released 2012-11-24
|
|---|
| 1260 | Changes
|
|---|
| 1261 | * Added p_hw_data to ssl_context for context specific hardware acceleration
|
|---|
| 1262 | data
|
|---|
| 1263 | * During verify trust-CA is only checked for expiration and CRL presence
|
|---|
| 1264 |
|
|---|
| 1265 | Bugfixes
|
|---|
| 1266 | * Fixed client authentication compatibility
|
|---|
| 1267 | * Fixed dependency on POLARSSL_SHA4_C in SSL modules
|
|---|
| 1268 |
|
|---|
| 1269 | = Version 1.2.1 released 2012-11-20
|
|---|
| 1270 | Changes
|
|---|
| 1271 | * Depth that the certificate verify callback receives is now numbered
|
|---|
| 1272 | bottom-up (Peer cert depth is 0)
|
|---|
| 1273 |
|
|---|
| 1274 | Bugfixes
|
|---|
| 1275 | * Fixes for MSVC6
|
|---|
| 1276 | * Moved mpi_inv_mod() outside POLARSSL_GENPRIME
|
|---|
| 1277 | * Allow R and A to point to same mpi in mpi_div_mpi (found by Manuel
|
|---|
| 1278 | Pégourié-Gonnard)
|
|---|
| 1279 | * Fixed possible segfault in mpi_shift_r() (found by Manuel
|
|---|
| 1280 | Pégourié-Gonnard)
|
|---|
| 1281 | * Added max length check for rsa_pkcs1_sign with PKCS#1 v2.1
|
|---|
| 1282 |
|
|---|
| 1283 | = Version 1.2.0 released 2012-10-31
|
|---|
| 1284 | Features
|
|---|
| 1285 | * Added support for NULL cipher (POLARSSL_CIPHER_NULL_CIPHER) and weak
|
|---|
| 1286 | ciphersuites (POLARSSL_ENABLE_WEAK_CIPHERSUITES). They are disabled by
|
|---|
| 1287 | default!
|
|---|
| 1288 | * Added support for wildcard certificates
|
|---|
| 1289 | * Added support for multi-domain certificates through the X509 Subject
|
|---|
| 1290 | Alternative Name extension
|
|---|
| 1291 | * Added preliminary ASN.1 buffer writing support
|
|---|
| 1292 | * Added preliminary X509 Certificate Request writing support
|
|---|
| 1293 | * Added key_app_writer example application
|
|---|
| 1294 | * Added cert_req example application
|
|---|
| 1295 | * Added base Galois Counter Mode (GCM) for AES
|
|---|
| 1296 | * Added TLS 1.2 support (RFC 5246)
|
|---|
| 1297 | * Added GCM suites to TLS 1.2 (RFC 5288)
|
|---|
| 1298 | * Added commandline error code convertor (util/strerror)
|
|---|
| 1299 | * Added support for Hardware Acceleration hooking in SSL/TLS
|
|---|
| 1300 | * Added OpenSSL / PolarSSL compatibility script (tests/compat.sh) and
|
|---|
| 1301 | example application (programs/ssl/o_p_test) (requires OpenSSL)
|
|---|
| 1302 | * Added X509 CA Path support
|
|---|
| 1303 | * Added Thumb assembly optimizations
|
|---|
| 1304 | * Added DEFLATE compression support as per RFC3749 (requires zlib)
|
|---|
| 1305 | * Added blowfish algorithm (Generic and cipher layer)
|
|---|
| 1306 | * Added PKCS#5 PBKDF2 key derivation function
|
|---|
| 1307 | * Added Secure Renegotiation (RFC 5746)
|
|---|
| 1308 | * Added predefined DHM groups from RFC 5114
|
|---|
| 1309 | * Added simple SSL session cache implementation
|
|---|
| 1310 | * Added ServerName extension parsing (SNI) at server side
|
|---|
| 1311 | * Added option to add minimum accepted SSL/TLS protocol version
|
|---|
| 1312 |
|
|---|
| 1313 | Changes
|
|---|
| 1314 | * Removed redundant POLARSSL_DEBUG_MSG define
|
|---|
| 1315 | * AES code only check for Padlock once
|
|---|
| 1316 | * Fixed const-correctness mpi_get_bit()
|
|---|
| 1317 | * Documentation for mpi_lsb() and mpi_msb()
|
|---|
| 1318 | * Moved out_msg to out_hdr + 32 to support hardware acceleration
|
|---|
| 1319 | * Changed certificate verify behaviour to comply with RFC 6125 section 6.3
|
|---|
| 1320 | to not match CN if subjectAltName extension is present (Closes ticket #56)
|
|---|
| 1321 | * Cipher layer cipher_mode_t POLARSSL_MODE_CFB128 is renamed to
|
|---|
| 1322 | POLARSSL_MODE_CFB, to also handle different block size CFB modes.
|
|---|
| 1323 | * Removed handling for SSLv2 Client Hello (as per RFC 5246 recommendation)
|
|---|
| 1324 | * Revamped session resumption handling
|
|---|
| 1325 | * Generalized external private key implementation handling (like PKCS#11)
|
|---|
| 1326 | in SSL/TLS
|
|---|
| 1327 | * Revamped x509_verify() and the SSL f_vrfy callback implementations
|
|---|
| 1328 | * Moved from unsigned long to fixed width uint32_t types throughout code
|
|---|
| 1329 | * Renamed ciphersuites naming scheme to IANA reserved names
|
|---|
| 1330 |
|
|---|
| 1331 | Bugfix
|
|---|
| 1332 | * Fixed handling error in mpi_cmp_mpi() on longer B values (found by
|
|---|
| 1333 | Hui Dong)
|
|---|
| 1334 | * Fixed potential heap corruption in x509_name allocation
|
|---|
| 1335 | * Fixed single RSA test that failed on Big Endian systems (Closes ticket #54)
|
|---|
| 1336 | * mpi_exp_mod() now correctly handles negative base numbers (Closes ticket
|
|---|
| 1337 | #52)
|
|---|
| 1338 | * Handle encryption with private key and decryption with public key as per
|
|---|
| 1339 | RFC 2313
|
|---|
| 1340 | * Handle empty certificate subject names
|
|---|
| 1341 | * Prevent reading over buffer boundaries on X509 certificate parsing
|
|---|
| 1342 | * mpi_add_abs() now correctly handles adding short numbers to long numbers
|
|---|
| 1343 | with carry rollover (found by Ruslan Yushchenko)
|
|---|
| 1344 | * Handle existence of OpenSSL Trust Extensions at end of X.509 DER blob
|
|---|
| 1345 | * Fixed MPI assembly for SPARC64 platform
|
|---|
| 1346 |
|
|---|
| 1347 | Security
|
|---|
| 1348 | * Fixed potential memory zeroization on miscrafted RSA key (found by Eloi
|
|---|
| 1349 | Vanderbeken)
|
|---|
| 1350 |
|
|---|
| 1351 | = Version 1.1.8 released on 2013-10-01
|
|---|
| 1352 | Bugfix
|
|---|
| 1353 | * Fixed potential memory leak when failing to resume a session
|
|---|
| 1354 | * Fixed potential file descriptor leaks
|
|---|
| 1355 |
|
|---|
| 1356 | Security
|
|---|
| 1357 | * Potential buffer-overflow for ssl_read_record() (independently found by
|
|---|
| 1358 | both TrustInSoft and Paul Brodeur of Leviathan Security Group)
|
|---|
| 1359 | * Potential negative value misinterpretation in load_file()
|
|---|
| 1360 | * Potential heap buffer overflow on large hostname setting
|
|---|
| 1361 |
|
|---|
| 1362 | = Version 1.1.7 released on 2013-06-19
|
|---|
| 1363 | Changes
|
|---|
| 1364 | * HAVEGE random generator disabled by default
|
|---|
| 1365 |
|
|---|
| 1366 | Bugfix
|
|---|
| 1367 | * x509parse_crt() now better handles PEM error situations
|
|---|
| 1368 | * ssl_parse_certificate() now calls x509parse_crt_der() directly
|
|---|
| 1369 | instead of the x509parse_crt() wrapper that can also parse PEM
|
|---|
| 1370 | certificates
|
|---|
| 1371 | * Fixed values for 2-key Triple DES in cipher layer
|
|---|
| 1372 | * ssl_write_certificate_request() can handle empty ca_chain
|
|---|
| 1373 |
|
|---|
| 1374 | Security
|
|---|
| 1375 | * A possible DoS during the SSL Handshake, due to faulty parsing of
|
|---|
| 1376 | PEM-encoded certificates has been fixed (found by Jack Lloyd)
|
|---|
| 1377 |
|
|---|
| 1378 | = Version 1.1.6 released on 2013-03-11
|
|---|
| 1379 | Bugfix
|
|---|
| 1380 | * Fixed net_bind() for specified IP addresses on little endian systems
|
|---|
| 1381 |
|
|---|
| 1382 | Changes
|
|---|
| 1383 | * Allow enabling of dummy error_strerror() to support some use-cases
|
|---|
| 1384 | * Debug messages about padding errors during SSL message decryption are
|
|---|
| 1385 | disabled by default and can be enabled with POLARSSL_SSL_DEBUG_ALL
|
|---|
| 1386 |
|
|---|
| 1387 | Security
|
|---|
| 1388 | * Removed timing differences during SSL message decryption in
|
|---|
| 1389 | ssl_decrypt_buf()
|
|---|
| 1390 | * Removed timing differences due to bad padding from
|
|---|
| 1391 | rsa_rsaes_pkcs1_v15_decrypt() and rsa_pkcs1_decrypt() for PKCS#1 v1.5
|
|---|
| 1392 | operations
|
|---|
| 1393 |
|
|---|
| 1394 | = Version 1.1.5 released on 2013-01-16
|
|---|
| 1395 | Bugfix
|
|---|
| 1396 | * Fixed MPI assembly for SPARC64 platform
|
|---|
| 1397 | * Handle existence of OpenSSL Trust Extensions at end of X.509 DER blob
|
|---|
| 1398 | * mpi_add_abs() now correctly handles adding short numbers to long numbers
|
|---|
| 1399 | with carry rollover
|
|---|
| 1400 | * Moved mpi_inv_mod() outside POLARSSL_GENPRIME
|
|---|
| 1401 | * Prevent reading over buffer boundaries on X509 certificate parsing
|
|---|
| 1402 | * mpi_exp_mod() now correctly handles negative base numbers (Closes ticket
|
|---|
| 1403 | #52)
|
|---|
| 1404 | * Fixed possible segfault in mpi_shift_r() (found by Manuel
|
|---|
| 1405 | Pégourié-Gonnard)
|
|---|
| 1406 | * Allow R and A to point to same mpi in mpi_div_mpi (found by Manuel
|
|---|
| 1407 | Pégourié-Gonnard)
|
|---|
| 1408 | * Added max length check for rsa_pkcs1_sign with PKCS#1 v2.1
|
|---|
| 1409 | * Memory leak when using RSA_PKCS_V21 operations fixed
|
|---|
| 1410 | * Handle encryption with private key and decryption with public key as per
|
|---|
| 1411 | RFC 2313
|
|---|
| 1412 | * Fixes for MSVC6
|
|---|
| 1413 |
|
|---|
| 1414 | Security
|
|---|
| 1415 | * Fixed potential memory zeroization on miscrafted RSA key (found by Eloi
|
|---|
| 1416 | Vanderbeken)
|
|---|
| 1417 |
|
|---|
| 1418 | = Version 1.1.4 released on 2012-05-31
|
|---|
| 1419 | Bugfix
|
|---|
| 1420 | * Correctly handle empty SSL/TLS packets (Found by James Yonan)
|
|---|
| 1421 | * Fixed potential heap corruption in x509_name allocation
|
|---|
| 1422 | * Fixed single RSA test that failed on Big Endian systems (Closes ticket #54)
|
|---|
| 1423 |
|
|---|
| 1424 | = Version 1.1.3 released on 2012-04-29
|
|---|
| 1425 | Bugfix
|
|---|
| 1426 | * Fixed random MPI generation to not generate more size than requested.
|
|---|
| 1427 |
|
|---|
| 1428 | = Version 1.1.2 released on 2012-04-26
|
|---|
| 1429 | Bugfix
|
|---|
| 1430 | * Fixed handling error in mpi_cmp_mpi() on longer B values (found by
|
|---|
| 1431 | Hui Dong)
|
|---|
| 1432 |
|
|---|
| 1433 | Security
|
|---|
| 1434 | * Fixed potential memory corruption on miscrafted client messages (found by
|
|---|
| 1435 | Frama-C team at CEA LIST)
|
|---|
| 1436 | * Fixed generation of DHM parameters to correct length (found by Ruslan
|
|---|
| 1437 | Yushchenko)
|
|---|
| 1438 |
|
|---|
| 1439 | = Version 1.1.1 released on 2012-01-23
|
|---|
| 1440 | Bugfix
|
|---|
| 1441 | * Check for failed malloc() in ssl_set_hostname() and x509_get_entries()
|
|---|
| 1442 | (Closes ticket #47, found by Hugo Leisink)
|
|---|
| 1443 | * Fixed issues with Intel compiler on 64-bit systems (Closes ticket #50)
|
|---|
| 1444 | * Fixed multiple compiler warnings for VS6 and armcc
|
|---|
| 1445 | * Fixed bug in CTR_CRBG selftest
|
|---|
| 1446 |
|
|---|
| 1447 | = Version 1.1.0 released on 2011-12-22
|
|---|
| 1448 | Features
|
|---|
| 1449 | * Added ssl_session_reset() to allow better multi-connection pools of
|
|---|
| 1450 | SSL contexts without needing to set all non-connection-specific
|
|---|
| 1451 | data and pointers again. Adapted ssl_server to use this functionality.
|
|---|
| 1452 | * Added ssl_set_max_version() to allow clients to offer a lower maximum
|
|---|
| 1453 | supported version to a server to help buggy server implementations.
|
|---|
| 1454 | (Closes ticket #36)
|
|---|
| 1455 | * Added cipher_get_cipher_mode() and cipher_get_cipher_operation()
|
|---|
| 1456 | introspection functions (Closes ticket #40)
|
|---|
| 1457 | * Added CTR_DRBG based on AES-256-CTR (NIST SP 800-90) random generator
|
|---|
| 1458 | * Added a generic entropy accumulator that provides support for adding
|
|---|
| 1459 | custom entropy sources and added some generic and platform dependent
|
|---|
| 1460 | entropy sources
|
|---|
| 1461 |
|
|---|
| 1462 | Changes
|
|---|
| 1463 | * Documentation for AES and Camellia in modes CTR and CFB128 clarified.
|
|---|
| 1464 | * Fixed rsa_encrypt and rsa_decrypt examples to use public key for
|
|---|
| 1465 | encryption and private key for decryption. (Closes ticket #34)
|
|---|
| 1466 | * Inceased maximum size of ASN1 length reads to 32-bits.
|
|---|
| 1467 | * Added an EXPLICIT tag number parameter to x509_get_ext()
|
|---|
| 1468 | * Added a separate CRL entry extension parsing function
|
|---|
| 1469 | * Separated the ASN.1 parsing code from the X.509 specific parsing code.
|
|---|
| 1470 | So now there is a module that is controlled with POLARSSL_ASN1_PARSE_C.
|
|---|
| 1471 | * Changed the defined key-length of DES ciphers in cipher.h to include the
|
|---|
| 1472 | parity bits, to prevent mistakes in copying data. (Closes ticket #33)
|
|---|
| 1473 | * Loads of minimal changes to better support WINCE as a build target
|
|---|
| 1474 | (Credits go to Marco Lizza)
|
|---|
| 1475 | * Added POLARSSL_MPI_WINDOW_SIZE definition to allow easier time to memory
|
|---|
| 1476 | trade-off
|
|---|
| 1477 | * Introduced POLARSSL_MPI_MAX_SIZE and POLARSSL_MPI_MAX_BITS for MPI size
|
|---|
| 1478 | management (Closes ticket #44)
|
|---|
| 1479 | * Changed the used random function pointer to more flexible format. Renamed
|
|---|
| 1480 | havege_rand() to havege_random() to prevent mistakes. Lots of changes as
|
|---|
| 1481 | a consequence in library code and programs
|
|---|
| 1482 | * Moved all examples programs to use the new entropy and CTR_DRBG
|
|---|
| 1483 | * Added permissive certificate parsing to x509parse_crt() and
|
|---|
| 1484 | x509parse_crtfile(). With permissive parsing the parsing does not stop on
|
|---|
| 1485 | encountering a parse-error. Beware that the meaning of return values has
|
|---|
| 1486 | changed!
|
|---|
| 1487 | * All error codes are now negative. Even on mermory failures and IO errors.
|
|---|
| 1488 |
|
|---|
| 1489 | Bugfix
|
|---|
| 1490 | * Fixed faulty HMAC-MD2 implementation. Found by dibac. (Closes
|
|---|
| 1491 | ticket #37)
|
|---|
| 1492 | * Fixed a bug where the CRL parser expected an EXPLICIT ASN.1 tag
|
|---|
| 1493 | before version numbers
|
|---|
| 1494 | * Allowed X509 key usage parsing to accept 4 byte values instead of the
|
|---|
| 1495 | standard 1 byte version sometimes used by Microsoft. (Closes ticket #38)
|
|---|
| 1496 | * Fixed incorrect behaviour in case of RSASSA-PSS with a salt length
|
|---|
| 1497 | smaller than the hash length. (Closes ticket #41)
|
|---|
| 1498 | * If certificate serial is longer than 32 octets, serial number is now
|
|---|
| 1499 | appended with '....' after first 28 octets
|
|---|
| 1500 | * Improved build support for s390x and sparc64 in bignum.h
|
|---|
| 1501 | * Fixed MS Visual C++ name clash with int64 in sha4.h
|
|---|
| 1502 | * Corrected removal of leading "00:" in printing serial numbers in
|
|---|
| 1503 | certificates and CRLs
|
|---|
| 1504 |
|
|---|
| 1505 | = Version 1.0.0 released on 2011-07-27
|
|---|
| 1506 | Features
|
|---|
| 1507 | * Expanded cipher layer with support for CFB128 and CTR mode
|
|---|
| 1508 | * Added rsa_encrypt and rsa_decrypt simple example programs.
|
|---|
| 1509 |
|
|---|
| 1510 | Changes
|
|---|
| 1511 | * The generic cipher and message digest layer now have normal error
|
|---|
| 1512 | codes instead of integers
|
|---|
| 1513 |
|
|---|
| 1514 | Bugfix
|
|---|
| 1515 | * Undid faulty bug fix in ssl_write() when flushing old data (Ticket
|
|---|
| 1516 | #18)
|
|---|
| 1517 |
|
|---|
| 1518 | = Version 0.99-pre5 released on 2011-05-26
|
|---|
| 1519 | Features
|
|---|
| 1520 | * Added additional Cipher Block Modes to symmetric ciphers
|
|---|
| 1521 | (AES CTR, Camellia CTR, XTEA CBC) including the option to
|
|---|
| 1522 | enable and disable individual modes when needed
|
|---|
| 1523 | * Functions requiring File System functions can now be disabled
|
|---|
| 1524 | by undefining POLARSSL_FS_IO
|
|---|
| 1525 | * A error_strerror function() has been added to translate between
|
|---|
| 1526 | error codes and their description.
|
|---|
| 1527 | * Added mpi_get_bit() and mpi_set_bit() individual bit setter/getter
|
|---|
| 1528 | functions.
|
|---|
| 1529 | * Added ssl_mail_client and ssl_fork_server as example programs.
|
|---|
| 1530 |
|
|---|
| 1531 | Changes
|
|---|
| 1532 | * Major argument / variable rewrite. Introduced use of size_t
|
|---|
| 1533 | instead of int for buffer lengths and loop variables for
|
|---|
| 1534 | better unsigned / signed use. Renamed internal bigint types
|
|---|
| 1535 | t_int and t_dbl to t_uint and t_udbl in the process
|
|---|
| 1536 | * mpi_init() and mpi_free() now only accept a single MPI
|
|---|
| 1537 | argument and do not accept variable argument lists anymore.
|
|---|
| 1538 | * The error codes have been remapped and combining error codes
|
|---|
| 1539 | is now done with a PLUS instead of an OR as error codes
|
|---|
| 1540 | used are negative.
|
|---|
| 1541 | * Changed behaviour of net_read(), ssl_fetch_input() and ssl_recv().
|
|---|
| 1542 | net_recv() now returns 0 on EOF instead of
|
|---|
| 1543 | POLARSSL_ERR_NET_CONN_RESET. ssl_fetch_input() returns
|
|---|
| 1544 | POLARSSL_ERR_SSL_CONN_EOF on an EOF from its f_recv() function.
|
|---|
| 1545 | ssl_read() returns 0 if a POLARSSL_ERR_SSL_CONN_EOF is received
|
|---|
| 1546 | after the handshake.
|
|---|
| 1547 | * Network functions now return POLARSSL_ERR_NET_WANT_READ or
|
|---|
| 1548 | POLARSSL_ERR_NET_WANT_WRITE instead of the ambiguous
|
|---|
| 1549 | POLARSSL_ERR_NET_TRY_AGAIN
|
|---|
| 1550 |
|
|---|
| 1551 | = Version 0.99-pre4 released on 2011-04-01
|
|---|
| 1552 | Features
|
|---|
| 1553 | * Added support for PKCS#1 v2.1 encoding and thus support
|
|---|
| 1554 | for the RSAES-OAEP and RSASSA-PSS operations.
|
|---|
| 1555 | * Reading of Public Key files incorporated into default x509
|
|---|
| 1556 | functionality as well.
|
|---|
| 1557 | * Added mpi_fill_random() for centralized filling of big numbers
|
|---|
| 1558 | with random data (Fixed ticket #10)
|
|---|
| 1559 |
|
|---|
| 1560 | Changes
|
|---|
| 1561 | * Debug print of MPI now removes leading zero octets and
|
|---|
| 1562 | displays actual bit size of the value.
|
|---|
| 1563 | * x509parse_key() (and as a consequence x509parse_keyfile())
|
|---|
| 1564 | does not zeroize memory in advance anymore. Use rsa_init()
|
|---|
| 1565 | before parsing a key or keyfile!
|
|---|
| 1566 |
|
|---|
| 1567 | Bugfix
|
|---|
| 1568 | * Debug output of MPI's now the same independent of underlying
|
|---|
| 1569 | platform (32-bit / 64-bit) (Fixes ticket #19, found by Mads
|
|---|
| 1570 | Kiilerich and Mihai Militaru)
|
|---|
| 1571 | * Fixed bug in ssl_write() when flushing old data (Fixed ticket
|
|---|
| 1572 | #18, found by Nikolay Epifanov)
|
|---|
| 1573 | * Fixed proper handling of RSASSA-PSS verification with variable
|
|---|
| 1574 | length salt lengths
|
|---|
| 1575 |
|
|---|
| 1576 | = Version 0.99-pre3 released on 2011-02-28
|
|---|
| 1577 | This release replaces version 0.99-pre2 which had possible copyright issues.
|
|---|
| 1578 | Features
|
|---|
| 1579 | * Parsing PEM private keys encrypted with DES and AES
|
|---|
| 1580 | are now supported as well (Fixes ticket #5)
|
|---|
| 1581 | * Added crl_app program to allow easy reading and
|
|---|
| 1582 | printing of X509 CRLs from file
|
|---|
| 1583 |
|
|---|
| 1584 | Changes
|
|---|
| 1585 | * Parsing of PEM files moved to separate module (Fixes
|
|---|
| 1586 | ticket #13). Also possible to remove PEM support for
|
|---|
| 1587 | systems only using DER encoding
|
|---|
| 1588 |
|
|---|
| 1589 | Bugfixes
|
|---|
| 1590 | * Corrected parsing of UTCTime dates before 1990 and
|
|---|
| 1591 | after 1950
|
|---|
| 1592 | * Support more exotic OID's when parsing certificates
|
|---|
| 1593 | (found by Mads Kiilerich)
|
|---|
| 1594 | * Support more exotic name representations when parsing
|
|---|
| 1595 | certificates (found by Mads Kiilerich)
|
|---|
| 1596 | * Replaced the expired test certificates
|
|---|
| 1597 | * Do not bail out if no client certificate specified. Try
|
|---|
| 1598 | to negotiate anonymous connection (Fixes ticket #12,
|
|---|
| 1599 | found by Boris Krasnovskiy)
|
|---|
| 1600 |
|
|---|
| 1601 | Security fixes
|
|---|
| 1602 | * Fixed a possible Man-in-the-Middle attack on the
|
|---|
| 1603 | Diffie Hellman key exchange (thanks to Larry Highsmith,
|
|---|
| 1604 | Subreption LLC)
|
|---|
| 1605 |
|
|---|
| 1606 | = Version 0.99-pre1 released on 2011-01-30
|
|---|
| 1607 | Features
|
|---|
| 1608 | Note: Most of these features have been donated by Fox-IT
|
|---|
| 1609 | * Added Doxygen source code documentation parts
|
|---|
| 1610 | * Added reading of DHM context from memory and file
|
|---|
| 1611 | * Improved X509 certificate parsing to include extended
|
|---|
| 1612 | certificate fields, including Key Usage
|
|---|
| 1613 | * Improved certificate verification and verification
|
|---|
| 1614 | against the available CRLs
|
|---|
| 1615 | * Detection for DES weak keys and parity bits added
|
|---|
| 1616 | * Improvements to support integration in other
|
|---|
| 1617 | applications:
|
|---|
| 1618 | + Added generic message digest and cipher wrapper
|
|---|
| 1619 | + Improved information about current capabilities,
|
|---|
| 1620 | status, objects and configuration
|
|---|
| 1621 | + Added verification callback on certificate chain
|
|---|
| 1622 | verification to allow external blacklisting
|
|---|
| 1623 | + Additional example programs to show usage
|
|---|
| 1624 | * Added support for PKCS#11 through the use of the
|
|---|
| 1625 | libpkcs11-helper library
|
|---|
| 1626 |
|
|---|
| 1627 | Changes
|
|---|
| 1628 | * x509parse_time_expired() checks time in addition to
|
|---|
| 1629 | the existing date check
|
|---|
| 1630 | * The ciphers member of ssl_context and the cipher member
|
|---|
| 1631 | of ssl_session have been renamed to ciphersuites and
|
|---|
| 1632 | ciphersuite respectively. This clarifies the difference
|
|---|
| 1633 | with the generic cipher layer and is better naming
|
|---|
| 1634 | altogether
|
|---|
| 1635 |
|
|---|
| 1636 | = Version 0.14.0 released on 2010-08-16
|
|---|
| 1637 | Features
|
|---|
| 1638 | * Added support for SSL_EDH_RSA_AES_128_SHA and
|
|---|
| 1639 | SSL_EDH_RSA_CAMELLIA_128_SHA ciphersuites
|
|---|
| 1640 | * Added compile-time and run-time version information
|
|---|
| 1641 | * Expanded ssl_client2 arguments for more flexibility
|
|---|
| 1642 | * Added support for TLS v1.1
|
|---|
| 1643 |
|
|---|
| 1644 | Changes
|
|---|
| 1645 | * Made Makefile cleaner
|
|---|
| 1646 | * Removed dependency on rand() in rsa_pkcs1_encrypt().
|
|---|
| 1647 | Now using random fuction provided to function and
|
|---|
| 1648 | changed the prototype of rsa_pkcs1_encrypt(),
|
|---|
| 1649 | rsa_init() and rsa_gen_key().
|
|---|
| 1650 | * Some SSL defines were renamed in order to avoid
|
|---|
| 1651 | future confusion
|
|---|
| 1652 |
|
|---|
| 1653 | Bug fixes
|
|---|
| 1654 | * Fixed CMake out of source build for tests (found by
|
|---|
| 1655 | kkert)
|
|---|
| 1656 | * rsa_check_private() now supports PKCS1v2 keys as well
|
|---|
| 1657 | * Fixed deadlock in rsa_pkcs1_encrypt() on failing random
|
|---|
| 1658 | generator
|
|---|
| 1659 |
|
|---|
| 1660 | = Version 0.13.1 released on 2010-03-24
|
|---|
| 1661 | Bug fixes
|
|---|
| 1662 | * Fixed Makefile in library that was mistakenly merged
|
|---|
| 1663 | * Added missing const string fixes
|
|---|
| 1664 |
|
|---|
| 1665 | = Version 0.13.0 released on 2010-03-21
|
|---|
| 1666 | Features
|
|---|
| 1667 | * Added option parsing for host and port selection to
|
|---|
| 1668 | ssl_client2
|
|---|
| 1669 | * Added support for GeneralizedTime in X509 parsing
|
|---|
| 1670 | * Added cert_app program to allow easy reading and
|
|---|
| 1671 | printing of X509 certificates from file or SSL
|
|---|
| 1672 | connection.
|
|---|
| 1673 |
|
|---|
| 1674 | Changes
|
|---|
| 1675 | * Added const correctness for main code base
|
|---|
| 1676 | * X509 signature algorithm determination is now
|
|---|
| 1677 | in a function to allow easy future expansion
|
|---|
| 1678 | * Changed symmetric cipher functions to
|
|---|
| 1679 | identical interface (returning int result values)
|
|---|
| 1680 | * Changed ARC4 to use separate input/output buffer
|
|---|
| 1681 | * Added reset function for HMAC context as speed-up
|
|---|
| 1682 | for specific use-cases
|
|---|
| 1683 |
|
|---|
| 1684 | Bug fixes
|
|---|
| 1685 | * Fixed bug resulting in failure to send the last
|
|---|
| 1686 | certificate in the chain in ssl_write_certificate() and
|
|---|
| 1687 | ssl_write_certificate_request() (found by fatbob)
|
|---|
| 1688 | * Added small fixes for compiler warnings on a Mac
|
|---|
| 1689 | (found by Frank de Brabander)
|
|---|
| 1690 | * Fixed algorithmic bug in mpi_is_prime() (found by
|
|---|
| 1691 | Smbat Tonoyan)
|
|---|
| 1692 |
|
|---|
| 1693 | = Version 0.12.1 released on 2009-10-04
|
|---|
| 1694 | Changes
|
|---|
| 1695 | * Coverage test definitions now support 'depends_on'
|
|---|
| 1696 | tagging system.
|
|---|
| 1697 | * Tests requiring specific hashing algorithms now honor
|
|---|
| 1698 | the defines.
|
|---|
| 1699 |
|
|---|
| 1700 | Bug fixes
|
|---|
| 1701 | * Changed typo in #ifdef in x509parse.c (found
|
|---|
| 1702 | by Eduardo)
|
|---|
| 1703 |
|
|---|
| 1704 | = Version 0.12.0 released on 2009-07-28
|
|---|
| 1705 | Features
|
|---|
| 1706 | * Added CMake makefiles as alternative to regular Makefiles.
|
|---|
| 1707 | * Added preliminary Code Coverage tests for AES, ARC4,
|
|---|
| 1708 | Base64, MPI, SHA-family, MD-family, HMAC-SHA-family,
|
|---|
| 1709 | Camellia, DES, 3-DES, RSA PKCS#1, XTEA, Diffie-Hellman
|
|---|
| 1710 | and X509parse.
|
|---|
| 1711 |
|
|---|
| 1712 | Changes
|
|---|
| 1713 | * Error codes are not (necessarily) negative. Keep
|
|---|
| 1714 | this is mind when checking for errors.
|
|---|
| 1715 | * RSA_RAW renamed to SIG_RSA_RAW for consistency.
|
|---|
| 1716 | * Fixed typo in name of POLARSSL_ERR_RSA_OUTPUT_TOO_LARGE.
|
|---|
| 1717 | * Changed interface for AES and Camellia setkey functions
|
|---|
| 1718 | to indicate invalid key lengths.
|
|---|
| 1719 |
|
|---|
| 1720 | Bug fixes
|
|---|
| 1721 | * Fixed include location of endian.h on FreeBSD (found by
|
|---|
| 1722 | Gabriel)
|
|---|
| 1723 | * Fixed include location of endian.h and name clash on
|
|---|
| 1724 | Apples (found by Martin van Hensbergen)
|
|---|
| 1725 | * Fixed HMAC-MD2 by modifying md2_starts(), so that the
|
|---|
| 1726 | required HMAC ipad and opad variables are not cleared.
|
|---|
| 1727 | (found by code coverage tests)
|
|---|
| 1728 | * Prevented use of long long in bignum if
|
|---|
| 1729 | POLARSSL_HAVE_LONGLONG not defined (found by Giles
|
|---|
| 1730 | Bathgate).
|
|---|
| 1731 | * Fixed incorrect handling of negative strings in
|
|---|
| 1732 | mpi_read_string() (found by code coverage tests).
|
|---|
| 1733 | * Fixed segfault on handling empty rsa_context in
|
|---|
| 1734 | rsa_check_pubkey() and rsa_check_privkey() (found by
|
|---|
| 1735 | code coverage tests).
|
|---|
| 1736 | * Fixed incorrect handling of one single negative input
|
|---|
| 1737 | value in mpi_add_abs() (found by code coverage tests).
|
|---|
| 1738 | * Fixed incorrect handling of negative first input
|
|---|
| 1739 | value in mpi_sub_abs() (found by code coverage tests).
|
|---|
| 1740 | * Fixed incorrect handling of negative first input
|
|---|
| 1741 | value in mpi_mod_mpi() and mpi_mod_int(). Resulting
|
|---|
| 1742 | change also affects mpi_write_string() (found by code
|
|---|
| 1743 | coverage tests).
|
|---|
| 1744 | * Corrected is_prime() results for 0, 1 and 2 (found by
|
|---|
| 1745 | code coverage tests).
|
|---|
| 1746 | * Fixed Camellia and XTEA for 64-bit Windows systems.
|
|---|
| 1747 |
|
|---|
| 1748 | = Version 0.11.1 released on 2009-05-17
|
|---|
| 1749 | * Fixed missing functionality for SHA-224, SHA-256, SHA384,
|
|---|
| 1750 | SHA-512 in rsa_pkcs1_sign()
|
|---|
| 1751 |
|
|---|
| 1752 | = Version 0.11.0 released on 2009-05-03
|
|---|
| 1753 | * Fixed a bug in mpi_gcd() so that it also works when both
|
|---|
| 1754 | input numbers are even and added testcases to check
|
|---|
| 1755 | (found by Pierre Habouzit).
|
|---|
| 1756 | * Added support for SHA-224, SHA-256, SHA-384 and SHA-512
|
|---|
| 1757 | one way hash functions with the PKCS#1 v1.5 signing and
|
|---|
| 1758 | verification.
|
|---|
| 1759 | * Fixed minor bug regarding mpi_gcd located within the
|
|---|
| 1760 | POLARSSL_GENPRIME block.
|
|---|
| 1761 | * Fixed minor memory leak in x509parse_crt() and added better
|
|---|
| 1762 | handling of 'full' certificate chains (found by Mathias
|
|---|
| 1763 | Olsson).
|
|---|
| 1764 | * Centralized file opening and reading for x509 files into
|
|---|
| 1765 | load_file()
|
|---|
| 1766 | * Made definition of net_htons() endian-clean for big endian
|
|---|
| 1767 | systems (Found by Gernot).
|
|---|
| 1768 | * Undefining POLARSSL_HAVE_ASM now also handles prevents asm in
|
|---|
| 1769 | padlock and timing code.
|
|---|
| 1770 | * Fixed an off-by-one buffer allocation in ssl_set_hostname()
|
|---|
| 1771 | responsible for crashes and unwanted behaviour.
|
|---|
| 1772 | * Added support for Certificate Revocation List (CRL) parsing.
|
|---|
| 1773 | * Added support for CRL revocation to x509parse_verify() and
|
|---|
| 1774 | SSL/TLS code.
|
|---|
| 1775 | * Fixed compatibility of XTEA and Camellia on a 64-bit system
|
|---|
| 1776 | (found by Felix von Leitner).
|
|---|
| 1777 |
|
|---|
| 1778 | = Version 0.10.0 released on 2009-01-12
|
|---|
| 1779 | * Migrated XySSL to PolarSSL
|
|---|
| 1780 | * Added XTEA symmetric cipher
|
|---|
| 1781 | * Added Camellia symmetric cipher
|
|---|
| 1782 | * Added support for ciphersuites: SSL_RSA_CAMELLIA_128_SHA,
|
|---|
| 1783 | SSL_RSA_CAMELLIA_256_SHA and SSL_EDH_RSA_CAMELLIA_256_SHA
|
|---|
| 1784 | * Fixed dangerous bug that can cause a heap overflow in
|
|---|
| 1785 | rsa_pkcs1_decrypt (found by Christophe Devine)
|
|---|
| 1786 |
|
|---|
| 1787 | ================================================================
|
|---|
| 1788 | XySSL ChangeLog
|
|---|
| 1789 |
|
|---|
| 1790 | = Version 0.9 released on 2008-03-16
|
|---|
| 1791 |
|
|---|
| 1792 | * Added support for ciphersuite: SSL_RSA_AES_128_SHA
|
|---|
| 1793 | * Enabled support for large files by default in aescrypt2.c
|
|---|
| 1794 | * Preliminary openssl wrapper contributed by David Barrett
|
|---|
| 1795 | * Fixed a bug in ssl_write() that caused the same payload to
|
|---|
| 1796 | be sent twice in non-blocking mode when send returns EAGAIN
|
|---|
| 1797 | * Fixed ssl_parse_client_hello(): session id and challenge must
|
|---|
| 1798 | not be swapped in the SSLv2 ClientHello (found by Greg Robson)
|
|---|
| 1799 | * Added user-defined callback debug function (Krystian Kolodziej)
|
|---|
| 1800 | * Before freeing a certificate, properly zero out all cert. data
|
|---|
| 1801 | * Fixed the "mode" parameter so that encryption/decryption are
|
|---|
| 1802 | not swapped on PadLock; also fixed compilation on older versions
|
|---|
| 1803 | of gcc (bug reported by David Barrett)
|
|---|
| 1804 | * Correctly handle the case in padlock_xcryptcbc() when input or
|
|---|
| 1805 | ouput data is non-aligned by falling back to the software
|
|---|
| 1806 | implementation, as VIA Nehemiah cannot handle non-aligned buffers
|
|---|
| 1807 | * Fixed a memory leak in x509parse_crt() which was reported by Greg
|
|---|
| 1808 | Robson-Garth; some x509write.c fixes by Pascal Vizeli, thanks to
|
|---|
| 1809 | Matthew Page who reported several bugs
|
|---|
| 1810 | * Fixed x509_get_ext() to accept some rare certificates which have
|
|---|
| 1811 | an INTEGER instead of a BOOLEAN for BasicConstraints::cA.
|
|---|
| 1812 | * Added support on the client side for the TLS "hostname" extension
|
|---|
| 1813 | (patch contributed by David Patino)
|
|---|
| 1814 | * Make x509parse_verify() return BADCERT_CN_MISMATCH when an empty
|
|---|
| 1815 | string is passed as the CN (bug reported by spoofy)
|
|---|
| 1816 | * Added an option to enable/disable the BN assembly code
|
|---|
| 1817 | * Updated rsa_check_privkey() to verify that (D*E) = 1 % (P-1)*(Q-1)
|
|---|
| 1818 | * Disabled obsolete hash functions by default (MD2, MD4); updated
|
|---|
| 1819 | selftest and benchmark to not test ciphers that have been disabled
|
|---|
| 1820 | * Updated x509parse_cert_info() to correctly display byte 0 of the
|
|---|
| 1821 | serial number, setup correct server port in the ssl client example
|
|---|
| 1822 | * Fixed a critical denial-of-service with X.509 cert. verification:
|
|---|
| 1823 | peer may cause xyssl to loop indefinitely by sending a certificate
|
|---|
| 1824 | for which the RSA signature check fails (bug reported by Benoit)
|
|---|
| 1825 | * Added test vectors for: AES-CBC, AES-CFB, DES-CBC and 3DES-CBC,
|
|---|
| 1826 | HMAC-MD5, HMAC-SHA1, HMAC-SHA-256, HMAC-SHA-384, and HMAC-SHA-512
|
|---|
| 1827 | * Fixed HMAC-SHA-384 and HMAC-SHA-512 (thanks to Josh Sinykin)
|
|---|
| 1828 | * Modified ssl_parse_client_key_exchange() to protect against
|
|---|
| 1829 | Daniel Bleichenbacher attack on PKCS#1 v1.5 padding, as well
|
|---|
| 1830 | as the Klima-Pokorny-Rosa extension of Bleichenbacher's attack
|
|---|
| 1831 | * Updated rsa_gen_key() so that ctx->N is always nbits in size
|
|---|
| 1832 | * Fixed assembly PPC compilation errors on Mac OS X, thanks to
|
|---|
| 1833 | David Barrett and Dusan Semen
|
|---|
| 1834 |
|
|---|
| 1835 | = Version 0.8 released on 2007-10-20
|
|---|
| 1836 |
|
|---|
| 1837 | * Modified the HMAC functions to handle keys larger
|
|---|
| 1838 | than 64 bytes, thanks to Stephane Desneux and gary ng
|
|---|
| 1839 | * Fixed ssl_read_record() to properly update the handshake
|
|---|
| 1840 | message digests, which fixes IE6/IE7 client authentication
|
|---|
| 1841 | * Cleaned up the XYSSL* #defines, suggested by Azriel Fasten
|
|---|
| 1842 | * Fixed net_recv(), thanks to Lorenz Schori and Egon Kocjan
|
|---|
| 1843 | * Added user-defined callbacks for handling I/O and sessions
|
|---|
| 1844 | * Added lots of debugging output in the SSL/TLS functions
|
|---|
| 1845 | * Added preliminary X.509 cert. writing by Pascal Vizeli
|
|---|
| 1846 | * Added preliminary support for the VIA PadLock routines
|
|---|
| 1847 | * Added AES-CFB mode of operation, contributed by chmike
|
|---|
| 1848 | * Added an SSL/TLS stress testing program (ssl_test.c)
|
|---|
| 1849 | * Updated the RSA PKCS#1 code to allow choosing between
|
|---|
| 1850 | RSA_PUBLIC and RSA_PRIVATE, as suggested by David Barrett
|
|---|
| 1851 | * Updated ssl_read() to skip 0-length records from OpenSSL
|
|---|
| 1852 | * Fixed the make install target to comply with *BSD make
|
|---|
| 1853 | * Fixed a bug in mpi_read_binary() on 64-bit platforms
|
|---|
| 1854 | * mpi_is_prime() speedups, thanks to Kevin McLaughlin
|
|---|
| 1855 | * Fixed a long standing memory leak in mpi_is_prime()
|
|---|
| 1856 | * Replaced realloc with malloc in mpi_grow(), and set
|
|---|
| 1857 | the sign of zero as positive in mpi_init() (reported
|
|---|
| 1858 | by Jonathan M. McCune)
|
|---|
| 1859 |
|
|---|
| 1860 | = Version 0.7 released on 2007-07-07
|
|---|
| 1861 |
|
|---|
| 1862 | * Added support for the MicroBlaze soft-core processor
|
|---|
| 1863 | * Fixed a bug in ssl_tls.c which sometimes prevented SSL
|
|---|
| 1864 | connections from being established with non-blocking I/O
|
|---|
| 1865 | * Fixed a couple bugs in the VS6 and UNIX Makefiles
|
|---|
| 1866 | * Fixed the "PIC register ebx clobbered in asm" bug
|
|---|
| 1867 | * Added HMAC starts/update/finish support functions
|
|---|
| 1868 | * Added the SHA-224, SHA-384 and SHA-512 hash functions
|
|---|
| 1869 | * Fixed the net_set_*block routines, thanks to Andreas
|
|---|
| 1870 | * Added a few demonstration programs: md5sum, sha1sum,
|
|---|
| 1871 | dh_client, dh_server, rsa_genkey, rsa_sign, rsa_verify
|
|---|
| 1872 | * Added new bignum import and export helper functions
|
|---|
| 1873 | * Rewrote README.txt in program/ssl/ca to better explain
|
|---|
| 1874 | how to create a test PKI
|
|---|
| 1875 |
|
|---|
| 1876 | = Version 0.6 released on 2007-04-01
|
|---|
| 1877 |
|
|---|
| 1878 | * Ciphers used in SSL/TLS can now be disabled at compile
|
|---|
| 1879 | time, to reduce the memory footprint on embedded systems
|
|---|
| 1880 | * Added multiply assembly code for the TriCore and modified
|
|---|
| 1881 | havege_struct for this processor, thanks to David Patiño
|
|---|
| 1882 | * Added multiply assembly code for 64-bit PowerPCs,
|
|---|
| 1883 | thanks to Peking University and the OSU Open Source Lab
|
|---|
| 1884 | * Added experimental support of Quantum Cryptography
|
|---|
| 1885 | * Added support for autoconf, contributed by Arnaud Cornet
|
|---|
| 1886 | * Fixed "long long" compilation issues on IA-64 and PPC64
|
|---|
| 1887 | * Fixed a bug introduced in xyssl-0.5/timing.c: hardclock
|
|---|
| 1888 | was not being correctly defined on ARM and MIPS
|
|---|
| 1889 |
|
|---|
| 1890 | = Version 0.5 released on 2007-03-01
|
|---|
| 1891 |
|
|---|
| 1892 | * Added multiply assembly code for SPARC and Alpha
|
|---|
| 1893 | * Added (beta) support for non-blocking I/O operations
|
|---|
| 1894 | * Implemented session resuming and client authentication
|
|---|
| 1895 | * Fixed some portability issues on WinCE, MINIX 3, Plan9
|
|---|
| 1896 | (thanks to Benjamin Newman), HP-UX, FreeBSD and Solaris
|
|---|
| 1897 | * Improved the performance of the EDH key exchange
|
|---|
| 1898 | * Fixed a bug that caused valid packets with a payload
|
|---|
| 1899 | size of 16384 bytes to be rejected
|
|---|
| 1900 |
|
|---|
| 1901 | = Version 0.4 released on 2007-02-01
|
|---|
| 1902 |
|
|---|
| 1903 | * Added support for Ephemeral Diffie-Hellman key exchange
|
|---|
| 1904 | * Added multiply asm code for SSE2, ARM, PPC, MIPS and M68K
|
|---|
| 1905 | * Various improvement to the modular exponentiation code
|
|---|
| 1906 | * Rewrote the headers to generate the API docs with doxygen
|
|---|
| 1907 | * Fixed a bug in ssl_encrypt_buf (incorrect padding was
|
|---|
| 1908 | generated) and in ssl_parse_client_hello (max. client
|
|---|
| 1909 | version was not properly set), thanks to Didier Rebeix
|
|---|
| 1910 | * Fixed another bug in ssl_parse_client_hello: clients with
|
|---|
| 1911 | cipherlists larger than 96 bytes were incorrectly rejected
|
|---|
| 1912 | * Fixed a couple memory leak in x509_read.c
|
|---|
| 1913 |
|
|---|
| 1914 | = Version 0.3 released on 2007-01-01
|
|---|
| 1915 |
|
|---|
| 1916 | * Added server-side SSLv3 and TLSv1.0 support
|
|---|
| 1917 | * Multiple fixes to enhance the compatibility with g++,
|
|---|
| 1918 | thanks to Xosé Antón Otero Ferreira
|
|---|
| 1919 | * Fixed a bug in the CBC code, thanks to dowst; also,
|
|---|
| 1920 | the bignum code is no longer dependent on long long
|
|---|
| 1921 | * Updated rsa_pkcs1_sign to handle arbitrary large inputs
|
|---|
| 1922 | * Updated timing.c for improved compatibility with i386
|
|---|
| 1923 | and 486 processors, thanks to Arnaud Cornet
|
|---|
| 1924 |
|
|---|
| 1925 | = Version 0.2 released on 2006-12-01
|
|---|
| 1926 |
|
|---|
| 1927 | * Updated timing.c to support ARM and MIPS arch
|
|---|
| 1928 | * Updated the MPI code to support 8086 on MSVC 1.5
|
|---|
| 1929 | * Added the copyright notice at the top of havege.h
|
|---|
| 1930 | * Fixed a bug in sha2_hmac, thanks to newsoft/Wenfang Zhang
|
|---|
| 1931 | * Fixed a bug reported by Adrian Rüegsegger in x509_read_key
|
|---|
| 1932 | * Fixed a bug reported by Torsten Lauter in ssl_read_record
|
|---|
| 1933 | * Fixed a bug in rsa_check_privkey that would wrongly cause
|
|---|
| 1934 | valid RSA keys to be dismissed (thanks to oldwolf)
|
|---|
| 1935 | * Fixed a bug in mpi_is_prime that caused some primes to fail
|
|---|
| 1936 | the Miller-Rabin primality test
|
|---|
| 1937 |
|
|---|
| 1938 | I'd also like to thank Younès Hafri for the CRUX linux port,
|
|---|
| 1939 | Khalil Petit who added XySSL into pkgsrc and Arnaud Cornet
|
|---|
| 1940 | who maintains the Debian package :-)
|
|---|
| 1941 |
|
|---|
| 1942 | = Version 0.1 released on 2006-11-01
|
|---|
| 1943 |
|
|---|