1 GnuTLS NEWS -- History of user-visible changes. -*- outline -*-
2 Copyright (C) 2000-2015 Free Software Foundation, Inc.
3 Copyright (C) 2013-2015 Nikos Mavrogiannopoulos
4 See the end for copying conditions.
6 * Version 3.4.11 (released 2016-04-11)
8 ** libgnutls: Fixes in gnutls_record_get/set_state() with DTLS. Reported
11 ** libgnutls: Fixes in DSA key generation under PKCS #11. Report and patches
14 ** libgnutls: Corrected behavior of ALPN extension parsing during session
15 resumption. Report and patches by Yuriy M. Kaminskiy.
17 ** libgnutls: Corrected regression (since 3.4.0) in gnutls_server_name_set()
18 which caused it not to accept non-null-terminated hostnames. Reported
21 ** libgnutls: Corrected printing of the IP Adress name constraints.
23 ** ocsptool: use HTTP/1.0 for requests. This avoids issue with servers
24 serving chunk encoding which ocsptool doesn't support. Reported by Thomas
27 ** certtool: do not require a CA for OCSP signing tag. This follows the
28 recommendations in RFC6960 in 4.2.2.2 which allow a CA to delegate OCSP
29 signing to another certificate without requiring it to be a CA. Reported
33 ** API and ABI modifications:
34 No changes since last version.
37 * Version 3.4.10 (released 2016-03-03)
39 ** libgnutls: Eliminated issues preventing buffers more than 2^32 bytes
40 to be used with hashing functions.
42 ** libgnutls: Corrected leaks and other issues in gnutls_x509_crt_list_import().
44 ** libgnutls: Fixes in DSA key handling for PKCS #11. Report and patches
47 ** libgnutls: Several fixes to prevent relying on undefined behavior of C
48 (found with libubsan).
50 ** API and ABI modifications:
51 No changes since last version.
54 * Version 3.4.9 (released 2016-02-03)
56 ** libgnutls: Corrected ALPN protocol negotiation. Before GnuTLS would negotiate
57 the last commonly supported protocol, rather than the first. Reported by
58 Remi Denis-Courmont (#63).
60 ** libgnutls: Tolerate empty DN fields in informational output functions.
62 ** libgnutls: Corrected regression causes by incorrect fix in
63 gnutls_x509_ext_export_key_usage() at 3.4.8 release.
65 ** API and ABI modifications:
66 No changes since last version.
69 * Version 3.4.8 (released 2016-01-08)
71 ** libgnutls: Corrected memory leak in gnutls_pubkey_import_privkey() when
72 used with PKCS #11 keys.
74 ** libgnutls: For DSA and ECDSA keys in PKCS #11 objects, import
75 their public keys from either a public key object or a certificate.
76 That is, because private keys do not contain all the required
77 parameters for a direct import. Reported by Jan Vcelak.
79 ** libgnutls: Fixed issue when writing ECDSA private keys in PKCS #11
82 ** libgnutls: Fixed out-of-bounds read in gnutls_x509_ext_export_key_usage(),
83 report and patch by Tim Kosse.
85 ** libgnutls: The CHACHA20-POLY1305 ciphersuites were updated to conform to
86 draft-ietf-tls-chacha20-poly1305-02.
88 ** libgnutls: Several fixes in PKCS #7 signing which improve compatibility
89 with the MacOSX tools. Reported by sskaje (#59).
91 ** libgnutls: The max-record extension not negotiated on DTLS. This resolves
92 issue with the max-record being negotiated but ignored.
94 ** certtool: Added the --p7-include-cert and --p7-show-data options.
96 ** API and ABI modifications:
97 gnutls_pkcs7_get_embedded_data: Added
100 * Version 3.4.7 (released 2015-11-22)
102 ** libgnutls: Properly require TLS 1.2 in all CBC-SHA256 and CBC-SHA384
103 ciphersuites. This solves an interoperability issue with openssl.
104 Reported by Viktor Dukhovni.
106 ** libgnutls: Corrected the setting of salt size in gnutls_pkcs12_mac_info().
108 ** libgnutls: On a rehandshake allow switching from anonymous to ECDHE and
111 ** libgnutls: Corrected regression from 3.3.x which prevented ARCFOUR128
112 from using arbitrary key sizes. Reported by Andreas Schneider.
114 ** libgnutls: Added GNUTLS_SKIP_GLOBAL_INIT macro to allow programs skipping
115 the implicit global initialization.
117 ** gnutls.pc: Don't include libtool specific options to link flags.
118 Reported by Dan Kegel.
120 ** tools: Better support for FTP AUTH TLS negotiation
122 ** API and ABI modifications:
123 gnutls_x509_crt_set_issuer_unique_id: Added
124 gnutls_x509_crt_set_subject_unique_id: Added
125 gnutls_certificate_set_flags: Added
126 GNUTLS_CERTIFICATE_SKIP_KEY_CERT_MATCH: Added
129 * Version 3.4.6 (released 2015-10-20)
131 ** libgnutls: Added new simple verification functions. That avoids the need
132 to install a callback to perform certificate verification. See
133 doc/examples/ex-client-x509.c for usage.
135 ** libgnutls: Introduced the security parameter 'future' which is at
136 the 256-bit level of security, and 'ultra' was aligned to its documented
139 ** libgnutls: When writing a certificate into a PKCS #11 token, ensure
140 that CKA_SERIAL_NUMBER and CKA_ISSUER are written. Reported by Sumit
143 ** libgnutls: Allow the presence of legacy ciphers and key exchanges in
144 priority strings and consider them a no-op.
146 ** libgnutls: Handle the extended master secret as a mandatory extension.
147 That fixes incompatibility issues with Chromium (#45). Reported by
150 ** libgnutls: Added the ability to copy a public key into a PKCS #11
153 ** tools: Added support for LDAP and XMPP negotiation for STARTTLS.
155 ** p11tool: Allow writing a public key into a PKCS #11 token.
157 ** certtool: Key generation security level was switched to HIGH. That
158 is, by default the tool generates 3072 bit keys for RSA and DSA.
160 ** API and ABI modifications:
161 gnutls_session_set_verify_function: Added
162 gnutls_session_set_verify_cert: Added
163 gnutls_session_set_verify_cert2: Added
164 gnutls_session_get_verify_cert_status: Added
165 gnutls_pkcs11_copy_pubkey: Added
168 * Version 3.4.5 (released 2015-09-12)
170 ** libgnutls: When re-importing CRLs to a trust list ensure that there
171 no duplicate entries.
173 ** certtool: Removed any arbitrary limits imposed on input file sizes
174 and maximum number of certificates imported.
176 ** certtool: Allow specifying fixed dates on CRL generation.
178 ** gnutls-cli-debug: Added check for inappropriate fallback support
181 ** API and ABI modifications:
182 No changes since last version.
185 * Version 3.4.4 (released 2015-08-10)
187 ** libgnutls: added high level API (gnutls_prf_rfc5705) to access
188 the PRF as specified by RFC5705. Suggestion and original patch
191 ** libgnutls: Link to trousers (TPM library) dynamically when this
192 functionality is requested.
194 ** libgnutls: Fix issue with server side sending the status request
195 extension even when not requested. Reported by Jeremy Harris.
197 ** libgnutls: Added support for RFC7507 by introducing the %FALLBACK_SCSV
198 priority string option. Patch by Alessandro Ghedini.
200 ** libgnutls: gnutls_pkcs11_privkey_generate2() will store the generated
201 public key, unless the GNUTLS_PKCS11_OBJ_FLAG_NO_STORE_PUBKEY flag is
204 ** libgnutls: Corrected regression from 3.4.3 in loading PKCS #8 keys as
205 fallback. Reported by Daniel Berrange.
207 ** libgnutls: Allow the parsing of very long DNs. Also fixes double free
208 in DN decoding [GNUTLS-SA-2015-3].
210 ** API and ABI modifications:
211 gnutls_prf_rfc5705: Added
212 gnutls_hex_encode2: Added
213 gnutls_hex_decode2: Added
216 * Version 3.4.3 (released 2015-07-12)
218 ** libgnutls: Follow closely RFC5280 recommendations and use UTCTime for
221 ** libgnutls: Force 16-byte alignment to all input to ciphers (previously it
222 was done only when cryptodev was enabled).
224 ** libgnutls: Removed support for pthread_atfork() as it has undefined
225 semantics when used with dlopen(), and may lead to a crash.
227 ** libgnutls: corrected failure when importing plain files
228 with gnutls_x509_privkey_import2(), and a password was provided.
230 ** libgnutls: Don't reject certificates if a CA has the URI or IP address
231 name constraints, and the end certificate doesn't have an IP address
234 ** libgnutls: set and read the hint in DHE-PSK and ECDHE-PSK ciphersuites.
236 ** p11tool: Added --list-token-urls option, and print the token module name
239 ** API and ABI modifications:
240 gnutls_ecc_curve_get_oid: Added
241 gnutls_digest_get_oid: Added
242 gnutls_pk_get_oid: Added
243 gnutls_sign_get_oid: Added
244 gnutls_ecc_curve_get_id: Added
245 gnutls_oid_to_digest: Added
246 gnutls_oid_to_pk: Added
247 gnutls_oid_to_sign: Added
248 gnutls_oid_to_ecc_curve: Added
249 gnutls_pkcs7_get_signature_count: Added
252 * Version 3.4.2 (released 2015-06-16)
254 ** libgnutls: DTLS blocking API is more robust against infinite blocking,
255 and will notify of more possible timeouts.
257 ** libgnutls: corrected regression with Camellia-256-GCM cipher. Reported
258 by Manuel Pegourie-Gonnard.
260 ** libgnutls: Introduced the GNUTLS_NO_SIGNAL flag to gnutls_init(). That
261 allows to disable SIGPIPE for writes done within gnutls.
263 ** libgnutls: Enhanced the PKCS #7 API to allow signing and verification
264 of structures. API moved to gnutls/pkcs7.h header.
266 ** certtool: Added options to generate PKCS #7 bundles and signed
269 ** API and ABI modifications:
270 gnutls_x509_dn_get_str: Added
271 gnutls_pkcs11_get_raw_issuer_by_subject_key_id: Added
272 gnutls_x509_trust_list_get_issuer_by_subject_key_id: Added
273 gnutls_x509_crt_verify_data2: Added
274 gnutls_pkcs7_get_crt_raw2: Added
275 gnutls_pkcs7_signature_info_deinit: Added
276 gnutls_pkcs7_get_signature_info: Added
277 gnutls_pkcs7_verify_direct: Added
278 gnutls_pkcs7_verify: Added
279 gnutls_pkcs7_get_crl_raw2: Added
280 gnutls_pkcs7_sign: Added
281 gnutls_pkcs7_attrs_deinit: Added
282 gnutls_pkcs7_add_attr: Added
283 gnutls_pkcs7_get_attr: Added
284 gnutls_pkcs7_print: Added
287 * Version 3.4.1 (released 2015-05-03)
289 ** libgnutls: gnutls_certificate_get_ours: will return the certificate even
290 if a callback was used to send it.
292 ** libgnutls: Check for invalid length in the X.509 version field. Without
293 the check certificates with invalid length would be detected as having an
294 arbitrary version. Reported by Hanno Böck.
296 ** libgnutls: Handle DNS name constraints with a leading dot. Patch by
299 ** libgnutls: Updated system-keys support for windows to compile in more
300 versions of mingw. Patch by Tim Kosse.
302 ** libgnutls: Fix for MD5 downgrade in TLS 1.2 signatures. Reported by
303 Karthikeyan Bhargavan [GNUTLS-SA-2015-2].
305 ** libgnutls: Reverted: The gnutls_handshake() process will enforce a timeout
306 by default. That caused issues with non-blocking programs.
308 ** certtool: It can generate SHA256 key IDs.
310 ** gnutls-cli: fixed crash in --benchmark-ciphers. Reported by James Cloos.
312 ** configure: re-enabled the --enable-local-libopts flag
314 ** API and ABI modifications:
315 gnutls_x509_crt_get_pk_ecc_raw: Added
318 * Version 3.4.0 (released 2015-04-08)
320 ** libgnutls: Added support for AES-CCM and AES-CCM-8 (RFC6655 and RFC7251)
321 ciphersuites. The former are enabled by default, the latter need to be
322 explicitly enabled, since they reduce the overall security level.
324 ** libgnutls: Added support for Chacha20-Poly1305 ciphersuites following
325 draft-mavrogiannopoulos-chacha-tls-05 and draft-irtf-cfrg-chacha20-poly1305-10.
326 That is currently provided as technology preview and is not enabled by
327 default, since there are no assigned ciphersuite points by IETF and there
328 is no guarrantee of compatibility between draft versions. The ciphersuite
329 priority string to enable it is "+CHACHA20-POLY1305".
331 ** libgnutls: Added support for encrypt-then-authenticate in CBC
332 ciphersuites (RFC7366 -taking into account its errata text). This is
333 enabled by default and can be disabled using the %NO_ETM priority
336 ** libgnutls: Added support for the extended master secret
337 (triple-handshake fix) following draft-ietf-tls-session-hash-02.
339 ** libgnutls: Added a new simple and hard to misuse AEAD API (crypto.h).
341 ** libgnutls: SSL 3.0 is no longer included in the default priorities
342 list. It has to be explicitly enabled, e.g., with a string like
343 "NORMAL:+VERS-SSL3.0".
345 ** libgnutls: ARCFOUR (RC4) is no longer included in the default priorities
346 list. It has to be explicitly enabled, e.g., with a string like
347 "NORMAL:+ARCFOUR-128".
349 ** libgnutls: DSA signatures and DHE-DSS are no longer included in the
350 default priorities list. They have to be explicitly enabled, e.g., with
351 a string like "NORMAL:+DHE-DSS:+SIGN-DSA-SHA256:+SIGN-DSA-SHA1". The
352 DSA ciphersuites were dropped because they had no deployment at all
353 on the internet, to justify their inclusion.
355 ** libgnutls: The priority string EXPORT was completely removed. The string
356 was already defunc as support for the EXPORT ciphersuites was removed in
359 ** libgnutls: Added API to utilize system specific private keys in
360 "gnutls/system-keys.h". It is currently provided as technology preview
361 and is restricted to windows CNG keys.
363 ** libgnutls: gnutls_x509_crt_check_hostname() and friends will use
364 RFC6125 comparison of hostnames. That introduces a dependency on libidn.
366 ** libgnutls: Depend on p11-kit 0.23.1 to comply with the final
367 PKCS #11 URLs draft (draft-pechanec-pkcs11uri-21).
369 ** libgnutls: Depend on nettle 3.1.
371 ** libgnutls: Use getrandom() or getentropy() when available. That
372 avoids the complexity of file descriptor handling and issues with
373 applications closing all open file descriptors on startup.
375 ** libgnutls: Use pthread_atfork() to detect fork when available.
377 ** libgnutls: If a key purpose (extended key usage) is specified for verification,
378 it is applied into intermediate certificates. The verification result
379 GNUTLS_CERT_PURPOSE_MISMATCH is also introduced.
381 ** libgnutls: When gnutls_certificate_set_x509_key_file2() is used in
382 combination with PKCS #11, or TPM URLs, it will utilize the provided
383 password as PIN if required. That removes the requirement for the
384 application to set a callback for PINs in that case.
386 ** libgnutls: priority strings VERS-TLS-ALL and VERS-DTLS-ALL are
387 restricted to the corresponding protocols only, and the VERS-ALL
388 string is introduced to catch all possible protocols.
390 ** libgnutls: Added helper functions to obtain information on PKCS #8
393 ** libgnutls: Certificate chains which are provided to gnutls_certificate_credentials_t
394 will automatically be sorted instead of failing with GNUTLS_E_CERTIFICATE_LIST_UNSORTED.
396 ** libgnutls: Added functions to export and set the record state. That
397 allows for gnutls_record_send() and recv() to be offloaded (to kernel,
398 hardware or any other subsystem).
400 ** libgnutls: Added the ability to register application specific URL
401 types, which express certificates and keys using gnutls_register_custom_url().
403 ** libgnutls: Added API to override existing ciphers, digests and MACs, e.g.,
404 to override AES-GCM using a system-specific accelerator. That is, (crypto.h)
405 gnutls_crypto_register_cipher(), gnutls_crypto_register_aead_cipher(),
406 gnutls_crypto_register_mac(), and gnutls_crypto_register_digest().
408 ** libgnutls: Added gnutls_ext_register() to register custom extensions.
409 Contributed by Thierry Quemerais.
411 ** libgnutls: Added gnutls_supplemental_register() to register custom
412 supplemental data handshake messages. Contributed by Thierry Quemerais.
414 ** libgnutls-openssl: it is no longer built by default.
417 ** certtool: Added --p8-info option, which will print PKCS #8 information
418 even if the password is not available.
420 ** certtool: --key-info option will print PKCS #8 encryption information
423 ** certtool: Added the --key-id and --fingerprint options.
425 ** certtool: Added the --verify-hostname, --verify-email and --verify-purpose
426 options to be used in certificate chain verification, to simulate verification
427 for specific hostname and key purpose (extended key usage).
429 ** certtool: --p12-info option will print PKCS #12 MAC and cipher information
432 ** certtool: it will print the A-label (ACE) names in addition to UTF-8.
434 ** p11tool: added options --set-id and --set-label.
436 ** gnutls-cli: added options --priority-list and --save-cert.
438 ** guile: Deprecated priority API has been removed. The old priority API,
439 which had been deprecated for some time, is now gone; use 'set-session-priorities!'
442 ** guile: Remove RSA parameters and related procedures. This API had been
445 ** guile: Fix compilation on MinGW. Previously only the static version of the
446 'guile-gnutls-v-2' library would be built, preventing dynamic loading from Guile.
448 ** API and ABI modifications:
449 gnutls_record_get_state: Added
450 gnutls_record_set_state: Added
451 gnutls_aead_cipher_init: Added
452 gnutls_aead_cipher_decrypt: Added
453 gnutls_aead_cipher_encrypt: Added
454 gnutls_aead_cipher_deinit: Added
455 gnutls_pkcs12_generate_mac2: Added
456 gnutls_pkcs12_mac_info: Added
457 gnutls_pkcs12_bag_enc_info: Added
458 gnutls_pkcs8_info: Added
459 gnutls_pkcs_schema_get_name: Added
460 gnutls_pkcs_schema_get_oid: Added
461 gnutls_pcert_export_x509: Added
462 gnutls_pcert_export_openpgp: Added
463 gnutls_pcert_import_x509_list: Added
464 gnutls_pkcs11_privkey_cpy: Added
465 gnutls_x509_crq_get_signature_algorithm: Added
466 gnutls_x509_trust_list_iter_get_ca: Added
467 gnutls_x509_trust_list_iter_deinit: Added
468 gnutls_x509_trust_list_get_issuer_by_dn: Added
469 gnutls_pkcs11_get_raw_issuer_by_dn: Added
470 gnutls_certificate_get_trust_list: Added
471 gnutls_privkey_export_x509: Added
472 gnutls_privkey_export_pkcs11: Added
473 gnutls_privkey_export_openpgp: Added
474 gnutls_privkey_import_ext3: Added
475 gnutls_certificate_get_x509_key: Added
476 gnutls_certificate_get_x509_crt: Added
477 gnutls_certificate_get_openpgp_key: Added
478 gnutls_certificate_get_openpgp_crt: Added
479 gnutls_record_discard_queued: Added
480 gnutls_session_ext_master_secret_status: Added
481 gnutls_priority_string_list: Added
482 gnutls_dh_params_import_raw2: Added
485 gnutls_pkcs12_bag_set_privkey: Added
486 gnutls_ocsp_resp_get_responder_raw_id: Added
487 gnutls_system_key_iter_deinit: Added
488 gnutls_system_key_iter_get_info: Added
489 gnutls_system_key_delete: Added
490 gnutls_system_key_add_x509: Added
491 gnutls_system_recv_timeout: Added
492 gnutls_register_custom_url: Added
493 gnutls_pkcs11_obj_list_import_url3: Added
494 gnutls_pkcs11_obj_list_import_url4: Added
495 gnutls_pkcs11_obj_set_info: Added
496 gnutls_crypto_register_cipher: Added
497 gnutls_crypto_register_aead_cipher: Added
498 gnutls_crypto_register_mac: Added
499 gnutls_crypto_register_digest: Added
500 gnutls_ext_register: Added
501 gnutls_supplemental_register: Added
502 gnutls_supplemental_recv: Added
503 gnutls_supplemental_send: Added
504 gnutls_openpgp_crt_check_email: Added
505 gnutls_x509_crt_check_email: Added
506 gnutls_handshake_set_hook_function: Modified
507 gnutls_pkcs11_privkey_generate3: Added
508 gnutls_pkcs11_copy_x509_crt2: Added
509 gnutls_pkcs11_copy_x509_privkey2: Added
510 gnutls_pkcs11_obj_list_import_url: Removed
511 gnutls_pkcs11_obj_list_import_url2: Removed
512 gnutls_certificate_client_set_retrieve_function: Removed
513 gnutls_certificate_server_set_retrieve_function: Removed
514 gnutls_certificate_set_rsa_export_params: Removed
515 gnutls_certificate_type_set_priority: Removed
516 gnutls_cipher_set_priority: Removed
517 gnutls_compression_set_priority: Removed
518 gnutls_kx_set_priority: Removed
519 gnutls_mac_set_priority: Removed
520 gnutls_protocol_set_priority: Removed
521 gnutls_rsa_export_get_modulus_bits: Removed
522 gnutls_rsa_export_get_pubkey: Removed
523 gnutls_rsa_params_cpy: Removed
524 gnutls_rsa_params_deinit: Removed
525 gnutls_rsa_params_export_pkcs1: Removed
526 gnutls_rsa_params_export_raw: Removed
527 gnutls_rsa_params_generate2: Removed
528 gnutls_rsa_params_import_pkcs1: Removed
529 gnutls_rsa_params_import_raw: Removed
530 gnutls_rsa_params_init: Removed
531 gnutls_sign_callback_get: Removed
532 gnutls_sign_callback_set: Removed
533 gnutls_x509_crt_verify_data: Removed
534 gnutls_x509_crt_verify_hash: Removed
535 gnutls_pubkey_get_verify_algorithm: Removed
536 gnutls_x509_crt_get_verify_algorithm: Removed
537 gnutls_pubkey_verify_hash: Removed
538 gnutls_pubkey_verify_data: Removed
539 gnutls_record_set_max_empty_records: Removed
542 set-session-cipher-priority!: Removed
543 set-session-mac-priority!: Removed
544 set-session-compression-method-priority!: Removed
545 set-session-kx-priority!: Removed
546 set-session-protocol-priority!: Removed
547 set-session-certificate-type-priority!: Removed
548 set-session-default-priority!: Removed
549 set-session-default-export-priority!: Removed
550 make-rsa-parameters: Removed
551 rsa-parameters?: Removed
552 set-certificate-credentials-rsa-export-parameters!: Removed
553 pkcs1-import-rsa-parameters: Removed
554 pkcs1-export-rsa-parameters: Removed
558 * Version 3.3.6 (released 2014-07-23)
560 ** libgnutls: Use inet_ntop to print IP addresses when available
562 ** libgnutls: gnutls_x509_crt_check_hostname and friends will also check
563 IP addresses, and match documented behavior. Reported by David Woodhouse.
565 ** libgnutls: DSA key generation in FIPS140-2 mode doesn't allow 1024
568 ** libgnutls: fixed issue in gnutls_pkcs11_reinit() which prevented tokens
569 being usable after a reinitialization.
571 ** libgnutls: fixed PKCS #11 private key operations after a fork.
573 ** libgnutls: fixed PKCS #11 ECDSA key generation.
575 ** libgnutls: The GNUTLS_CPUID_OVERRIDE environment variable can be used to
576 explicitly enable/disable the use of certain CPU capabilities. Note that CPU
577 detection cannot be overriden, i.e., VIA options cannot be enabled on an Intel
578 CPU. The currently available options are:
579 0x1: Disable all run-time detected optimizations
583 0x100000: Enable VIA padlock
584 0x200000: Enable VIA PHE
585 0x400000: Enable VIA PHE SHA512
587 ** libdane: added dane_query_to_raw_tlsa(); patch by Simon Arlott.
589 ** p11tool: use GNUTLS_SO_PIN to read the security officer's PIN if set.
591 ** p11tool: ask for label when one isn't provided.
593 ** p11tool: added --batch parameter to disable any interactivity.
595 ** p11tool: will not implicitly enable so-login for certain types of
596 objects. That avoids issues with tokens that require different login
599 ** certtool/p11tool: Added the --curve parameter which allows to explicitly
600 specify the curve to use.
602 ** API and ABI modifications:
603 gnutls_certificate_set_x509_trust_dir: Added
604 gnutls_x509_trust_list_add_trust_dir: Added
607 * Version 3.3.5 (released 2014-06-26)
609 ** libgnutls: Added gnutls_record_recv_packet() and gnutls_packet_deinit().
610 These functions provide a variant of gnutls_record_recv() that avoids
611 the final memcpy of data.
613 ** libgnutls: gnutls_x509_crl_iter_crt_serial() was added as a
614 faster variant of gnutls_x509_crl_get_crt_serial() when coping with
615 very large structures.
617 ** libgnutls: When the decoding of a printable DN element fails, then treat
618 it as unknown and print its hex value rather than failing. That works around
619 an issue in a TURKTRST root certificate which improperly encodes the
620 X520countryName element.
622 ** libgnutls: gnutls_x509_trust_list_add_trust_file() will return the number
623 of certificates present in a PKCS #11 token when loading it.
625 ** libgnutls: Allow the post client hello callback to put the handshake on
626 hold, by returning GNUTLS_E_AGAIN or GNUTLS_E_INTERRUPTED.
628 ** certtool: option --to-p12 will now consider --load-ca-certificate
630 ** certtol: Added option to specify the PKCS #12 friendly name on command
633 ** p11tool: Allow marking a certificate copied to a token as a CA.
635 ** API and ABI modifications:
636 GNUTLS_PKCS11_OBJ_FLAG_MARK_CA: Added
637 gnutls_x509_crl_iter_deinit: Added
638 gnutls_x509_crl_iter_crt_serial: Added
639 gnutls_record_recv_packet: Added
640 gnutls_packet_deinit: Added
641 gnutls_packet_get: Added
644 * Version 3.3.4 (released 2014-05-31)
646 ** libgnutls: Updated Andy Polyakov's assembly code. That prevents a
647 crash on certain CPUs.
649 ** API and ABI modifications:
650 No changes since last version.
653 * Version 3.3.3 (released 2014-05-30)
655 ** libgnutls: Eliminated memory corruption issue in Server Hello parsing.
656 Issue reported by Joonas Kuorilehto of Codenomicon.
658 ** libgnutls: gnutls_global_set_mutex() was modified to operate with the
659 new initialization process.
661 ** libgnutls: Increased the maximum certificate size buffer
662 in the PKCS #11 subsystem.
664 ** libgnutls: Check the return code of getpwuid_r() instead of relying
665 on the result value. That avoids issue in certain systems, when using
666 tofu authentication and the home path cannot be determined. Issue reported
669 ** libgnutls-dane: Improved dane_verify_session_crt(), which now attempts to
670 create a full chain. This addresses points from https://savannah.gnu.org/support/index.php?108552
672 ** gnutls-cli: --dane will only check the end certificate if PKIX validation
675 ** gnutls-cli: --benchmark-soft-ciphers has been removed. That option cannot
676 be emulated with the implicit initialization of gnutls.
678 ** certtool: Allow multiple organizations and organizational unit names to
679 be specified in a template.
681 ** certtool: Warn when invalid configuration options are set to a template.
683 ** ocsptool: Include path in ocsp request. This resolves #108582
684 (https://savannah.gnu.org/support/?108582), reported by Matt McCutchen.
686 ** API and ABI modifications:
687 gnutls_credentials_get: Added
690 * Version 3.3.2 (released 2014-05-06)
692 ** libgnutls: Added the 'very weak' certificate verification profile
693 that corresponds to 64-bit security level.
695 ** libgnutls: Corrected file descriptor leak on random generator
698 ** libgnutls: Corrected file descriptor leak on PSK password file
699 reading. Issue identified using the Codenomicon TLS test suite.
701 ** libgnutls: Avoid deinitialization if initialization has failed.
703 ** libgnutls: null-terminate othername alternative names.
705 ** libgnutls: gnutls_x509_trust_list_get_issuer() will operate correctly
706 on a PKCS #11 trust list.
708 ** libgnutls: Several small bug fixes identified using valgrind and
709 the Codenomicon TLS test suite.
711 ** libgnutls-dane: Accept a certificate using DANE if there is at least one
712 entry that matches the certificate. Patch by simon [at] arlott.org.
714 ** libgnutls-guile: Fixed compilation issue.
716 ** certtool: Allow exporting a CRL on DER format.
718 ** certtool: The ECDSA keys generated by default use the SECP256R1 curve
719 which is supported more widely than the previously used SECP224R1.
721 ** API and ABI modifications:
722 GNUTLS_PROFILE_VERY_WEAK: Added
725 * Version 3.3.1 (released 2014-04-19)
727 ** libgnutls: Enforce more strict checks to heartbeat messages
728 concerning padding and payload. Suggested by Peter Dettman.
730 ** libgnutls: Allow decoding PKCS #8 files with ECC parameters
733 ** libgnutls: Several small bug fixes found by coverity.
735 ** libgnutls: The conditionally available self-test functions
736 were moved to self-test.h.
738 ** libgnutls: Fixed issue with the check of incoming data when two
739 different recv and send pointers have been specified. Reported and
740 investigated by JMRecio.
742 ** libgnutls: Fixed issue in the RSA-PSK key exchange, which would
743 result to illegal memory access if a server hint was provided. Reported
746 ** libgnutls: Fixed client memory leak in the PSK key exchange, if a
747 server hint was provided.
749 ** libgnutls: Corrected the *get_*_othername_oid() functions.
751 ** API and ABI modifications:
752 No changes since last version.
755 * Version 3.3.0 (released 2014-04-10)
757 ** libgnutls: The initialization of the library was moved to a
758 constructor. That is, gnutls_global_init() is no longer required
759 unless linking with a static library or a system that does not
760 support library constructors.
762 ** libgnutls: static libraries are not built by default.
764 ** libgnutls: PKCS #11 initialization is delayed to first usage.
765 That avoids long delays in gnutls initialization due to broken PKCS #11
768 ** libgnutls: The PKCS #11 subsystem is re-initialized "automatically"
769 on the first PKCS #11 API call after a fork.
771 ** libgnutls: certificate verification profiles were introduced
772 that can be specified as flags to verification functions. They
773 are enumerations in gnutls_certificate_verification_profiles_t
774 and can be converted to flags for use in a verification function
775 using GNUTLS_PROFILE_TO_VFLAGS().
777 ** libgnutls: Added the ability to read system-specific initial
778 keywords, if they are prefixed with '@'. That allows a compile-time
779 specified configuration file to be used to read pre-configured priority
780 strings from. That can be used to impose system specific policies.
782 ** libgnutls: Increased the default security level of priority
783 strings (NORMAL and PFS strings require at minimum a 1008 DH prime),
784 and set a verification profile by default. The LEGACY keyword is
785 introduced to set the old defaults.
787 ** libgnutls: Added support for the name constraints PKIX extension.
788 Currently only DNS names and e-mails are supported (no URIs, IPs
791 ** libgnutls: Security parameter SEC_PARAM_NORMAL was renamed to
792 SEC_PARAM_MEDIUM to avoid confusion with the priority string NORMAL.
794 ** libgnutls: Added new API in x509-ext.h to handle X.509 extensions.
795 This API handles the X.509 extensions in isolation, allowing to parse
796 similarly formatted extensions stored in other structures.
798 ** libgnutls: When generating DSA keys the macro GNUTLS_SUBGROUP_TO_BITS
799 can be used to specify a particular subgroup as the number of bits in
800 gnutls_privkey_generate; e.g., GNUTLS_SUBGROUP_TO_BITS(2048, 256).
802 ** libgnutls: DH parameter generation is now delegated to nettle.
803 That unfortunately has the side-effect that DH parameters longer than
804 3072 bits, cannot be generated (not without a nettle update).
806 ** libgnutls: Separated nonce RNG from the main RNG. The nonce
807 random number generator is based on salsa20/12.
809 ** libgnutls: The buffer alignment provided to crypto backend is
810 enforced to be 16-byte aligned, when compiled with cryptodev
811 support. That allows certain cryptodev drivers to operate more
814 ** libgnutls: Return error when a public/private key pair that doesn't
815 match is set into a credentials structure.
817 ** libgnutls: Depend on p11-kit 0.20.0 or later.
819 ** libgnutls: The new padding (%NEW_PADDING) experimental TLS extension has
820 been removed. It was not approved by IETF.
822 ** libgnutls: The experimental xssl library is removed from the gnutls
825 ** libgnutls: Reduced the number of gnulib modules used in the main library.
827 ** libgnutls: Added priority string %DISABLE_WILDCARDS.
829 ** libgnutls: Added the more extensible verification function
830 gnutls_certificate_verify_peers(), that allows checking, in addition
831 to a peer's DNS hostname, for the key purpose of the end certificate
832 (via PKIX extended key usage).
834 ** certtool: Timestamps for serial numbers were increased to 8 bytes,
835 and in batch mode to 12 (appended with 4 random bytes).
837 ** certtool: When no CRL number is provided (or value set to -1), then
838 a time-based number will be used, similarly to the serial generation
839 number in certificates.
841 ** certtool: Print the SHA256 fingerprint of a certificate in addition
844 ** libgnutls: Added --enable-fips140-mode configuration option (unsupported).
845 That option enables (when running on FIPS140-enabled system):
846 o RSA, DSA and DH key generation as in FIPS-186-4 (using provable primes)
847 o The DRBG-CTR-AES256 deterministic random generator from SP800-90A.
848 o Self-tests on initialization on ciphers/MACs, public key algorithms
849 and the random generator.
850 o HMAC-SHA256 verification of the library on load.
851 o MD5 is included for TLS purposes but cannot be used by the high level
853 o All ciphers except AES are disabled.
854 o All MACs and hashes except GCM and SHA are disabled (e.g., HMAC-MD5).
855 o All keys (temporal and long term) are zeroized after use.
856 o Security levels are adjusted to the FIPS140-2 recommendations (rather
859 ** API and ABI modifications:
860 GNUTLS_VERIFY_DO_NOT_ALLOW_WILDCARDS: Added
861 gnutls_certificate_verify_peers: Added
862 gnutls_privkey_generate: Added
863 gnutls_pkcs11_crt_is_known: Added
864 gnutls_fips140_mode_enabled: Added
865 gnutls_sec_param_to_symmetric_bits: Added
866 gnutls_pubkey_export_ecc_x962: Added (replaces gnutls_pubkey_get_pk_ecc_x962)
867 gnutls_pubkey_export_ecc_raw: Added (replaces gnutls_pubkey_get_pk_ecc_raw)
868 gnutls_pubkey_export_dsa_raw: Added (replaces gnutls_pubkey_get_pk_dsa_raw)
869 gnutls_pubkey_export_rsa_raw: Added (replaces gnutls_pubkey_get_pk_rsa_raw)
870 gnutls_pubkey_verify_params: Added
871 gnutls_privkey_export_ecc_raw: Added
872 gnutls_privkey_export_dsa_raw: Added
873 gnutls_privkey_export_rsa_raw: Added
874 gnutls_privkey_import_ecc_raw: Added
875 gnutls_privkey_import_dsa_raw: Added
876 gnutls_privkey_import_rsa_raw: Added
877 gnutls_privkey_verify_params: Added
878 gnutls_x509_crt_check_hostname2: Added
879 gnutls_openpgp_crt_check_hostname2: Added
880 gnutls_x509_name_constraints_init: Added
881 gnutls_x509_name_constraints_deinit: Added
882 gnutls_x509_crt_get_name_constraints: Added
883 gnutls_x509_name_constraints_add_permitted: Added
884 gnutls_x509_name_constraints_add_excluded: Added
885 gnutls_x509_crt_set_name_constraints: Added
886 gnutls_x509_name_constraints_get_permitted: Added
887 gnutls_x509_name_constraints_get_excluded: Added
888 gnutls_x509_name_constraints_check: Added
889 gnutls_x509_name_constraints_check_crt: Added
890 gnutls_x509_crl_get_extension_data2: Added
891 gnutls_x509_crt_get_extension_data2: Added
892 gnutls_x509_crq_get_extension_data2: Added
893 gnutls_subject_alt_names_init: Added
894 gnutls_subject_alt_names_deinit: Added
895 gnutls_subject_alt_names_get: Added
896 gnutls_subject_alt_names_set: Added
897 gnutls_x509_ext_import_subject_alt_names: Added
898 gnutls_x509_ext_export_subject_alt_names: Added
899 gnutls_x509_crl_dist_points_init: Added
900 gnutls_x509_crl_dist_points_deinit: Added
901 gnutls_x509_crl_dist_points_get: Added
902 gnutls_x509_crl_dist_points_set: Added
903 gnutls_x509_ext_import_crl_dist_points: Added
904 gnutls_x509_ext_export_crl_dist_points: Added
905 gnutls_x509_ext_import_name_constraints: Added
906 gnutls_x509_ext_export_name_constraints: Added
907 gnutls_x509_aia_init: Added
908 gnutls_x509_aia_deinit: Added
909 gnutls_x509_aia_get: Added
910 gnutls_x509_aia_set: Added
911 gnutls_x509_ext_import_aia: Added
912 gnutls_x509_ext_export_aia: Added
913 gnutls_x509_ext_import_subject_key_id: Added
914 gnutls_x509_ext_export_subject_key_id: Added
915 gnutls_x509_ext_export_authority_key_id: Added
916 gnutls_x509_ext_import_authority_key_id: Added
917 gnutls_x509_aki_init: Added
918 gnutls_x509_aki_get_id: Added
919 gnutls_x509_aki_get_cert_issuer: Added
920 gnutls_x509_aki_set_id: Added
921 gnutls_x509_aki_set_cert_issuer: Added
922 gnutls_x509_aki_deinit: Added
923 gnutls_x509_ext_import_private_key_usage_period: Added
924 gnutls_x509_ext_export_private_key_usage_period: Added
925 gnutls_x509_ext_import_basic_constraints: Added
926 gnutls_x509_ext_export_basic_constraints: Added
927 gnutls_x509_ext_import_key_usage: Added
928 gnutls_x509_ext_export_key_usage: Added
929 gnutls_x509_ext_import_proxy: Added
930 gnutls_x509_ext_export_proxy: Added
931 gnutls_x509_policies_init: Added
932 gnutls_x509_policies_deinit: Added
933 gnutls_x509_policies_get: Added
934 gnutls_x509_policies_set: Added
935 gnutls_x509_ext_import_policies: Added
936 gnutls_x509_ext_export_policies: Added
937 gnutls_x509_key_purpose_init: Added
938 gnutls_x509_key_purpose_deinit: Added
939 gnutls_x509_key_purpose_set: Added
940 gnutls_x509_key_purpose_get: Added
941 gnutls_x509_ext_import_key_purposes: Added
942 gnutls_x509_ext_export_key_purposes: Added
943 gnutls_digest_self_test: Added (conditionally)
944 gnutls_mac_self_test: Added (conditionally)
945 gnutls_pk_self_test: Added (conditionally)
946 gnutls_cipher_self_test: Added (conditionally)
947 gnutls_global_set_mem_functions: Deprecated
950 * Version 3.2.6 (released 2013-10-31)
952 ** libgnutls: Support for TPM via trousers is now enabled by default.
954 ** libgnutls: Camellia in GCM mode has been added in default priorities, and
955 GCM mode is prioritized over CBC in all of the default priority strings.
957 ** libgnutls: Added ciphersuite GNUTLS_ECDHE_RSA_AES_256_CBC_SHA384.
959 ** libgnutls: Fixed ciphersuites GNUTLS_ECDHE_ECDSA_CAMELLIA_256_CBC_SHA384,
960 GNUTLS_ECDHE_RSA_CAMELLIA_256_CBC_SHA384 and GNUTLS_PSK_CAMELLIA_128_GCM_SHA256.
961 Reported by Stefan Buehler.
963 ** libgnutls: Added support for ISO OID for RSA-SHA1 signatures.
965 ** libgnutls: Minimum acceptable DH group parameters were increased to 767
968 ** libgnutls: Added function to obtain random data from PKCS #11 tokens.
969 Contributed by Wolfgang Meyer zu Bergsten.
973 ** libdane: Fixed a one-off bug in dane_query_tlsa() introduced by the
974 previous fix. Reported by Tomas Mraz.
976 ** p11tool: Added option generate-random.
978 ** API and ABI modifications:
979 gnutls_pkcs11_token_get_random: Added
982 * Version 3.2.5 (released 2013-10-23)
984 ** libgnutls: Documentation and build-time fixes.
986 ** libgnutls: Allow the generation of DH groups of less than 700 bits.
988 ** libgnutls: Added several combinations of ciphersuites with SHA256 and SHA384 as MAC,
989 as well as Camellia with GCM.
991 ** libdane: Added interfaces to allow initialization of dane_query_t from
992 external DNS resolutions, and to allow direct verification of a certificate
993 chain against a dane_query_t. Contributed by Christian Grothoff.
995 ** libdane: Fixed a buffer overflow in dane_query_tlsa(). This could be
996 triggered by a DNS server supplying more than 4 DANE records. Report and fix
997 by Christian Grothoff.
999 ** srptool: Fixed index command line option. Patch by Attila Molnar.
1001 ** gnutls-cli: Added support for inline commands, using the
1002 --inline-commands-prefix and --inline-commands options. Patch by Raj Raman.
1004 ** certtool: pathlen constraint is now read correctly. Reported by
1007 ** API and ABI modifications:
1008 gnutls_certificate_get_crt_raw: Added
1009 dane_verify_crt_raw: Added
1010 dane_raw_tlsa: Added
1013 * Version 3.2.4 (released 2013-08-31)
1015 ** libgnutls: Fixes when session tickets and session DB are used.
1016 Report and initial patch by Stefan Buehler.
1018 ** libgnutls: Added the RSA-PSK key exchange. Patch by by Frank Morgner,
1019 based on previous patch by Bardenheuer GmbH and Bundesdruckerei GmbH.
1021 ** libgnutls: Added ciphersuites that use ARCFOUR with ECDHE. Patch
1024 ** libgnutls: Added the PFS priority string option.
1026 ** libgnutls: Gnulib included files are strictly LGPLv2.
1028 ** libgnutls: Corrected gnutls_certificate_server_set_request().
1029 Reported by Petr Pisar.
1031 ** API and ABI modifications:
1032 gnutls_record_set_timeout: Exported
1035 * Version 3.2.3 (released 2013-07-30)
1037 ** libgnutls: Fixes in parsing of priority strings. Patch by Stefan Buehler.
1039 ** libgnutls: Solve issue with received TLS packets that exceed 2^14.
1040 (this fixes a bug that was accidentally introduced in 3.2.2)
1042 ** libgnutls: Removed gnulib modules under LGPLv3 that could possibly be
1043 used by the library.
1045 ** libgnutls: Fixes in gnutls_record_send_range(). Report and initial fix by
1048 ** API and ABI modifications:
1049 gnutls_priority_kx_list: Added
1050 gnutls_priority_mac_list: Added
1051 gnutls_priority_cipher_list: Added
1054 * Version 3.2.2 (released 2013-07-14)
1056 ** libgnutls: Several optimizations in the related to packet processing
1059 ** libgnutls: DTLS replay detection can now be disabled (to be used
1060 in certain transport layers like SCTP).
1062 ** libgnutls: Fixes in SRTP extension generation when MKI is being
1065 ** libgnutls: Added ability to set hooks before or after sending or receiving
1066 any handshake message with gnutls_handshake_set_hook_function().
1068 ** API and ABI modifications:
1069 GNUTLS_NO_REPLAY_PROTECTION: Added
1070 gnutls_certificate_set_trust_list: Added
1071 gnutls_cipher_get_tag_size: Added
1072 gnutls_record_overhead_size: Added
1073 gnutls_est_record_overhead_size: Added
1074 gnutls_handshake_set_hook_function: Added
1075 gnutls_handshake_description_get_name: Added
1076 gnutls_digest_list: Added
1077 gnutls_digest_get_id: Added
1078 gnutls_digest_get_name: Added
1081 * Version 3.2.1 (released 2013-06-01)
1083 ** libgnutls: Allow ECC when in SSL 3.0 to work-around a bug in certain
1086 ** libgnutls: Fixes in interrupted function resumption. Report
1087 and patch by Tim Kosse.
1089 ** libgnutls: Corrected issue when receiving client hello verify requests
1092 ** libgnutls: Fixes in DTLS record overhead size calculations.
1094 ** libgnutls: gnutls_handshake_get_last_in() was fixed. Reported
1097 ** API and ABI modifications:
1098 gnutls_session_set_id: Added
1101 * Version 3.2.0 (released 2013-05-10)
1103 ** libgnutls: Use nettle's elliptic curve implementation.
1105 ** libgnutls: Added Salsa20 cipher
1107 ** libgnutls: Added UMAC-96 and UMAC-128
1109 ** libgnutls: Added ciphersuites involving Salsa20 and UMAC-96.
1110 As they are not standardized they are defined using private ciphersuite
1113 ** libgnutls: Added support for DTLS 1.2.
1115 ** libgnutls: Added support for the Application Layer Protocol Negotiation
1118 ** libgnutls: Removed support for the RSA-EXPORT ciphersuites.
1120 ** libgnutls: Avoid linking to librt (that also avoids unnecessary
1121 linking to pthreads if p11-kit isn't used).
1123 ** API and ABI modifications:
1124 gnutls_cipher_get_iv_size: Added
1125 gnutls_hmac_set_nonce: Added
1126 gnutls_mac_get_nonce_size: Added
1129 * Version 3.1.10 (released 2013-03-22)
1131 ** certtool: When generating PKCS #12 files use by default the
1132 ARCFOUR (RC4) cipher to be compatible with devices that don't
1133 support AES with PKCS #12.
1135 ** libgnutls: Load CA certificates in android 4.x systems.
1137 ** libgnutls: Optimized CA certificate loading.
1139 ** libgnutls: Private keys are overwritten on deinitialization.
1141 ** libgnutls: PKCS #11 slots are scanned only when needed, not
1142 on initialization. This speeds up gnutls initialization when smart
1145 ** libgnutls: Corrected issue in the (deprecated) external key
1146 signing interface, when used with TLS 1.2. Reported by Bjorn H. Christensen.
1148 ** libgnutls: Fixes in openpgp handshake with fingerprints. Reported by
1151 ** libgnutls-dane: Updated DANE verification options.
1153 ** configure: Trust store file must be explicitly set or unset when
1156 ** API and ABI modifications:
1157 gnutls_x509_crt_get_issuer_dn2: Added
1158 gnutls_x509_crt_get_dn2: Added
1159 gnutls_x509_crl_get_issuer_dn2: Added
1160 gnutls_x509_crq_get_dn2: Added
1161 gnutls_x509_trust_list_remove_trust_mem: Added
1162 gnutls_x509_trust_list_remove_trust_file: Added
1163 gnutls_x509_trust_list_remove_cas: Added
1164 gnutls_session_get_desc: Added
1165 gnutls_privkey_sign_raw_data: Added
1166 gnutls_privkey_status: Added
1169 * Version 3.1.9 (released 2013-02-27)
1171 ** certtool: Option --to-p12 will now ask for a password to generate
1172 a PKCS #12 file from an encrypted key file. Reported by Yan Fiz.
1174 ** libgnutls: Corrected issue in gnutls_pubkey_verify_data().
1176 ** libgnutls: Corrected parsing issue in XMPP within a subject
1177 alternative name. Reported by James Cloos.
1179 ** libgnutls: gnutls_pkcs11_reinit() will reinitialize all PKCS #11
1180 modules, and not only the ones loaded via p11-kit.
1182 ** libgnutls: Added function to check whether the private key is
1183 still available (inserted).
1185 ** libgnutls: Try to detect fork even during nonce generation.
1187 ** API and ABI modifications:
1188 gnutls_handshake_set_random: Added
1189 gnutls_transport_set_int2: Added
1190 gnutls_transport_get_int2: Added
1191 gnutls_transport_get_int: Added
1192 gnutls_record_cork: Exported
1193 gnutls_record_uncork: Exported
1194 gnutls_pkcs11_privkey_status: Added
1197 * Version 3.1.8 (released 2013-02-10)
1199 ** libgnutls: Fixed issue in gnutls_x509_privkey_import2() which didn't return
1200 GNUTLS_E_DECRYPTION_FAILED in all cases, and affect certtool operation
1201 with encrypted keys. Reported by Yan Fiz.
1203 ** libgnutls: The minimum DH bits accepted by priorities NORMAL and
1204 PERFORMANCE was set to previous defaults 727 bits. Reported by Diego
1207 ** libgnutls: Corrected issue which prevented gnutls_pubkey_verify_hash()
1208 to operate with long keys. Reported by Erik A Jensen.
1210 ** API and ABI modifications:
1211 No changes since last version.
1214 * Version 3.1.7 (released 2013-02-04)
1216 ** certtool: Added option "dn" which allows to directly set the DN
1217 in a template from an RFC4514 string.
1219 ** danetool: Added options: --dlv and --insecure. Suggested by Paul Wouters.
1221 ** libgnutls-xssl: Added a new library to simplify GnuTLS usage.
1223 ** libgnutls-dane: Added function to specify a DLV file.
1225 ** libgnutls: Heartbeat code was made optional.
1227 ** libgnutls: Fixes in server side of DTLS-0.9.
1229 ** libgnutls: DN variable 'T' was expanded to 'title'.
1231 ** libgnutls: Fixes in record padding parsing to prevent a timing attack.
1232 Issue reported by Kenny Paterson and Nadhem Alfardan.
1234 ** libgnutls: Added functions to directly set the DN in a certificate
1235 or request from an RFC4514 string.
1237 ** libgnutls: Optimizations in the random generator. The re-seeding of
1238 it is now explicitly done on every session deinit.
1240 ** libgnutls: Simplified the DTLS sliding window implementation.
1242 ** libgnutls: The minimum DH bits accepted by a client are now set
1243 by the specified priority string. The current values correspond to the
1244 previous defaults (727 bits), except for the SECURE128 and SECURE192
1245 strings which increase the minimum to 1248 and 1776 respectively.
1247 ** libgnutls: Added the gnutls_record_cork() and uncork API to enable
1248 buffering in sending application data.
1250 ** libgnutls: Removed default random padding, and added a length-hiding interface
1251 instead. Both the server and the client must support this extension. Whether
1252 length-hiding can be used on a given session can be checked using
1253 gnutls_record_can_use_length_hiding(). Contributed by Alfredo Pironti.
1255 ** libgnutls: Added the experimental %NEW_PADDING priority string. It enables
1256 a new padding mechanism in TLS allowing arbitrary padding in TLS records
1257 in all ciphersuites, which makes length-hiding more efficient and solves
1258 the issues with timing attacks on CBC ciphersuites.
1260 ** libgnutls: Corrected gnutls_cipher_decrypt2() when used with AEAD
1261 ciphers (i.e., AES-GCM). Reported by William McGovern.
1263 ** API and ABI modifications:
1264 gnutls_db_check_entry_time: Added
1265 gnutls_record_set_timeout: Added
1266 gnutls_record_get_random_padding_status: Added
1267 gnutls_x509_crt_set_dn: Added
1268 gnutls_x509_crt_set_issuer_dn: Added
1269 gnutls_x509_crq_set_dn: Added
1270 gnutls_range_split: Added
1271 gnutls_record_send_range: Added
1272 gnutls_record_set_max_empty_records: Added
1273 gnutls_record_can_use_length_hiding: Added
1274 gnutls_rnd_refresh: Added
1278 xssl_getdelim: Added
1282 xssl_client_init: Added
1283 xssl_server_init: Added
1284 xssl_get_session: Added
1285 xssl_get_verify_status: Added
1286 xssl_cred_init: Added
1287 xssl_cred_deinit: Added
1288 dane_state_set_dlv_file: Added
1289 GNUTLS_SEC_PARAM_EXPORT: Added
1290 GNUTLS_SEC_PARAM_VERY_WEAK: Added
1293 * Version 3.1.6 (released 2013-01-02)
1295 ** libgnutls: Fixed record padding parsing issue. Reported by Kenny
1296 Paterson and Nadhem Alfardan.
1298 ** libgnutls: Several updates in the ASN.1 string handling subsystem.
1300 ** libgnutls: gnutls_x509_crt_get_policy() allows for a list of zero
1303 ** libgnutls: Ignore heartbeat messages when received out-of-order,
1304 instead of issuing an error.
1306 ** libgnutls: Stricter RSA PKCS #1 1.5 encoding and decoding. Reported
1309 ** libgnutls: TPM support is disabled by default because GPL programs
1310 cannot link with it. Use --with-tpm to enable it.
1312 ** libgnutls-guile: Fixed parallel compilation issue.
1314 ** gnutls-cli: It will try to connect to all possible returned addresses
1317 ** API and ABI modifications:
1318 No changes since last version.
1321 * Version 3.1.5 (released 2012-11-24)
1323 ** libgnutls: Added functions to parse the certificates policies
1326 ** libgnutls: Handle BMPString (UCS-2) encoding in the Distinguished
1327 Name by translating it to UTF-8 (works on windows or systems with iconv).
1329 ** libgnutls: Added PKCS #11 key generation function that returns the
1330 public key on generation.
1332 ** libgnutls: Corrected bug in priority string parsing, that mostly
1333 affected combined levels. Patch by Tim Kosse.
1335 ** certtool: The --pubkey-info option can be combined with the
1336 --load-privkey or --load-request to print the corresponding public keys.
1338 ** certtool: It is able to set certificate policies via a template.
1340 ** certtool: Added --hex-numbers option which prints big numbers in
1341 an easier to parse format.
1343 ** p11tool: After key generation, outputs the public key (useful in
1344 tokens that do not store the public key).
1346 ** danetool: It is being built even without libgnutls-dane (the
1347 --check functionality is disabled though).
1349 ** API and ABI modifications:
1350 gnutls_pkcs11_privkey_generate2: Added
1351 gnutls_x509_crt_get_policy: Added
1352 gnutls_x509_crt_set_policy: Added
1353 gnutls_x509_policy_release: Added
1354 gnutls_pubkey_import_x509_crq: Added
1355 gnutls_pubkey_print: Added
1356 GNUTLS_CRT_PRINT_FULL_NUMBERS: Added
1359 * Version 3.1.4 (released 2012-11-10)
1361 ** libgnutls: gnutls_certificate_verify_peers2() will set flags depending on
1362 the available revocation data validity.
1364 ** libgnutls: Added gnutls_certificate_verification_status_print(),
1365 a function to print the verification status code in human readable text.
1367 ** libgnutls: Added priority string %VERIFY_DISABLE_CRL_CHECKS.
1369 ** libgnutls: Simplified certificate verification by adding
1370 gnutls_certificate_verify_peers3().
1372 ** libgnutls: Added support for extension to establish keys for SRTP.
1373 Contributed by Martin Storsjo.
1375 ** libgnutls: The X.509 verification functions check the key
1376 usage bits and pathlen constraints and on failure output
1377 GNUTLS_CERT_SIGNER_CONSTRAINTS_FAILURE.
1379 ** libgnutls: gnutls_x509_crl_verify() includes the time checks.
1381 ** libgnutls: Added verification flag GNUTLS_VERIFY_DO_NOT_ALLOW_UNSORTED_CHAIN
1382 and made GNUTLS_VERIFY_ALLOW_UNSORTED_CHAIN the default.
1384 ** libgnutls: Always tolerate key usage violation errors from the side
1385 of the peer, but also notify via an audit message.
1387 ** gnutls-cli: Added --local-dns option.
1389 ** danetool: Corrected bug that prevented loading PEM files.
1391 ** danetool: Added --check option to allow querying and verifying
1394 ** libgnutls-dane: Added pkg-config file for the library.
1396 ** API and ABI modifications:
1397 gnutls_session_get_id2: Added
1398 gnutls_sign_is_secure: Added
1399 gnutls_certificate_verify_peers3: Added
1400 gnutls_ocsp_status_request_is_checked: Added
1401 gnutls_certificate_verification_status_print: Added
1402 gnutls_srtp_set_profile: Added
1403 gnutls_srtp_set_profile_direct: Added
1404 gnutls_srtp_get_selected_profile: Added
1405 gnutls_srtp_get_profile_name: Added
1406 gnutls_srtp_get_profile_id: Added
1407 gnutls_srtp_get_keys: Added
1408 gnutls_srtp_get_mki: Added
1409 gnutls_srtp_set_mki: Added
1410 gnutls_srtp_profile_t: Added
1411 dane_cert_type_name: Added
1412 dane_match_type_name: Added
1413 dane_cert_usage_name: Added
1414 dane_verification_status_print: Added
1415 GNUTLS_CERT_REVOCATION_DATA_SUPERSEDED: Added
1416 GNUTLS_CERT_REVOCATION_DATA_ISSUED_IN_FUTURE: Added
1417 GNUTLS_CERT_SIGNER_CONSTRAINTS_FAILURE: Added
1418 GNUTLS_CERT_UNEXPECTED_OWNER: Added
1419 GNUTLS_VERIFY_DO_NOT_ALLOW_UNSORTED_CHAIN: Added
1422 * Version 3.1.3 (released 2012-10-12)
1424 ** libgnutls: Added support for the OCSP Certificate Status
1427 ** libgnutls: gnutls_certificate_verify_peers2() will use the OCSP
1428 certificate status extension in verification.
1430 ** libgnutls: Bug fixes in gnutls_x509_privkey_import_openssl().
1432 ** libgnutls: Increased maximum password length in the PKCS #12
1435 ** libgnutls: Fixed the receipt of session tickets during session resumption.
1436 Reported by danblack at http://savannah.gnu.org/support/?108146
1438 ** libgnutls: Added functions to export structures in an allocated buffer.
1440 ** libgnutls: Added gnutls_ocsp_resp_check_crt() to check whether the OCSP
1441 response corresponds to the given certificate.
1443 ** libgnutls: In client side gnutls_init() enables the session ticket and
1444 OCSP certificate status request extensions by default. The flag
1445 GNUTLS_NO_EXTENSIONS can be used to prevent that.
1447 ** libgnutls: Several updates in the OpenPGP code. The generating code
1448 is fully RFC6091 compliant and RFC5081 support is only supported in client
1451 ** libgnutls-dane: Added. It is a library to provide DANE with DNSSEC
1452 certificate verification.
1454 ** gnutls-cli: Added --dane option to enable DANE certificate verification.
1456 ** danetool: Added tool to generate DANE TLSA Resource Records (RR).
1458 ** API and ABI modifications:
1459 gnutls_certificate_get_peers_subkey_id: Added
1460 gnutls_certificate_set_ocsp_status_request_function: Added
1461 gnutls_certificate_set_ocsp_status_request_file: Added
1462 gnutls_ocsp_status_request_enable_client: Added
1463 gnutls_ocsp_status_request_get: Added
1464 gnutls_ocsp_resp_check_crt: Added
1465 gnutls_dh_params_export2_pkcs3: Added
1466 gnutls_pubkey_export2: Added
1467 gnutls_x509_crt_export2: Added
1468 gnutls_x509_dn_export2: Added
1469 gnutls_x509_crl_export2: Added
1470 gnutls_pkcs7_export2: Added
1471 gnutls_x509_privkey_export2: Added
1472 gnutls_x509_privkey_export2_pkcs8: Added
1473 gnutls_x509_crq_export2: Added
1474 gnutls_openpgp_crt_export2: Added
1475 gnutls_openpgp_privkey_export2: Added
1476 gnutls_pkcs11_obj_export2: Added
1477 gnutls_pkcs12_export2: Added
1478 gnutls_pubkey_import_openpgp_raw: Added
1479 gnutls_pubkey_import_x509_raw: Added
1480 dane_state_init: Added
1481 dane_state_deinit: Added
1482 dane_query_tlsa: Added
1483 dane_query_status: Added
1484 dane_query_entries: Added
1485 dane_query_data: Added
1486 dane_query_deinit: Added
1487 dane_verify_session_crt: Added
1488 dane_verify_crt: Added
1489 dane_strerror: Added
1492 * Version 3.1.2 (released 2012-09-26)
1494 ** libgnutls: Fixed bug in gnutls_x509_trust_list_add_system_trust()
1495 and gnutls_x509_trust_list_add_trust_mem() that prevented the loading
1496 of certificates in the windows platform.
1498 ** libgnutls: Corrected bug in OpenPGP subpacket encoding.
1500 ** libgnutls: Added support for DTLS/TLS heartbeats by Olga Smolenchuk.
1501 (the work was done during Google Summer of Code).
1503 ** libgnutls: Added X.509 certificate verification flag
1504 GNUTLS_VERIFY_ALLOW_UNSORTED_CHAIN. This flag allows the verification
1505 of unsorted certificate chains and is enabled by default for
1506 TLS certificate verification (if gnutls_certificate_set_verify_flags()
1507 does not override it).
1509 ** libgnutls: Prints warning on certificates that contain keys of
1510 an insecure level. If the %COMPAT priority flag is not specified
1511 the TLS connection fails.
1513 ** libgnutls: Correctly restore gnutls_record_recv() in DTLS mode
1514 if interrupted during the retrasmition of handshake data.
1516 ** libgnutls: Better mingw32 support (patch by LRN).
1518 ** libgnutls: The %COMPAT keyword, if specified, will tolerate
1519 key usage violation errors (they are far too common to ignore).
1521 ** libgnutls: Added GNUTLS_STATELESS_COMPRESSION flag to gnutls_init(),
1522 which provides a tool to counter compression-related attacks where
1523 parts of the data are controlled by the attacker _and_ are placed in
1524 separate records (use with care - do not use compression if not sure).
1526 ** libgnutls: Depends on libtasn1 2.14 or later.
1528 ** certtool: Prints the number of bits of the public key algorithm
1529 parameter in a private key.
1531 ** API and ABI modifications:
1532 gnutls_x509_privkey_get_pk_algorithm2: Added
1533 gnutls_heartbeat_ping: Added
1534 gnutls_heartbeat_pong: Added
1535 gnutls_heartbeat_allowed: Added
1536 gnutls_heartbeat_enable: Added
1537 gnutls_heartbeat_set_timeouts: Added
1538 gnutls_heartbeat_get_timeout: Added
1539 GNUTLS_SEC_PARAM_WEAK: Added
1540 GNUTLS_SEC_PARAM_INSECURE: Added
1542 * Version 3.1.1 (released 2012-09-02)
1544 ** gnutls-serv: Listens on IPv6. Patch by Bernhard R. Link.
1546 ** certtool: Changes in password handling of certtool.
1547 Ask password when required and only if the '--password' option is not
1548 given. If the '--password' option is given during key generation then
1549 assume the PKCS #8 file format, instead of ignoring the password.
1551 ** tpmtool: No longer asks for key password in registered keys.
1553 ** libgnutls: Elliptic curve code was optimized by Ilya Tumaykin.
1554 wmNAF is now used for point multiplication and other optimizations.
1555 (the major part of the work was done during Google Summer of Code).
1557 ** libgnutls: The default pull_timeout_function only uses select
1558 instead of a combination of select() and recv() to prevent issues
1559 when used in stream sockets in some systems.
1561 ** libgnutls: Be tolerant in ECDSA signature violations (e.g. using
1562 SHA256 with a SECP384 curve instead of SHA-384), to interoperate with
1565 ** libgnutls: Fixed DSA and ECDSA signature generation in smart
1566 cards. Thanks to Andreas Schwier from cardcontact.de for providing
1567 me with ECDSA capable smart cards.
1569 ** API and ABI modifications:
1570 gnutls_sign_algorithm_get: Added
1571 gnutls_sign_get_hash_algorithm: Added
1572 gnutls_sign_get_pk_algorithm: Added
1575 * Version 3.1.0 (released 2012-08-15)
1577 ** libgnutls: Added direct support for TPM as a cryptographic module
1578 in gnutls/tpm.h. TPM keys can be used in functions accepting files
1579 using URLs of the following types:
1580 tpmkey:file=/path/to/file
1581 tpmkey:uuid=7f468c16-cb7f-11e1-824d-b3a4f4b20343;storage=user
1583 ** libgnutls: Priority string level keywords can be combined.
1584 For example the string "SECURE256:+SUITEB128" is now allowed.
1586 ** libgnutls: requires libnettle 2.5.
1588 ** libgnutls: Use the PKCS #1 1.5 encoding provided by nettle (2.5)
1589 for encryption and signatures.
1591 ** libgnutls: Added GNUTLS_CERT_SIGNATURE_FAILURE to differentiate between
1592 generic errors and signature verification errors in the verification
1595 ** libgnutls: Added gnutls_pkcs12_simple_parse() as a helper function
1596 to simplify parsing in most PKCS #12 use cases.
1598 ** libgnutls: gnutls_certificate_set_x509_simple_pkcs12_file() adds
1599 the whole certificate chain (if any) to the credentials structure, instead
1600 of only the end-user certificate.
1602 ** libgnutls: Key import functions such as gnutls_pkcs12_simple_parse()
1603 and gnutls_x509_privkey_import_pkcs8(), return consistently
1604 GNUTLS_E_DECRYPTION_FAILED if the input structure is encrypted but no
1605 password was provided.
1607 ** libgnutls: Added gnutls_handshake_set_timeout() a function that
1608 allows to set the maximum time spent in a handshake.
1610 ** libgnutlsxx: Added session::set_transport_vec_push_function. Patch
1613 ** tpmtool: Added. It is a tool to generate private keys in the
1616 ** gnutls-cli: --benchmark-tls was split to --benchmark-tls-kx
1617 and --benchmark-tls-ciphers
1619 ** certtool: generated PKCS #12 structures may hold more than one
1620 private key. Patch by Lucas Fisher.
1622 ** certtool: Added option --null-password to generate/decrypt keys
1623 that use a NULL password (in schemas that distinguish between NULL
1624 an empty passwords).
1626 ** minitasn1: Upgraded to libtasn1 version 2.13.
1628 ** API and ABI modifications:
1629 GNUTLS_CERT_SIGNATURE_FAILURE: Added
1630 GNUTLS_CAMELLIA_192_CBC: Added
1631 GNUTLS_PKCS_NULL_PASSWORD: Added
1632 gnutls_url_is_supported: Added
1633 gnutls_pkcs11_obj_list_import_url2: Added
1634 gnutls_pkcs11_obj_set_pin_function: Added
1635 gnutls_pkcs11_privkey_set_pin_function: Added
1636 gnutls_pkcs11_get_pin_function: Added
1637 gnutls_privkey_import_tpm_raw: Added
1638 gnutls_privkey_import_tpm_url: Added
1639 gnutls_privkey_import_pkcs11_url: Added
1640 gnutls_privkey_import_openpgp_raw: Added
1641 gnutls_privkey_import_x509_raw: Added
1642 gnutls_privkey_import_ext2: Added
1643 gnutls_privkey_import_url: Added
1644 gnutls_privkey_set_pin_function: Added
1645 gnutls_tpm_privkey_generate: Added
1646 gnutls_tpm_key_list_deinit: Added
1647 gnutls_tpm_key_list_get_url: Added
1648 gnutls_tpm_get_registered: Added
1649 gnutls_tpm_privkey_delete: Added
1650 gnutls_pubkey_import_tpm_raw: Added
1651 gnutls_pubkey_import_tpm_url: Added
1652 gnutls_pubkey_import_url: Added
1653 gnutls_pubkey_verify_hash2: Added
1654 gnutls_pubkey_set_pin_function: Added
1655 gnutls_x509_privkey_import2: Added
1656 gnutls_x509_privkey_import_openssl: Added
1657 gnutls_x509_crt_set_pin_function: Added
1658 gnutls_load_file: Added
1659 gnutls_pkcs12_simple_parse: Added
1660 gnutls_certificate_set_x509_system_trust: Added
1661 gnutls_certificate_set_pin_function: Added
1662 gnutls_x509_trust_list_add_system_trust: Added
1663 gnutls_x509_trust_list_add_trust_file: Added
1664 gnutls_x509_trust_list_add_trust_mem: Added
1665 gnutls_pk_to_sign: Added
1666 gnutls_handshake_set_timeout: Added
1667 gnutls_pubkey_verify_hash: Deprecated (use gnutls_pubkey_verify_hash2)
1668 gnutls_pubkey_verify_data: Deprecated (use gnutls_pubkey_verify_data2)
1671 * Version 3.0.22 (released 2012-08-04)
1673 ** libgnutls: gnutls_certificate_set_x509_system_trust()
1674 is now supported on OpenBSD.
1676 ** libgnutls: When verifying a certificate chain make sure it is chain.
1677 If the chain is wronly interrupted at some point then truncate it,
1678 and only try to verify the correct part. Patch by David Woodhouse
1680 ** libgnutls: Restored the behavior of gnutls_x509_privkey_import_pkcs8()
1681 which now may (again) accept a NULL password.
1683 ** certtool: Allow the user to choose the hash algorithm
1684 when signing certificate request or certificate revocation list.
1685 Patch by Petr PÃsaÅ™.
1687 ** API and ABI modifications:
1688 No changes since last version.
1691 * Version 3.0.21 (released 2012-07-02)
1693 ** libgnutls: fixed bug in gnutls_x509_privkey_import()
1694 that prevented the loading of EC private keys when DER
1695 encoded. Reported by David Woodhouse.
1697 ** libgnutls: In DTLS larger to mtu records result to
1698 GNUTLS_E_LARGE_PACKET instead of being truncated.
1700 ** libgnutls: gnutls_dtls_get_data_mtu() is more precise. Based
1701 on patch by David Woodhouse.
1703 ** libgnutls: Fixed memory leak in PKCS #8 key import.
1705 ** libgnutls: Added support for an old version of the DTLS protocol
1706 used by openconnect vpn client for compatibility with Cisco's AnyConnect
1707 SSL VPN. It is marked as GNUTLS_DTLS0_9. Do not use it for newer protocols
1710 ** libgnutls: Corrected bug that prevented resolving PKCS #11 URLs
1711 if only the label is specified. Patch by David Woodhouse.
1713 ** libgnutls: When EMSGSIZE errno is seen then GNUTLS_E_LARGE_PACKET
1716 ** API and ABI modifications:
1717 gnutls_dtls_set_data_mtu: Added
1718 gnutls_session_set_premaster: Added
1721 * Version 3.0.20 (released 2012-06-05)
1723 ** libgnutls: Corrected bug which prevented the parsing of
1724 handshake packets spanning multiple records.
1726 ** libgnutls: Check key identifiers when checking for an issuer.
1728 ** libgnutls: Added gnutls_pubkey_verify_hash2()
1730 ** libgnutls: Added gnutls_certificate_set_x509_system_trust()
1731 that loads the trusted CA certificates from system locations
1732 (e.g. trusted storage in windows and CA bundle files in other systems).
1734 ** certtool: Added support for the URI subject alternative
1735 name type in certtool.
1737 ** certtool: Increase to 128 the maximum number of distinct options
1738 (e.g. dns_names) allowed.
1740 ** gnutls-cli: If --print-cert is given, print the certificate,
1741 even on verification failure.
1743 ** API and ABI modifications:
1744 gnutls_pk_to_sign: Added
1745 gnutls_pubkey_verify_hash2: Added
1746 gnutls_certificate_set_x509_system_trust: Added
1749 * Version 3.0.19 (released 2012-04-22)
1751 ** libgnutls: When decoding a PKCS #11 URL the pin-source field
1752 is assumed to be a file that stores the pin. Based on patch
1755 ** libgnutls: gnutls_record_check_pending() no longer
1756 returns unprocessed data, and thus ensure the non-blocking
1757 of the next call to gnutls_record_recv().
1759 ** libgnutls: Added strict tests in Diffie-Hellman and
1760 SRP key exchange public keys.
1762 ** libgnutls: in ECDSA and DSA TLS 1.2 authentication be less
1763 strict in hash selection, and allow a stronger hash to
1764 be used than the appropriate, to improve interoperability
1767 ** tests: Disabled floating point test, and corrections
1768 in pkcs12 decoding tests.
1770 ** API and ABI modifications:
1771 No changes since last version.
1774 * Version 3.0.18 (released 2012-04-02)
1776 ** certtool: Avoid a Y2K38 bug when generating certificates.
1777 Patch by Robert Millan.
1779 ** libgnutls: Make sure that GNUTLS_E_PREMATURE_TERMINATION
1780 is returned on premature termination (and added unit test).
1782 ** libgnutls: Fixes for W64 API. Patch by B. Scott Michel.
1784 ** libgnutls: Corrected VIA padlock detection for old
1785 VIA processors. Reported by Kris Karas.
1787 ** libgnutls: Updated assembler files.
1789 ** libgnutls: Time in generated certificates is stored
1790 as GeneralizedTime instead of UTCTime (which only stores
1791 2 digits of a year).
1793 ** minitasn1: Upgraded to libtasn1 version 2.13 (pre-release).
1795 ** API and ABI modifications:
1796 gnutls_x509_crt_set_private_key_usage_period: Added
1797 gnutls_x509_crt_get_private_key_usage_period: Added
1798 gnutls_x509_crq_set_private_key_usage_period: Added
1799 gnutls_x509_crq_get_private_key_usage_period: Added
1800 gnutls_session_get_random: Added
1803 * Version 3.0.17 (released 2012-03-17)
1805 ** command line apps: Always link with local libopts.
1807 ** API and ABI modifications:
1808 No changes since last version.
1811 * Version 3.0.16 (released 2012-03-16)
1813 ** minitasn1: Upgraded to libtasn1 version 2.12 (pre-release).
1815 ** libgnutls: Corrected SRP-RSA ciphersuites when used under TLS 1.2.
1817 ** libgnutls: included assembler files for MacOSX.
1819 ** p11tool: Small fixes in handling of the --private command
1822 ** certtool: The template option allows for setting the domain
1823 component (DC) option of the distinguished name, and the ocsp_uri
1824 as well as the ca_issuers_uri options.
1826 ** API and ABI modifications:
1827 gnutls_x509_crt_set_authority_info_access: Added
1830 * Version 3.0.15 (released 2012-03-02)
1832 ** test suite: Only run under valgrind in the development
1833 system (the full git repository)
1835 ** command line apps: Link with local libopts if the
1836 installed is an old one.
1838 ** libgnutls: Eliminate double free during SRP
1839 authentication. Reported by Peter Penzov.
1841 ** libgnutls: Corrections in record packet parsing.
1842 Reported by Matthew Hall.
1844 ** libgnutls: Cryptodev updates and fixes.
1846 ** libgnutls: Corrected issue with select() that affected
1847 FreeBSD. This prevented establishing DTLS sessions.
1848 Reported by Andreas Metzler.
1850 ** libgnutls: Corrected rehandshake and resumption
1851 operations in DTLS. Reported by Sean Buckheister.
1853 ** libgnutls: PKCS #11 objects that do not have ID
1854 no longer crash listing. Reported by Sven Geggus.
1856 ** API and ABI modifications:
1857 No changes since last version.
1860 * Version 3.0.14 (released 2012-02-24)
1862 ** command line apps: Included libopts doesn't get installed
1865 ** libgnutls: Eliminate double free on wrongly formatted
1866 certificate list. Reported by Remi Gacogne.
1868 ** libgnutls: cryptodev code corrected, updated to account
1869 for hashes and GCM mode.
1871 ** libgnutls: Eliminated memory leak in PCKS #11 initialization.
1872 Report and fix by Sam Varshavchik.
1874 ** API and ABI modifications:
1875 No changes since last version.
1878 * Version 3.0.13 (released 2012-02-18)
1880 ** gnutls-cli: added the --ocsp option which will verify
1881 the peer's certificate with OCSP.
1883 ** gnutls-cli: added the --tofu option and if specified, gnutls-cli
1884 will use an ssh-style authentication method.
1886 ** gnutls-cli: if no --x509cafile is provided a default is
1887 assumed (/etc/ssl/certs/ca-certificates.crt), if it exists.
1889 ** ocsptool: Added --ask parameter, to verify a certificate's
1890 status from an ocsp server.
1892 ** command line apps: Use gnu autogen (libopts) to parse command
1893 line arguments and template files.
1895 ** tests: Added stress test for DTLS packet losses and
1896 out-of-order receival. Contributed by Sean Buckheister.
1898 ** libgnutls: Several updates and corrections in the DTLS
1899 DTLS lost packet handling and retransmission timeouts.
1900 Report and patches by Sean Buckheister.
1902 ** libgnutls: Added new functions to easily allow the usage of
1903 a trust on first use (SSH-style) authentication.
1905 ** libgnutls: SUITEB128 and SUITEB192 priority strings account
1906 for the RFC6460 requirements.
1908 ** libgnutls: Added new security parameter GNUTLS_SEC_PARAM_LEGACY
1909 to account for security level of 96-bits.
1911 ** libgnutls: In client side if server does not advertise any
1912 known CAs and only a single certificate is set in the credentials,
1915 ** libgnutls: Added functions to parse authority key identifiers
1916 when stored as a 'general name' and serial combo.
1918 ** libgnutls: Added function to force explicit reinitialization
1919 of PKCS #11 modules. This is required on the child process after
1920 a fork (if PKCS #11 functionality is desirable).
1922 ** libgnutls: Depend on p11-kit 0.11.
1924 ** API and ABI modifications:
1925 gnutls_dtls_get_timeout: Added
1926 gnutls_verify_stored_pubkey: Added
1927 gnutls_store_pubkey: Added
1928 gnutls_store_commitment: Added
1929 gnutls_x509_crt_get_authority_key_gn_serial: Added
1930 gnutls_x509_crl_get_authority_key_gn_serial: Added
1931 gnutls_pkcs11_reinit: Added
1932 gnutls_ecc_curve_list: Added
1933 gnutls_priority_certificate_type_list: Added
1934 gnutls_priority_sign_list: Added
1935 gnutls_priority_protocol_list: Added
1936 gnutls_priority_compression_list: Added
1937 gnutls_priority_ecc_curve_list: Added
1938 gnutls_tdb_init: Added
1939 gnutls_tdb_set_store_func: Added
1940 gnutls_tdb_set_store_commitment_func: Added
1941 gnutls_tdb_set_verify_func: Added
1942 gnutls_tdb_deinit: Added
1945 * Version 3.0.12 (released 2012-01-20)
1947 ** libgnutls: Added OCSP support.
1948 There is a new header file gnutls/ocsp.h and a set of new functions
1949 under the gnutls_ocsp namespace. Currently the functionality provided
1950 is to parse and extract information from OCSP requests/responses, to
1951 generate OCSP requests and to verify OCSP responses. See the manual
1952 for more information. Run ./configure with --disable-ocsp to build
1953 GnuTLS without OCSP support.
1955 This work was sponsored by Smoothwall <http://smoothwall.net/>.
1957 ** ocsptool: Added new command line tool.
1958 The tool can parse OCSP request/responses, generate OCSP requests and
1959 verify OCSP responses. See the manual for more information.
1961 ** certtool: --outder option now works for private
1962 and public keys as well.
1964 ** libgnutls: Added error code GNUTLS_E_NO_PRIORITIES_WERE_SET
1965 to warn when no or insufficient priorities were set.
1967 ** libgnutls: Corrected an alignment issue in ECDH
1968 key generation which prevented some keys from being
1969 correctly aligned in rare circumstances.
1971 ** libgnutls: Corrected memory leaks in DH parameter
1972 generation and ecc_projective_check_point().
1974 ** libgnutls: Added gnutls_x509_dn_oid_name() to
1975 return a descriptive name of a DN OID.
1977 ** API and ABI modifications:
1978 gnutls_pubkey_encrypt_data: Added
1979 gnutls_x509_dn_oid_name: Added
1980 gnutls_session_resumption_requested: Added
1981 gnutls/ocsp.h: Added new header file.
1982 gnutls_ocsp_print_formats_t: Added new type.
1983 gnutls_ocsp_resp_status_t: Added new type.
1984 gnutls_ocsp_cert_status_t: Added new type.
1985 gnutls_x509_crl_reason_t: Added new type.
1986 gnutls_ocsp_req_add_cert: Added.
1987 gnutls_ocsp_req_add_cert_id: Added.
1988 gnutls_ocsp_req_deinit: Added.
1989 gnutls_ocsp_req_export: Added.
1990 gnutls_ocsp_req_get_cert_id: Added.
1991 gnutls_ocsp_req_get_extension: Added.
1992 gnutls_ocsp_req_get_nonce: Added.
1993 gnutls_ocsp_req_get_version: Added.
1994 gnutls_ocsp_req_import: Added.
1995 gnutls_ocsp_req_init: Added.
1996 gnutls_ocsp_req_print: Added.
1997 gnutls_ocsp_req_randomize_nonce: Added.
1998 gnutls_ocsp_req_set_extension: Added.
1999 gnutls_ocsp_req_set_nonce: Added.
2000 gnutls_ocsp_resp_deinit: Added.
2001 gnutls_ocsp_resp_export: Added.
2002 gnutls_ocsp_resp_get_certs: Added.
2003 gnutls_ocsp_resp_get_extension: Added.
2004 gnutls_ocsp_resp_get_nonce: Added.
2005 gnutls_ocsp_resp_get_produced: Added.
2006 gnutls_ocsp_resp_get_responder: Added.
2007 gnutls_ocsp_resp_get_response: Added.
2008 gnutls_ocsp_resp_get_signature: Added.
2009 gnutls_ocsp_resp_get_signature_algorithm: Added.
2010 gnutls_ocsp_resp_get_single: Added.
2011 gnutls_ocsp_resp_get_status: Added.
2012 gnutls_ocsp_resp_get_version: Added.
2013 gnutls_ocsp_resp_import: Added.
2014 gnutls_ocsp_resp_init: Added.
2015 gnutls_ocsp_resp_print: Added.
2016 gnutls_ocsp_resp_verify: Added.
2018 * Version 3.0.11 (released 2012-01-06)
2020 ** libgnutls: Corrected functionality of
2021 gnutls_record_get_direction(). Reported by Philip Allison.
2023 ** libgnutls: Provide less timing information when decoding
2024 TLS/DTLS record packets. Patch by Nadhem Alfardan.
2026 ** API and ABI modifications:
2027 No changes since last version.
2030 * Version 3.0.10 (released 2012-01-04)
2032 ** gnutls-cli/serv: Set don't fragment bit in DTLS sessions
2033 in Linux as well as in BSD.
2035 ** gnutls-cli: Fixed reading from windows terminals.
2037 ** libgnutls: When GNUTLS_OPENPGP_FMT_BASE64 is specified
2038 the stream is assumed to be base64 encoded (previously
2039 the encoding was auto-detected). This avoids a decoding
2040 issue in windows systems.
2042 ** libgnutls: Corrected ciphersuite GNUTLS_ECDHE_PSK_AES_256_CBC_SHA384
2044 ** libgnutls: Added ciphersuites: GNUTLS_PSK_WITH_AES_256_GCM_SHA384
2045 and GNUTLS_DHE_PSK_WITH_AES_256_GCM_SHA384.
2047 ** libgnutls: Added function gnutls_random_art() to convert
2048 fingerprints to images (currently ascii-art).
2050 ** libgnutls: Corrected bug in DSA private key parsing, which
2051 prevented the verification of the key.
2053 ** API and ABI modifications:
2054 gnutls_random_art: Added
2057 * Version 3.0.9 (released 2011-12-13)
2059 ** certtool: Added new parameter --dh-info.
2061 ** certtool: -l option was overloaded so if combined with --priority
2062 it will only list the ciphersuites that are enabled by the given
2065 ** libgnutls: Added new priority string %SERVER_PRECEDENCE, which
2066 changes the ciphersuite selection procedure. If specified the server
2067 priorities will be used for selection instead of the client's.
2069 ** libgnutls: Optimizations in Diffie-Hellman parameters generation
2072 ** libgnutls: When session tickets are negotiated and used in a
2073 session, a server will not store that session data into its cache.
2075 ** libgnutls: Added the SECP192R1 curve.
2077 ** libgnutls: Added gnutls_priority_get_cipher_suite_index() to
2078 allow listing the ciphersuites enabled in a priority structure.
2079 It outputs an index to be used in gnutls_get_cipher_suite_info().
2081 ** libgnutls: Optimizations in the elliptic curve code --timing
2082 attacks resistant code is only used in ECDSA private key operations.
2084 ** doc: man pages for API functions generation was fixed and are
2085 now added again in the distribution.
2087 ** API and ABI modifications:
2088 GNUTLS_ECC_CURVE_SECP192R1: New curve definition
2089 gnutls_priority_get_cipher_suite_index: Added
2092 * Version 3.0.8 (released 2011-11-12)
2094 ** certtool: Certtool -e returns error code on verification
2097 ** certtool: Verifies parameters of generated keys.
2099 ** libgnutls: Corrected ECC key generation (introduced in 3.0.6)
2101 ** libgnutls: Provide less timing information when decoding
2102 TLS/DTLS record packets.
2104 ** doc: man pages for API functions were removed.
2105 The reason was that the code that auto-generated the man pages missed
2106 many APIs and we couldn't fix it (volunteers welcome). See the info
2107 manual or the GTK-DOC manual instead.
2109 ** API and ABI modifications:
2110 gnutls_x509_privkey_verify_params: Added
2113 * Version 3.0.7 (released 2011-11-08)
2115 ** libgnutls: Corrected fix in gnutls_session_get_data()
2116 to report the actual session size when the provided buffer
2119 ** libgnutls: Fixed ciphersuite GNUTLS_ECDHE_RSA_AES_128_CBC_SHA256,
2120 which was using a wrong MAC algorithm. Reported by Fabrice Gautier.
2122 ** API and ABI modifications:
2123 No changes since last version.
2126 * Version 3.0.6 (released 2011-11-07)
2128 ** gnutls-guile: Compilation fixes.
2130 ** libgnutls: Fixed possible buffer overflow in
2131 gnutls_session_get_data(). Reported and fix by Alban Crequy.
2133 ** libgnutls: Bug fixes in the ciphersuites with NULL cipher.
2134 Reported by Fabrice Gautier.
2136 ** libgnutls: Bug fixes in ECC code for 64-bit MIPS systems.
2137 Thanks to Joseph Graham for providing access to such a system.
2139 ** libgnutls: Correctly report ECC private key parsing errors.
2140 Reported by Fabrice Gautier.
2142 ** libgnutls: In ECDHE verify that the received point lies on
2143 the selected curve. The ECDHE ciphersuites now take precendence
2146 ** API and ABI modifications:
2147 No changes since last version.
2150 * Version 3.0.5 (released 2011-10-27)
2152 ** libgnutls-extra: is no more
2154 ** libgnutls: Corrections in order to compile with mingw32.
2156 ** libgnutls: Corrections in VIA padlock code for VIA C5 processor
2157 and new detection of PHE with support for partial hashing.
2159 ** libgnutls: Corrected bug in gnutls_x509_data2hex. Report and fix
2162 ** minitasn1: Upgraded to libtasn1 version 2.10.
2164 ** API and ABI modifications:
2165 No changes since last version.
2168 * Version 3.0.4 (released 2011-10-15)
2170 ** libgnutls-extra: gnutls_register_md5_handler() was
2173 ** gnutls-cli-debug: Added more tests including AES-GCM,
2174 SHA256 and elliptic curves.
2176 ** gnutls-cli: Added --benchmark-soft-ciphers to benchmark
2177 the software version of the ciphers instead of hw accelerated
2180 ** libgnutls: Public key ID calculation is consistent among
2181 all structures. It uses a SHA-1 hash of the subjectPublicKeyInfo.
2183 ** libgnutls: gnutls_privkey_t allows setting external callback
2184 to perform signing or decryption. Can be set using
2185 gnutls_privkey_import_ext()
2187 ** libgnutls: A certificate credentials structure can be
2188 used with a gnutls_privkey_t and a gnutls_pcert_st
2189 structure using gnutls_certificate_set_key().
2191 ** libgnutls: Fixes to enable external signing callback to
2192 operate with TLS 1.2.
2194 ** libgnutls: Fixed crash when printing ECDSA certificate key
2195 ID. Reported by Erik Jensen.
2197 ** libgnutls: Corrected VIA padlock code for C3. In C3 benchmarks
2198 show a 50x increase in AES speed and a 14x increase in VIA nano. Added
2199 support for hashes and HMACs.
2201 ** libgnutls: Compilation fixed when p11-kit is not detected.
2203 ** libgnutls: Fixed the deflate compression code.
2205 ** libgnutls: Added gnutls_x509_crt_get_authority_info_access.
2206 Used to get the PKIX Authority Information Access (AIA) field.
2208 ** libgnutls: gnutls_x509_crt_print supports printing AIA fields.
2210 ** libgnutls: Added ability to gnutls_privkey_t to operate with
2211 signing callback function.
2213 ** API and ABI modifications:
2214 gnutls_x509_crt_get_authority_info_access (x509.h): Added function.
2215 gnutls_privkey_import_ext: Added function.
2216 gnutls_certificate_set_key: Added function.
2217 gnutls_info_access_what_t (x509.h): Added enum.
2218 GNUTLS_OID_AIA (x509.h): Added symbol.
2219 GNUTLS_OID_AD_OCSP (x509.h): Added symbol.
2220 GNUTLS_OID_AD_CAISSUERS (x509.h): Added symbol.
2222 * Version 3.0.3 (released 2011-09-18)
2224 ** libgnutls: Added gnutls_record_get_discarded() to return the
2225 number of discarded records in a DTLS session.
2227 ** libgnutls: All functions related to RSA-EXPORT were deprecated.
2228 Support for RSA-EXPORT ciphersuites will be ceased in future versions.
2230 ** libgnutls: Memory leak fixes in credentials private key
2231 deinitialization. Reported by Dan Winship.
2233 ** libgnutls: Memory leak fixes in ECC ciphersuites.
2235 ** libgnutls: Do not send an empty extension structure in server
2236 hello. This affected old implementations that do not support extensions.
2237 Reported by J. Cameijo Cerdeira.
2239 ** libgnutls: Allow CA importing of 0 certificates to succeed.
2240 Reported by Jonathan Nieder <jrnieder@gmail.com> in
2241 <http://bugs.debian.org/640639>.
2243 ** libgnutls: Added support for VIA padlock AES optimizations.
2244 (disabled by default)
2246 ** libgnutls: Added support for elliptic curves in
2249 ** libgnutls: Added gnutls_pkcs11_privkey_generate()
2250 to allow generating a key in a token.
2252 ** p11tool: Added generate-rsa, generate-dsa and
2253 generate-ecc options to allow generating private
2256 ** libgnutls: gnutls_transport_set_lowat dummy macro was
2259 ** API and ABI modifications:
2260 gnutls_pkcs11_privkey_generate: Added
2261 gnutls_pubkey_import_ecc_raw: Added
2262 gnutls_pubkey_import_ecc_x962: Added
2263 gnutls_pubkey_get_pk_ecc_x962: Added
2264 gnutls_record_get_discarded: Added
2267 * Version 3.0.2 (released 2011-09-01)
2269 ** libgnutls: OpenPGP certificate type is not enabled
2272 ** libgnutls: Added %NO_EXTENSIONS priority string.
2274 ** libgnutls: Corrected issue in gnutls_record_recv()
2275 triggered on encryption or compression error.
2277 ** libgnutls: Compatibility fixes in CPU ID detection
2278 for i386 and old GCC.
2280 ** gnutls-cli: Benchmark applications were incorporated
2283 ** libgnutls: Corrected parsing of XMPP subject
2286 ** libgnutls: Allow for out-of-order ChangeCipherSpec
2289 ** libgnutls: gnutls_certificate_set_x509_key() and
2290 gnutls_certificate_set_openpgp_key() operate as in 2.10.x
2291 and allow the release of the private key during the
2292 lifetime of the certificate structure.
2294 ** API and ABI modifications:
2295 GNUTLS_PRIVKEY_IMPORT_COPY: new gnutls_privkey_import() flag
2298 * Version 3.0.1 (released 2011-08-20)
2300 ** libgnutls: gnutls_certificate_set_x509_key_file() and
2301 friends support server name indication. If multiple
2302 certificates are set using these functions the proper one
2303 will be selected during a handshake.
2305 ** libgnutls: Added AES-256-GCM which was left out from
2306 the previous release. Reported by Benjamin Hof.
2308 ** libgnutls: When asking for a PKCS# 11 PIN multiple
2309 times, the flags in the callback were not being updated
2310 to reflect for PIN low count or final try.
2312 ** libgnutls: Do not allow second instances of PKCS #11
2315 ** libgnutls: fixed alignment issue in AES-NI code.
2317 ** libgnutls: The config file at gnutls_pkcs11_init()
2318 is being read if provided.
2320 ** libgnutls: Ensure that a certificate list specified
2321 using gnutls_certificate_set_x509_key() and friends, is
2322 sorted according to TLS specification (from subject to issuer).
2324 ** libgnutls: Added GNUTLS_X509_CRT_LIST_FAIL_IF_UNSORTED flag for
2325 gnutls_x509_crt_list_import. It checks whether the list to be
2326 imported is properly sorted.
2328 ** crywrap: Added to the distribution. It is an application
2329 that proxies TLS session to a port using a plaintext service.
2331 ** doc: Many GTK-DOC improvements.
2333 ** i18n: Translations were updated.
2335 ** API and ABI modifications:
2336 GNUTLS_X509_CRT_LIST_FAIL_IF_UNSORTED: New element in gnutls_certificate_import_flags
2337 GNUTLS_PKCS11_PIN_WRONG: New flag for PIN callback
2340 * Version 3.0.0 (released 2011-07-29)
2342 ** libgnutls: writev_emu: stop on the first incomplete write. Patch by
2345 ** libgnutls: Fix zlib handling in gnutls.pc. Patch by Andreas
2348 ** certtool: bug fixes in certificate request generation. Patch
2351 ** API and ABI modifications:
2352 gnutls_pcert_list_import_x509_raw: ADDED
2355 * Version 2.99.4 (released 2011-07-23)
2357 ** doc: documentation updates.
2359 ** libgnutls: gnutls_rsa_params_t is now identical to gnutls_x509_privkey_t
2360 to avoid thread-safety issues. Reported by Sam Varshavchik.
2362 ** libgnutls: Added compatibility mode with /etc/gnutls/pkcs11.conf
2364 ** libgnutls: license upgraded to LGPLv3
2366 ** libgnutls: gnutls_srp_verifier() returns data allocated with gnutls_malloc()
2369 ** API and ABI modifications:
2370 No changes since last version.
2373 * Version 2.99.3 (released 2011-06-18)
2375 ** libgnutls: Added new PKCS #11 flags to force an object being private or
2376 not. (GNUTLS_PKCS11_OBJ_FLAG_MARK_PRIVATE and GNUTLS_PKCS11_OBJ_FLAG_MARK_NOT_PRIVATE)
2378 ** libgnutls: Added SUITEB128 and SUITEB192 priority
2379 strings to enable the NSA SuiteB cryptography ciphersuites.
2381 ** libgnutls: Added gnutls_pubkey_verify_data2() that will
2382 verify data provided the signature algorithm.
2384 ** libgnutls: Simplified the handling of handshake messages to
2385 be hashed. Instead of hashing during the handshake process we now
2386 keep the data until handshake is over and hash them on request.
2387 This uses more memory but eliminates issues with TLS 1.2 and
2390 ** libgnutls: Added AES-GCM optimizations using the PCLMULQDQ
2391 instruction. Uses Andy Polyakov's assembly code.
2393 ** libgnutls: Added gnutls_x509_trust_list_add_named_crt() and
2394 gnutls_x509_trust_list_verify_named_crt() that allow having a
2395 list of certificates in the trusted list that will be associated
2396 with a name (e.g. server name) and will not be used as CAs.
2398 ** libgnutls: PKCS #11 back-end rewritten to use p11-kit
2399 http://p11-glue.freedesktop.org/p11-kit.html. Rewrite by
2402 ** libgnutls: Added ECDHE-PSK ciphersuites for TLS (RFC 5489).
2404 ** API and ABI modifications:
2405 gnutls_pubkey_verify_data2: ADDED
2406 gnutls_ecc_curve_get: ADDED
2407 gnutls_x509_trust_list_add_named_crt: ADDED
2408 gnutls_x509_trust_list_verify_named_crt: ADDED
2409 gnutls_x509_privkey_verify_data: REMOVED
2410 gnutls_crypto_bigint_register: REMOVED
2411 gnutls_crypto_cipher_register: REMOVED
2412 gnutls_crypto_digest_register: REMOVED
2413 gnutls_crypto_mac_register: REMOVED
2414 gnutls_crypto_pk_register: REMOVED
2415 gnutls_crypto_rnd_register: REMOVED
2416 gnutls_crypto_single_cipher_register: REMOVED
2417 gnutls_crypto_single_digest_register: REMOVED
2418 gnutls_crypto_single_mac_register: REMOVED
2419 GNUTLS_KX_ECDHE_PSK: New key exchange method
2420 GNUTLS_VERIFY_DISABLE_CRL_CHECKS: New certificate verification flag.
2421 GNUTLS_PKCS11_OBJ_FLAG_MARK_PRIVATE: New PKCS#11 object flag.
2422 GNUTLS_PKCS11_OBJ_FLAG_MARK_NOT_PRIVATE: New PKCS#11 object flag.
2425 * Version 2.99.2 (released 2011-05-26)
2427 ** libgnutls: Added Elliptic curve support. This is not
2428 enabled by default. Requires priority strings:
2429 +CURVE-ALL: to add all supported curves
2430 +ECDHE-RSA: to add ephemeral ECDHE with an RSA-signed certificate
2431 +ECDHE-ECDSA: to add ephemeral ECDHE with an ECDSA-signed certificate
2432 +ANON-ECDHE: to add anonymous ECDH
2434 ** libgnutls: PKCS #11 URLs conform to the latest draft
2435 being http://tools.ietf.org/html/draft-pechanec-pkcs11uri-04.
2437 ** certtool: Can now load private keys and public keys from PKCS #11 tokens
2440 ** libgnutls: Added gnutls_global_set_audit_log_function() that allows
2441 to get important auditing information including the corresponding session.
2442 That might be useful to block DoS or other attacker from specific IPs.
2444 ** libgnutls: gnutls_pkcs11_privkey_import_url() will now correctly read
2445 the public key algorithm of the key.
2447 ** libgnutls: Added gnutls_certificate_get_issuer() and
2448 gnutls_x509_trust_list_get_issuer() to compensate for the
2449 missing gnutls_certificate_get_x509_cas().
2451 ** libgnutls: Added gnutls_x509_crq_verify() to allow
2452 verification of the self signature in a certificate request.
2453 This allows verifying whether the owner of the private key
2454 is the generator of the request.
2456 ** libgnutls: gnutls_x509_crt_set_crq() implicitly verifies
2457 the self signature of the request.
2459 ** API and ABI modifications:
2460 gnutls_certificate_get_issuer: ADDED
2461 gnutls_x509_trust_list_get_issuer: ADDED
2462 gnutls_x509_crq_verify: ADDED
2463 gnutls_global_set_audit_log_function: ADDED
2464 gnutls_ecc_curve_get_name: ADDED
2465 gnutls_ecc_curve_get_size: ADDED
2466 gnutls_x509_privkey_import_ecc_raw: ADDED
2467 gnutls_x509_privkey_export_ecc_raw: ADDED
2468 gnutls_global_set_time_function: ADDED
2470 GNUTLS_E_ECC_NO_SUPPORTED_CURVES: New error code
2471 GNUTLS_E_ECC_UNSUPPORTED_CURVE: New error code
2472 GNUTLS_KX_ECDHE_RSA: New key exchange method
2473 GNUTLS_KX_ECDHE_ECDSA: New key exchange method
2474 GNUTLS_KX_ANON_ECDH: New key exchange method
2475 GNUTLS_PK_ECC: New public key algorithm
2476 GNUTLS_SIGN_ECDSA_SHA1: New signature algorithm
2477 GNUTLS_SIGN_ECDSA_SHA256: New signature algorithm
2478 GNUTLS_SIGN_ECDSA_SHA384: New signature algorithm
2479 GNUTLS_SIGN_ECDSA_SHA512: New signature algorithm
2480 GNUTLS_SIGN_ECDSA_SHA224: New signature algorithm
2481 GNUTLS_ECC_CURVE_INVALID: New curve definition
2482 GNUTLS_ECC_CURVE_SECP224R1: New curve definition
2483 GNUTLS_ECC_CURVE_SECP256R1: New curve definition
2484 GNUTLS_ECC_CURVE_SECP384R1: New curve definition
2485 GNUTLS_ECC_CURVE_SECP521R1: New curve definition
2488 * Version 2.99.1 (released 2011-04-23)
2490 ** libgnutls: LZO support was removed.
2492 ** libgnutls: Corrections in SSLv2 client hello parsing.
2494 ** libgnutls: Added support for AES-NI if detected. Uses
2495 Andy Polyakov's AES-NI code.
2497 ** libgnutls: Restored HMAC-MD5 for compatibility. Although considered
2498 weak, several sites require it for connection. It is enabled for
2499 "NORMAL" and "PERFORMANCE" priority strings.
2501 ** libgnutls: depend on libdl.
2503 ** libgnutls-extra: Dropped support of LZO compression via liblzo.
2505 ** libgnutls: gnutls_transport_set_global_errno() was removed. This
2506 function required GnuTLS to access system specific data, for no reason.
2507 Use gnutls_transport_set_errno(), or your system's errno fascility
2510 ** libgnutls: Added gnutls_certificate_set_retrieve_function2()
2511 to set a callback to retrieve a certificate. The certificate is
2512 received in a format that requires no processing from gnutls thus
2513 it is suitable when performance is required.
2515 ** API and ABI modifications:
2516 gnutls_transport_set_global_errno: REMOVED
2517 gnutls_certificate_set_retrieve_function2: ADDED
2519 * Version 2.99.0 (released 2011-04-09)
2521 ** libgnutls: Added Datagram TLS support.
2523 ** libgnutls: Uses a single configure file and a single
2524 gnulib library to save space.
2526 ** libgnutls: Several bug fixes.
2528 ** libgnutls: gnutls_transport_set_lowat() is no more.
2530 ** libgnutls-openssl: modified to use modern gnutls' functions.
2531 This introduces an ABI incompatibility with previous versions.
2533 ** libgnutls: Corrected signature generation and verification
2534 in the Certificate Verify message when in TLS 1.2. Reported
2537 ** libgnutlsxx: The C++ interface returns exception on
2538 every error and not only on fatal ones. This allows easier
2541 ** libgnutls: Corrected issue in DHE-PSK ciphersuites that ignored
2544 ** libgnutls: SRP and PSK are no longer set on the default priorities.
2545 They have to be explicitly set.
2547 ** libgnutls: During handshake message verification using DSS
2548 use the hash algorithm required by it.
2550 ** libgnutls: gnutls_recv() return GNUTLS_E_PREMATURE_TERMINATION
2551 on unexpected EOF, instead of GNUTLS_E_UNEXPECTED_PACKET_LENGTH.
2553 ** libgnutls: Added GCM mode (interoperates with tls.secg.org)
2555 ** libgnutls-extra: Inner application extension was removed.
2556 It was never standardized nor published as an RFC.
2558 ** libgnutls: Added new certificate verification functions, that
2559 can provide more details and are more efficient. Check
2560 gnutls_x509_trust_list_*.
2562 ** certtool: Uses the new certificate verification functions for
2565 ** certtool: Added new certificate verification functionality
2566 using the --verify option. Combined with --load-ca-certificate
2567 it can verify a certificate chain against a list of certificates.
2569 ** Several files unnecessarily included <gcrypt.h>; this has been fixed.
2571 ** API and ABI modifications:
2572 gnutls_dtls_set_timeouts: ADDED
2573 gnutls_dtls_get_mtu: ADDED
2574 gnutls_dtls_get_data_mtu: ADDED
2575 gnutls_dtls_set_mtu: ADDED
2576 gnutls_dtls_cookie_send: ADDED
2577 gnutls_dtls_cookie_verify: ADDED
2578 gnutls_dtls_prestate_set: ADDED
2579 gnutls_x509_trust_list_verify_crt: ADDED
2580 gnutls_x509_trust_list_add_crls: ADDED
2581 gnutls_x509_trust_list_add_cas: ADDED
2582 gnutls_x509_trust_list_init: ADDED
2583 gnutls_x509_trust_list_deinit: ADDED
2584 gnutls_cipher_add_auth: ADDED
2585 gnutls_cipher_tag: ADDED
2586 gnutls_psk_netconf_derive_key: REMOVED
2587 gnutls_certificate_verify_peers: REMOVED
2588 gnutls_session_set_finished_function: REMOVED
2589 gnutls_ext_register: REMOVED
2590 gnutls_certificate_get_x509_crls: REMOVED
2591 gnutls_certificate_get_x509_cas: REMOVED
2592 gnutls_certificate_get_openpgp_keyring: REMOVED
2593 gnutls_session_get_server_random: REMOVED
2594 gnutls_session_get_client_random: REMOVED
2595 gnutls_session_get_master_secret: REMOVED
2596 gnutls_ia_allocate_client_credentials: REMOVED
2597 gnutls_ia_allocate_server_credentials: REMOVED
2598 gnutls_ia_enable: REMOVED
2599 gnutls_ia_endphase_send: REMOVED
2600 gnutls_ia_extract_inner_secret: REMOVED
2601 gnutls_ia_free_client_credentials: REMOVED
2602 gnutls_ia_free_server_credentials: REMOVED
2603 gnutls_ia_generate_challenge: REMOVED
2604 gnutls_ia_get_client_avp_ptr: REMOVED
2605 gnutls_ia_get_server_avp_ptr: REMOVED
2606 gnutls_ia_handshake: REMOVED
2607 gnutls_ia_handshake_p: REMOVED
2608 gnutls_ia_permute_inner_secret: REMOVED
2609 gnutls_ia_recv: REMOVED
2610 gnutls_ia_send: REMOVED
2611 gnutls_ia_set_client_avp_function: REMOVED
2612 gnutls_ia_set_client_avp_ptr: REMOVED
2613 gnutls_ia_set_server_avp_function: REMOVED
2614 gnutls_ia_set_server_avp_ptr: REMOVED
2615 gnutls_ia_verify_endphase: REMOVED
2618 * Version 2.12.2 (released 2011-04-08)
2620 ** libgnutls: Several updates and fixes for win32. Patches by LRN.
2622 ** libgnutls: Several bug and memory leak fixes.
2624 ** srptool: Accepts the -d option to enable debugging.
2626 ** libgnutls: Corrected bug in gnutls_srp_verifier() that prevented
2627 the allocation of a verifier. Reported by Andrew Wiseman.
2629 ** API and ABI modifications:
2630 No changes since last version.
2633 * Version 2.12.1 (released 2011-04-02)
2635 ** certtool: Generated certificate request with stricter permissions.
2636 Reported by Luca Capello.
2638 ** libgnutls: Bug fixes in opencdk code. Reported by Vitaly Kruglikov.
2640 ** libgnutls: Corrected windows system_errno() function prototype.
2642 ** libgnutls: C++ compatibility fix for compat.h. Reported by Mark Brand.
2644 ** libgnutls: Fix size of gnutls_openpgp_keyid_t by using the
2645 GNUTLS_OPENPGP_KEYID_SIZE definition. Reported by Andreas Metzler.
2647 ** API and ABI modifications:
2648 No changes since last version.
2653 * Version 2.12.0 (released 2011-03-24)
2655 ** certtool: Warns on generation of DSA keys of over 1024 bits, about
2656 the incompatibility with TLS other than 1.2.
2658 ** libgnutls: Modified signature algorithm selection in client
2659 certificate request, to avoid failures in DSA certificates.
2661 ** libgnutls: Instead of failing with internal error, return
2662 GNUTLS_E_INCOMPAT_DSA_KEY_WITH_TLS_PROTOCOL if an incompatible DSA
2663 key with the negotiated protocol is encountered.
2665 ** libgnutls: Bug fixes in the RSA ciphersuite behavior with openpgp keys.
2667 ** libgnutls: Force state update when fork is detected in the nettle
2670 ** libgnutls: modified gnutls_pubkey_import_openpgp() to use the preferred
2671 subkey instead of setting explicitly one.
2673 ** libgnutls: Corrected default behavior in record version of Client Hellos.
2675 ** libgnutls-openssl: modified to use modern gnutls' functions.
2676 This introduces an ABI incompatibility with previous versions.
2678 ** API and ABI modifications:
2679 gnutls_pubkey_import_openpgp: MODIFIED
2684 ** libgnutls: The deprecated gnutls_x509_privkey_sign_hash() was
2685 replaced by gnutls_privkey_sign_hash2().
2687 ** libgnutls: gnutls_pubkey_verify_data, gnutls_pubkey_verify_hash,
2688 gnutls_x509_privkey_verify_data, gnutls_x509_crt_verify_data,
2689 gnutls_x509_crt_verify_hash return the negative error code
2690 GNUTLS_E_PK_SIG_VERIFY_FAILED if verification fails to simplify error
2693 ** libgnutls: Added helper functions for signature verification:
2694 gnutls_pubkey_verify_data() and gnutls_pubkey_import_privkey().
2696 ** libgnutls: Modified gnutls_privkey_sign_data().
2698 ** gnutls_x509_crl_privkey_sign2(), gnutls_x509_crq_sign2()
2699 gnutls_x509_privkey_sign_hash(), gnutls_x509_privkey_sign_data(),
2700 gnutls_x509_crt_verify_hash(), gnutls_x509_crt_verify_data(), were
2701 deprecated for gnutls_x509_crl_privkey_sign(),
2702 gnutls_x509_crq_privkey_sign(), gnutls_privkey_sign_hash(),
2703 gnutls_privkey_sign_data(), gnutls_pubkey_verify_hash()
2704 gnutls_pubkey_verify_data() respectively.
2706 ** libgnutls: gnutls_*_export_raw() functions now add leading zero in
2709 ** libgnutls: Added convenience functions gnutls_x509_crl_list_import2()
2710 and gnutls_x509_crt_list_import2().
2712 ** crypto.h: Fix use with C++.
2713 Reported by "Brendan Doherty" <brendand@gentrack.com>.
2715 ** API and ABI modifications:
2716 gnutls_x509_crl_list_import: ADDED
2717 gnutls_x509_crl_list_import2: ADDED
2718 gnutls_x509_crt_list_import2: ADDED
2719 gnutls_x509_crl_get_raw_issuer_dn: ADDED
2720 gnutls_pubkey_import_privkey: ADDED
2721 gnutls_pubkey_verify_data: ADDED
2722 gnutls_privkey_sign_hash: MODIFIED (was added in 2.11.0)
2723 gnutls_privkey_sign_data: MODIFIED (was added in 2.11.0)
2724 gnutls_x509_crq_sign2: DEPRECATED (use: gnutls_x509_crq_privkey_sign)
2725 gnutls_x509_crq_sign: DEPRECATED (use: gnutls_x509_crq_privkey_sign)
2726 gnutls_x509_crq_get_preferred_hash_algorithm: REMOVED (was added in 2.11.0)
2727 gnutls_x509_crl_sign: DEPRECATED (use: gnutls_x509_crl_privkey_sign)
2728 gnutls_x509_crl_sign2: DEPRECATED (use: gnutls_x509_crl_privkey_sign)
2729 gnutls_x509_privkey_sign_data: DEPRECATED (use: gnutls_privkey_sign_data2)
2730 gnutls_x509_privkey_sign_hash: DEPRECATED (use: gnutls_privkey_sign_hash2)
2731 gnutls_x509_privkey_verify_data: DEPRECATED (use: gnutls_pubkey_verify_data)
2732 gnutls_session_set_finished_function: DEPRECATED
2733 gnutls_x509_crt_verify_hash: DEPRECATED (use: gnutls_pubkey_verify_hash)
2734 gnutls_x509_crt_verify_data: DEPRECATED (use: gnutls_pubkey_verify_data)
2735 gnutls_x509_crt_get_verify_algorithm: DEPRECATED (use: gnutls_pubkey_get_verify_algorithm)
2736 gnutls_x509_crt_get_preferred_hash_algorithm: DEPRECATED (use: gnutls_pubkey_get_preferred_hash_algorithm)
2737 gnutls_openpgp_privkey_sign_hash: DEPRECATED (use: gnutls_privkey_sign_hash2)
2738 gnutls_pkcs11_privkey_sign_hash: REMOVED (was added in 2.11.0)
2739 gnutls_pkcs11_privkey_decrypt_data: REMOVED (was added in 2.11.0)
2740 gnutls_privkey_sign_hash: REMOVED (was added in 2.11.0)
2742 * Version 2.11.6 (released 2010-12-06)
2744 ** libgnutls: Record version of Client Hellos is now set by default to
2745 SSL 3.0. To restore the previous default behavior use %LATEST_RECORD_VERSION
2748 ** libgnutls: Use ASN1_NULL when writing parameters for RSA signatures.
2749 This makes us comply with RFC3279. Reported by Michael Rommel.
2751 ** gnutls-serv: Corrected a buffer overflow. Reported and patch by Tomas Mraz.
2753 ** API and ABI modifications:
2754 No changes since last version.
2756 * Version 2.11.5 (released 2010-12-01)
2758 ** libgnutls: Reverted default behavior for verification and
2759 introduced GNUTLS_VERIFY_DO_NOT_ALLOW_X509_V1_CA_CRT. Thus by default
2760 V1 trusted CAs are allowed, unless the new flag is specified.
2762 ** libgnutls: Correctly add leading zero to PKCS #8 encoded DSA key.
2763 Reported by Jeffrey Walton.
2765 ** libgnutls: Added SIGN-ALL, CTYPE-ALL, COMP-ALL, and VERS-TLS-ALL
2766 as priority strings. Those allow to set all the supported algorithms
2769 ** p11tool: Introduced. It allows manipulating pkcs 11 tokens.
2771 ** gnutls-cli: Print channel binding only in verbose mode.
2772 Before it printed it after the 'Compression:' output, thus breaking
2773 Emacs starttls.el string searches.
2775 ** API and ABI modifications:
2776 gnutls_pkcs11_token_init: New function
2777 gnutls_pkcs11_token_set_pin: New function
2779 * Version 2.11.4 (released 2010-10-15)
2781 ** libgnutls: Add new API gnutls_session_channel_binding.
2782 The function is used to get the channel binding data. Currently only
2783 the "tls-unique" (RFC 5929) channel binding type is supported, through
2784 the GNUTLS_CB_TLS_UNIQUE type. See new section "Channel Bindings" in
2787 ** gnutls-cli, gnutls-serv: Print 'tls-unique' Channel Bindings.
2789 ** doc: Added pkcs11.h header file to GTK-DOC manual.
2791 ** build: Update gnulib files.
2793 ** i18n: Update translations.
2795 ** tests: Add self tests gendh.c. Speed up Guile self checks.
2797 ** API and ABI modifications:
2798 gnutls_session_channel_binding: New function.
2799 gnutls_channel_binding_t: New enumeration.
2800 GNUTLS_CB_TLS_UNIQUE: New gnutls_channel_binding_t enum member.
2801 GNUTLS_E_CHANNEL_BINDING_NOT_AVAILABLE: New error code.
2803 * Version 2.11.3 (released 2010-10-14)
2805 ** Indent code to follow the GNU Coding Standard.
2806 You should be able to unpack the 2.11.2 release and run 'make indent'
2807 twice to get exactly the same content as 2.11.3 except for generated
2808 files. Using GNU Indent 2.2.11.
2810 ** API and ABI modifications:
2811 No changes since last version.
2813 * Version 2.11.2 (released 2010-10-08)
2815 ** libgnutls: Several bug fixes on session resumption
2816 and session tickets support.
2818 ** libgnutls: Add new extended key usage ipsecIKE.
2820 ** certtool: Renamed PKCS #11 options to: --p11-provider,
2821 --p11-export-url, --p11-list-certs, --p11-list-certs,
2822 --p11-list-privkeys, --p11-list-trusted, --p11-list-all-certs,
2823 --p11-list-all, --p11-list-tokens, --p11-login, --p11-write,
2824 --p11-write-label, --p11-write-trusted, --p11-detailed-url,
2827 ** libgnutls: Corrected bug that caused importing DSA keys as RSA,
2828 introduced with the new nettle code.
2830 ** libgnutls: Corrected advertizing issue for session tickets.
2832 ** API and ABI modifications:
2833 gnutls_x509_crt_get_subject_unique_id: ADDED.
2834 gnutls_x509_crt_get_issuer_unique_id: ADDED.
2836 * Version 2.11.1 (released 2010-09-14)
2838 ** libgnutls: Nettle is the default crypto back end. Use --with-libgcrypt
2839 to use the libgcrypt back end.
2841 ** libgnutls: Depend on nettle 2.1. This makes nettle a fully working
2842 backend crypto library.
2844 ** libgnutls: Added RSA_NULL_SHA1 and SHA256 ciphersuites.
2846 ** libgnutls: Several updates in the buffering internal interface.
2848 ** libgnutls: Is now more liberal in the PEM decoding. That is spaces and
2849 tabs are being skipped.
2851 ** libgnutls: Added support for draft-pechanec-pkcs11uri-02.
2853 ** libgnutls: The %COMPAT flag now allows larger records that violate the
2856 ** libgnutls: by default lowat level has been set to zero to avoid unnecessary
2857 system calls. Applications that depended on it being 1 should explicitly call
2858 gnutls_transport_set_lowat().
2860 ** libgnutls: Updated documentation and gnutls_pk_params_t mappings
2861 to ECRYPT II recommendations. Mappings were moved to a single location
2862 and DSA keys are handled differently (since DSA2 allows for 1024,2048
2863 and 3072 keys only).
2865 ** libgnutls: gnutls_x509_privkey_import() will fallback to
2866 gnutls_x509_privkey_import_pkcs8() without a password, if it
2867 is unable to decode the key.
2869 ** libgnutls: HMAC-MD5 no longer used by default.
2871 ** API and ABI modifications:
2872 gnutls_openpgp_privkey_sec_param: ADDED
2873 gnutls_x509_privkey_sec_param: ADDED
2875 * Version 2.11.0 (released 2010-07-22)
2877 ** libgnutls: support scattered write using writev(). This takes
2878 advantage of the new buffering layer and allows queuing of packets
2879 and flushing them. This is currently used for handshake messages
2882 ** libgnutls: Added gnutls_global_set_mutex() to allow setting
2883 alternative locking procedures. By default the system available
2884 locking is used. In *NIX pthreads are used and in windows the
2885 critical section API. This follows a different approach than the
2886 previous versions that depended on libgcrypt initialization. The
2887 locks are now set by default in systems that support it. Programs
2888 that used gcry_control() to set thread locks should insert it into
2890 #if GNUTLS_VERSION_NUMBER <= 0x020b00
2894 ** libgnutls: Added support for reading DN from EV-certificates.
2896 jurisdictionOfIncorporationLocalityName,
2897 jurisdictionOfIncorporationStateOrProvinceName,
2898 jurisdictionOfIncorporationCountryName
2900 ** libgnutls: Added support for DSA signing/verifying with bit
2903 ** libgnutls-extra: When in FIPS mode gnutls_global_init_extra()
2904 has to be called to register any required md5 handlers.
2906 ** libgnutls: Internal buffering code was replaced by simpler
2907 code contributed by Jonathan Bastien-Filiatrault.
2909 ** libgnutls: Internal API for extensions augmented to allow
2910 safe storing and loading of data on resumption. This allows writing
2911 self-contained extensions (when possible). As a side effect
2912 the OPRFI extension was removed.
2914 ** libgnutls: Added support for DSA-SHA256 and DSA-SHA224
2916 ** libgnutls: Added PKCS #11 support and an API to access objects in
2917 gnutls/pkcs11.h. Currently certificates and public keys can be
2918 imported from tokens, and operations can be performed on private keys.
2920 ** libgnutls: Added abstract gnutls_privkey_t and gnutls_pubkey_t
2922 ** libgnutls: Added initial support for the nettle library. It uses
2923 the system's random generator for seeding. That is /dev/urandom in Linux,
2924 system calls in Win32 and EGD on other systems.
2926 ** libgnutls: Corrected issue on the %SSL3_RECORD_VERSION priority string. It now
2927 works even when resuming a session.
2929 ** libgnutls: Added gnutls_certificate_set_retrieve_function() to replace the
2930 similar gnutls_certificate_set_server_retrieve_function() and
2931 gnutls_certificate_set_client_retrieve_function(). In addition it support
2932 PKCS #11 private keys.
2934 ** libgnutls: Added gnutls_pkcs11_copy_x509_crt(), gnutls_pkcs11_copy_x509_privkey(),
2935 and gnutls_pkcs11_delete_url() to allow copying and deleting data in tokens.
2937 ** libgnutls: Added gnutls_sec_param_to_pk_bits() et al. to allow select bit
2938 sizes for private keys using a human understandable scale.
2940 ** certtool: Added new options: --pkcs11-list-tokens, --pkcs11-list-all
2941 --pkcs11-list-all-certs, --pkcs11-list-trusted, --pkcs11-list-certs,
2942 --pkcs11-delete-url, --pkcs11-write
2944 certtool: The --pkcs-cipher is taken into account when generating a
2945 private key. The default cipher used now is aes-128. The old behavior can
2946 be simulated by specifying "--pkcs-cipher 3des-pkcs12".
2948 certtool: Added --certificate-pubkey to print the public key of the
2951 ** gnutls-cli/gnutls-serv: --x509cafile, --x509certfile and --x509keyfile
2952 can now accept a PKCS #11 URL in addition to a file. This will allow for
2953 example to use the Gnome-keyring trusted certificate list to verify
2954 connections using a url such as:
2955 pkcs11:token=Root%20CA%20Certificates;serial=1%3AROOTS%3ADEFAULT;model=1%2E0;manufacturer=Gnome%20Keyring
2957 ** API and ABI modifications:
2958 gnutls_certificate_set_server_retrieve_function: DEPRECATED
2959 gnutls_certificate_set_client_retrieve_function: DEPRECATED
2960 gnutls_sign_callback_set: DEPRECATED
2961 gnutls_global_set_mutex: ADDED
2962 gnutls_pubkey_get_preferred_hash_algorithm: ADDED
2963 gnutls_x509_crt_get_preferred_hash_algorithm: ADDED
2964 gnutls_x509_privkey_export_rsa_raw2: ADDED
2966 gnutls_sec_param_to_pk_bits: ADDED
2967 gnutls_pk_bits_to_sec_param: ADDED
2968 gnutls_sec_param_get_name: ADDED
2969 gnutls_pkcs11_type_get_name: ADDED
2970 gnutls_certificate_set_retrieve_function: ADDED
2971 gnutls_pkcs11_init: ADDED
2972 gnutls_pkcs11_deinit: ADDED
2973 gnutls_pkcs11_set_pin_function: ADDED
2974 gnutls_pkcs11_set_token_function: ADDED
2975 gnutls_pkcs11_add_provider: ADDED
2976 gnutls_pkcs11_obj_init: ADDED
2977 gnutls_pkcs11_obj_import_url: ADDED
2978 gnutls_pkcs11_obj_export_url: ADDED
2979 gnutls_pkcs11_obj_deinit: ADDED
2980 gnutls_pkcs11_obj_export: ADDED
2981 gnutls_pkcs11_obj_list_import_url: ADDED
2982 gnutls_pkcs11_obj_export: ADDED
2983 gnutls_x509_crt_import_pkcs11: ADDED
2984 gnutls_pkcs11_obj_get_type: ADDED
2985 gnutls_x509_crt_list_import_pkcs11: ADDED
2986 gnutls_x509_crt_import_pkcs11_url: ADDED
2987 gnutls_pkcs11_obj_get_info: ADDED
2988 gnutls_pkcs11_token_get_info: ADDED
2989 gnutls_pkcs11_token_get_url: ADDED
2990 gnutls_pkcs11_privkey_init: ADDED
2991 gnutls_pkcs11_privkey_deinit: ADDED
2992 gnutls_pkcs11_privkey_get_pk_algorithm: ADDED
2993 gnutls_pkcs11_privkey_get_info: ADDED
2994 gnutls_pkcs11_privkey_import_url: ADDED
2995 gnutls_pkcs11_privkey_sign_data: ADDED
2996 gnutls_pkcs11_privkey_sign_hash: ADDED
2997 gnutls_pkcs11_privkey_decrypt_data: ADDED
2998 gnutls_privkey_init: ADDED
2999 gnutls_privkey_deinit: ADDED
3000 gnutls_privkey_get_pk_algorithm: ADDED
3001 gnutls_privkey_get_type: ADDED
3002 gnutls_privkey_import_pkcs11: ADDED
3003 gnutls_privkey_import_x509: ADDED
3004 gnutls_privkey_import_openpgp: ADDED
3005 gnutls_privkey_sign_data: ADDED
3006 gnutls_privkey_sign_hash: ADDED
3007 gnutls_privkey_decrypt_data: ADDED
3008 gnutls_pkcs11_privkey_export_url: ADDED
3009 gnutls_x509_crq_privkey_sign: ADDED
3010 gnutls_x509_crl_privkey_sign: ADDED
3011 gnutls_x509_crt_privkey_sign: ADDED
3012 gnutls_pubkey_init: ADDED
3013 gnutls_pubkey_deinit: ADDED
3014 gnutls_pubkey_get_pk_algorithm: ADDED
3015 gnutls_pubkey_import_x509: ADDED
3016 gnutls_pubkey_import_openpgp: ADDED
3017 gnutls_pubkey_get_pk_rsa_raw: ADDED
3018 gnutls_pubkey_get_pk_dsa_raw: ADDED
3019 gnutls_pubkey_export: ADDED
3020 gnutls_pubkey_get_key_id: ADDED
3021 gnutls_pubkey_get_key_usage: ADDED
3022 gnutls_pubkey_verify_hash: ADDED
3023 gnutls_pubkey_get_verify_algorithm: ADDED
3024 gnutls_pkcs11_type_get_name: ADDED
3025 gnutls_pubkey_import_pkcs11_url: ADDED
3026 gnutls_pubkey_import: ADDED
3027 gnutls_pubkey_import_pkcs11: ADDED
3028 gnutls_pubkey_import_dsa_raw: ADDED
3029 gnutls_pubkey_import_rsa_raw: ADDED
3030 gnutls_x509_crt_set_pubkey: ADDED
3031 gnutls_x509_crq_set_pubkey: ADDED
3032 gnutls_pkcs11_copy_x509_crt: ADDED
3033 gnutls_pkcs11_copy_x509_privkey: ADDED
3034 gnutls_pkcs11_delete_url: ADDED
3036 * Version 2.10.1 (released 2010-07-25)
3038 ** libgnutls: Added support for broken certificates that indicate RSA
3041 ** gnutls-cli: Allow verification using V1 CAs.
3043 ** libgnutls: gnutls_x509_privkey_import() will fallback to
3044 gnutls_x509_privkey_import_pkcs8() without a password, if it
3045 is unable to decode the key.
3047 ** libgnutls: Correctly deinitialize crypto API functions to prevent
3048 a memory leak. Reported by Mads Kiilerich.
3050 ** certtool: If asked to generate DSA keys of size more than 1024 bits,
3051 issue a warning, that the output key might not be working everywhere.
3053 ** certtool: The --pkcs-cipher is taken into account when generating a
3054 private key. The default cipher used now is aes-128. The old behavior
3055 can be simulated by specifying "--pkcs-cipher 3des-pkcs12".
3057 ** API and ABI modifications:
3058 No changes since last version.
3060 * Version 2.10.0 (released 2010-06-25)
3062 ** API and ABI modifications:
3063 No changes since last version.
3065 * Version 2.9.12 (released 2010-06-17)
3067 ** gnutls-cli: Make --starttls work again.
3068 Problem introduced in patch to use read() instead of fgets() committed
3071 ** API and ABI modifications:
3072 No changes since last version.
3074 * Version 2.9.11 (released 2010-06-07)
3076 ** libgnutls: Removed two APIs related to safe renegotiation.
3077 Use priority strings instead. The APIs were
3078 gnutls_safe_negotiation_set_initial and gnutls_safe_renegotiation_set.
3079 (Remember that we don't promise ABI stability during development
3080 series, so this doesn't cause an shared library ABI increment.)
3082 ** tests: More self testing of safe renegotiation extension.
3083 See tests/safe-renegotiation/README for more information.
3085 ** doc: a PDF version of the API reference manual (GTK-DOC) is now built.
3087 ** doc: Terms 'GNUTLS' and 'GNU TLS' were changed to 'GnuTLS' for consistency.
3089 ** API and ABI modifications:
3090 gnutls_safe_negotiation_set_initial: REMOVED.
3091 gnutls_safe_renegotiation_set: REMOVED.
3093 * Version 2.9.10 (released 2010-04-22)
3095 ** libgnutls: Time verification extended to trusted certificate list.
3096 Unless new constant GNUTLS_VERIFY_DISABLE_TRUSTED_TIME_CHECKS flag is
3099 ** certtool: Display postalCode and Name X.509 DN attributes correctly.
3100 Based on patch by Pavan Konjarla. Adds new constant
3101 GNUTLS_OID_X520_POSTALCODE and GNUTLS_OID_X520_NAME.
3103 ** libgnutls: Added Steve Dispensa's patch for safe renegotiation (RFC 5746)
3104 Solves the issue discussed in:
3105 <http://www.ietf.org/mail-archive/web/tls/current/msg03928.html> and
3106 <http://www.ietf.org/mail-archive/web/tls/current/msg03948.html>.
3107 Note that to allow connecting to unpatched servers the full protection
3108 is only enabled if the priority string %SAFE_RENEGOTIATION is
3109 specified. You can check whether protection is in place by querying
3110 gnutls_safe_renegotiation_status(). New error codes
3111 GNUTLS_E_SAFE_RENEGOTIATION_FAILED and
3112 GNUTLS_E_UNSAFE_RENEGOTIATION_DENIED added.
3114 ** libgnutls: When checking openpgp self signature also check the signatures
3116 Ilari Liusvaara noticed and reported the issue and provided test
3119 ** libgnutls: Added cryptodev support (/dev/crypto).
3120 Tested with http://www.logix.cz/michal/devel/cryptodev/. Added
3121 benchmark utility for AES. Adds new error codes
3122 GNUTLS_E_CRYPTODEV_IOCTL_ERROR and GNUTLS_E_CRYPTODEV_DEVICE_ERROR.
3124 ** libgnutls: Exported API to access encryption and hash algorithms.
3125 The new API functions are gnutls_cipher_decrypt, gnutls_cipher_deinit,
3126 gnutls_cipher_encrypt, gnutls_cipher_get_block_size,
3127 gnutls_cipher_init, gnutls_hash, gnutls_hash_deinit, gnutls_hash_fast,
3128 gnutls_hash_get_len, gnutls_hash_init, gnutls_hash_output,
3129 gnutls_hmac, gnutls_hmac_deinit, gnutls_hmac_fast,
3130 gnutls_hmac_get_len, gnutls_hmac_init, gnutls_hmac_output. New API
3131 constants are GNUTLS_MAC_SHA224 and GNUTLS_DIG_SHA224.
3133 ** libgnutls: Added gnutls_certificate_set_verify_function() to allow
3134 verification of certificate upon receipt rather than waiting until the
3135 end of the handshake.
3137 ** libgnutls: Don't send alerts during handshake.
3138 Instead new error code GNUTLS_E_UNKNOWN_SRP_USERNAME is added.
3140 ** certtool: Corrected two issues that affected certificate request generation.
3141 (1) Null padding is added on integers (found thanks to Wilankar Trupti),
3142 (2) In optional SignatureAlgorithm parameters field for DSA keys the DSA
3143 parameters were added. Those were rejected by Verisign. Gnutls no longer adds
3144 those parameters there since other implementations don't do either and having
3145 them does not seem to offer anything (anyway you need the signer's certificate
3146 to verify thus public key will be available). Found thanks to Boyan Kasarov.
3147 This however has the side-effect that public key IDs shown by certtool are
3148 now different than previous gnutls releases.
3149 (3) the option --pgp-certificate-info will verify self signatures
3151 ** certtool: Allow exporting of Certificate requests on DER format.
3153 ** certtool: New option --no-crq-extensions to avoid extensions in CSRs.
3155 ** gnutls-cli: Handle reading binary data from server.
3156 Reported by and tiny patch from Vitaly Mayatskikh
3157 <v.mayatskih@gmail.com> in
3158 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/4096>.
3160 ** minitasn1: Upgraded to libtasn1 version 2.6.
3162 ** i18n: Updated Czech, Dutch, French, Polish, Swedish translation.
3163 ** Added Italian and Simplified Chinese translation.
3164 Thanks to Petr Pisar, Erwin Poeze, Nicolas Provost, Jakub Bogusz,
3165 Daniel Nylander, Sergio Zanchetta, Tao Wei, and Aron Xu.
3167 ** doc: The GTK-DOC manual is significantly improved.
3169 ** API and ABI modifications:
3170 %DISABLE_SAFE_RENEGOTIATION: Added to priority strings (do not use).
3171 %INITIAL_SAFE_RENEGOTIATION: Added to priority strings.
3172 %UNSAFE_RENEGOTIATION: Added to priority strings.
3173 GNUTLS_DIG_SHA224: ADDED.
3174 GNUTLS_E_CRYPTODEV_DEVICE_ERROR: ADDED.
3175 GNUTLS_E_CRYPTODEV_IOCTL_ERROR: ADDED.
3176 GNUTLS_E_SAFE_RENEGOTIATION_FAILED: ADDED.
3177 GNUTLS_E_UNKNOWN_SRP_USERNAME: ADDED.
3178 GNUTLS_E_UNSAFE_RENEGOTIATION_DENIED: ADDED.
3179 GNUTLS_MAC_SHA224: ADDED.
3180 GNUTLS_OID_X520_NAME: ADDED.
3181 GNUTLS_OID_X520_POSTALCODE: ADDED.
3182 GNUTLS_VERIFY_DISABLE_TRUSTED_TIME_CHECKS: ADDED.
3183 GNUTLS_VERSION_MAX: ADDED.
3184 gnutls_certificate_set_verify_function: ADDED.
3185 gnutls_cipher_decrypt: ADDED.
3186 gnutls_cipher_deinit: ADDED.
3187 gnutls_cipher_encrypt: ADDED.
3188 gnutls_cipher_get_block_size: ADDED.
3189 gnutls_cipher_init: ADDED.
3191 gnutls_hash_deinit: ADDED.
3192 gnutls_hash_fast: ADDED.
3193 gnutls_hash_get_len: ADDED.
3194 gnutls_hash_init: ADDED.
3195 gnutls_hash_output: ADDED.
3197 gnutls_hmac_deinit: ADDED.
3198 gnutls_hmac_fast: ADDED.
3199 gnutls_hmac_get_len: ADDED.
3200 gnutls_hmac_init: ADDED.
3201 gnutls_hmac_output: ADDED.
3202 gnutls_safe_negotiation_set_initial: ADDED.
3203 gnutls_safe_renegotiation_set: ADDED.
3204 gnutls_safe_renegotiation_status: ADDED.
3206 * Version 2.9.9 (released 2009-11-09)
3208 ** libgnutls: Cleanups and several bug fixes.
3209 Found by Steve Grubb and Tomas Mraz.
3211 ** Link libgcrypt explicitly to certtool, gnutls-cli, gnutls-serv.
3213 ** Fix --disable-valgrind-tests.
3214 Reported by Ingmar Vanhassel in
3215 <https://savannah.gnu.org/support/?107029>.
3217 ** API and ABI modifications:
3218 No changes since last version.
3220 * Version 2.9.8 (released 2009-11-05)
3222 ** libgnutls: Fix for memory leaks on interrupted handshake.
3223 Reported by Tang Tong.
3225 ** libgnutls: Addition of support for TLS 1.2 signature algorithms
3226 ** extension and certificate verify field.
3227 This requires changes for TLS 1.2 servers and clients that use
3228 callbacks for certificate retrieval. They are now required to check
3229 with gnutls_sign_algorithm_get_requested() whether the certificate
3230 they send complies with the peer's preferences in signature
3233 ** libgnutls: In server side when resuming a session do not overwrite the
3234 ** initial session data with the resumed session data.
3236 ** libgnutls: Added support for AES-128, AES-192 and AES-256 in PKCS #8
3238 This affects also PKCS #12 encoded files. This adds the following new
3239 enums: GNUTLS_CIPHER_AES_192_CBC, GNUTLS_PKCS_USE_PBES2_AES_128,
3240 GNUTLS_PKCS_USE_PBES2_AES_192, GNUTLS_PKCS_USE_PBES2_AES_256.
3242 ** libgnutls: Fix PKCS#12 encoding.
3243 The error you would get was "The OID is not supported.". Problem
3244 introduced for the v2.8.x branch in 2.7.6.
3246 ** certtool: Added the --pkcs-cipher option.
3247 To explicitely specify the encryption algorithm to use.
3249 ** tests: Added "pkcs12_encode" self-test to check PKCS#12 functions.
3251 ** tests: Fix time bomb in chainverify self-test.
3252 Reported by Andreas Metzler <ametzler@downhill.at.eu.org> in
3253 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3925>.
3255 ** tests: Fix expired cert in chainverify self-test.
3257 ** i18n: Vietnamese translation updated.
3258 Thanks to Clytie Siddall.
3260 ** API and ABI modifications:
3261 GNUTLS_CIPHER_AES_192_CBC: ADDED to gnutls/gnutls.h.
3262 GNUTLS_PKCS_USE_PBES2_AES_128: ADDED to gnutls/x509.h.
3263 GNUTLS_PKCS_USE_PBES2_AES_192: ADDED to gnutls/x509.h.
3264 GNUTLS_PKCS_USE_PBES2_AES_256: ADDED to gnutls/x509.h.
3265 GNUTLS_BAG_SECRET: ADDED to gnutls/pkcs12.h.
3266 GNUTLS_DIG_UNKNOWN: ADDED to gnutls/gnutls.h.
3267 gnutls_sign_algorithm_get_requested: ADDED.
3269 * Version 2.9.7 (released 2009-10-06)
3271 ** libgnutls: TLS 1.2 server mode fixes.
3272 Now interoperates against Opera. Contributed by Daiki Ueno.
3274 ** libgnutlsxx: Fix link problems.
3275 Tiny patch from Boyan Kasarov <bkasarov@gmail.com>.
3277 ** guile: Compatibility with guile 2.x.
3278 By Ludovic Courtes <ludovic.courtes@laas.fr>.
3280 ** API and ABI modifications:
3281 No changes since last version.
3283 * Version 2.9.6 (released 2009-09-22)
3285 ** libgnutls: Enable Camellia ciphers by default.
3287 ** API and ABI modifications:
3288 No changes since last version.
3290 * Version 2.9.5 (released 2009-09-10)
3292 ** libgnutls: Add new functions to extract X.509 Issuer Alternative Names.
3293 The new functions are gnutls_x509_crt_get_issuer_alt_name2,
3294 gnutls_x509_crt_get_issuer_alt_name, and
3295 gnutls_x509_crt_get_issuer_alt_othername_oid. Contributed by Brad
3296 Hards <bradh@frogmouth.net>.
3298 ** API and ABI modifications:
3299 gnutls_x509_crt_get_issuer_alt_name2: ADDED.
3300 gnutls_x509_crt_get_issuer_alt_name: ADDED.
3301 gnutls_x509_crt_get_issuer_alt_othername_oid: ADDED.
3303 * Version 2.9.4 (released 2009-09-03)
3305 ** libgnutls: Client-side TLS 1.2 and SHA-256 ciphersuites now works.
3306 The new supported ciphersuites are AES-128/256 in CBC mode with
3307 ANON-DH/RSA/DHE-DSS/DHE-RSA. Contributed by Daiki Ueno. Further,
3308 SHA-256 is now the preferred default MAC (however it is only used with
3311 ** libgnutls: Make OpenPGP hostname checking work again.
3312 The patch to resolve the X.509 CN/SAN issue accidentally broken
3313 OpenPGP hostname comparison.
3315 ** libgnutls: When printing X.509 certificates, handle XMPP SANs better.
3316 Reported by Howard Chu <hyc@symas.com> in
3317 <https://savannah.gnu.org/support/?106975>.
3319 ** Fix use of deprecated types internally.
3320 Use of deprecated types in GnuTLS from now on will lead to a compile
3321 error, to prevent this from happening again.
3323 ** API and ABI modifications:
3324 No changes since last version.
3326 * Version 2.9.3 (released 2009-08-19)
3328 ** libgnutls: Support for TLS tickets was contributed by Daiki Ueno.
3329 The new APIs are gnutls_session_ticket_enable_client,
3330 gnutls_session_ticket_enable_server, and
3331 gnutls_session_ticket_key_generate.
3333 ** gnutls-cli, gnutls-serv: New parameter --noticket to disable TLS tickets.
3335 ** API and ABI modifications:
3336 gnutls_session_ticket_key_generate: ADDED.
3337 gnutls_session_ticket_enable_client: ADDED.
3338 gnutls_session_ticket_enable_server: ADDED.
3340 * Version 2.9.2 (released 2009-08-14)
3342 ** libgnutls: Fix problem with NUL bytes in X.509 CN and SAN fields.
3343 By using a NUL byte in CN/SAN fields, it was possible to fool GnuTLS
3344 into 1) not printing the entire CN/SAN field value when printing a
3345 certificate and 2) cause incorrect positive matches when matching a
3346 hostname against a certificate. Some CAs apparently have poor
3347 checking of CN/SAN values and issue these (arguable invalid)
3348 certificates. Combined, this can be used by attackers to become a
3349 MITM on server-authenticated TLS sessions. The problem is mitigated
3350 since attackers needs to get one certificate per site they want to
3351 attack, and the attacker reveals his tracks by applying for a
3352 certificate at the CA. It does not apply to client authenticated TLS
3353 sessions. Research presented independently by Dan Kaminsky and Moxie
3354 Marlinspike at BlackHat09. Thanks to Tomas Hoger <thoger@redhat.com>
3355 for providing one part of the patch. [GNUTLS-SA-2009-4] [CVE-2009-2730].
3357 ** libgnutls: Fix rare failure in gnutls_x509_crt_import.
3358 The function may fail incorrectly when an earlier certificate was
3359 imported to the same gnutls_x509_crt_t structure.
3361 ** minitasn1: Internal copy updated to libtasn1 v2.3.
3363 ** libgnutls: Fix return value of gnutls_certificate_client_get_request_status.
3364 Before it always returned false. Reported by Peter Hendrickson
3365 <pdh@wiredyne.com> in
3366 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3668>.
3368 ** libgnutls: Fix off-by-one size computation error in unknown DN printing.
3369 The error resulted in truncated strings when printing unknown OIDs in
3370 X.509 certificate DNs. Reported by Tim Kosse
3371 <tim.kosse@filezilla-project.org> in
3372 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3651>.
3374 ** libgnutls: Fix PKCS#12 decryption from password.
3375 The encryption key derived from the password was incorrect for (on
3376 average) 1 in every 128 input for random inputs. Reported by "Kukosa,
3377 Tomas" <tomas.kukosa@siemens-enterprise.com> in
3378 <http://permalink.gmane.org/gmane.network.gnutls.general/1663>.
3380 ** libgnutls: Return correct bit lengths of some MPIs.
3381 gnutls_dh_get_prime_bits, gnutls_rsa_export_get_modulus_bits, and
3382 gnutls_dh_get_peers_public_bits. Before the reported value was
3383 overestimated. Reported by Peter Hendrickson <pdh@wiredyne.com> in
3384 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3607>.
3386 ** libgnutls: Avoid internal error when invoked after GNUTLS_E_AGAIN.
3387 Report and patch by Tim Kosse <tim.kosse@filezilla-project.org> in
3388 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3671>
3390 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3670>.
3392 ** libgnutls: Relax checking of required libtasn1/libgcrypt versions.
3393 Before we required that the runtime library used the same (or more
3394 recent) libgcrypt/libtasn1 as it was compiled with. Now we just check
3395 that the runtime usage is above the minimum required. Reported by
3396 Marco d'Itri <md@linux.it> via Andreas Metzler
3397 <ametzler@downhill.at.eu.org> in <http://bugs.debian.org/540449>.
3399 ** tests: Added new self-test pkcs12_s2k_pem to detect MPI bit length error.
3401 ** tests: Improved test vectors in self-test pkcs12_s2k.
3403 ** tests: Added new self-test dn2 to detect off-by-one size error.
3405 ** tests: Fix failure in "chainverify" because a certificate have expired.
3407 ** API and ABI modifications:
3408 No changes since last version.
3410 * Version 2.9.1 (released 2009-06-08)
3412 ** libgnutls: Fix crash in gnutls_global_init after earlier init/deinit cycle.
3413 Forwarded by Martin von Gagern <Martin.vGagern@gmx.net> from
3414 <http://bugs.gentoo.org/272388>.
3416 ** tests: Added new self-tests init_roundtrip.c to detect previous problem.
3418 ** Reduce stack usage for some CRQ functions.
3420 ** Doc fixes for CRQ functions.
3422 ** API and ABI modifications:
3423 No changes since last version.
3425 * Version 2.9.0 (released 2009-05-28)
3429 ** API and ABI modifications:
3430 No changes since last version.
3432 * Version 2.8.6 (released 2010-03-15)
3434 ** libgnutls: For CSRs, don't null pad integers for RSA/DSA value.
3435 VeriSign rejected CSRs with this padding. Reported by Wilankar Trupti
3436 <trupti.wilankar@hp.com> and Boyan Kasarov <bkasarov@gmail.com>.
3438 Note: As a side effect of this change, the "public key identifier"
3439 value computed for a certificate using this version of GnuTLS will be
3440 different from values computed using earlier versions of GnuTLS.
3442 ** libgnutls: For CSRs on DSA keys, don't add DSA parameters to the
3443 ** optional SignatureAlgorithm parameter field.
3444 VeriSign rejected these CSRs. They are stricly speaking not needed
3445 since you need the signer's certificate to verify the certificate
3446 signature anyway. Reported by Wilankar Trupti
3447 <trupti.wilankar@hp.com> and Boyan Kasarov <bkasarov@gmail.com>.
3449 ** libgnutls: When checking openpgp self signature also check the signatures
3451 Ilari Liusvaara noticed and reported the issue and provided test
3454 ** libgnutls: Cleanups and several bug fixes.
3455 Found by Steve Grubb and Tomas Mraz.
3457 ** Link libgcrypt explicitly to certtool, gnutls-cli, gnutls-serv.
3459 ** Fix --disable-valgrind-tests.
3460 Reported by Ingmar Vanhassel in
3461 <https://savannah.gnu.org/support/?107029>.
3463 ** examples: Use the new APIs for printing X.509 certificate information.
3465 ** Fix build failures on Solaris.
3466 Thanks to Dagobert Michelsen <dam@opencsw.org>.
3468 ** i18n: Updated Czech, Dutch, French, Polish, Swedish and Vietnamese
3469 ** translations. Added Simplified Chinese translation.
3471 ** API and ABI modifications:
3472 No changes since last version.
3474 * Version 2.8.5 (released 2009-11-02)
3476 ** libgnutls: In server side when resuming a session do not overwrite the
3477 ** initial session data with the resumed session data.
3479 ** libgnutls: Fix PKCS#12 encoding.
3480 The error you would get was "The OID is not supported.". Problem
3481 introduced for the v2.8.x branch in 2.7.6.
3483 ** guile: Compatibility with guile 2.x.
3484 By Ludovic Courtes <ludovic.courtes@laas.fr>.
3486 ** tests: Fix expired cert in chainverify self-test.
3488 ** tests: Fix time bomb in chainverify self-test.
3489 Reported by Andreas Metzler <ametzler@downhill.at.eu.org> in
3490 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3925>.
3492 ** API and ABI modifications:
3493 No changes since last version.
3495 * Version 2.8.4 (released 2009-09-18)
3497 ** libgnutls: Enable Camellia ciphers by default.
3499 ** libgnutls: Make OpenPGP hostname checking work again.
3500 The patch to resolve the X.509 CN/SAN issue accidentally broken
3501 OpenPGP hostname comparison.
3503 ** libgnutls: When printing X.509 certificates, handle XMPP SANs better.
3504 Reported by Howard Chu <hyc@symas.com> in
3505 <https://savannah.gnu.org/support/?106975>.
3507 ** API and ABI modifications:
3508 No changes since last version.
3510 * Version 2.8.3 (released 2009-08-13)
3512 ** libgnutls: Fix patch for NUL in CN/SAN in last release.
3513 Code intended to be removed would lead to an read-out-bound error in
3514 some situations. Reported by Tomas Hoger <thoger@redhat.com>. A CVE
3515 code have been allocated for the vulnerability: [CVE-2009-2730].
3517 ** libgnutls: Fix rare failure in gnutls_x509_crt_import.
3518 The function may fail incorrectly when an earlier certificate was
3519 imported to the same gnutls_x509_crt_t structure.
3521 ** libgnutls-extra, libgnutls-openssl: Fix MinGW cross-compiling build error.
3523 ** tests: Made self-test mini-eagain take less time.
3527 ** API and ABI modifications:
3528 No changes since last version.
3530 * Version 2.8.2 (released 2009-08-10)
3532 ** libgnutls: Fix problem with NUL bytes in X.509 CN and SAN fields.
3533 By using a NUL byte in CN/SAN fields, it was possible to fool GnuTLS
3534 into 1) not printing the entire CN/SAN field value when printing a
3535 certificate and 2) cause incorrect positive matches when matching a
3536 hostname against a certificate. Some CAs apparently have poor
3537 checking of CN/SAN values and issue these (arguable invalid)
3538 certificates. Combined, this can be used by attackers to become a
3539 MITM on server-authenticated TLS sessions. The problem is mitigated
3540 since attackers needs to get one certificate per site they want to
3541 attack, and the attacker reveals his tracks by applying for a
3542 certificate at the CA. It does not apply to client authenticated TLS
3543 sessions. Research presented independently by Dan Kaminsky and Moxie
3544 Marlinspike at BlackHat09. Thanks to Tomas Hoger <thoger@redhat.com>
3545 for providing one part of the patch. [GNUTLS-SA-2009-4].
3547 ** libgnutls: Fix return value of gnutls_certificate_client_get_request_status.
3548 Before it always returned false. Reported by Peter Hendrickson
3549 <pdh@wiredyne.com> in
3550 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3668>.
3552 ** libgnutls: Fix off-by-one size computation error in unknown DN printing.
3553 The error resulted in truncated strings when printing unknown OIDs in
3554 X.509 certificate DNs. Reported by Tim Kosse
3555 <tim.kosse@filezilla-project.org> in
3556 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3651>.
3558 ** libgnutls: Return correct bit lengths of some MPIs.
3559 gnutls_dh_get_prime_bits, gnutls_rsa_export_get_modulus_bits, and
3560 gnutls_dh_get_peers_public_bits. Before the reported value was
3561 overestimated. Reported by Peter Hendrickson <pdh@wiredyne.com> in
3562 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3607>.
3564 ** libgnutls: Avoid internal error when invoked after GNUTLS_E_AGAIN.
3565 Report and patch by Tim Kosse <tim.kosse@filezilla-project.org> in
3566 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3671>
3568 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3670>.
3570 ** libgnutls: Relax checking of required libtasn1/libgcrypt versions.
3571 Before we required that the runtime library used the same (or more
3572 recent) libgcrypt/libtasn1 as it was compiled with. Now we just check
3573 that the runtime usage is above the minimum required. Reported by
3574 Marco d'Itri <md@linux.it> via Andreas Metzler
3575 <ametzler@downhill.at.eu.org> in <http://bugs.debian.org/540449>.
3577 ** minitasn1: Internal copy updated to libtasn1 v2.3.
3579 ** tests: Fix failure in "chainverify" because a certificate have expired.
3581 ** API and ABI modifications:
3582 No changes since last version.
3584 * Version 2.8.1 (released 2009-06-10)
3586 ** libgnutls: Fix crash in gnutls_global_init after earlier init/deinit cycle.
3587 Forwarded by Martin von Gagern <Martin.vGagern@gmx.net> from
3588 <http://bugs.gentoo.org/272388>.
3590 ** libgnutls: Fix PKCS#12 decryption from password.
3591 The encryption key derived from the password was incorrect for (on
3592 average) 1 in every 128 input for random inputs. Reported by "Kukosa,
3593 Tomas" <tomas.kukosa@siemens-enterprise.com> in
3594 <http://permalink.gmane.org/gmane.network.gnutls.general/1663>.
3596 ** API and ABI modifications:
3597 No changes since last version.
3599 * Version 2.8.0 (released 2009-05-27)
3601 ** doc: Fix gnutls_dh_get_prime_bits. Fix error codes and algorithm lists.
3603 ** Major changes compared to the v2.4 branch:
3605 *** lib: Linker version scripts reduces number of exported symbols.
3607 *** lib: Limit exported symbols on systems without LD linker scripts.
3609 *** libgnutls: Fix namespace issue with version symbols.
3611 *** libgnutls: Add functions to verify a hash against a certificate.
3612 gnutls_x509_crt_verify_hash: ADDED
3613 gnutls_x509_crt_get_verify_algorithm: ADDED
3615 *** gnutls-serv: Listen on all interfaces, including both IPv4 and IPv6.
3617 *** i18n: The GnuTLS gettext domain is now 'libgnutls' instead of 'gnutls'.
3619 *** certtool: Query for multiple dnsName subjectAltName in interactive mode.
3621 *** gnutls-cli: No longer accepts V1 CAs by default during X.509 chain verify.
3623 *** gnutls-serv: No longer disable MAC padding by default.
3625 *** gnutls-cli: Certificate information output format changed.
3627 *** libgnutls: New priority strings %VERIFY_ALLOW_SIGN_RSA_MD5
3628 *** and %VERIFY_ALLOW_X509_V1_CA_CRT.
3630 *** libgnutls: gnutls_x509_crt_print prints signature algorithm in oneline mode.
3632 *** libgnutls: gnutls_openpgp_crt_print supports oneline mode.
3634 *** libgnutls: gnutls_handshake when sending client hello during a
3635 rehandshake, will not offer a version number larger than the current.
3637 *** libgnutls: New interface to get key id for certificate requests.
3638 gnutls_x509_crq_get_key_id: ADDED.
3640 *** libgnutls: gnutls_x509_crq_print will now also print public key id.
3642 *** certtool: --verify-chain now prints results of using library verification.
3644 *** libgnutls: Libgcrypt initialization changed.
3646 *** libgnutls: Small byte reads via gnutls_record_recv() optimized.
3648 *** gnutls-cli: Return non-zero exit code on error conditions.
3650 *** gnutls-cli: Corrected bug which caused a rehandshake request to be ignored.
3652 *** certtool: allow setting arbitrary key purpose object identifiers.
3654 *** libgnutls: Change detection of when to use a linker version script.
3655 Use --enable-ld-version-script or --disable-ld-version-script to
3656 override auto-detection logic.
3658 *** Fix warnings and build GnuTLS with more warnings enabled.
3660 *** New API to set X.509 credentials from PKCS#12 memory structure.
3661 gnutls_certificate_set_x509_simple_pkcs12_mem: ADDED
3663 *** Old libgnutls.m4 and libgnutls-config scripts removed.
3664 Please use pkg-config instead.
3666 *** libgnutls: Added functions to handle CRL extensions.
3667 gnutls_x509_crl_get_authority_key_id: ADDED
3668 gnutls_x509_crl_get_number: ADDED
3669 gnutls_x509_crl_get_extension_oid: ADDED
3670 gnutls_x509_crl_get_extension_info: ADDED
3671 gnutls_x509_crl_get_extension_data: ADDED
3672 gnutls_x509_crl_set_authority_key_id: ADDED
3673 gnutls_x509_crl_set_number: ADDED
3675 *** libgnutls: Added functions to handle X.509 extensions in Certificate
3677 gnutls_x509_crq_get_key_rsa_raw: ADDED
3678 gnutls_x509_crq_get_attribute_info: ADDED
3679 gnutls_x509_crq_get_attribute_data: ADDED
3680 gnutls_x509_crq_get_extension_info: ADDED
3681 gnutls_x509_crq_get_extension_data: ADDED
3682 gnutls_x509_crq_get_key_usage: ADDED
3683 gnutls_x509_crq_get_basic_constraints: ADDED
3684 gnutls_x509_crq_get_subject_alt_name: ADDED
3685 gnutls_x509_crq_get_subject_alt_othername_oid: ADDED
3686 gnutls_x509_crq_get_extension_by_oid: ADDED
3687 gnutls_x509_crq_set_subject_alt_name: ADDED
3688 gnutls_x509_crq_set_basic_constraints: ADDED
3689 gnutls_x509_crq_set_key_usage: ADDED
3690 gnutls_x509_crq_get_key_purpose_oid: ADDED
3691 gnutls_x509_crq_set_key_purpose_oid: ADDED
3692 gnutls_x509_crq_print: ADDED
3693 gnutls_x509_crt_set_crq_extensions: ADDED
3695 *** certtool: Print and set CRL and CRQ extensions.
3697 *** minitasn1: Internal copy updated to libtasn1 v2.1.
3699 *** examples: Now released into the public domain.
3701 *** The Texinfo and GTK-DOC manuals were improved.
3703 *** Several self-tests were added and others improved.
3705 *** API/ABI changes in GnuTLS 2.8 compared to GnuTLS 2.6.x
3706 No offically supported interfaces have been modified or removed. The
3707 library should be completely backwards compatible on both the source
3710 The shared library no longer exports some symbols that have never been
3711 officially supported, i.e., not mentioned in any of the header files.
3717 Normally when symbols are removed, the shared library version has to
3718 be incremented. This leads to a significant cost for everyone using
3719 the library. Because none of the above symbols have ever been
3720 intended for use by well-behaved applications, we decided that the it
3721 would be better for those applications to pay the price rather than
3722 incurring problems on the majority of applications.
3724 If it turns out that applications have been using unofficial
3725 interfaces, we will need to release a follow-on release on the v2.8
3726 branch to exports additional interfaces. However, initial testing
3727 suggests that few if any applications have been using any of the
3730 Although not a new change compared to 2.6.x, we'd like to remind you
3731 interfaces have been modified so that X.509 chain verification now
3732 also checks activation/expiration times on certificates. The affected
3735 gnutls_x509_crt_list_verify: CHANGED, checks activation/expiration times.
3736 gnutls_certificate_verify_peers: Likewise.
3737 gnutls_certificate_verify_peers2: Likewise.
3738 GNUTLS_CERT_NOT_ACTIVATED: ADDED.
3739 GNUTLS_CERT_EXPIRED: ADDED.
3740 GNUTLS_VERIFY_DISABLE_TIME_CHECKS: ADDED.
3742 This change in behaviour was made during the GnuTLS 2.6.x cycle, and
3743 we gave our rationale for it in earlier release notes.
3745 The following symbols have been added to the library:
3747 gnutls_certificate_set_x509_simple_pkcs12_mem: ADDED
3748 gnutls_x509_crl_get_authority_key_id: ADDED
3749 gnutls_x509_crl_get_extension_data: ADDED
3750 gnutls_x509_crl_get_extension_info: ADDED
3751 gnutls_x509_crl_get_extension_oid: ADDED
3752 gnutls_x509_crl_get_number: ADDED
3753 gnutls_x509_crl_set_authority_key_id: ADDED
3754 gnutls_x509_crl_set_number: ADDED
3755 gnutls_x509_crq_get_attribute_data: ADDED
3756 gnutls_x509_crq_get_attribute_info: ADDED
3757 gnutls_x509_crq_get_basic_constraints: ADDED
3758 gnutls_x509_crq_get_extension_by_oid: ADDED
3759 gnutls_x509_crq_get_extension_data: ADDED
3760 gnutls_x509_crq_get_extension_info: ADDED
3761 gnutls_x509_crq_get_key_id: ADDED.
3762 gnutls_x509_crq_get_key_purpose_oid: ADDED
3763 gnutls_x509_crq_get_key_rsa_raw: ADDED
3764 gnutls_x509_crq_get_key_usage: ADDED
3765 gnutls_x509_crq_get_subject_alt_name: ADDED
3766 gnutls_x509_crq_get_subject_alt_othername_oid: ADDED
3767 gnutls_x509_crq_print: ADDED
3768 gnutls_x509_crq_set_basic_constraints: ADDED
3769 gnutls_x509_crq_set_key_purpose_oid: ADDED
3770 gnutls_x509_crq_set_key_usage: ADDED
3771 gnutls_x509_crq_set_subject_alt_name: ADDED
3772 gnutls_x509_crt_get_verify_algorithm: ADDED
3773 gnutls_x509_crt_set_crq_extensions: ADDED
3774 gnutls_x509_crt_verify_hash: ADDED
3776 The following interfaces have been added to the header files:
3778 GNUTLS_VERSION: ADDED, replaces LIBGNUTLS_VERSION.
3779 GNUTLS_VERSION_MAJOR: ADDED, replaces LIBGNUTLS_VERSION_MAJOR.
3780 GNUTLS_VERSION_MINOR: ADDED, replaces LIBGNUTLS_VERSION_MINOR.
3781 GNUTLS_VERSION_PATCH: ADDED, replaces LIBGNUTLS_VERSION_PATCH.
3782 GNUTLS_VERSION_NUMBER: ADDED, replaces LIBGNUTLS_VERSION_NUMBER.
3783 GNUTLS_EXTRA_VERSION: ADDED, replaces LIBGNUTLS_EXTRA_VERSION.
3785 The following interfaces have been deprecated:
3787 LIBGNUTLS_VERSION: DEPRECATED.
3788 LIBGNUTLS_VERSION_MAJOR: DEPRECATED.
3789 LIBGNUTLS_VERSION_MINOR: DEPRECATED.
3790 LIBGNUTLS_VERSION_PATCH: DEPRECATED.
3791 LIBGNUTLS_VERSION_NUMBER: DEPRECATED.
3792 LIBGNUTLS_EXTRA_VERSION: DEPRECATED.
3794 * Version 2.7.14 (released 2009-05-26)
3796 ** libgnutls: Fix namespace issue with version symbol for libgnutls-extra.
3797 The symbol LIBGNUTLS_EXTRA_VERSION were renamed to
3798 GNUTLS_EXTRA_VERSION. The old symbol will continue to work but is
3801 ** Doc: Several typo fixes in documentation.
3802 Reported by Peter Hendrickson <pdh@wiredyne.com>.
3804 ** API and ABI modifications:
3805 GNUTLS_VERSION: ADDED, replaces LIBGNUTLS_EXTRA_VERSION.
3806 LIBGNUTLS_EXTRA_VERSION: DEPRECATED.
3808 * Version 2.7.13 (released 2009-05-25)
3810 ** libgnutls: Fix version of some exported symbols in the shared library.
3811 Reported by Andreas Metzler <ametzler@downhill.at.eu.org> in
3812 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3576>.
3814 ** tests: Handle recently expired certificates in chainverify self-test.
3815 Reported by Andreas Metzler <ametzler@downhill.at.eu.org> in
3816 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3580>.
3818 ** API and ABI modifications:
3819 No changes since last version.
3821 * Version 2.7.12 (released 2009-05-20)
3823 ** gnutls-serv, gnutls-cli-debug: Make them work on Windows.
3825 ** tests/crq_key_id: Don't read entropy from /dev/random in self-test.
3826 Reported by Andreas Metzler <ametzler@downhill.at.eu.org> in
3827 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3570>.
3829 ** Fix build failures.
3830 Missing sa_family_t and vsnprintf on IRIX. Reported by "Tom
3831 G. Christensen" <tgc@jupiterrise.com> in
3832 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3571>.
3834 ** minitasn1: Internal copy updated to libtasn1 v2.2.
3835 GnuTLS should work fine with libtasn1 v1.x and that is still
3838 ** API and ABI modifications:
3839 No changes since last version.
3841 * Version 2.7.11 (released 2009-05-18)
3843 ** minitasn1: Fix build failure when using internal libtasn1.
3844 Reported by "Tom G. Christensen" <tgc@jupiterrise.com> in
3845 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3548>.
3847 ** libgnutls: Fix build failure with --disable-cxx.
3848 Reported by Andreas Metzler <ametzler@downhill.at.eu.org> in
3849 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3557>.
3851 ** gnutls-serv: Fix build failure for unportable NI_MAXHOST/NI_MAXSERV.
3852 Reported by "Tom G. Christensen" <tgc@jupiterrise.com> in
3853 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3560>
3855 ** Building with many warning flags now requires --enable-gcc-warnings.
3856 This avoids crying wolf for normal compiles.
3858 ** API and ABI modifications:
3859 No changes since last version.
3861 * Version 2.7.10 (released 2009-05-13)
3863 ** examples: Now released into the public domain.
3864 This makes the license of the example code compatible with more
3865 licenses, including the (L)GPL.
3867 ** minitasn1: Internal copy updated to libtasn1 v2.1.
3868 GnuTLS should work fine with libtasn1 v1.x and that is still
3871 ** libgnutls: Fix crash in signature verification
3872 The fix for the CVE-2009-1415 problem wasn't merged completely.
3874 ** doc: Fixes for GTK-DOC output.
3876 ** API and ABI modifications:
3877 No changes since last version.
3879 * Version 2.7.9 (released 2009-05-11)
3881 ** doc: Fix strings in man page of gnutls_priority_init.
3883 ** doc: Fix tables of error codes and supported algorithms.
3885 ** Fix build failure when cross-compiled using MinGW.
3887 ** Fix build failure when LZO is enabled.
3888 Reported by Arfrever Frehtes Taifersar Arahesis
3889 <arfrever.fta@gmail.com> in
3890 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3522>.
3892 ** Fix build failure on systems without AF_INET6, e.g., Solaris 2.6.
3893 Reported by "Tom G. Christensen" <tgc@jupiterrise.com> in
3894 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3524>.
3896 ** Fix warnings in self-tests.
3898 ** API and ABI modifications:
3899 No changes since last version.
3901 * Version 2.7.8 (released 2009-05-03)
3903 ** libgnutls: Fix DSA key generation.
3904 Merged from stable branch. [GNUTLS-SA-2009-2] [CVE-2009-1416]
3906 ** libgnutls: Check expiration/activation time on untrusted certificates.
3907 Merged from stable branch. Reported by Romain Francoise
3908 <romain@orebokech.com>. This changes the semantics of
3909 gnutls_x509_crt_list_verify, which in turn is used by
3910 gnutls_certificate_verify_peers and gnutls_certificate_verify_peers2.
3911 We add two new gnutls_certificate_status_t codes for reporting the new
3912 error condition, GNUTLS_CERT_NOT_ACTIVATED and GNUTLS_CERT_EXPIRED.
3913 We also add a new gnutls_certificate_verify_flags flag,
3914 GNUTLS_VERIFY_DISABLE_TIME_CHECKS, that can be used to disable the new
3915 behaviour. [GNUTLS-SA-2009-3] [CVE-2009-1417]
3917 ** lib: Linker version scripts reduces number of exported symbols.
3918 The linker version script now lists all exported ABIs explicitly, to
3919 avoid accidentally exporting unintended functions. Compared to
3920 before, most symbols beginning with _gnutls* are no longer exported.
3921 These functions have never been intended for use by applications, and
3922 there were no prototypes for these function in the public header
3923 files. Thus we believe it is possible to do this without incrementing
3924 the library ABI version which normally has to be done when removing an
3927 ** lib: Limit exported symbols on systems without LD linker scripts.
3928 Before all symbols were exported. Now we limit the exported symbols
3929 to (for libgnutls and libgnutls-extra) gnutls* and (for libgnutls)
3930 _gnutls*. This is a superset of the actual supported ABI, but still
3931 an improvement compared to before. This is implemented using Libtool
3932 -export-symbols-regex. It is more portable than linker version
3935 ** libgnutls: Incremented CURRENT/AGE libtool version to reflect new symbols.
3936 This should have been done in the last release.
3938 ** gnutls-serv: Listen on all interfaces, including both IPv4 and IPv6.
3939 Reported by Peter Hendrickson <pdh@wiredyne.com> in
3940 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3476>.
3942 ** doc: Improved sections for the info manual.
3943 We now follow the advice given by the texinfo manual on which
3944 directory categories to use. In particular, libgnutls moved from the
3945 'GNU Libraries' section to the 'Software libraries' and the command
3946 line tools moved from 'Network Applications' to 'System
3949 ** API and ABI modifications:
3950 gnutls_x509_crt_list_verify: CHANGED, checks activation/expiration times.
3951 gnutls_certificate_verify_peers: Likewise.
3952 gnutls_certificate_verify_peers2: Likewise.
3953 GNUTLS_CERT_NOT_ACTIVATED: ADDED.
3954 GNUTLS_CERT_EXPIRED: ADDED.
3955 GNUTLS_VERIFY_DISABLE_TIME_CHECKS: ADDED.
3957 * Version 2.7.7 (released 2009-04-20)
3959 ** libgnutls: Applied patch by Cedric Bail to add functions
3960 gnutls_x509_crt_verify_hash() and gnutls_x509_crt_get_verify_algorithm().
3962 ** gnutls.pc: Add -ltasn1 to 'pkg-config --libs --static gnutls' output.
3963 Reported by Andreas Metzler <ametzler@downhill.at.eu.org> in
3964 <http://article.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3467>.
3966 ** minitasn1: Internal copy updated to libtasn1 v1.8.
3967 GnuTLS is also internally ready to be used with libtasn1 v2.0.
3969 ** doc: Fix build failure of errcodes/printlist.
3970 Reported by Roman Bogorodskiy <novel@FreeBSD.org> in
3971 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3435>.
3973 ** i18n: The GnuTLS gettext domain is now 'libgnutls' instead of 'gnutls'.
3974 It is currently only used by the core library. This will enable a new
3975 domain 'gnutls' for translations of the command line tools.
3977 ** Corrected possible memory corruption on signature verification failure.
3978 Reported by Miroslav Kratochvil <exa.exa@gmail.com>
3980 ** API and ABI modifications:
3981 gnutls_x509_crt_verify_hash: ADDED
3982 gnutls_x509_crt_get_verify_algorithm: ADDED
3984 * Version 2.7.6 (released 2009-02-27)
3986 ** certtool: Query for multiple dnsName subjectAltName in interactive mode.
3987 This applies both to generating certificates and certificate requests.
3989 ** pkix.asn: Removed unneeded definitions to reduce memory usage.
3991 ** gnutls-cli: No longer accepts V1 CAs by default during X.509 chain verify.
3992 Use --priority NORMAL:%VERIFY_ALLOW_X509_V1_CA_CRT to permit V1 CAs to
3993 be used for chain verification.
3995 ** gnutls-serv: No longer disable MAC padding by default.
3996 Use --priority NORMAL:%COMPAT to disable MAC padding again.
3998 ** gnutls-cli: Certificate information output format changed.
3999 The tool now uses libgnutls' functions to print certificate
4000 information. This avoids code duplication.
4002 ** libgnutls: New priority strings %VERIFY_ALLOW_SIGN_RSA_MD5
4003 ** and %VERIFY_ALLOW_X509_V1_CA_CRT.
4004 They can be used to override the default certificate chain validation
4007 ** libgnutls: Added %SSL3_RECORD_VERSION priority string that allows to
4008 specify the client hello message record version. Used to overcome buggy
4009 TLS servers. Report by Martin von Gagern.
4011 ** libgnutls: gnutls_x509_crt_print prints signature algorithm in oneline mode.
4013 ** libgnutls: gnutls_openpgp_crt_print supports oneline mode.
4015 ** doc: Update gnutls-cli and gnutls-serv --help output descriptions.
4017 ** API and ABI modifications:
4018 No changes since last version.
4020 * Version 2.7.5 (released 2009-02-06)
4022 ** libgnutls: Accept chains where intermediary certs are trusted.
4023 Before GnuTLS needed to validate the entire chain back to a
4024 self-signed certificate. GnuTLS will now stop looking when it has
4025 found an intermediary trusted certificate. The new behaviour is
4026 useful when chains, for example, contains a top-level CA, an
4027 intermediary CA signed using RSA-MD5, and an end-entity certificate.
4028 To avoid chain validation errors due to the RSA-MD5 cert, you can
4029 explicitly add the intermediary RSA-MD5 cert to your trusted certs.
4030 The signature on trusted certificates are not checked, so the chain
4031 has a chance to validate correctly. Reported by "Douglas E. Engert"
4032 <deengert@anl.gov> in
4033 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3351>.
4035 ** libgnutls: result_size in gnutls_hex_encode now holds
4036 the size of the result. Report by John Brooks <special@dereferenced.net>.
4038 ** libgnutls: gnutls_handshake when sending client hello during a
4039 rehandshake, will not offer a version number larger than the current.
4040 Reported by Tristan Hill <stan@saticed.me.uk>.
4042 ** libgnutls: Permit V1 Certificate Authorities properly.
4043 Before they were mistakenly rejected even though
4044 GNUTLS_VERIFY_ALLOW_ANY_X509_V1_CA_CRT and/or
4045 GNUTLS_VERIFY_ALLOW_X509_V1_CA_CRT were supplied. Reported by
4046 "Douglas E. Engert" <deengert@anl.gov> in
4047 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3351>.
4049 ** API and ABI modifications:
4050 No changes since last version.
4052 * Version 2.7.4 (released 2009-01-07)
4054 ** libgnutls: deprecate X.509 validation chains using MD5 and MD2 signatures.
4055 This is a bugfix -- the previous attempt to do this from internal x509
4056 certificate verification procedures did not return the correct value
4057 for certificates using a weak hash. Reported by Daniel Kahn Gillmor
4058 <dkg@fifthhorseman.net> in
4059 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3332>,
4060 debugged and patch by Tomas Mraz <tmraz@redhat.com> and Daniel Kahn
4061 Gillmor <dkg@fifthhorseman.net>.
4063 ** libgnutls: New interface to get key id for certificate requests.
4064 Patch from David MarÃn Carreño <davefx@gmail.com> in
4065 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3321>.
4067 ** libgnutls: gnutls_x509_crq_print will now also print public key id.
4069 ** certtool: --verify-chain now prints results of using library verification.
4070 Earlier, certtool --verify-chain used its own validation algorithm
4071 which wasn't guaranteed to give the same result as the libgnutls
4072 internal validation algorithm. Now this command print a new final
4073 line with header 'Chain verification output:' that contains the result
4074 from using the internal verification algorithm on the same chain.
4076 ** tests: Add crq_key_id self-test of gnutls_x509_crq_get_key_id.
4078 ** API and ABI modifications:
4079 gnutls_x509_crq_get_key_id: ADDED.
4081 * Version 2.7.3 (released 2008-12-10)
4083 ** libgnutls: Fix chain verification for chains that ends with RSA-MD2 CAs.
4084 Reported by Michael Kiefer <Michael-Kiefer@web.de> in
4085 <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=507633> forwarded by
4086 Andreas Metzler <ametzler@downhill.at.eu.org> in
4087 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3309>.
4089 ** libgnutls: Libgcrypt initialization changed.
4090 If libgcrypt has not already been initialized, GnuTLS will now
4091 initialize libgcrypt with disabled secure memory. Initialize
4092 libgcrypt explicitly in your application if you want to enable secure
4093 memory. Before GnuTLS initialized libgcrypt to use GnuTLS's memory
4094 allocation functions, which doesn't use secure memory, so there is no
4095 real change in behaviour.
4097 ** libgnutls: Fix memory leak in PSK authentication.
4098 Reported by Michael Weiser <michael@weiser.dinsnail.net> in
4099 <http://permalink.gmane.org/gmane.network.gnutls.general/1465>.
4101 ** libgnutls: Small byte reads via gnutls_record_recv() optimized.
4103 ** certtool: Move gcry_control(GCRYCTL_ENABLE_QUICK_RANDOM, 0) call earlier.
4104 It needs to be invoked before libgcrypt is initialized.
4106 ** gnutls-cli: Return non-zero exit code on error conditions.
4108 ** gnutls-cli: Corrected bug which caused a rehandshake request to be ignored.
4110 ** tests: Added chainverify self-test that tests X.509 chain verifications.
4112 ** API and ABI modifications:
4113 No changes since last version.
4115 * Version 2.7.2 (released 2008-11-18)
4117 ** libgnutls: Fix X.509 certificate chain validation error. [GNUTLS-SA-2008-3]
4118 The flaw makes it possible for man in the middle attackers (i.e.,
4119 active attackers) to assume any name and trick GnuTLS clients into
4120 trusting that name. Thanks for report and analysis from Martin von
4121 Gagern <Martin.vGagern@gmx.net>. [CVE-2008-4989]
4123 Any updates with more details about this vulnerability will be added
4124 to <http://www.gnu.org/software/gnutls/security.html>
4126 ** libgnutls: Fix namespace issue with version symbols.
4127 The symbols LIBGNUTLS_VERSION, LIBGNUTLS_VERSION_MAJOR,
4128 LIBGNUTLS_VERSION_MINOR, LIBGNUTLS_VERSION_PATCH, and
4129 LIBGNUTLS_VERSION_NUMBER were renamed to GNUTLS_VERSION_NUMBER,
4130 GNUTLS_VERSION_MAJOR, GNUTLS_VERSION_MINOR, GNUTLS_VERSION_PATCH, and
4131 GNUTLS_VERSION_NUMBER respectively. The old symbols will continue to
4132 work but are deprecated.
4134 ** certtool: allow setting arbitrary key purpose object identifiers.
4136 ** libgnutls: Fix detection of C99 macros, to make debug logging work again.
4138 ** libgnutls: Add missing prototype for gnutls_srp_set_prime_bits.
4139 Reported by Kevin Quick <quick@sparq.org> in
4140 <https://savannah.gnu.org/support/index.php?106454>.
4142 ** libgnutls-extra: Make building with LZO compression work again.
4143 Build failure reported by Arfrever Frehtes Taifersar Arahesis
4144 <arfrever.fta@gmail.com> in
4145 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3194>.
4147 ** libgnutls: Change detection of when to use a linker version script.
4148 Use --enable-ld-version-script or --disable-ld-version-script to
4149 override auto-detection logic.
4151 ** doc: Change license on the manual to GFDLv1.3+.
4153 ** doc: GTK-DOC fixes for new splitted configuration system.
4155 ** doc: Texinfo stylesheet uses white background.
4157 ** tests: Add cve-2008-4989.c self-test.
4158 Tests regressions of the GNUTLS-SA-2008-3 security problem, and the
4159 follow-on problem with crashes on length 1 certificate chains.
4161 ** gnulib: Deprecated modules removed.
4162 Modules include memchr and memcmp.
4164 ** Fix warnings and build GnuTLS with more warnings enabled.
4166 ** minitasn1: Internal copy updated to libtasn1 v1.7.
4168 ** API and ABI modifications:
4169 gnutls_certificate_set_x509_simple_pkcs12_mem: ADDED
4170 GNUTLS_VERSION: ADDED, replaces LIBGNUTLS_VERSION.
4171 GNUTLS_VERSION_MAJOR: ADDED, replaces LIBGNUTLS_VERSION_MAJOR.
4172 GNUTLS_VERSION_MINOR: ADDED, replaces LIBGNUTLS_VERSION_MINOR.
4173 GNUTLS_VERSION_PATCH: ADDED, replaces LIBGNUTLS_VERSION_PATCH.
4174 GNUTLS_VERSION_NUMBER: ADDED, replaces LIBGNUTLS_VERSION_NUMBER.
4175 LIBGNUTLS_VERSION: DEPRECATED.
4176 LIBGNUTLS_VERSION_MAJOR: DEPRECATED.
4177 LIBGNUTLS_VERSION_MINOR: DEPRECATED.
4178 LIBGNUTLS_VERSION_PATCH: DEPRECATED.
4179 LIBGNUTLS_VERSION_NUMBER: DEPRECATED.
4181 * Version 2.7.1 (released 2008-10-31)
4183 ** certtool: print a PKCS #8 key even if it is not encrypted.
4185 ** Old libgnutls.m4 and libgnutls-config scripts removed.
4186 Please use pkg-config instead.
4188 ** Configuration system modified.
4189 There is now a configure script in lib/ and libextra/ as well, because
4190 gnulib works better with a config.h per gnulib directory.
4192 ** API and ABI modifications:
4193 No changes since last version.
4195 * Version 2.7.0 (released 2008-10-16)
4197 ** libgnutls: Added functions to handle CRL extensions.
4199 ** libgnutls: Added functions to handle X.509 extensions in Certificate
4202 ** libgnutls: Improved error string for GNUTLS_E_AGAIN.
4203 Suggested by "Lavrentiev, Anton (NIH/NLM/NCBI) [C]" <lavr@ncbi.nlm.nih.gov>.
4205 ** certtool: Print and set CRL and CRQ extensions.
4207 ** libgnutls-extra: Protect internal symbols with static.
4208 Fixes problem when linking certtool statically. Tiny patch from Aaron
4209 Ucko <ucko@ncbi.nlm.nih.gov>.
4211 ** libgnutls-openssl: fix out of bounds access.
4212 Problem in X509_get_subject_name and X509_get_issuer_name. Tiny patch
4213 from Thomas Viehmann <tv@beamnet.de>.
4215 ** libgnutlsxx: Define server_session::get_srp_username even if no SRP.
4217 ** tests: Make tests compile when using internal libtasn1.
4218 Patch by ludo@gnu.org (Ludovic Courtès).
4220 ** Changed detection of libtasn1 and libgcrypt to avoid depending on *-config.
4221 We now require a libgcrypt that has Camellia constants declared in
4222 gcrypt.h, which means v1.3.0 or later.
4224 ** API and ABI modifications:
4225 gnutls_x509_crl_get_authority_key_id: ADDED
4226 gnutls_x509_crl_get_number: ADDED
4227 gnutls_x509_crl_get_extension_oid: ADDED
4228 gnutls_x509_crl_get_extension_info: ADDED
4229 gnutls_x509_crl_get_extension_data: ADDED
4230 gnutls_x509_crl_set_authority_key_id: ADDED
4231 gnutls_x509_crl_set_number: ADDED
4232 gnutls_x509_crq_get_key_rsa_raw: ADDED
4233 gnutls_x509_crq_get_attribute_info: ADDED
4234 gnutls_x509_crq_get_attribute_data: ADDED
4235 gnutls_x509_crq_get_extension_info: ADDED
4236 gnutls_x509_crq_get_extension_data: ADDED
4237 gnutls_x509_crq_get_key_usage: ADDED
4238 gnutls_x509_crq_get_basic_constraints: ADDED
4239 gnutls_x509_crq_get_subject_alt_name: ADDED
4240 gnutls_x509_crq_get_subject_alt_othername_oid: ADDED
4241 gnutls_x509_crq_get_extension_by_oid: ADDED
4242 gnutls_x509_crq_set_subject_alt_name: ADDED
4243 gnutls_x509_crq_set_basic_constraints: ADDED
4244 gnutls_x509_crq_set_key_usage: ADDED
4245 gnutls_x509_crq_get_key_purpose_oid: ADDED
4246 gnutls_x509_crq_set_key_purpose_oid: ADDED
4247 gnutls_x509_crq_print: ADDED
4248 gnutls_x509_crt_set_crq_extensions: ADDED
4250 * Version 2.6.6 (released 2009-04-30)
4252 ** libgnutls: Corrected double free on signature verification failure.
4253 Reported by Miroslav Kratochvil <exa.exa@gmail.com>. See the advisory
4254 for more details. [GNUTLS-SA-2009-1] [CVE-2009-1415]
4256 ** libgnutls: Fix DSA key generation.
4257 Noticed when investigating the previous GNUTLS-SA-2009-1 problem. All
4258 DSA keys generated using GnuTLS 2.6.x are corrupt. See the advisory
4259 for more details. [GNUTLS-SA-2009-2] [CVE-2009-1416]
4261 ** libgnutls: Check expiration/activation time on untrusted certificates.
4262 Reported by Romain Francoise <romain@orebokech.com>. Before the
4263 library did not check activation/expiration times on certificates, and
4264 was documented as not doing so. We have realized that many
4265 applications that use libgnutls, including gnutls-cli, fail to perform
4266 proper checks. Implementing similar logic in all applications leads
4267 to code duplication. Hence, we decided to check whether the current
4268 time (as reported by the time function) is within the
4269 activation/expiration period of certificates when verifying untrusted
4272 This changes the semantics of gnutls_x509_crt_list_verify, which in
4273 turn is used by gnutls_certificate_verify_peers and
4274 gnutls_certificate_verify_peers2. We add two new
4275 gnutls_certificate_status_t codes for reporting the new error
4276 condition, GNUTLS_CERT_NOT_ACTIVATED and GNUTLS_CERT_EXPIRED. We also
4277 add a new gnutls_certificate_verify_flags flag,
4278 GNUTLS_VERIFY_DISABLE_TIME_CHECKS, that can be used to disable the new
4281 More details about the vulnerabilities will be posted at
4282 <http://www.gnu.org/software/gnutls/security.html>.
4284 ** gnutls-cli, gnutls-cli-debug: Fix AIX build problem.
4285 Reported by LAUPRETRE François (P) <francois.laupretre@ratp.fr> in
4286 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3468>.
4288 ** tests: Fix linking of tests/openpgp/keyring self-test.
4289 Reported by Daniel Black in <https://savannah.gnu.org/support/?106543>.
4291 ** API and ABI modifications:
4292 gnutls_x509_crt_list_verify: CHANGED, checks activation/expiration times.
4293 gnutls_certificate_verify_peers: Likewise.
4294 gnutls_certificate_verify_peers2: Likewise.
4295 GNUTLS_CERT_NOT_ACTIVATED: ADDED.
4296 GNUTLS_CERT_EXPIRED: ADDED.
4297 GNUTLS_VERIFY_DISABLE_TIME_CHECKS: ADDED.
4299 * Version 2.6.5 (released 2009-04-11)
4301 ** libgnutls: Added %SSL3_RECORD_VERSION priority string that allows to
4302 specify the client hello message record version. Used to overcome buggy
4303 TLS servers. Report by Martin von Gagern.
4305 ** GnuTLS no longer uses the libtasn1-config script to find libtasn1.
4306 Libtasn1 0.3.4 or later is required. This is to align with the
4307 upcoming libtasn1 v2.0 release that doesn't have a libtasn1-script.
4309 ** API and ABI modifications:
4310 No changes since last version.
4312 * Version 2.6.4 (released 2009-02-06)
4314 ** libgnutls: Accept chains where intermediary certs are trusted.
4315 Before GnuTLS needed to validate the entire chain back to a
4316 self-signed certificate. GnuTLS will now stop looking when it has
4317 found an intermediary trusted certificate. The new behaviour is
4318 useful when chains, for example, contains a top-level CA, an
4319 intermediary CA signed using RSA-MD5, and an end-entity certificate.
4320 To avoid chain validation errors due to the RSA-MD5 cert, you can
4321 explicitly add the intermediary RSA-MD5 cert to your trusted certs.
4322 The signature on trusted certificates are not checked, so the chain
4323 has a chance to validate correctly. Reported by "Douglas E. Engert"
4324 <deengert@anl.gov> in
4325 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3351>.
4327 ** libgnutls: result_size in gnutls_hex_encode now holds
4328 the size of the result. Report by John Brooks <special@dereferenced.net>.
4330 ** libgnutls: gnutls_handshake when sending client hello during a
4331 rehandshake, will not offer a version number larger than the current.
4332 Reported by Tristan Hill <stan@saticed.me.uk>.
4334 ** libgnutls: Permit V1 Certificate Authorities properly.
4335 Before they were mistakenly rejected even though
4336 GNUTLS_VERIFY_ALLOW_ANY_X509_V1_CA_CRT and/or
4337 GNUTLS_VERIFY_ALLOW_X509_V1_CA_CRT were supplied. Reported by
4338 "Douglas E. Engert" <deengert@anl.gov> in
4339 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3351>.
4341 ** libgnutls: deprecate X.509 validation chains using MD5 and MD2 signatures.
4342 This is a bugfix -- the previous attempt to do this from internal x509
4343 certificate verification procedures did not return the correct value
4344 for certificates using a weak hash. Reported by Daniel Kahn Gillmor
4345 <dkg@fifthhorseman.net> in
4346 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3332>,
4347 debugged and patch by Tomas Mraz <tmraz@redhat.com> and Daniel Kahn
4348 Gillmor <dkg@fifthhorseman.net>.
4350 ** libgnutls: Fix compile error with Sun CC.
4351 Reported by Jeff Cai <jeff.cai@sun.com> in
4352 <https://savannah.gnu.org/support/?106549>.
4354 ** API and ABI modifications:
4355 No changes since last version.
4357 * Version 2.6.3 (released 2008-12-12)
4359 ** libgnutls: Fix chain verification for chains that ends with RSA-MD2 CAs.
4360 Reported by Michael Kiefer <Michael-Kiefer@web.de> in
4361 <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=507633> forwarded by
4362 Andreas Metzler <ametzler@downhill.at.eu.org> in
4363 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3309>.
4365 ** libgnutls: Fix memory leak in PSK authentication.
4366 Reported by Michael Weiser <michael@weiser.dinsnail.net> in
4367 <http://permalink.gmane.org/gmane.network.gnutls.general/1465>.
4369 ** certtool: Move gcry_control(GCRYCTL_ENABLE_QUICK_RANDOM, 0) call earlier.
4370 It needs to be invoked before libgcrypt is initialized.
4372 ** gnutls-cli: Return non-zero exit code on error conditions.
4374 ** gnutls-cli: Corrected bug which caused a rehandshake request to be ignored.
4376 ** API and ABI modifications:
4377 No changes since last version.
4379 * Version 2.6.2 (released 2008-11-12)
4381 ** libgnutls: Fix crash in X.509 validation code for self-signed certificates.
4382 The patch to fix the security problem GNUTLS-SA-2008-3 introduced a
4383 problem for certificate chains that contained just one self-signed
4384 certificate. Reported by Michael Meskes <meskes@debian.org> in
4385 <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=505279>.
4387 ** API and ABI modifications:
4388 No changes since last version.
4390 * Version 2.6.1 (released 2008-11-10)
4392 ** libgnutls: Fix X.509 certificate chain validation error. [GNUTLS-SA-2008-3]
4393 The flaw makes it possible for man in the middle attackers (i.e.,
4394 active attackers) to assume any name and trick GnuTLS clients into
4395 trusting that name. Thanks for report and analysis from Martin von
4396 Gagern <Martin.vGagern@gmx.net>. [CVE-2008-4989]
4398 Any updates with more details about this vulnerability will be added
4399 to <http://www.gnu.org/software/gnutls/security.html>
4401 ** libgnutls: Add missing prototype for gnutls_srp_set_prime_bits.
4402 Reported by Kevin Quick <quick@sparq.org> in
4403 <https://savannah.gnu.org/support/index.php?106454>.
4405 ** libgnutls-extra: Protect internal symbols with static.
4406 Fixes problem when linking certtool statically. Tiny patch from Aaron
4407 Ucko <ucko@ncbi.nlm.nih.gov>.
4409 ** libgnutls-openssl: Fix patch against X509_get_issuer_name.
4410 It incorrectly returned the subject DN instead of issuer DN in v2.6.0.
4411 Thanks to Thomas Viehmann <tv@beamnet.de> for report.
4413 ** certtool: Print a PKCS #8 key even if it is not encrypted.
4415 ** tests: Make tests compile when using internal libtasn1.
4416 Patch by ludo@gnu.org (Ludovic Courtès).
4418 ** API and ABI modifications:
4419 No changes since last version.
4421 * Version 2.6.0 (released 2008-10-06)
4423 ** libgnutls: Correct printing and parsing of IPv6 addresses.
4425 ** libgnutls-openssl: fix out of bounds access.
4426 Problem in X509_get_subject_name and X509_get_issuer_name. Tiny patch
4427 from Thomas Viehmann <tv@beamnet.de>.
4429 ** certtool: Use inet_pton for parsing IPv6 addresses.
4431 ** Major changes compared to the v2.4 branch:
4433 *** Added API to replace and update the crypto backend.
4435 *** certtool: can add several subject alternative names via template file.
4437 *** opencdk: Parse (but not decrypt) encrypted secret keys.
4439 *** libgnutls: gnutls_x509_crt_set_subject_alt_name() was added that can
4440 either set or append alternative names. It can also handle binary structures
4441 such as IP addresses.
4443 *** libgnutls: New function to set minimum acceptable SRP bits.
4444 The function is gnutls_srp_set_prime_bits.
4446 *** libgnutls: Add interface to deal with public key and signature algorithms.
4447 The functions are called gnutls_pk_list, gnutls_pk_get_id,
4448 gnutls_sign_list, and gnutls_sign_get_id.
4450 *** libgnutls: New interfaces to get name of public key and signing algorithms.
4451 The functions are gnutls_sign_get_name and gnutls_pk_get_name.
4453 *** libgnutls: New API to get a string corresponding to a error symbol.
4454 The function is gnutls_strerror_name.
4456 *** libgnutls: New API to set the public parameters in a certificate request
4457 *** from a private key.
4458 The function is gnutls_x509_crq_set_key_rsa_raw.
4460 *** libgnutls: New API to set a callback to extract TLS Finished data.
4461 The function to register is gnutls_session_set_finished_function and
4462 it takes a callback of the gnutls_finished_callback_func type.
4464 *** libgnutls: Fix namespace problem with TLS_MASTER_SIZE and TLS_RANDOM_SIZE.
4466 *** libgnutls: New interface to register a new TLS extension handler.
4467 The new function gnutls_ext_register can be used to register handlers
4468 for specific TLS extension types. The callback functions have the new
4469 types gnutls_ext_recv_func and gnutls_ext_send_func. A type to
4470 classify TLS extensions, gnutls_ext_parse_type_t, has been added as
4473 *** libgnutls-extra: Add function to work with Libgcrypt in FIPS mode.
4474 The function is gnutls_register_md5_handler. When libgcrypt is in
4475 FIPS mode, MD5 is disabled, but TLS normally requires use of MD5 in
4478 *** API/ABI changes in GnuTLS 2.6
4479 No functions have been removed or modified. The library should be
4480 fully backwards compatible on both the source and binary level.
4482 A new header file <gnutls/crypto.h> have been added. It contains
4483 definitions related to replacing the internal crypto functionality.
4484 All definitions and the header itself is experimental but supported.
4486 We have realized that the symbols TLS_MASTER_SIZE and TLS_RANDOM_SIZE
4487 does not use the normal namespace. We have added GNUTLS_MASTER_SIZE
4488 and GNUTLS_RANDOM_SIZE, but the old symbols are still defined.
4490 The following functions have been added to libgnutls:
4494 gnutls_crypto_bigint_register2
4495 gnutls_crypto_cipher_register2
4496 gnutls_crypto_digest_register2
4497 gnutls_crypto_mac_register2
4498 gnutls_crypto_pk_register2
4499 gnutls_crypto_rnd_register2
4500 gnutls_crypto_single_cipher_register2
4501 gnutls_crypto_single_digest_register2
4502 gnutls_crypto_single_mac_register2
4507 gnutls_session_set_finished_function
4509 gnutls_sign_get_name
4511 gnutls_srp_set_prime_bits:
4512 gnutls_strerror_name
4513 gnutls_x509_crq_set_key_rsa_raw
4514 gnutls_x509_crt_set_crl_dist_points2
4515 gnutls_x509_crt_set_subject_alt_name
4517 The following functions have been added to libgnutls-extra:
4519 gnutls_register_md5_handler
4521 ** API and ABI modifications:
4522 No changes since last version.
4524 * Version 2.5.9 (released 2008-09-29)
4526 ** libgnutls: Fix several memory leaks.
4527 Reported by Sam Varshavchik <mrsam@courier-mta.com>.
4529 ** libgnutls: Fix buffer overrun in gnutls_x509_crt_list_import.
4530 Report and patch by Jonathan Manktelow.
4532 ** libgnutls: crypto.h gnutls_pk_params_st changes allocation strategy.
4533 The parameters are now allocated in the structure itself.
4535 ** doc: Texinfo HTML manual uses a stylesheet to improve readability.
4537 ** tests: Scripts now use EXEEXT properly.
4538 Modern libtool doesn't create wrapper script, so the self tests need
4539 to invoke certtool.exe under MinGW32+Wine.
4541 ** Uses autoconf 2.63, automake 1.10.1, libtool 2.2.6a.
4542 Automake warnings are now also enabled.
4544 ** API and ABI modifications:
4545 gnutls_pk_params_st: MODIFIED
4547 * Version 2.5.8 (released 2008-09-21)
4549 ** certtool: updated so it can add several subject alternative names using
4552 ** libgnutls: gnutls_x509_crt_set_subject_alt_name() was added that can
4553 either set or append alternative names. It can also handle binary structures
4554 such as IP addresses.
4556 ** libgnutls: Fix crash in hashing code when using non-libgcrypt handlers.
4558 ** libgnutls: New function to set minimum acceptable SRP bits.
4559 The function is gnutls_srp_set_prime_bits. Tiny patch by Kevin Quick
4560 <quick@sparq.org> in <https://savannah.gnu.org/support/index.php?106454>.
4562 ** libgnutls: Check for overflows in gnutls_calloc and gnutls_secure_calloc.
4563 Also fix overflows in calls to those functions. Reported by Werner
4564 Koch <wk@gnupg.org>.
4566 ** libgnutls-extra: Add function to work with Libgcrypt in FIPS mode.
4567 The function is gnutls_register_md5_handler. When libgcrypt is in
4568 FIPS mode, MD5 is disabled, but TLS normally requires use of MD5 in
4571 ** Opencdk: Add calls to gnutls_assert to ease debugging.
4575 ** API and ABI modifications:
4576 gnutls_srp_set_prime_bits: ADDED
4577 gnutls_register_md5_handler: ADDED
4578 gnutls_x509_crt_set_crl_dist_points2: ADDED
4579 gnutls_x509_crt_set_subject_alt_name: ADDED
4581 * Version 2.5.7 (released 2008-09-16)
4583 ** libgnutls: New interfaces to get name of public key and signing algorithms.
4584 The functions are gnutls_sign_get_name and gnutls_pk_get_name.
4586 ** libgnutls: Don't crash when gnutls_credentials_set is called twice.
4588 ** libgnutls: Fix libgnutls shared library version.
4589 It wasn't properly incremented after adding symbols in the last
4592 ** manual: Now mention supported public key and public key signing algorithms.
4594 ** tests/openssl: initialize gnutls before use.
4596 ** tests/setcredcrash: New test to catch regressions of gnutls_credentials_set.
4598 ** GTK-DOC manual: mention new symbols in 2.6.x. Mention crypto.h functions.
4600 ** API and ABI modifications:
4601 gnutls_sign_get_name: ADDED
4602 gnutls_pk_get_name: ADDED
4604 * Version 2.5.6 (released 2008-09-08)
4606 ** libgnutls: Add interface to deal with public key and signature algorithms.
4607 The functions are called gnutls_pk_list, gnutls_pk_get_id,
4608 gnutls_sign_list, and gnutls_sign_get_id. Suggested by Sam
4609 Varshavchik <mrsam@courier-mta.com>.
4611 ** libgnutls: Refactor and clean up some code.
4613 ** libgnutls: Fix compile error with Sun CC.
4615 ** gnutls-cli: Improve --list output to include public key and signature algs.
4617 ** gnutls-cli, gnutls-serv: Remove --copyright parameter.
4618 Use standard --version to get license info.
4620 ** gnutls-cli.1: Document all new parameters.
4621 Thanks to James Westby <jw+debian@jameswestby.net>.
4623 ** tests: New self-test pgps2kgnu to test parsing of encrypted secrets.
4624 Contributed by Daniel Kahn Gillmor <dkg-debian.org@fifthhorseman.net>.
4626 ** API and ABI modifications:
4627 gnutls_pk_list: ADDED
4628 gnutls_pk_get_id: ADDED
4629 gnutls_sign_list: ADDED
4630 gnutls_sign_get_id: ADDED
4632 * Version 2.5.5 (released 2008-08-29)
4634 ** libgnutls: New API to get a string corresponding to a error symbol.
4635 The function is gnutls_strerror_name.
4637 ** libgnutls: Fix include paths so that building with internal libtasn1 works.
4638 Reported by "jth.net ApS" <info@jth.net>.
4640 ** libgnutls: Fix segmentation fault when generating private keys.
4641 Reported by Daniel Kahn Gillmor <dkg-debian.org@fifthhorseman.net>.
4643 ** libgnutls: Remove code to import certificate chains in PKCS#7 format.
4644 The code has not worked since v0.9.0 and apparently nobody has missed
4645 it, so we decided to remove the code rather than fix it. If you have
4646 old certificate chains stored in PKCS#7 format, you can convert them
4647 to a list of PEM certificates by using 'certtool --p7-info'. Reported
4648 by Christian Grothoff <christian@grothoff.org>.
4650 ** opencdk: Parse (but not decrypt) encrypted secret keys.
4651 Contributed by Daniel Kahn Gillmor <dkg-debian.org@fifthhorseman.net>.
4653 ** libgnutls: Fix many warnings.
4655 ** Included copy of libtasn1 is upgraded to version 1.5.
4657 ** Add French translation, thanks to Nicolas Provost.
4659 ** API and ABI modifications:
4660 gnutls_strerror_name: ADDED
4662 * Version 2.5.4 (released 2008-08-19)
4664 ** Fix secure memory initialization of libgcrypt.
4665 Reported by Joe Orton <joe@manyfish.co.uk> in
4666 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/2992>.
4669 Reference to NIST SP 800-57 in the manual on key size recommendations.
4670 Added 'Since:' tags to new APIs for gtk-doc.
4672 ** API and ABI modifications:
4673 No changes since last version.
4675 * Version 2.5.3 (released 2008-08-14)
4677 ** libgnutls: New API to set the public parameters in a certificate request
4678 ** from a private key.
4679 The function is gnutls_x509_crq_set_key_rsa_raw. Inspired by
4680 discussion with "Zach C." <fxchip@gmail.com>.
4682 ** libgnutls: New API to set a callback to extract TLS Finished data.
4683 The function to register is gnutls_session_set_finished_function and
4684 it takes a callback of the gnutls_finished_callback_func type.
4686 ** libgnutls: Drop final comma after GNUTLS_CRT_PRINT_UNSIGNED_FULL in enum.
4687 Reported in <https://savannah.gnu.org/support/?106453>.
4689 ** libgnutls: Fix namespace problem with TLS_MASTER_SIZE and TLS_RANDOM_SIZE.
4690 The new names are GNUTLS_MASTER_SIZE and GNUTLS_RANDOM_SIZE. The old
4691 names are mapped to the new names in compat.h. These mappings will
4692 likely be removed more quickly than other mappings in that file due to
4693 the namespace violation.
4695 ** libgnutlsxx: Make it build when SRP is disabled.
4697 ** doc: Add doxygen files in doc/doxygen/.
4699 ** API and ABI modifications:
4700 gnutls_x509_crq_set_key_rsa_raw: ADDED
4701 gnutls_session_set_finished_function: ADDED
4702 gnutls_finished_callback_func: ADDED
4703 GNUTLS_MASTER_SIZE: ADDED
4704 GNUTLS_RANDOM_SIZE: ADDED
4705 TLS_MASTER_SIZE: DEPRECATED
4706 TLS_RANDOM_SIZE: DEPRECATED
4708 * Version 2.5.2 (released 2008-07-08)
4710 ** libgnutls: Fix bug in gnutls_dh_params_generate2.
4711 The prime and generator was swapped.
4713 ** libgnutls: New interface to register a new TLS extension handler.
4714 The new function gnutls_ext_register can be used to register handlers
4715 for specific TLS extension types. The callback functions have the new
4716 types gnutls_ext_recv_func and gnutls_ext_send_func. A type to
4717 classify TLS extensions, gnutls_ext_parse_type_t, has been added as
4720 ** Move more code for TLS/IA extension from libgnutls to libgnutls-extra.
4721 This was made possible by using the new gnutls_ext_register interface.
4722 The TLS/IA functionality has only been supported through the
4723 libgnutls-extra library, so it makes sense for the code to belong
4726 ** API and ABI modifications:
4727 gnutls_ext_recv_func: ADDED
4728 gnutls_ext_send_func: ADDED
4729 gnutls_ext_parse_type_t: ADDED
4730 gnutls_ext_register: ADDED
4732 * Version 2.5.1 (released 2008-07-02)
4736 ** API and ABI modifications:
4737 No changes since last version.
4739 * Version 2.5.0 (released 2008-07-02)
4741 ** Port fixes from v2.4.1 release, see below.
4743 ** Added API to replace and update the crypto backend.
4744 The header gnutls/crypto.h is now officially supported, and declares
4747 ** Rewritten opencdk crypto backend, to use the gnutls internal one.
4749 ** Update gnulib and translations.
4750 The gnulib gc crypto code has been removed since it was never finished
4751 and is no longer even used. An internal non-libgcrypt crypto
4752 implementation may be added in the future, but we'll decide that later
4755 ** API and ABI modifications:
4756 gnutls_crypto_bigint_register2: ADDED.
4757 gnutls_crypto_cipher_register2: ADDED.
4758 gnutls_crypto_digest_register2: ADDED.
4759 gnutls_crypto_mac_register2: ADDED.
4760 gnutls_crypto_pk_register2: ADDED.
4761 gnutls_crypto_rnd_register2: ADDED.
4762 gnutls_crypto_single_cipher_register2: ADDED.
4763 gnutls_crypto_single_digest_register2: ADDED.
4764 gnutls_crypto_single_mac_register2: ADDED.
4766 * Version 2.4.3 (released 2009-02-06)
4768 ** libgnutls: Accept chains where intermediary certs are trusted.
4769 Before GnuTLS needed to validate the entire chain back to a
4770 self-signed certificate. GnuTLS will now stop looking when it has
4771 found an intermediary trusted certificate. The new behaviour is
4772 useful when chains, for example, contains a top-level CA, an
4773 intermediary CA signed using RSA-MD5, and an end-entity certificate.
4774 To avoid chain validation errors due to the RSA-MD5 cert, you can
4775 explicitly add the intermediary RSA-MD5 cert to your trusted certs.
4776 The signature on trusted certificates are not checked, so the chain
4777 has a chance to validate correctly. Reported by "Douglas E. Engert"
4778 <deengert@anl.gov> in
4779 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3351>.
4781 ** libgnutls: Permit V1 Certificate Authorities properly.
4782 Before they were mistakenly rejected even though
4783 GNUTLS_VERIFY_ALLOW_ANY_X509_V1_CA_CRT and/or
4784 GNUTLS_VERIFY_ALLOW_X509_V1_CA_CRT were supplied. Reported by
4785 "Douglas E. Engert" <deengert@anl.gov> in
4786 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3351>.
4788 ** libgnutls: deprecate X.509 validation chains using MD5 and MD2 signatures.
4789 This is a bugfix -- the previous attempt to do this from internal x509
4790 certificate verification procedures did not return the correct value
4791 for certificates using a weak hash. Reported by Daniel Kahn Gillmor
4792 <dkg@fifthhorseman.net> in
4793 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3332>,
4794 debugged and patch by Tomas Mraz <tmraz@redhat.com> and Daniel Kahn
4795 Gillmor <dkg@fifthhorseman.net>.
4797 ** libgnutls: Fix chain verification for chains that ends with RSA-MD2 CAs.
4798 Reported by Michael Kiefer <Michael-Kiefer@web.de> in
4799 <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=507633> forwarded by
4800 Andreas Metzler <ametzler@downhill.at.eu.org> in
4801 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3309>.
4803 ** libgnutls: Fix crash in X.509 validation code for self-signed certificates.
4804 The patch to fix the security problem GNUTLS-SA-2008-3 introduced a
4805 problem for certificate chains that contained just one self-signed
4806 certificate. Reported by Michael Meskes <meskes@debian.org> in
4807 <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=505279>.
4809 ** libgnutls: Fix X.509 certificate chain validation error. [GNUTLS-SA-2008-3]
4810 The flaw makes it possible for man in the middle attackers (i.e.,
4811 active attackers) to assume any name and trick GnuTLS clients into
4812 trusting that name. Thanks for report and analysis from Martin von
4813 Gagern <Martin.vGagern@gmx.net>. [CVE-2008-4989]
4815 Any updates with more details about this vulnerability will be added
4816 to <http://www.gnu.org/software/gnutls/security.html>
4818 ** libgnutls: Fix buffer overrun in gnutls_x509_crt_list_import.
4819 Report and patch by Jonathan Manktelow.
4821 ** libgnutls: Avoid use of non-thread safe strerror.
4823 ** API and ABI modifications:
4824 No changes since last version.
4826 * Version 2.4.2 (released 2008-09-15)
4828 ** libgnutls: Don't crash when gnutls_credentials_set is called twice.
4830 ** libgnutls: Corrected memory leak in X.509 functions.
4831 Thanks to Colin Leroy <colin@colino.net>.
4833 ** libgnutls: Fix compile error with Sun CC.
4835 ** gnutls-cli.1: Document all new parameters.
4836 Thanks to James Westby <jw+debian@jameswestby.net>.
4838 ** tests/openssl: initialize gnutls before use.
4839 Fixes crash with libgcrypt 1.4.2. Reported by Ludovic Courtes
4840 <ludovic.courtes@laas.fr>.
4842 ** doc/: Fix texinfo markup for old texinfo versions.
4844 ** Included copy of libtasn1 is upgraded to version 1.5.
4846 ** API and ABI modifications:
4847 No changes since last version.
4849 * Version 2.4.1 (released 2008-06-30)
4851 ** libgnutls: Fix local crash in gnutls_handshake. [GNUTLS-SA-2008-2]
4852 If the gnutls_handshake function is called for a normal session, which
4853 can happen for re-handshakes, the library would crash because it tried
4854 to hash some data using a libgcrypt handle that had been deallocated.
4855 Report and tiny patch from Tomas Mraz <tmraz@redhat.com>. Any updates
4856 with more details about this vulnerability will be added to
4857 <http://www.gnu.org/software/gnutls/security.html>
4859 ** libgnutls: Fix memory leaks when doing a re-handshake.
4860 Reported by Sam Varshavchik <mrsam@courier-mta.com> in
4861 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/2928>.
4863 ** Fix compiler warnings.
4864 Reported by Massimo Gaspari <massimo.gaspari@alice.it> in
4865 <http://thread.gmane.org/gmane.network.gnutls.general/1281>.
4867 ** Fix ordering of -I's to avoid opencdk.h conflict with system headers.
4868 Reported by Roman Bogorodskiy <novel@FreeBSD.org> in
4869 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/2930>.
4871 ** srptool: Fix a problem where --verify check does not succeed.
4872 Report and tiny patch by Matthias Koenig <mkoenig@suse.de> in
4873 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/2944>.
4875 ** API and ABI modifications:
4876 No changes since last version.
4878 * Version 2.4.0 (released 2008-06-19)
4880 ** Major changes compared to the v2.2 branch:
4882 *** The OpenPGP sub-system has been improved and now supports subkeys.
4884 *** The PSK sub-system has been improved and now supports password
4885 *** derivation and PSK identity hints.
4886 The password derivation algorithms support is documented in
4887 draft-ietf-netconf-tls-02.txt.
4889 *** The certtool --inder and --outder has been replaced by --inraw and --outraw.
4890 This aligns terminology with OpenPGP, which doesn't use DER encoding.
4891 The old parameters will continue to work for some time.
4893 *** Certtool now confirm passwords and changes permissions of private key files.
4895 *** The default handshake size limit has been increased to 48kb.
4896 It appears as if some valid handshakes are large due to sending many
4897 CA certificates. (The earlier limit was 16kb.)
4899 *** LZO compression is now disabled by default.
4900 The main reason is that LZO compression in TLS is not standardized,
4901 but license compatiblity issues with minilzo triggered us to make this
4904 *** Improvements for cross-compilation to Windows and OpenWRT.
4906 *** The look of the GTK-DOC manual has been improved.
4907 Major developer visible changes compared to the v2.2 branch:
4909 *** Full OpenPGP support is part of libgnutls, licensed under the LGPL.
4911 *** New APIs to access the raw X.509 Subject and Issuer DN's and
4912 *** elements from the certificate credentials structure.
4913 Thanks to Joe Orton.
4915 *** New APIs to improve working with username/passwords and PSK.
4917 *** Names of constants to affect certificate printing changed.
4918 The constants are used for OpenPGP too, which the names didn't
4919 reflect, so the following name change has been made:
4922 GNUTLS_X509_CRT_FULL GNUTLS_CRT_PRINT_FULL
4923 GNUTLS_X509_CRT_ONELINE GNUTLS_CRT_PRINT_ONELINE
4924 GNUTLS_X509_CRT_UNSIGNED_FULL GNUTLS_CRT_PRINT_UNSIGNED_FULL
4926 The old names will be mapped to the new names for some time.
4928 *** The function gnutls_openpgp_privkey_get_id has been renamed to
4929 *** gnutls_openpgp_privkey_get_key_id.
4930 A compatibility mapping exists to avoid breaking API backwards
4933 *** Replaced all uses of alloca with malloc and free.
4935 *** We no longer build with -D_REENTRANT -D_THREAD_SAFE.
4936 We have been unable to find a documented rationale for this practice.
4938 *** Of course, many smaller fixes have been made, see the ChangeLog file.
4940 *** API/ABI changes in GnuTLS 2.4
4941 All OpenPGP related functions have been moved from libgnutls-extra to
4942 libgnutls, and several new functions have been added (see below).
4943 Before making the release, we discussed whether moving functions from
4944 libgnutls-extra to libgnutls would require us to increment the ABI
4945 version, but the general opinion was that this would not be required.
4946 All older functions continue to work the same. We are open to the
4947 possibility that this decision will lead to problem on some platform,
4948 and if it turns out that the Right Thing should have been to increment
4949 the shared library version, we would need to release an update within
4950 the 2.4.x branch that increments the shared library version.
4952 This release adds the following functions:
4954 gnutls_psk_client_get_hint
4955 gnutls_psk_set_server_credentials_hint
4956 gnutls_psk_netconf_derive_key
4958 Used to get/set the PSK identity hint, and derive PSK keys from
4959 passwords a'la netconf.
4961 gnutls_x509_dn_deinit
4962 gnutls_x509_dn_export
4963 gnutls_x509_dn_import
4966 Used to handle X.509 Certificate DN's directly.
4970 Converts a data buffer to hex. Useful for handling PSK/SRP shared
4973 gnutls_certificate_get_x509_cas
4974 gnutls_certificate_get_x509_crls
4975 gnutls_certificate_get_openpgp_keyring
4977 Functions for direct access to credential elements.
4979 gnutls_openpgp_crt_get_auth_subkey
4980 gnutls_openpgp_crt_get_key_id
4981 gnutls_openpgp_crt_get_pk_dsa_raw
4982 gnutls_openpgp_crt_get_pk_rsa_raw
4983 gnutls_openpgp_crt_get_preferred_key_id
4984 gnutls_openpgp_crt_get_revoked_status
4985 gnutls_openpgp_crt_get_subkey_count
4986 gnutls_openpgp_crt_get_subkey_creation_time
4987 gnutls_openpgp_crt_get_subkey_expiration_time
4988 gnutls_openpgp_crt_get_subkey_fingerprint
4989 gnutls_openpgp_crt_get_subkey_id
4990 gnutls_openpgp_crt_get_subkey_idx
4991 gnutls_openpgp_crt_get_subkey_pk_algorithm
4992 gnutls_openpgp_crt_get_subkey_pk_dsa_raw
4993 gnutls_openpgp_crt_get_subkey_pk_rsa_raw
4994 gnutls_openpgp_crt_get_subkey_revoked_status
4995 gnutls_openpgp_crt_get_subkey_usage
4996 gnutls_openpgp_crt_print
4997 gnutls_openpgp_crt_set_preferred_key_id
4998 gnutls_openpgp_keyring_get_crt
4999 gnutls_openpgp_keyring_get_crt_count
5000 gnutls_openpgp_privkey_export
5001 gnutls_openpgp_privkey_export_dsa_raw
5002 gnutls_openpgp_privkey_export_rsa_raw
5003 gnutls_openpgp_privkey_export_subkey_dsa_raw
5004 gnutls_openpgp_privkey_export_subkey_rsa_raw
5005 gnutls_openpgp_privkey_get_fingerprint
5006 gnutls_openpgp_privkey_get_key_id
5007 gnutls_openpgp_privkey_get_pk_algorithm
5008 gnutls_openpgp_privkey_get_preferred_key_id
5009 gnutls_openpgp_privkey_get_revoked_status
5010 gnutls_openpgp_privkey_get_subkey_count
5011 gnutls_openpgp_privkey_get_subkey_creation_time
5012 gnutls_openpgp_privkey_get_subkey_expiration_time
5013 gnutls_openpgp_privkey_get_subkey_fingerprint
5014 gnutls_openpgp_privkey_get_subkey_id
5015 gnutls_openpgp_privkey_get_subkey_idx
5016 gnutls_openpgp_privkey_get_subkey_pk_algorithm
5017 gnutls_openpgp_privkey_get_subkey_revoked_status
5018 gnutls_openpgp_privkey_set_preferred_key_id
5020 New OpenPGP related functions.
5022 The function gnutls_openpgp_crt_get_key_id is the same as the old
5023 from gnutls_openpgp_crt_get_id, see above.
5025 The release also adds a new header file 'gnutls/crypto.h', however it
5026 is currently not used.
5028 ** libgnutls [OpenPGP]: New APIs to retrieve fingerprint from OpenPGP subkeys.
5029 Contributed by Daniel Kahn Gillmor <dkg-debian.org@fifthhorseman.net>.
5031 ** API and ABI modifications:
5032 gnutls_openpgp_crt_get_subkey_fingerprint: ADDED.
5033 gnutls_openpgp_privkey_get_subkey_fingerprint: ADDED.
5035 * Version 2.3.15 (released 2008-06-15)
5037 ** Disable the openpgp-certs self-tests.
5038 It results in failure under Wine and doesn't work on Debian buildds.
5040 ** API and ABI modifications:
5041 No changes since last version.
5043 * Version 2.3.14 (released 2008-06-11)
5045 ** libgnutls [OpenPGP]: Changed OpenPGP verification behaviour.
5046 An OpenPGP certificate is now only considered verified if all the user
5049 ** Examples: Make C++ example compile.
5050 Earlier it may have failed with an unresolved reference to strlen.
5052 ** Documentation: Doc fix for gnutls_x509_crt_get_extension_oid.
5053 Reported by Sam Varshavchik <mrsam@courier-mta.com>.
5055 ** API and ABI modifications:
5056 No changes since last version.
5058 * Version 2.3.13 (released 2008-06-07)
5060 ** libgnutls [OpenPGP]: Make OpenPGP handshakes work again.
5062 ** doc/: Add psktool to info index. Some minor cleanups.
5064 ** tests/: Added non-forking TLS handshake test, see tests/mini.c.
5066 ** tests/: Added libgcrypt.supp which can be used with valgrind.
5067 The file suppresses the known libgcrypt memory leaks, so they aren't
5068 printed when you run valgrind on the gnutls self-tests. Use it as
5069 follows: valgrind --suppressions=libgcrypt.supp ./x509self or add
5070 '--suppressions=/home/you/src/gnutls/tests/libgcrypt.supp' to your
5073 ** tests/: Reduce amount of debugging output by default.
5074 Use --verbose for each test to get the full output.
5076 ** tests/: Fix memory leaks in several self-tests.
5077 None of the self tests should be leaking memory when running valgrind
5078 or similar tools. (Known exceptions are dhepskself, pskself, and
5079 set_pkcs12_cred, which appear likely to be due to memory leaks in the
5082 ** API and ABI modifications:
5083 No changes since last version.
5085 * Version 2.3.12 (released 2008-06-04)
5087 ** Merge gnutls_with_netconf branch.
5089 *** libgnutls [PSK]: New API to retrieve PSK identity hint in client.
5090 The function is gnutls_psk_client_get_hint.
5092 *** libgnutls [PSK]: New API to set PSK identity hint in server.
5093 The function is gnutls_psk_set_server_credentials_hint.
5095 *** libgnutls [PSK]: Support server key exchange with PSK identity hint.
5096 In the client, the message is parsed and the application can use
5097 gnutls_psk_client_get_hint to retrieve the hint. In the server, the
5098 message is sent if the application has specified a PSK identity hint
5099 using gnutls_psk_set_server_credentials_hint.
5101 *** libgnutls [PSK]: Support Netconf PSK key derivation.
5102 The function gnutls_psk_netconf_derive_key supports the PSK key
5103 derivation as specified in draft-ietf-netconf-tls-02.txt. New self
5106 *** psktool: Support new --netconf-hint to generate PSK key from password.
5107 Uses the Netconf algorithm to derive PSK key from password.
5109 *** gnutls-serv: Support new --pskhint parameter to set PSK identity hint.
5111 *** gnutls-cli: Always support PSK modes, through a callback.
5112 The callback will derive a PSK key using Netconf algorithm. It will
5113 print the PSK identity hint to help the user.
5115 *** New PSK example client and server.
5116 See doc/examples/ex-client-psk.c and doc/examples/ex-serv-psk.c.
5118 ** libgnutls: Fix gnutls_x509_crl_set_version on arm platforms.
5119 The code didn't work properly on platforms where 'char' is unsigned,
5120 when you set version 0. Reported by Laurence Withers
5121 <l@lwithers.me.uk> in
5122 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/2825>.
5124 ** libgnutls-openssl: added RAND_pseudo_bytes API.
5125 Patch from Robert Millan <rmh@aybabtu.com>.
5127 ** API and ABI modifications:
5128 RAND_pseudo_bytes: ADDED to libgnutls-openssl.
5129 gnutls_psk_client_get_hint: ADDED.
5130 gnutls_psk_set_server_credentials_hint: ADDED.
5131 gnutls_psk_netconf_derive_key: ADDED
5133 * Version 2.3.11 (released 2008-05-20)
5135 ** Fix flaw in fix for GNUTLS-SA-2008-1-3.
5136 The flaw would result in incorrectly terminated sessions with the
5137 error "Decryption has failed" when the server sends a small packet
5138 (typically when the session is closed). Reported by Andreas Metzler
5139 <ametzler@downhill.at.eu.org> in
5140 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/2807>.
5142 ** Don't use gnulib headers when building C++ library.
5143 Fixes builds under Windows.
5145 ** Make umask a requirement.
5146 We don't know of any system that lacks it, even GNU CoreUtils use it
5149 ** Update gnulib files.
5150 Fixes a problem where it pulled in a replacement for memcmp under
5151 MinGW, which caused the C++ example to fail to build.
5153 ** API and ABI modifications:
5154 No changes since last version.
5156 * Version 2.3.10 (released 2008-05-19)
5158 ** Added wide wildcard hostname matching.
5159 Tiny patch by Jean-Philippe Garcia Ballester.
5161 ** Fix three security vulnerabilities. [GNUTLS-SA-2008-1]
5162 Thanks to CERT-FI for finding the bugs and providing detailed reports,
5163 which allowed the bugs to be reproduced and fixed easily. Patches
5164 developed by Simon Josefsson and Nikos Mavrogiannopoulos. Any updates
5165 with more details about these vulnerabilities will be added to
5166 <http://www.gnu.org/software/gnutls/security.html>
5168 *** [GNUTLS-SA-2008-1-1]
5169 *** libgnutls: Fix crash when sending invalid server name.
5170 The crash can be triggered remotely before authentication, which can
5171 lead to a Daniel of Service attack to disable the server. The bug
5172 cause gnutls to store more session resumption data than what was
5173 allocated for, thus overwriting unallocated memory.
5175 *** [GNUTLS-SA-2008-1-2]
5176 *** libgnutls: Fix crash when sending repeated client hellos.
5177 The crash can be triggered remotely before authentication, which can
5178 lead to a Daniel of Service attack to disable the server. The bug
5179 triggers a null-pointer dereference.
5181 *** [GNUTLS-SA-2008-1-3]
5182 *** libgnutls: Fix crash in cipher padding decoding for invalid record lengths.
5183 The crash can be triggered remotely before authentication, which can
5184 lead to a Daniel of Service attack to disable the server. The bug
5185 cause gnutls to read memory beyond the end of the received record.
5187 ** libgnutlsxx: Updated API according to patches from Eduardo
5188 Villanueva Che (discussion at
5189 <http://lists.gnu.org/archive/html/gnutls-devel/2007-02/msg00017.html>)
5191 ** Use umask to restrict permissions to owner before creating a file.
5193 ** API and ABI modifications:
5194 No changes since last version.
5196 * Version 2.3.9 (released 2008-05-16)
5198 ** libgnutls: Fix build failures if SRP/OpenPGP is disabled.
5199 Based on report and tiny patches from
5200 <jared.jennings.ctr@eglin.af.mil>, see
5201 <https://savannah.gnu.org/support/index.php?106342>.
5203 ** libgnutls: Translation fixes.
5205 ** gnutls-cli: Fix so that PSK authentication works.
5206 Also improve manual to give example for gnutls-cli PSK authentication.
5208 ** certtool: Encrypting a private key now require a confirmed password.
5209 Before './certtool -k -8' would merely ask for a password once.
5210 Reported by Daniel 'NebuchadnezzaR' Dehennin
5211 <nebuchadnezzar@asgardr.info> see
5212 <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=364287>.
5214 ** certtool: When writing private keys to files, change permissions of file.
5215 Now the file which the private key is saved to is chmod'ed 0600.
5216 Reported by martin f krafft <madduck@debian.org> see
5217 <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=373169>.
5219 ** guile: Fix -fgnu89-inline test.
5221 ** Removed --enable-profile-mode.
5222 The code linked gnutls with the libfc project (Function Check) which
5223 appears to have been stalled since around 2002.
5225 ** Clean up header file checks by ./configure.
5227 ** Update of gnulib files.
5229 ** API and ABI modifications:
5230 No changes since last version.
5232 * Version 2.3.8 (released 2008-04-29)
5234 ** libgnutls: Increase default handshake packet size limit to 48kb.
5235 The old limit was 16kb and some servers send huge list of trusted CAs,
5236 thus running into the limit. FYI, applications can further increase
5237 this limit using gnutls_handshake_set_max_packet_length. Thanks to
5238 Marc Haber <mh+debian-bugs@zugschlus.de> and "Marc F. Clemente"
5239 <marc@mclemente.net> for reporting and providing test servers.
5241 ** libgnutls: Add new error code: GNUTLS_E_HANDSHAKE_TOO_LARGE
5242 Returned when the handshake data size is too large. Before
5243 GNUTLS_E_MEMORY_ERROR was used, which could be confused with other
5246 ** libgnutls: Hide definitions in crypto.h.
5247 We have decided that the APIs defined in crypto.h are not stable
5248 enough for v2.4, so don't use any of those functions.
5250 ** gnutls-cli: exit when hostname doesn't match certificate.
5251 Use --insecure to avoid hostname comparison.
5253 ** certtool: --inder and --outder replaced by --inraw and --outraw.
5254 The reason is to align terminology with OpenPGP, which doesn't use
5255 DER. The old parameters will continue to work for some time.
5257 ** doc: Add section 'Index of new symbols in 2.4.0' to the GTK-DOC manual.
5259 ** doc: Many cosmetic fixes, to silence (most) gtk-doc warnings.
5261 ** Mingw32: Revert libgcrypt vasprintf work-around added in last release.
5262 Use libgcrypt 1.4.1 or later when building on MinGW32, it removes the
5263 vasprintf symbol from the libgcrypt library which caused problems.
5265 ** Update of gnulib files.
5267 ** tests: New self-test of crypto.h RNG code tests/crypto_rng.
5269 ** API and ABI modifications:
5270 GNUTLS_E_HANDSHAKE_TOO_LARGE: ADDED.
5272 * Version 2.3.7 (released 2008-04-21)
5274 ** opencdk now properly sets the key usage bits into openpgp keys.
5276 ** gnutls-cli: Fix crash on TLS handshake failures.
5277 Reported by "Marc F. Clemente" <marc@mclemente.net> in Debian BTS #466477.
5278 This is similar to <http://bugs.debian.org/429183>.
5280 ** certtool: with --generate-request and newly generated keys, print the key.
5282 ** Build fixes for MinGW.
5283 Missing rpl_fseeko symbol in lib/opencdk/. Better checks for linking
5284 with -lws2_32 when needed. Use ASCII only isprint() when printing
5285 X.509 certificate information, to avoid non-ASCII but printable
5286 characters. Thanks to Massimo Gaspari <massimo.gaspari@alice.it> for
5289 ** Update internal copy of libtasn1 to version 1.4.
5291 ** API and ABI modifications:
5292 No changes since last version.
5294 * Version 2.3.6 (released 2008-04-17)
5296 ** Make gnutls_x509_crq_sign2 set certificate request version if not set.
5297 ** Improve documentation for gnutls_x509_crq_sign2.
5298 Based on report from "John Brooks" <aspecialj@gmail.com> in
5299 <http://permalink.gmane.org/gmane.network.gnutls.general/1154>.
5301 ** tests/pathlen: run diff without parameters to improve portability.
5302 Based on HPUX build hints in
5303 <http://hpux.cs.utah.edu/hppd/cgi-bin/wwwtar?/hpux/Gnu/gnutls-2.3.4/gnutls-2.3.4-src-11.11.tar.gz+gnutls-2.3.4/HPUX.Install+text>.
5305 ** Don't use %e specifier with strftime, it doesn't work under Windows.
5306 Reported by Massimo Gaspari <massimo.gaspari@alice.it> in
5307 <http://permalink.gmane.org/gmane.network.gnutls.general/1170>.
5309 ** Remove all uses of gnutls_alloca/gnutls_afree.
5310 Use normal gnutls_malloc instead. One reason is increased portability
5311 to Windows, the other is that several of the uses may be unsafe
5312 because the size of data allocated could be large. Reported by
5313 Massimo Gaspari <massimo.gaspari@alice.it> in
5314 <http://permalink.gmane.org/gmane.network.gnutls.general/1170>.
5316 ** Build Guile code with -fgnu89-inline only when supported.
5317 Reported by Kris Karas <ktk@enterprise.bidmc.harvard.edu> in
5318 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/2708>.
5320 ** Several GTK-DOC related fixes.
5322 ** Clean up OpenCDK related code.
5323 GnuTLS now requires its internal OpenCDK code rather than the external
5324 GPL library OpenCDK. Unfortunately, we don't have resources to
5325 maintain an external library (help welcome).
5327 ** API and ABI modifications:
5328 No changes since last version.
5330 * Version 2.3.5 (released 2008-04-14)
5332 ** Build fix for MinGW and --disable-shared.
5333 Reported by Massimo Gaspari <massimo.gaspari@alice.it> in
5334 <http://permalink.gmane.org/gmane.network.gnutls.general/1145>.
5336 ** Document how to generate CRLs.
5337 Suggested by "Rainer Gerhards" <rgerhards@gmail.com>.
5339 ** Documented the --priority option to gnutls-cli and gnutls-serv.
5341 ** Several minor fixes in the OpenPGP interface.
5342 Thanks to Daniel Kahn Gillmor.
5344 ** Fix fopen file descriptor leak in PSK server code.
5345 Thanks to Laurence Withers <l@lwithers.me.uk>, see
5346 <http://lists.gnu.org/archive/html/gnutls-devel/2008-04/msg00002.html>.
5348 ** Translations files not stored directly in git to avoid merge conflicts.
5350 ** New APIs to let applications replace the RNG used.
5351 Update all RNG callers in the code to use the new interface.
5353 ** Guile code now built with -fgnu89-inline to fix inline semantic problem.
5355 ** Update gnulib files.
5357 ** API and ABI modifications:
5358 gnutls_crypto_rnd_register: ADDED
5359 gnutls_rnd_level_t: ADDED
5360 GNUTLS_RND_KEY: ADDED, gnutls_rnd_level_t member
5361 GNUTLS_RND_RANDOM: ADDED, gnutls_rnd_level_t member
5362 GNUTLS_RND_NONCE: ADDED, gnutls_rnd_level_t member
5363 gnutls_crypto_rnd_st: ADDED
5364 GNUTLS_DIG_SHA224: ADDED
5365 GNUTLS_SIGN_RSA_SHA224: ADDED
5366 gnutls_openpgp_crt_get_auth_subkey: MODIFIED
5368 * Version 2.3.4 (released 2008-03-19)
5370 ** Finish renaming of gnutls_certificate_export_x509_cas etc.
5371 They weren't renamed in the public header file.
5373 ** Added functions to register a cipher/mac/digest. This allows to
5374 override the included ones.
5376 ** Fix a bunch of compiler warnings.
5378 ** API and ABI modifications:
5379 gnutls_crypto_cipher_st: ADDED
5380 gnutls_crypto_mac_st: ADDED
5381 gnutls_crypto_digest_st: ADDED
5382 gnutls_crypto_cipher_register: ADDED
5383 gnutls_crypto_mac_register: ADDED
5384 gnutls_crypto_digest_register: ADDED
5385 GNUTLS_E_CRYPTO_ALREADY_REGISTERED: ADDED
5387 * Version 2.3.3 (released 2008-03-10)
5389 ** Fix build failure in libextra/gnutls_extra.c that needed opencdk.h.
5390 Reported by Roman Bogorodskiy <novel@FreeBSD.org>.
5392 ** No longer compiled using -D_REENTRANT -D_THREAD_SAFE.
5393 We could not find any modern justification for enabling these flags by
5394 default. If you know of some platform that needs one of the flags to
5395 work properly, please let us know. (Actually introduced in v2.3.0 but
5396 not documented until now.)
5398 ** Importing many CA certificates are now considerably faster.
5399 This affect gnutls_certificate_set_x509_trust_mem,
5400 gnutls_certificate_set_x509_trust, and
5401 gnutls_certificate_set_x509_trust_file. The complexity was reduced
5402 from O(2*n^2) to O(n). When adding 206 files containing 408
5403 certificates, using gnutls_certificate_set_x509_trust_file, the time
5404 dropped from 40 seconds to 0.3 seconds. Thanks to Edgar Fuß for code
5405 to trigger the problem. See also
5406 <http://blog.josefsson.org/2008/02/27/real-world-performance-tuning-with-callgrind/>.
5408 ** Clarify documentation for gnutls_x509_crt_set_subject_alternative_name
5409 ** to be explicit that it takes zero terminated data.
5411 ** gnutls-cli --print-cert now print PKCS#3 format Diffie-Hellman parameters.
5413 ** Documentation fixes for the GTK-DOC manual.
5415 ** Fix compilation error related to __FUNCTION__ on some systems.
5416 Reported by Tim Mooney, see
5417 <https://savannah.gnu.org/support/?106267>.
5419 ** Updated translations.
5421 ** Update gnulib files.
5423 ** API and ABI modifications:
5424 gnutls_hex2bin: MODIFIED, uses size_t instead of int for string length,
5425 and char* instead of void* for output buffer.
5427 * Version 2.3.2 (released 2008-02-26)
5429 ** Fix srcdir!=objdir failure in openpgpself test.
5431 ** Improved API documentation output from GTK-DOC.
5433 ** Added gnutls_x509_dn_export(). Patch by Joe Orton.
5435 ** Renamed gnutls_certificate_export_x509_cas and friends.
5436 See <http://lists.gnu.org/archive/html/gnutls-devel/2008-02/msg00043.html>.
5438 ** Internal header files cleanup.
5440 ** API and ABI modifications:
5441 gnutls_certificate_export_x509_cas: RENAMED to gnutls_certificate_get_x509_cas
5442 gnutls_certificate_export_x509_crls: RENAMED to gnutls_certificate_get_x509_crls
5443 gnutls_certificate_export_openpgp_keyring: RENAMED to gnutls_certificate_get_openpgp_keyring
5444 gnutls_x509_dn_export: ADDED
5446 * Version 2.3.1 (released 2008-02-21)
5448 ** OpenPGP support merged into libgnutls and is now licensed under LGPL.
5449 The included copy of OpenCDK has been stripped down and re-licensed
5452 ** Cipher priority string handling now handle strings that starts with NULL.
5453 Thanks to Laurence Withers <l@lwithers.me.uk>.
5455 ** gnutls-cli: When -d is used, also prints RNG information from libgcrypt.
5457 ** Corrected memory leaks in session resuming and DHE ciphersuites. Reported
5460 ** Increased the default certificate verification chain limits and allowed
5461 for checks without limitation.
5463 ** Corrected the behaviour of gnutls_x509_crt_get_subject_alt_name()
5464 and gnutls_x509_crt_get_subject_alt_name() to not null terminate binary
5465 strings and return the proper size.
5467 ** Add section 'On Record Padding' to the manual.
5468 This collects all problems related to record padding with
5469 Nokia/Sony-Ericsson phones that we know about.
5471 ** Several improvements in the OpenPGP authentication.
5472 Now subkeys can be used for authentication, according to
5473 draft-mavrogiannopoulos-rfc5081bis-00.txt.
5475 ** certtool can print information on OpenPGP certificates and keys.
5477 ** Added gnutls_x509_dn_import/init/deinit() to access raw DER DN.
5480 ** Added gnutls_certificate_export_x509_cas and other functions to
5481 export elements from the certificate credentials structure. Based on
5482 suggestion from Joe Orton.
5485 Clarify that srp_base64 is not the same as normal base64.
5487 ** Fix non-portable use of brace expansion in makefiles.
5489 ** API and ABI modifications:
5490 gnutls_certificate_export_x509_cas: ADDED
5491 gnutls_certificate_export_x509_crls: ADDED
5492 gnutls_certificate_export_openpgp_keyring: ADDED
5493 gnutls_openpgp_keyid_t: ADDED, instead of hard-coded 'unsigned char[8]'.
5494 gnutls_openpgp_crt_get_key_id: ADDED, obsoletes gnutls_openpgp_crt_get_id.
5495 gnutls_openpgp_crt_get_revoked_status: ADDED
5496 gnutls_openpgp_crt_get_subkey_count: ADDED
5497 gnutls_openpgp_crt_get_subkey_idx: ADDED
5498 gnutls_openpgp_crt_get_subkey_revoked_status: ADDED
5499 gnutls_openpgp_crt_get_subkey_pk_algorithm: ADDED
5500 gnutls_openpgp_crt_get_subkey_creation_time: ADDED
5501 gnutls_openpgp_crt_get_subkey_expiration_time: ADDED
5502 gnutls_openpgp_crt_get_subkey_id: ADDED
5503 gnutls_openpgp_crt_get_subkey_usage: ADDED
5504 gnutls_openpgp_privkey_get_fingerprint: ADDED
5505 gnutls_openpgp_privkey_get_key_id: ADDED
5506 gnutls_openpgp_privkey_get_subkey_count: ADDED
5507 gnutls_openpgp_privkey_get_subkey_idx: ADDED
5508 gnutls_openpgp_privkey_get_subkey_revoked_status: ADDED
5509 gnutls_openpgp_privkey_get_revoked_status: ADDED
5510 gnutls_openpgp_privkey_get_subkey_pk_algorithm: ADDED
5511 gnutls_openpgp_privkey_get_subkey_expiration_time: ADDED
5512 gnutls_openpgp_privkey_get_subkey_id: ADDED
5513 gnutls_openpgp_privkey_get_subkey_creation_time: ADDED
5514 gnutls_openpgp_crt_get_subkey_pk_dsa_raw: ADDED
5515 gnutls_openpgp_crt_get_subkey_pk_rsa_raw: ADDED
5516 gnutls_openpgp_crt_get_pk_dsa_raw: ADDED
5517 gnutls_openpgp_crt_get_pk_rsa_raw: ADDED
5518 gnutls_openpgp_privkey_export_subkey_dsa_raw: ADDED
5519 gnutls_openpgp_privkey_export_subkey_rsa_raw: ADDED
5520 gnutls_openpgp_privkey_export_dsa_raw: ADDED
5521 gnutls_openpgp_privkey_export_rsa_raw: ADDED
5522 gnutls_openpgp_privkey_export: ADDED
5523 gnutls_certificate_set_openpgp_key_file2: ADDED
5524 gnutls_certificate_set_openpgp_key_mem2: ADDED
5525 gnutls_x509_dn_init: ADDED
5526 gnutls_x509_dn_import: ADDED
5527 gnutls_x509_dn_deinit: ADDED
5528 GNUTLS_E_OPENPGP_SUBKEY_ERROR: ADDED
5529 gnutls_hex2bin: ADDED
5530 GNUTLS_CRT_PRINT_FULL: ADDED, same as old GNUTLS_X509_CRT_FULL.
5531 GNUTLS_CRT_PRINT_ONELINE: ADDED, same as old GNUTLS_X509_CRT_ONELINE.
5532 GNUTLS_CRT_PRINT_UNSIGNED_FULL: ADDED, same as
5533 old GNUTLS_X509_CRT_UNSIGNED_FULL.
5535 * Version 2.3.0 (released 2008-01-08)
5537 ** LZO compression is now disabled by default.
5538 The reason is that LZO compression is not standardized in TLS. If you
5539 wish to experiment with it, you will have to supply --with-lzo when
5540 invoking ./configure. The internal copy of minilzo is no longer
5541 included with GnuTLS, so you will need to install liblzo or liblzo2 on
5542 your system to have --with-lzo to be effective.
5544 ** More than one server name field is now sent to the server properly.
5545 Thanks to mark.phillips@virgin.net.
5547 ** Fixes the post_client_hello_function(). The extensions are now parsed
5548 in a callback friendly way.
5550 ** Fix for certificate selection in servers with certificate callbacks.
5552 ** Updated translations.
5554 ** Update gnulib files.
5556 ** API and ABI modifications:
5557 No changes since last version.
5559 * Version 2.2.5 (released 2008-05-19)
5561 ** Fix flaw in fix for GNUTLS-SA-2008-1-3.
5562 The flaw would result in incorrectly terminated sessions with the
5563 error "Decryption has failed" when the server sends a small packet
5564 (typically when the session is closed). Reported by Andreas Metzler
5565 <ametzler@downhill.at.eu.org> in
5566 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/2807>.
5568 ** API and ABI modifications:
5569 No changes since last version.
5571 * Version 2.2.4 (released 2008-05-19)
5573 ** Fix three security vulnerabilities. [GNUTLS-SA-2008-1]
5574 Thanks to CERT-FI for finding the bugs and providing detailed reports,
5575 which allowed the bugs to be reproduced and fixed easily. Patches
5576 developed by Simon Josefsson and Nikos Mavrogiannopoulos. Any updates
5577 with more details about these vulnerabilities will be added to
5578 <http://www.gnu.org/software/gnutls/security.html>
5580 *** [GNUTLS-SA-2008-1-1]
5581 *** libgnutls: Fix crash when sending invalid server name.
5582 The crash can be triggered remotely before authentication, which can
5583 lead to a Daniel of Service attack to disable the server. The bug
5584 cause gnutls to store more session resumption data than what was
5585 allocated for, thus overwriting unallocated memory.
5587 *** [GNUTLS-SA-2008-1-2]
5588 *** libgnutls: Fix crash when sending repeated client hellos.
5589 The crash can be triggered remotely before authentication, which can
5590 lead to a Daniel of Service attack to disable the server. The bug
5591 triggers a null-pointer dereference.
5593 *** [GNUTLS-SA-2008-1-3]
5594 *** libgnutls: Fix crash in cipher padding decoding for invalid record lengths.
5595 The crash can be triggered remotely before authentication, which can
5596 lead to a Daniel of Service attack to disable the server. The bug
5597 cause gnutls to read memory beyond the end of the received record.
5599 ** API and ABI modifications:
5600 No changes since last version.
5602 * Version 2.2.3 (released 2008-05-06)
5604 ** Increase default handshake packet size limit to 48kb.
5605 The old limit was 16kb and some servers send huge list of trusted CAs,
5606 thus running into the limit. FYI, applications can further increase
5607 this limit using gnutls_handshake_set_max_packet_length. Thanks to
5608 Marc Haber <mh+debian-bugs@zugschlus.de> and "Marc F. Clemente"
5609 <marc@mclemente.net> for reporting and providing test servers.
5611 ** Fix compilation error related to __FUNCTION__ on some systems.
5612 Reported by Tim Mooney, see
5613 <https://savannah.gnu.org/support/?106267>.
5615 ** Documented the --priority option to gnutls-cli and gnutls-serv.
5617 ** Fix fopen file descriptor leak in PSK server code.
5618 Thanks to Laurence Withers <l@lwithers.me.uk>, see
5619 <http://lists.gnu.org/archive/html/gnutls-devel/2008-04/msg00002.html>.
5621 ** Build Guile code with -fgnu89-inline only when supported.
5622 Reported by Kris Karas <ktk@enterprise.bidmc.harvard.edu> in
5623 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/2708>.
5625 ** Make Camellia encryption work.
5626 Reported by Yoshisato YANAGISAWA <yanagisawa@csg.is.titech.ac.jp> in
5627 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/2746>.
5629 ** API and ABI modifications:
5630 No changes since last version.
5632 * Version 2.2.2 (released 2008-02-21)
5634 ** Cipher priority string handling now handle strings that starts with NULL.
5635 Thanks to Laurence Withers <l@lwithers.me.uk>.
5637 ** Corrected memory leaks in session resuming and DHE ciphersuites. Reported
5640 ** Increased the default certificate verification chain limits and allowed
5641 for checks without limitation.
5643 ** Corrected the behaviour of gnutls_x509_crt_get_subject_alt_name()
5644 and gnutls_x509_crt_get_subject_alt_name() to not null terminate binary
5645 strings and return the proper size.
5647 ** API and ABI modifications:
5648 No changes since last version.
5650 * Version 2.2.1 (released 2008-01-17)
5652 ** Prevent linking libextra against previously installed libgnutls.
5653 Tiny patch from "Alon Bar-Lev" <alon.barlev@gmail.com>, see
5654 <http://bugs.gentoo.org/show_bug.cgi?id=202269>.
5656 ** Fixes the post_client_hello_function(). The extensions are now parsed
5657 in a callback friendly way.
5659 ** Fix for certificate selection in servers with certificate callbacks.
5661 ** API and ABI modifications:
5662 No changes since last version.
5664 * Version 2.2.0 (released 2007-12-14)
5666 ** Update internal copy of libtasn1 to version 1.2.
5668 ** Certtool --verify-chain now handle inputs larger than 64kb.
5669 This fixes the self-test "rsa-md5-collision" under MinGW+Wine with
5670 recent versions of libgcrypt. The problem was that Wine with the
5671 libgcrypt RNG generates huge amounts of debugging output.
5673 ** Translation updates.
5674 Added Dutch translation. Updated Polish and Swedish translation.
5676 ** Major changes compared to the v2.0 branch:
5678 *** SRP support aligned with newly published RFC 5054.
5680 *** OpenPGP support aligned with newly published RFC 5081.
5682 *** Support for DSA2 keys.
5684 *** Support for Camellia cipher.
5686 *** Support for Opaque PRF Input extension.
5688 *** PKCS#8 parser now handle DSA keys.
5690 *** Change from GPLv2 to GPLv3 for command-line tools, libgnutls-extra, etc.
5691 Notice that liblzo2 2.02 is licensed under GPLv2 only. Earlier
5692 versions, such as 2.01 which is included with GnuTLS, is available
5693 under GPLv2 or later. If this incompatibility causes problems, we
5694 recommend you to disable LZO using --without-lzo. LZO compression is
5695 not a standard TLS compression algorithm, so the impact should be
5698 *** Functions for disabling record protocol padding.
5699 Works around bugs on Nokia/Ericsson phones.
5701 *** New functions gnutls_priority_set() for setting cipher priorities easily.
5702 Priorities like "COMPAT" also enables other work arounds, such as
5705 *** Other minor improvements and bug fixes.
5707 ** Backwards incompatible API/ABI changes in GnuTLS 2.2
5708 To adapt to changes in the TLS extension specifications for OpenPGP
5709 and SRP, the GnuTLS API had to be modified. This means breaking the
5710 API and ABI backwards compatibility. That is something we try to
5711 avoid unless it is necessary. We decided to also remove the already
5712 deprecated stub functions for X.509 to XML conversion and TLS
5713 authorization (see below) when we had the opportunity.
5715 Generally, most applications does not need to be modified. Just
5716 re-compile them against the latest GnuTLS release, and it should work
5719 Applications that use the OpenPGP or SRP features needs to be
5720 modified. Below is a list of the modified APIs and discussion of what
5721 the minimal things you need to modify in your application to make it
5722 work with GnuTLS 2.2.
5724 Note that GnuTLS 2.2 also introduces new APIs -- such as
5725 gnutls_set_priority() that is superior to
5726 gnutls_set_default_priority() -- that you may want to start using.
5727 However, using those new APIs is not required to use GnuTLS 2.2 since
5728 the old functions continue are still supported. This text only
5729 discuss what you minimally have to modify.
5731 *** XML related changes
5732 The function `gnutls_x509_crt_to_xml' has been removed. It has been
5733 deprecated and only returned an error code since GnuTLS version
5734 1.2.11. Nobody has complained, so users doesn't seem to miss the
5735 functionality. We don't know of any other library to convert X.509
5736 certificates into XML format, but we decided (long ago) that GnuTLS
5737 isn't the right place for this kind of functionality. If you want
5738 help to find some other library to use here, please explain and
5739 discuss your use case on help-gnutls@gnu.org.
5741 *** TLS Authorization related changes
5742 Everything related to TLS authorizations have been removed, they were
5743 only stub functions that returned an error code:
5745 GNUTLS_SUPPLEMENTAL_AUTHZ_DATA
5746 gnutls_authz_data_format_type_t
5747 gnutls_authz_recv_callback_func
5748 gnutls_authz_send_callback_func
5750 gnutls_authz_send_x509_attr_cert
5751 gnutls_authz_send_saml_assertion
5752 gnutls_authz_send_x509_attr_cert_url
5753 gnutls_authz_send_saml_assertion_url
5755 *** SRP related changes
5756 The callback gnutls_srp_client_credentials_function has a new
5757 prototype, and its semantic has changed. You need to rewrite the
5758 callback, see the updated function documentation and SRP example code
5759 (doc/examples/ex-client-srp.c and doc/examples/ex-serv-srp.c) for more
5762 The alert codes GNUTLS_A_MISSING_SRP_USERNAME and
5763 GNUTLS_A_UNKNOWN_SRP_USERNAME are no longer used by the SRP
5764 specification, instead the GNUTLS_A_UNKNOWN_PSK_IDENTITY alert is
5765 used. There are #define's to map the old names to the new. You may
5766 run into problems if you have a switch-case with cases for both SRP
5767 alerts, since they are now mapped to the same value. The solution is
5768 to drop the SRP alerts from such switch cases, as they are now
5769 deprecated in favor of GNUTLS_A_UNKNOWN_PSK_IDENTITY.
5771 *** OpenPGP related changes
5772 The function `gnutls_certificate_set_openpgp_keyserver' have been
5773 removed. There is no replacement functionality inside GnuTLS. If you
5774 need keyserver functionality, consider using the GnuPG tools.
5776 All functions, types, and error codes related to OpenPGP trustdb
5777 format have been removed. The trustdb format is a non-standard
5778 GnuPG-specific format, and we recommend you to use key rings instead.
5779 The following have been removed:
5781 gnutls_certificate_set_openpgp_trustdb
5782 gnutls_openpgp_trustdb_init
5783 gnutls_openpgp_trustdb_deinit
5784 gnutls_openpgp_trustdb_import
5785 gnutls_openpgp_key_verify_trustdb
5786 gnutls_openpgp_trustdb_t
5787 GNUTLS_E_OPENPGP_TRUSTDB_VERSION_UNSUPPORTED
5789 The following functions has an added parameter of the (new) type
5790 `gnutls_openpgp_crt_fmt_t'. The type specify the format of the data
5791 (binary or base64). The functions are:
5792 gnutls_certificate_set_openpgp_key_file
5793 gnutls_certificate_set_openpgp_key_mem
5794 gnutls_certificate_set_openpgp_keyring_mem
5795 gnutls_certificate_set_openpgp_keyring_file
5797 To improve terminology and align with the X.509 interface, some
5798 functions have been renamed. Compatibility mappings exists. The old
5799 and new names of the affected functions and types are:
5802 gnutls_openpgp_key_t gnutls_openpgp_crt_t
5803 gnutls_openpgp_key_fmt_t gnutls_openpgp_crt_fmt_t
5804 gnutls_openpgp_key_status_t gnutls_openpgp_crt_status_t
5805 GNUTLS_OPENPGP_KEY GNUTLS_OPENPGP_CERT
5806 GNUTLS_OPENPGP_KEY_FINGERPRINT GNUTLS_OPENPGP_CERT_FINGERPRINT
5807 gnutls_openpgp_key_init gnutls_openpgp_crt_init
5808 gnutls_openpgp_key_deinit gnutls_openpgp_crt_deinit
5809 gnutls_openpgp_key_import gnutls_openpgp_crt_import
5810 gnutls_openpgp_key_export gnutls_openpgp_crt_export
5811 gnutls_openpgp_key_get_key_usage gnutls_openpgp_crt_get_key_usage
5812 gnutls_openpgp_key_get_fingerprint gnutls_openpgp_crt_get_fingerprint
5813 gnutls_openpgp_key_get_pk_algorithm gnutls_openpgp_crt_get_pk_algorithm
5814 gnutls_openpgp_key_get_name gnutls_openpgp_crt_get_name
5815 gnutls_openpgp_key_get_version gnutls_openpgp_crt_get_version
5816 gnutls_openpgp_key_get_creation_time gnutls_openpgp_crt_get_creation_time
5817 gnutls_openpgp_key_get_expiration_time gnutls_openpgp_crt_get_expiration_time
5818 gnutls_openpgp_key_get_id gnutls_openpgp_crt_get_id
5819 gnutls_openpgp_key_check_hostname gnutls_openpgp_crt_check_hostname
5820 gnutls_openpgp_send_key gnutls_openpgp_send_cert
5822 ** API and ABI modifications:
5823 No changes since last version.
5825 * Version 2.1.8 (released 2007-12-10)
5827 ** The GPL version has been changed from version 2 to version 3.
5828 This affects the self-tests, command-line tools, the libgnutls-extra
5829 library, the relevant guile parts, and the build environment.
5831 ** Added gnutls_x509_crt_get_subject_alt_name2().
5833 ** Corrected a segfault when setting an empty gnutls_priority_t
5834 at gnutls_priority_set().
5836 ** Use gettext 0.17 which updates m4/lib-*.m4 macros.
5837 Fixes a problem with spurious -L/usr/lib additions.
5839 ** API and ABI modifications:
5840 gnutls_x509_crt_get_subject_alt_name2: ADD.
5842 * Version 2.1.7 (released 2007-11-29)
5844 ** PKCS #8 parser can now encode/decode DSA keys.
5846 ** Updated gnutls_set_default_priority2() now renamed to
5847 gnutls_priority_set() and gnutls_priority_set_direct() which
5848 accept a string to indicate preferences of ciphersuite parameters.
5850 ** gnutls-cli and gnutls-serv now have a --priority option to set
5851 the priority string.
5853 ** The gnutls_*_convert_priority() functions were deprecated by
5854 the gnutls_priority_set() and gnutls_priority_set_direct().
5856 ** Internal copy of OpenCDK upgraded to version 0.6.6.
5858 ** API and ABI modifications:
5859 gnutls_priority_init: ADD.
5860 gnutls_priority_deinit: ADD.
5861 gnutls_priority_set: ADD.
5862 gnutls_priority_set_direct: ADD.
5863 gnutls_set_default_priority2: RENAMED to gnutls_priority_set_direct()
5864 gnutls_mac_convert_priority: REMOVED
5865 gnutls_compression_convert_priority: REMOVED
5866 gnutls_protocol_convert_priority: REMOVED
5867 gnutls_kx_convert_priority: REMOVED
5868 gnutls_cipher_convert_priority: REMOVED
5869 gnutls_certificate_type_convert_priority: REMOVED
5870 gnutls_set_default_priority: UNDEPRECATED
5871 gnutls_set_default_priority_export: UNDEPRECATED
5873 ** Undocumented API and ABI modifications earlier in the 2.1.x series:
5874 GNUTLS_CIPHER_UNKNOWN: ADD.
5875 GNUTLS_CIPHER_CAMELLIA_128_CBC: ADD.
5876 GNUTLS_CIPHER_CAMELLIA_256_CBC: ADD.
5877 GNUTLS_KX_UNKNOWN: ADD.
5878 GNUTLS_COMP_UNKNOWN: ADD.
5879 GNUTLS_CRT_UNKNOWN: ADD.
5880 gnutls_mac_get_id: ADD.
5881 gnutls_compression_get_id: ADD.
5882 gnutls_cipher_get_id: ADD.
5883 gnutls_kx_get_id: ADD.
5884 gnutls_protocol_get_id: ADD.
5885 gnutls_certificate_type_get_id: ADD.
5886 gnutls_handshake_post_client_hello_func: ADD.
5887 gnutls_certificate_send_x509_rdn_sequence: ADD prototype to gnutls.h.in.
5889 * Version 2.1.6 (released 2007-11-15)
5891 ** Corrected bug in decompression of expanded compression data.
5893 ** Added the --to-p8 option to certtool to convert private keys
5896 ** Introduced the GNUTLS_E_BASE64_UNEXPECTED_HEADER_ERROR error code.
5898 ** gnutls_certificate_set_x509_key_* can now read PKCS #8 unencrypted
5901 ** Fixed GNUTLS_E_UNKNOWN_ALGORITHM vs GNUTLS_E_UNKNOWN_HASH_ALGORITHM.
5902 During the 2.1.x series the GNUTLS_E_UNKNOWN_HASH_ALGORITHM error code
5903 was renamed to GNUTLS_E_UNKNOWN_ALGORITHM, unfortunately without being
5904 documented. This caused some problems (e.g., debian #450854). To
5905 avoid backwards compatibility problems, this release revert this
5906 change, so that GNUTLS_E_UNKNOWN_HASH_ALGORITHM works just like it has
5907 done in GnuTLS 2.0.x and earlier, and add a new error code
5908 GNUTLS_E_UNKNOWN_ALGORITHM.
5910 ** Fixes several gtk-doc warnings.
5912 ** API and ABI modifications:
5913 GNUTLS_E_UNKNOWN_ALGORITHM: CHANGED.
5914 GNUTLS_E_UNKNOWN_HASH_ALGORITHM: CHANGED.
5915 GNUTLS_E_BASE64_UNEXPECTED_HEADER_ERROR: ADD.
5917 * Version 2.1.5 (released 2007-11-01)
5919 ** Fix PKCS#3 parameter export problem.
5921 ** Improve certtool queries, they now print the default value.
5925 ** Update gnulib files.
5927 ** API and ABI modifications:
5928 No changes since last version.
5930 * Version 2.1.4 (released 2007-10-27)
5932 ** Added the --v1 option to certtool, to allow generating X.509
5933 version 1 certificates.
5935 ** certtool: Add option --disable-quick-random to enable the old behaviour
5936 of using /dev/random to generate keys.
5938 ** Added priority functions that accept strings.
5940 ** Added gnutls_set_default_priority2() which accepts a flag to indicate
5941 priorities preferences.
5943 ** Added gnutls_record_disable_padding() to allow servers talking to
5944 buggy clients that complain if the TLS 1.0 record protocol padding is
5947 ** Introduced gnutls_session_enable_compatibility_mode() to allow enabling
5948 all supported compatibility options (like disabling padding).
5950 ** The gnutls_certificate_set_openpgp_* functions were modified to include
5951 the format. This makes the interface consistent with the x509 functions.
5953 ** Internal copy of OpenCDK upgraded to version 0.6.5.
5955 ** Update gnulib files.
5957 ** API and ABI modifications:
5958 gnutls_certificate_set_openpgp_key_mem: MODIFIED
5959 gnutls_certificate_set_openpgp_key_file: MODIFIED
5960 gnutls_certificate_set_openpgp_keyring_mem: MODIFIED
5961 gnutls_certificate_set_openpgp_keyring_file: MODIFIED
5962 gnutls_set_default_priority: DEPRECATED
5963 gnutls_set_default_priority_export: DEPRECATED
5964 gnutls_set_default_priority2: ADDED
5965 gnutls_session_enable_compatibility_mode: ADDED
5966 gnutls_record_disable_padding: ADDED
5967 gnutls_mac_convert_priority: ADDED
5968 gnutls_compression_convert_priority: ADDED
5969 gnutls_protocol_convert_priority: ADDED
5970 gnutls_kx_convert_priority: ADDED
5971 gnutls_cipher_convert_priority: ADDED
5972 gnutls_certificate_type_convert_priority: ADDED
5973 gnutls_openpgp_key_t: RENAMED to gnutls_openpgp_crt_t
5974 gnutls_openpgp_key_status_t: RENAMED to gnutls_openpgp_crt_status_t
5975 gnutls_openpgp_send_key: RENAMED to gnutls_openpgp_send_cert
5976 gnutls_openpgp_key_init: RENAMED to gnutls_openpgp_crt_init
5977 gnutls_openpgp_key_import: RENAMED to gnutls_openpgp_crt_import
5978 gnutls_openpgp_key_export: RENAMED to gnutls_openpgp_crt_export
5979 gnutls_openpgp_key_check_hostname: RENAMED to gnutls_openpgp_crt_check_hostname
5980 gnutls_openpgp_key_get_creation_time: RENAMED to gnutls_openpgp_crt_get_creation_time
5981 gnutls_openpgp_key_get_expiration_time: RENAMED to gnutls_openpgp_crt_get_expiration_time
5982 gnutls_openpgp_key_get_fingerprint: RENAMED to gnutls_openpgp_crt_get_fingerprint
5983 gnutls_openpgp_key_get_version: RENAMED to gnutls_openpgp_crt_get_version
5984 gnutls_openpgp_key_get_pk_algorithm: RENAMED to gnutls_openpgp_crt_get_pk_algorithm
5985 gnutls_openpgp_key_get_name: RENAMED to gnutls_openpgp_crt_get_name
5986 gnutls_openpgp_key_deinit: RENAMED to gnutls_openpgp_crt_deinit
5987 gnutls_openpgp_key_get_id: RENAMED to gnutls_openpgp_crt_get_id
5988 gnutls_openpgp_key_get_key_usage: RENAMED to gnutls_openpgp_crt_get_key_usage
5989 gnutls_openpgp_key_verify_ring: RENAMED to gnutls_openpgp_crt_verify_ring
5990 gnutls_openpgp_key_verify_self: RENAMED to gnutls_openpgp_crt_verify_self
5992 * Version 2.1.3 (released 2007-10-17)
5994 ** TLS authorization support removed.
5995 This technique may be patented in the future, and it is not of crucial
5996 importance for the Internet community. After deliberation we have
5997 concluded that the best thing we can do in this situation is to
5998 encourage society not to adopt this technique. We have decided to
5999 lead the way with our own actions.
6001 ** Re-enabled the 256 bit ciphers in the default priorities.
6003 ** Corrected bugs in openpgp key verification using a keyring (both in
6006 ** API and ABI modifications:
6007 gnutls_certificate_set_openpgp_keyserver: REMOVED
6008 gnutls_authz_data_format_type_t,
6009 gnutls_authz_recv_callback_func,
6010 gnutls_authz_send_callback_func,
6011 gnutls_authz_enable,
6012 gnutls_authz_send_x509_attr_cert,
6013 gnutls_authz_send_saml_assertion,
6014 gnutls_authz_send_x509_attr_cert_url,
6015 gnutls_authz_send_saml_assertion_url: REMOVED.
6016 GNUTLS_SUPPLEMENTAL_USER_MAPPING_DATA: ADDED. To avoid that the
6017 gnutls_supplemental_data_format_type_t enum type becomes empty.
6019 * Version 2.1.2 (released 2007-10-14)
6021 ** Removed all the trustdb code from openpgp authentication.
6022 We now use only the well-specified keyrings.
6024 ** The 256 bit ciphers are not enabled in the default priorities.
6026 ** Added support for DSA2 using libgcrypt 1.3.0.
6028 ** certtool: Fixed data corruption when using --outder.
6030 ** Removed all the xml related stubs and functions.
6032 ** Added capability to set a callback after the client hello is received
6033 by the server in order to adjust parameters before the handshake.
6035 ** SRP was corrected to adhere to the latest draft (published soon as RFC)
6037 ** Corrected bug which did not allow a server to run without supporting
6040 ** Updated the DN parser which now prints wrongly decoded values as hex
6043 ** certtool: Add option --quick-random.
6044 For generating low security test credentials.
6046 ** API and ABI modifications:
6047 gnutls_x509_crt_to_xml: REMOVED
6048 gnutls_openpgp_key_to_xml: REMOVED
6049 gnutls_openpgp_key_verify_trustdb: REMOVED
6050 gnutls_openpgp_trustdb_init: REMOVED
6051 gnutls_openpgp_trustdb_deinit: REMOVED
6052 gnutls_openpgp_trustdb_import: REMOVED
6053 gnutls_certificate_set_openpgp_trustdb: REMOVED
6054 gnutls_srp_client_credentials_function: CHANGED
6055 gnutls_handshake_set_post_client_hello_function: ADDED
6056 gnutls_mac_get_key_size: ADDED
6057 GNUTLS_E_OPENPGP_TRUSTDB_VERSION_UNSUPPORTED: DEPRECATED.
6058 GNUTLS_A_MISSING_SRP_USERNAME: DEPRECATED
6059 GNUTLS_A_UNKNOWN_SRP_USERNAME: DEPRECATED
6061 * Version 2.1.1 (released 2007-09-24)
6063 ** Added support for Camellia cipher, thanks to Yoshisato YANAGISAWA.
6064 Camellia is only enabled in GnuTLS if the installed libgcrypt has been
6065 compiled with Camellia support. See the libgcrypt documentation on
6066 how to enable it. Unconditionally disable it using the configure
6067 option --disable-camellia. Fixes #1.
6069 ** Properly document in the NEWS file the API change in the last release.
6071 ** API and ABI modifications:
6072 No changes since last version.
6074 * Version 2.1.0 (released 2007-09-20)
6076 ** Support for draft-rescorla-tls-opaque-prf-input-00.txt.
6077 The support is disabled by default. Since no value has been allocated
6078 by the IANA for this extension yet, you will need to provide one
6079 yourself by invoking './configure --enable-opaque-prf-input=42'.
6082 ** Example code: Fix compilation flaw under MinGW.
6084 ** API and ABI modifications:
6085 gnutls_oprfi_callback_func: ADD, new typedef function prototype.
6086 gnutls_oprfi_enable_client: ADD, new function.
6087 gnutls_oprfi_enable_server: ADD, new function.
6089 * Version 2.0.4 (released 2007-11-16)
6091 ** Corrected bug in decompression of expanded compression data.
6093 ** API and ABI modifications:
6094 No changes since last version.
6096 * Version 2.0.3 (released 2007-11-10)
6098 ** This version backports several fixes from the 2.1.x branch.
6100 ** Fixed PKCS #3 parameter export.
6102 ** Added gnutls_record_disable_padding() to allow servers talking to
6103 buggy clients that complain if the TLS 1.0 record protocol padding is
6106 ** Introduced gnutls_session_enable_compatibility_mode() to allow enabling
6107 all supported compatibility options (like disabling padding).
6109 ** Corrected bug which did not allow a server to run without supporting
6112 ** API and ABI modifications:
6113 gnutls_session_enable_compatibility_mode: ADDED
6114 gnutls_record_disable_padding: ADDED
6116 * Version 2.0.2 (released 2007-10-17)
6118 ** TLS authorization support removed.
6119 This technique may be patented in the future, and it is not of crucial
6120 importance for the Internet community. After deliberation we have
6121 concluded that the best thing we can do in this situation is to
6122 encourage society not to adopt this technique. We have decided to
6123 lead the way with our own actions.
6125 ** certtool: Fixed data corruption when using --outder.
6127 ** Fix configure-time Guile detection.
6129 ** API and ABI modifications:
6130 GNUTLS_SUPPLEMENTAL_USER_MAPPING_DATA: ADDED. To avoid that the
6131 gnutls_supplemental_data_format_type_t enum type becomes empty.
6133 * Version 2.0.1 (released 2007-09-20)
6135 ** New directory doc/credentials/ with test credentials.
6136 This collects the test credentials from the web page and from src/.
6137 The script gnutls-http-serv has also been moved to that directory.
6139 ** Update SRP extension type and cipher suite with official IANA values.
6140 This breaks backwards compatibility with SRP in older versions of
6141 GnuTLS, but this is intentional to speed up the adoption of the
6142 official values. The old values we used were incorrect.
6144 ** Guile: Fix `x509-certificate-dn-oid'
6146 ** API and ABI modifications:
6147 No changes since last version.
6149 * Version 2.0.0 (released 2007-09-04)
6151 ** Included copy of Libtasn1 upgraded to version 1.1.
6153 ** Disable building of some examples if anonymous ciphers are disabled.
6155 ** Don't build examples for disabled features.
6157 ** API and ABI modifications:
6158 No changes since last version.
6160 * Version 1.7.19 (released 2007-08-27)
6162 ** Fix gnutls_error_is_fatal so that positive "errors" are non-critical.
6163 This solves connection problems in mutt, see
6164 <http://bugs.debian.org/439640>.
6166 ** Update gnulib files.
6167 In particular, the getpass module -- with its dependencies on getline,
6168 getdelim, fseeko etc -- where moved from the lgl/ (used by the core
6169 library) directory to the gl/ directory (only used by the command line
6170 tools). The reason is that getpass is now only used by the
6171 command-line tools, and reducing the number of gnulib modules linked
6172 to the core library helps portability and reduces size.
6176 ** Disable building of PGP examples if PGP is disabled.
6178 ** Included copy of OpenCDK upgraded to version 0.6.4.
6180 ** API and ABI modifications:
6181 No changes since last version.
6183 * Version 1.7.18 (released 2007-08-16)
6185 ** Install images for the info manual.
6186 This has a side effect of renaming the images. See
6187 <http://thread.gmane.org/gmane.comp.tex.texinfo.bugs/3533> for
6188 discussions on the approach chosen.
6190 ** Fix pointer mix to variables of different size.
6191 Patch extracted from
6192 <http://cvs.fedora.redhat.com/viewcvs/devel/gnutls/gnutls-1.6.3-incompat-pointers.patch?rev=1.1&view=auto>.
6194 ** Fix warnings during build.
6195 Thanks to Andreas Metzler <ametzler@downhill.at.eu.org>.
6197 ** API and ABI modifications:
6198 No changes since last version.
6200 * Version 1.7.17 (released 2007-08-15)
6202 ** New functions to perform external signing.
6203 Set the signing callback function (of the gnutls_sign_func prototype)
6204 using the gnutls_sign_callback_set function. In the callback, you may
6205 find the new functions gnutls_x509_privkey_sign_hash and
6206 gnutls_openpgp_privkey_sign_hash useful. A new function
6207 gnutls_sign_callback_get is also added, to retrieve the function
6208 pointer. Thanks to "Alon Bar-Lev" <alon.barlev@gmail.com> for
6209 comments and testing.
6211 ** New self test of client and server authenticated X.509 TLS sessions.
6212 See tests/x509self.c and tests/x509signself.c. The latter also tests
6213 the new external signing callback interface.
6215 ** New errors GNUTLS_E_APPLICATION_ERROR_MIN..GNUTLS_E_APPLICATION_ERROR_MAX.
6216 These two actually describe the outer limits of a range of error codes
6217 reserved to the application. All of the errors are treated as fatal
6218 by the library (it has to since it doesn't know the semantics of the
6219 error codes). This can be useful in callbacks, to signal some
6220 application-specific error condition, which will usually eventually
6221 cause some gnutls API to return the same error code as the callback,
6222 which then can be inspected by the application. Note that error codes
6225 ** gnutls_set_default_priority now disable TLS 1.2 by default.
6226 The RFC is not released yet, and we're approaching a major release so
6227 let's not enable it just yet.
6229 ** Fix namespace so that gnutls_*_t is used consistently.
6230 Before, many places in the GnuTLS code used the old deprecated type
6231 names without the '_t' suffix.
6233 ** Build fixes for Guile code.
6234 Patch from Ludovic Courtes <ludovic.courtes@laas.fr>.
6236 ** More documentation fixes.
6237 In particular, the section headings were modified for casing. By
6238 Ludovic Courtes <ludovic.courtes@laas.fr>.
6240 ** Updated Polish and Swedish translations.
6241 Thanks to Jakub Bogusz <qboosh@pld-linux.org> and Daniel Nylander
6242 <po@danielnylander.se>.
6244 ** API and ABI modifications:
6245 gnutls_sign_func: ADD, new type for sign callback.
6246 gnutls_sign_callback_set: ADD, new function to set sign callback.
6247 gnutls_sign_callback_get: ADD, new function to retrieve sign callback.
6248 gnutls_x509_privkey_sign_hash,
6249 gnutls_openpgp_privkey_sign_hash: ADD, new functions useful in sign callback.
6250 GNUTLS_E_APPLICATION_ERROR_MIN,
6251 GNUTLS_E_APPLICATION_ERROR_MAX: ADD, new CPP #defines for error codes.
6253 * Version 1.7.16 (released 2007-08-07)
6255 ** Fix sanity checks and return values in certificate selection.
6256 In some cases, GnuTLS omitted to report suitable error codes when no
6257 suitable certificate was found.
6259 ** Fix gnutls-cli starttls EOF on Mac OS X.
6260 Thanks to Hal Eden <n.mavrogiannopoulos@gmail.com>.
6262 ** Documentation fixes.
6263 In particular, the section headings were modified for casing. By
6264 Ludovic Courtes <ludovic.courtes@laas.fr>.
6266 ** Update gnulib files.
6268 ** API and ABI modifications:
6269 No changes since last version.
6271 * Version 1.7.15 (released 2007-07-02)
6273 ** Fix self-tests key-id under mingw32.
6275 ** Test that the Guile header files are recent enough to work.
6276 Before we just tested that the command line tool 'guile' was recent
6277 enough, which may not be sufficient if you still have an old
6278 libguile.h header installed.
6280 ** Guile bindings are now installed under $prefix by default.
6281 Use --without-guile-site-dir to install it under $pkgdatadir/site/
6282 where $pkgdatadir is as returned by "guile-config info pkgdatadir".
6283 Use --with-guile-site-dir=/your/own/path to specify the path manually.
6284 The default, --with-guile-site-dir, will install the Guile bindings
6285 under $datadir/guile/site. There is a new section 'Guile
6286 Preparations' in the manual that discuss these issues.
6288 ** Fix run-time library path ordering in linking the Guile bindings.
6290 ** Improved manual on downloading, installing, getting help, bug reports etc.
6291 Suggested by Ludovic Courtès <ludovic.courtes@laas.fr>.
6293 ** Add Malay message translations.
6294 Thanks to Sharuzzaman Ahmat Raslan <sharuzzaman@myrealbox.com>.
6296 ** API and ABI modifications:
6297 No changes since last version.
6299 * Version 1.7.14 (released 2007-06-26)
6301 ** Don't enable Guile bindings unless we have Guile 1.8 or later.
6302 Patch from Ludovic Courtès <ludovic.courtes@laas.fr>.
6304 ** Fix memory leak during DSA signature verification.
6305 Patch from Ludovic Courtès <ludovic.courtes@laas.fr>.
6307 ** Fix crash in gnutls-cli when TLS handshake fails.
6308 Reported by Marc Haber <mh+debian-bugs@zugschlus.de> and Andreas
6309 Metzler <ametzler@downhill.at.eu.org> via Debian BTS #429183, see
6310 <http://bugs.debian.org/429183>.
6312 ** Minor OpenPGP fixes in stream_to_datum.
6313 Patch from Timo Schulz <twoaday@freakmail.de> and Ludovic Courtès
6314 <ludovic.courtes@laas.fr>.
6316 ** Fix off-by-one in TLS 1.2 handshake.
6317 Patch from Ludovic Courtès <ludovic.courtes@laas.fr>.
6319 ** Minor Guile binding self-test cleanup.
6320 Patch from Ludovic Courtès <ludovic.courtes@laas.fr>.
6322 ** Update gnulib files.
6324 ** API and ABI modifications:
6325 No changes since last version.
6327 * Version 1.7.13 (released 2007-06-11)
6329 ** OpenCDK copy updated to version 0.6.3.
6331 ** Build fixes for GnuTLS Guile bindings.
6332 Patch from Ludovic Courtès <ludovic.courtes@laas.fr>.
6334 ** Build fix for GTK-DOC manual.
6336 ** Update gnulib files.
6338 ** API and ABI modifications:
6339 No changes since last version.
6341 * Version 1.7.12 (released 2007-06-08)
6343 ** Guile bindings for GnuTLS have been included.
6344 Contributed by Ludovic Courtès <ludovic.courtes@laas.fr>. There is a
6345 new chapter 'Guile Bindings' in the manual.
6347 ** Have PKCS8 parser return better error codes.
6348 Reported by Nate Nielsen <nielsen-list@memberwebs.com>, see
6349 <http://lists.gnupg.org/pipermail/gnutls-dev/2007-May/001653.html> and
6350 <http://lists.gnupg.org/pipermail/gnutls-dev/2007-May/001654.html>.
6352 ** Fix mem leak for sessions with client authentication via certificates.
6353 Reported by Andrew W. Nosenko <andrew.w.nosenko@gmail.com>, see
6354 <http://lists.gnupg.org/pipermail/gnutls-dev/2007-April/001539.html>.
6357 Reported by Dennis Vshivkov <walrus@amur.ru>, see
6358 <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=333050>. Added
6359 self-test tests/parse_ca.c to test regressions.
6361 ** Fix build failures related to missing images in manual.
6362 Reported by Andreas Metzler <ametzler@downhill.at.eu.org>.
6364 ** Update gnulib files.
6366 ** API and ABI modifications:
6367 No changes since last version.
6369 * Version 1.7.11 (released 2007-05-26)
6371 ** Include opencdk.h in the release.
6372 Reported by Roman Bogorodskiy <novel@FreeBSD.org>.
6374 ** API and ABI modifications:
6375 No changes since last version.
6377 * Version 1.7.10 (released 2007-05-25)
6379 ** New API functions to extract DER encoded X.509 Subject/Issuer DN.
6380 Suggested by Nate Nielsen <nielsen-list@memberwebs.com>.
6382 ** Update of gnulib files.
6384 ** GnuTLS is now developed in GIT instead of CVS.
6385 See <http://repo.or.cz/w/gnutls.git> for a public repository.
6387 ** API and ABI modifications:
6388 gnutls_x509_crt_get_raw_issuer_dn: ADD.
6389 gnutls_x509_crt_get_raw_dn: ADD.
6391 * Version 1.7.9 (released 2007-05-12)
6393 ** X.509 certificates are preferred over OpenPGP keys.
6394 This is a change in the semantics of gnutls_set_default_priority.
6396 ** The included copy of OpenCDK has been updated to 0.6.1.
6397 There has been some API changes in OpenCDK, and the GnuTLS layer have
6398 been modified as well. Note that while there are API/ABI incompatible
6399 changes in OpenCDK, this does not influence GnuTLS's API/ABI because
6400 its API/ABI have not changed. From this version on, GnuTLS requires
6401 OpenCDK 0.6.0 or later.
6403 ** Fix build failure caused by missing doc/gnutls-logo.pdf.
6405 ** Change certtool's default serial number from 0 to a time-based value.
6407 ** Fix X.509 signing with RSA-PKCS#1 to set a NULL parameters fields.
6408 Before, we remove the parameters field, which resulted in a slightly
6409 different DER encoding which in turn caused signature verification
6410 failures of GnuTLS-generated RSA certificates in some other
6411 implementations (e.g., GnuPG 2.x's gpgsm). Depending on which RFCs
6412 you read, this may or may not be correct, but our new behaviour appear
6413 to be consistent with other widely used implementations.
6415 ** Fix mem leaks in gnutls_x509_crt_print.
6417 ** API and ABI modifications:
6418 No changes since last version.
6420 * Version 1.7.8 (released 2007-04-16)
6422 ** Added examples for the authorization extension.
6423 See doc/examples/ex-client-authz.c and doc/examples/ex-serv-authz.c.
6425 ** The examples only use gnutls_set_default_priority().
6426 The exception is when DH_ANON is needed.
6428 ** Improve gnutls_set_default_priority() priorities.
6429 The new approach is for it to try and negotiate all secure and
6430 standard mechanisms available. Currently, DH_ANON ciphersuites and
6431 LZO compressions are not enabled by default, because they are,
6432 respectively, insecure and non-standardized. Note that TLS 1.2 will
6433 not be enabled by default in non-experimental release until it has
6434 been approved by the IETF.
6436 ** gnutls-cli and gnutls-serv now uses the library's default priorities.
6437 This means that to get DH_ANON and LZO compression, you'll need to
6438 specify that manually using '--kx anon' or '--comp lzo'.
6440 ** Minor fixes to the human display format of X.509 certificates.
6442 ** New APIs to extract Distinguished Name's from X.509 certificates.
6443 Based on patch from Howard Chu <hyc@symas.com>.
6445 ** Improved library searching for opencdk.
6446 It will now add the appropriate -R or -Wl,-rpath flags as necessary.
6447 The deprecated opencdk.m4 is no longer used.
6449 ** New APIs to list supported algorithms in the library.
6450 The APIs are gnutls_cipher_list, gnutls_mac_list,
6451 gnutls_compression_list, gnutls_protocol_list,
6452 gnutls_certificate_type_list, gnutls_kx_list, and
6453 gnutls_cipher_suite_info. Suggested by Howard Chu <hyc@symas.com>.
6455 ** The gnutls_x509_crt_get_key_id API now handle non-RSA/DSA keys.
6457 ** New configure option --disable-tls-authorization to disable tls-authz.
6459 ** Fix prototype for `gnutls_psk_set_client_credentials'.
6460 The last parameter was renamed from 'flags' to 'format' and the type
6461 changed from 'unsigned int' to 'gnutls_psk_key_flags' (an enum type),
6462 which shouldn't cause any ABI changes. Reported by ludo@chbouib.org
6465 ** Fix allocation in gnutls_certificate_set_openpgp_key.
6466 Tiny patch from ludo@chbouib.org (Ludovic Courtès).
6468 ** API and ABI modifications:
6469 gnutls_x509_dn_t: ADD.
6470 gnutls_x509_ava_st: ADD.
6471 gnutls_x509_crt_get_subject,
6472 gnutls_x509_crt_get_issuer: ADD.
6473 gnutls_x509_dn_get_rdn_ava: ADD.
6474 gnutls_cipher_list: ADD.
6475 gnutls_mac_list: ADD.
6476 gnutls_compression_list: ADD.
6477 gnutls_protocol_list: ADD.
6478 gnutls_certificate_type_list: ADD.
6479 gnutls_kx_list: ADD.
6480 gnutls_cipher_suite_info: ADD.
6482 * Version 1.7.7 (released 2007-02-22)
6484 ** Support for supplemental handshake messages and authorization data.
6485 Supplemental data is described in RFC 4680 and the authorization
6486 extensions in draft-housley-tls-authz-extns-07.
6488 ** Support for authorization data in gnutls-cli and gnutls-serv.
6489 New parameters --authz-x509-attr-cert and --authz-saml-assertion.
6491 ** Fix for gnutls_x509_crt_check_hostname.
6492 Before it would have reported that the certificate matched a hostname
6493 when it did not have any dNSName or any CN field. Report and tiny
6494 patch from "Richard W.M. Jones" <rjones@redhat.com>.
6496 ** New self test for RFC 2818 comparison in gnutls_x509_crt_check_hostname.
6497 Tests regressions of the bug, and several other features.
6499 ** GnuTLS now matches URI's with IP Addresses against iPAddress SAN's.
6500 Before there were no support for iPAddress SAN's during comparison.
6502 ** New API to print information about CRL's.
6503 The function is gnutls_x509_crl_print.
6505 ** New API to extract signature value from CRL's.
6506 The function is gnutls_x509_crl_get_signature.
6508 ** Support for directoryName Subject Alternative Name's.
6509 The gnutls_x509_crt_get_subject_alt_name function returns the DN as a
6510 string in the provided buffer.
6512 ** Internal improvements to certtool.
6513 It uses gnutls_x509_crl_print to print CRL information. It uses some
6514 more gnulib modules to simplify error handling.
6516 ** API and ABI modifications:
6517 GNUTLS_HANDSHAKE_SUPPLEMENTAL: ADD, new gnutls_handshake_description_t element.
6518 gnutls_supplemental_data_format_type_t: ADD.
6519 gnutls_authz_data_format_type_t: ADD.
6520 gnutls_supplemental_get_name: ADD.
6521 gnutls_authz_recv_callback_func,
6522 gnutls_authz_send_callback_func: ADD, callback prototypes.
6523 gnutls_authz_enable: ADD.
6524 gnutls_authz_send_x509_attr_cert,
6525 gnutls_authz_send_saml_assertion,
6526 gnutls_authz_send_x509_attr_cert_url,
6527 gnutls_authz_send_saml_assertion_url: ADD.
6528 GNUTLS_SAN_DN: ADD, new gnutls_x509_subject_alt_name_t element.
6529 gnutls_x509_crl_print: ADD.
6530 gnutls_x509_crl_get_signature: ADD.
6532 * Version 1.7.6 (released 2007-02-12)
6534 ** Support for 'otherName' Subject Alternative Names.
6535 The existing API gnutls_x509_crt_get_subject_alt_name may now return
6536 the new type GNUTLS_SAN_OTHERNAME together with the otherName value.
6537 To find out the otherName OID (necessary for proper parsing of the
6538 value), use the new API gnutls_x509_crt_get_subject_alt_othername_oid.
6539 For known OIDs, gnutls_x509_crt_get_subject_alt_othername_oid will
6540 return "virtual" SAN values, e.g., GNUTLS_SAN_OTHERNAME_XMPP to
6541 simplify OID matching. Suggested by Matthias Wimmer <m@tthias.eu>.
6543 ** Certtool can print otherName SAN values for certificates.
6544 For known otherName OIDs (currently only id-on-xmppAddr as defined by
6545 RFC 3920), it will also print the name.
6547 ** Fix TLS 1.2 RSA signing in servers.
6548 Before it used the old-style MD5+SHA1 signature, but the TLS
6549 signatures should be normal PKCS#1 signatures. FYI, we use and
6550 require that DigestInfo parameters are present and NULL for TLS 1.2.
6552 ** Add APIs to access X.509 extensions sequentially.
6553 The existing APIs gnutls_x509_crt_get_extension_oid() and
6554 gnutls_x509_crt_get_extension_by_oid() does not permit callers to
6555 inspect the extensions in the order defined by the certificate.
6557 ** Add API to extract signature value from X.509 certificates.
6558 The function is gnutls_x509_crt_get_signature.
6560 ** Fix crash when generating proxy certificates in batch mode.
6561 If you don't specify a proxy policy in batch mode, it will use
6564 ** Add API to print information about X.509 certificates.
6565 The function is gnutls_x509_crt_print.
6567 ** Certtool uses the new API gnutls_x509_crt_print to print certificate info.
6568 One consequence of this is that the output syntax has changed
6569 slightly. Some more fields are printed.
6573 ** API and ABI modifications:
6574 gnutls_x509_crt_print: ADD
6575 gnutls_certificate_print_formats_t: ADD, new enum.
6576 gnutls_x509_crt_get_signature: ADD.
6577 gnutls_x509_crt_get_extension_data: ADD.
6578 gnutls_x509_crt_get_extension_info: ADD.
6579 gnutls_x509_crt_get_subject_alt_othername_oid: ADD.
6580 GNUTLS_SAN_OTHERNAME: ADD, new gnutls_x509_subject_alt_name_t element.
6581 GNUTLS_SAN_OTHERNAME_XMPP: ADD, new gnutls_x509_subject_alt_name_t element.
6583 * Version 1.7.5 (released 2007-02-06)
6585 ** Servers won't negotiate SRP RSA/DSS cipher suites if no SRP credential
6588 ** Default behaviour for the gnutls-cli and gnutls-serv tools improved.
6590 ** Fix --list output for gnutls-cli and gnutls-serv.
6591 Mention TLS1.2, SHA512 etc.
6593 ** Manual contains new section on setting up a test HTTP server.
6594 A server set up following those descriptions are available online via
6595 <http://www.gnutls.org/server.html>.
6597 ** Update of gnulib files.
6599 ** API and ABI modifications:
6600 No changes since last version.
6602 * Version 1.7.4 (released 2007-02-05)
6604 ** Support for RSA signing using SHA-256/384/512.
6605 A new self test "sha2" tries to build a long X.509 certificate chain
6606 testing all new hashes.
6608 ** The gnutls-serv tool now use static DH parameters if none are supplied.
6610 ** Discuss proxy certificates in the manual.
6612 ** Improve bibliographical citations in the manual.
6614 ** Update of gnulib files.
6616 ** Fix certtool template handling of pathLenConstraints.
6617 It now defaults to -1 instead of 0, which causes the field to be
6618 missing unless the template specify it.
6620 ** API and ABI modifications:
6623 GNUTLS_MAC_SHA512: New gnutls_mac_algorithm_t values.
6626 GNUTLS_DIG_SHA512: New gnutls_digest_algorithm_t values.
6627 GNUTLS_SIGN_RSA_SHA256,
6628 GNUTLS_SIGN_RSA_SHA384,
6629 GNUTLS_SIGN_RSA_SHA512: New gnutls_sign_algorithm_t values.
6631 * Version 1.7.3 (released 2007-02-01)
6633 ** New option to certtool: --generate-proxy.
6634 This will generate a Proxy Certificate from an end entity certificate.
6635 Proxy Certificates are documented in RFC 3820. You will need to
6636 specify the proxy certificate's private key with --load-privkey, the
6637 user certificate with --load-certificate and the private key used to
6638 sign the new proxy certificate with --load-ca-privkey. Certtool will
6639 query for proxy path length and the policy language OID. Currently
6640 only OIDs that have an empty policy are supported (which includes the
6641 two OIDs defined by RFC 3820).
6643 ** Certtool --certificate-info now prints information for Proxy Certificates.
6644 Before the proxy extension was just printed as DER encoded data.
6646 ** New APIs to set proxy subject names and get/set proxy cert extension.
6648 ** Fix parsing of pathLenConstraints in BasicConstraints with missing cA.
6650 ** Added self-test to test for regressions of pathLenConstraint bug.
6651 Incidentally, this also test (some) other regressions or changes in
6652 the output from certtool --certificate-info.
6654 ** When certtool generates CA certificates, pressing enter on the path
6655 ** length constraint query will now remove the field.
6656 Before it set the path length constraint to 0, which is a rather poor
6659 ** Certtool now print times in UTC when printing certificate/CRL info.
6661 ** Add better fix to work around C++ compiler bug on Mac OS X.
6662 Reported and tiny patch provided by Matthias Scheler <tron@NetBSD.org>.
6664 ** Fix import of ASCII armored OpenPGP keys.
6665 Patch by ludovic.courtes@laas.fr (Ludovic Courtès).
6667 ** Update of gnulib files.
6669 ** API and ABI modifications:
6670 gnutls_x509_crt_set_proxy_dn: ADD.
6671 gnutls_x509_crt_set_proxy: ADD.
6672 gnutls_x509_crt_get_proxy: ADD.
6674 * Version 1.7.2 (released 2007-01-14)
6676 ** Certtool now print the value of the pathLenConstraints field for certs.
6678 ** Certtool now query for path length constraints when generating CA certs.
6679 For batch uses, the certtool configuration name is "path_len".
6680 Suggested by Sascha Ziemann <sascha.ziemann@secunet.com>.
6682 ** Add new API to get/set pathLenConstraint in the Basic Constraints.
6683 The new functions gnutls_x509_crt_get_basic_constraints and
6684 gnutls_x509_crt_set_basic_constraints provide a superset of the
6685 functionality in the old gnutls_x509_crt_get_ca_status and
6686 gnutls_x509_crt_set_ca_status (respectively), but the old functions
6687 will continue to be supported.
6689 ** Add new API in OpenCDK to extract public/secret OpenPGP key to S-expr.
6690 The functions are cdk_pubkey_to_sexp and cdk_seckey_to_sexp. A proper
6691 OpenCDK release with this patch will be made soon, which should bump
6692 the OpenCDK version number. Patch by Mario Lenz <mario.lenz@gmx.net>.
6694 ** Certtool --to-p12 can now store more than one certificate in the blob.
6695 Before it could only store one certificate, but now it will read and
6696 store as many certificate there are from the --load-certificate file.
6697 Suggested by Sascha Ziemann <sascha.ziemann@secunet.com>.
6699 ** Clean up separation of gnutls and gnutls-extra for OpenPGP.
6700 In particular, the OpenPGP function variables are no longer part of
6701 the exported libgnutls interface, and no header files from
6702 libgnutls-extra (GPL) are needed by libgnutls (LGPL). The variables
6703 were never intended for non-internal purposes, and thus this does not
6704 imply a change in the external API/ABI.
6706 ** Print URL to gaa when missing, and fix srcdir!=builddir for GAA files.
6707 Reported by ludovic.courtes@laas.fr (Ludovic Courtès).
6709 ** GnuTLS no longer uses -mms-bitfields --enable-runtime-pseudo-reloc.
6710 Before these parameters were set to make GnuTLS build under mingw32,
6711 however, they appear to no longer be necessary.
6713 ** A minor fix to the C++ library to make it build.
6714 Reported by Pavlov Konstantin <thresh@altlinux.ru>.
6716 ** Update of gnulib files.
6718 ** API and ABI modifications:
6719 gnutls_x509_crt_get_basic_constraints: ADD.
6720 gnutls_x509_crt_set_basic_constraints: ADD.
6721 cdk_pubkey_to_sexp: ADD (in opencdk).
6722 cdk_seckey_to_sexp: ADD (in opencdk).
6724 * Version 1.7.1 (released 2006-12-28)
6726 ** TLS 1.2 server side fix.
6727 The Certificate Request sent did not contain the list of supported
6728 hashes field, thus violating the protocol. It will now contain an
6729 empty list. Reported by ludovic.courtes@laas.fr (Ludovic Courtès).
6731 ** TLS 1.2 DSA signature verification fix.
6732 Reported by ludovic.courtes@laas.fr (Ludovic Courtès).
6734 ** Fix the list of trusted CAs that server's send to clients.
6735 Before, the list contained issuer DN's instead of subject DN's of the
6736 trusted CAs. Reported by Max Kellermann <max@duempel.org>.
6738 ** Fix gnutls_certificate_set_x509_crl to initialize the CRL before using it.
6739 Also added a self-test in tests/certificate_set_x509_crl.c to test the
6740 function. Reported by Max Kellermann <max@duempel.org>.
6742 ** Encode UID fields in DN's as DirectoryString.
6743 Before GnuTLS encoded and parsed UID fields as IA5String. This was
6744 incorrect, it should have used DirectoryString. Now it will use
6745 DirectoryString for the UID field, but for backwards compatibility it
6746 will also accept IA5String UID's. Reported by Max Kellermann
6749 ** Improve out-of-sourcedir builds from CVS.
6750 Reported by ludovic.courtes@laas.fr (Ludovic Courtès).
6752 ** Bootstrap tools changed.
6753 We now require autoconf 2.61, automake 1.10, and gettext 0.16, when
6754 building GnuTLS from CVS. Libtool 1.5.22 is used.
6756 ** Fixed a syntax error in lib/gnutls.asn.
6757 Reported by Paul Millar <p.millar@physics.gla.ac.uk>.
6759 ** Added German translation of GnuTLS messages.
6761 ** Update of gnulib files.
6763 ** API and ABI modifications:
6764 No changes since last version.
6766 * Version 1.7.0 (released 2006-11-29)
6768 ** The default protocol priority try TLS 1.1 and TLS 1.2 too.
6769 The details is that the protocol priority set by
6770 `gnutls_set_default_priority' has been changed from TLS 1.0 and SSL
6771 3.0 to TLS 1.2, TLS 1.1, TLS 1.0 and SSL 3.0.
6773 ** Preliminary support for TLS 1.2.
6774 The client has been successfully tested against
6775 https://www.mikestoolbox.org:4433/.
6777 ** Anonself test now print a lot of debugging info, including TLS version.
6779 ** Doc fixes in OpenCDK, to avoid some gtk-doc warnings.
6781 ** Update of gnulib files.
6783 ** API and ABI modifications:
6784 GNUTLS_TLS1_2: New gnutls_protocol_t enum member.
6786 *** Pulled up from stable 1.6.x branch:
6788 ** Fix ./configure failure with non-GCC compilers.
6789 This fixes the following error message:
6790 configure: error: conditional "HAVE_LD_OUTPUT_DEF" was never defined.
6791 Reported by "Michael C. Vergallen" <mvergall@telenet.be>.
6793 * Version 1.6.3 (released 2007-05-26)
6795 ** New API functions to extract DER encoded X.509 Subject/Issuer DN.
6796 Suggested by Nate Nielsen <nielsen-list@memberwebs.com>. Backported
6797 from the 1.7.x branch, see
6798 <http://lists.gnu.org/archive/html/help-gnutls/2007-05/msg00029.html>.
6800 ** Have PKCS8 parser return better error codes.
6801 Reported by Nate Nielsen <nielsen-list@memberwebs.com>, see
6802 <http://lists.gnupg.org/pipermail/gnutls-dev/2007-May/001653.html> and
6803 <http://lists.gnupg.org/pipermail/gnutls-dev/2007-May/001654.html>.
6805 ** Fix mem leak for sessions with client authentication via certificates.
6806 Reported by Andrew W. Nosenko <andrew.w.nosenko@gmail.com>, see
6807 <http://lists.gnupg.org/pipermail/gnutls-dev/2007-April/001539.html>.
6809 ** Fix building of 'tlsia' self test.
6810 Earlier some gcc are known to build tlsia linking to
6811 $prefix/lib/libgnutls-extra.so rather than the libgnutls-extra.so in
6812 the build directory, even though command line parameters look OK.
6813 Changing order of some parameters fixes it.
6815 ** API and ABI modifications:
6816 gnutls_x509_crt_get_raw_issuer_dn: ADD.
6817 gnutls_x509_crt_get_raw_dn: ADD.
6819 * Version 1.6.2 (released 2007-04-18)
6821 ** Fix X.509 signing with RSA-PKCS#1 to set a NULL parameters fields.
6822 Before, we remove the parameters field, which resulted in a slightly
6823 different DER encoding which in turn caused signature verification
6824 failures of GnuTLS-generated RSA certificates in some other
6825 implementations (e.g., GnuPG 2.x's gpgsm). Depending on which RFCs
6826 you read, this may or may not be correct, but our new behaviour appear
6827 to be consistent with other widely used implementations.
6829 ** Regenerate the PKIX ASN.1 syntax tree.
6830 For some reason, after changing the ASN.1 type of ldap-UID in the last
6831 release, the generated C file built from the ASN.1 schema was not
6832 refreshed. This can cause problems when reading/writing UID
6833 components inside X.500 Distinguished Names. Reported by devel
6834 <dev001@pas-world.com>.
6836 ** Updated translations.
6838 ** API and ABI modifications:
6839 No changes since last version.
6841 * Version 1.6.1 (released 2006-12-28)
6843 ** Fix the list of trusted CAs that server's send to clients.
6844 Before, the list contained issuer DN's instead of subject DN's of the
6845 trusted CAs. Reported by Max Kellermann <max@duempel.org>.
6847 ** Fix gnutls_certificate_set_x509_crl to initialize the CRL before using it.
6848 Reported by Max Kellermann <max@duempel.org>.
6850 ** Encode UID fields in DN's as DirectoryString.
6851 Before GnuTLS encoded and parsed UID fields as IA5String. This was
6852 incorrect, it should have used DirectoryString. Now it will use
6853 DirectoryString for the UID field, but for backwards compatibility it
6854 will also accept IA5String UID's. Reported by Max Kellermann
6857 ** Fix ./configure failure with non-GCC compilers.
6858 This fixes the following error message:
6859 configure: error: conditional "HAVE_LD_OUTPUT_DEF" was never defined.
6860 Reported by "Michael C. Vergallen" <mvergall@telenet.be>.
6862 ** API and ABI modifications:
6863 No changes since last version.
6865 * Version 1.6.0 (released 2006-11-17)
6867 ** No changes since 1.5.5.
6868 The major changes compared to the 1.4.x branch are:
6870 *** A GnuTLS C++ library is part of the official distribution.
6871 Currently there are no examples or documentation, but hopefully this
6872 will change. See gnutlsxx.h for the API.
6874 *** Windows is a supported platform.
6875 There are, however, two know bugs. One is related to select() in
6876 command line tools (not, nota bene, in the library), the other is a
6877 problem with libgcrypt that causes delays. Help is needed to resolve
6878 those issues, so we feel we can't delay the release because of this.
6880 *** New APIs for custom push/pull function error reporting.
6881 The new APIs are gnutls_transport_set_errno and
6882 gnutls_transport_set_global_errno. See the release notes for version
6883 1.5.4 for more information.
6885 *** Self tests are run under valgrind, if available. See --disable-valgrind.
6887 * Version 1.5.5 (released 2006-11-16)
6889 ** Correctly bump shared library version after adding new APIs.
6890 This was forgotten in the last release.
6892 ** Fix unsigned vs signed problem in ex-x509-info.c example.
6893 Reported by Tim Kosse <tim.kosse@filezilla-project.org>.
6895 ** Fix the rsa-md5-collision self test to work for MinGW+Wine.
6897 ** Update of gnulib files.
6899 ** API and ABI modifications:
6900 No changes since last version.
6902 * Version 1.5.4 (released 2006-11-07)
6904 ** New API functions to set errno in push/pull functions.
6905 Under Windows, setting the errno variable in a push/pull replacement
6906 may end up setting the wrong errno variable, and GnuTLS send/recv
6907 functions become confused about the real errno returned from a failed
6908 push/pull function. Therefor, we have added two APIs to set the errno
6909 variable used by GnuTLS. The APIs can also help to keep things
6910 thread-safe, by avoiding potentially global variables. Typically,
6911 instead of setting errno in your push/pull function, you will call one
6912 of these functions. It is recommended to use
6913 gnutls_transport_set_errno, but if you don't have the session variable
6914 easily accessible in the push/pull replacement function, you can use
6915 gnutls_transport_set_global_errno. Suggested by Tim Kosse
6916 <tim.kosse@filezilla-project.org>.
6918 void gnutls_transport_set_errno (gnutls_session_t session, int err);
6919 void gnutls_transport_set_global_errno (int err);
6921 ** When calling `recv' or `send' Windows errors are handled properly.
6922 The Windows recv/send functions doesn't use errno, and GnuTLS now use
6923 WSAGetLastError to access the error condition instead.
6925 ** Several OpenPGP API fixes.
6926 All suggested by ludovic.courtes@laas.fr (Ludovic Courtès). The most
6927 important fix is to change the return value of
6928 gnutls_openpgp_privkey_get_pk_algorithm and
6929 gnutls_openpgp_key_get_pk_algorithm from 'int' to
6930 'gnutls_pk_algorithm_t', which is an enum type (and thus API/ABI
6931 compatible with 'int').
6933 ** When a GnuTLS server receive a SSLv2 Client Hello for an unknown TLS
6934 ** version, try to negotiate the highest version support by the GnuTLS server,
6935 ** instead of the lowest.
6936 Reported by <Pasi.Eronen@nokia.com>.
6938 ** Replace old constructs with use of gnulib modules.
6939 For example, we can now assume unistd.h, sys/stat.h, sys/socket.h in
6940 the code. If the headers doesn't exist on the target system, gnulib
6941 will make sure its replacement header files are used instead.
6943 ** Fix SOVERSION computation for *.def files.
6944 This fixes build errors similar to "No rule to make target
6945 `libgnutls-`expr', needed by `all-am'." when building for Windows.
6947 ** gnutls_check-version uses strverscmp from gnulib.
6949 ** Update of gnulib files.
6951 ** API and ABI modifications:
6952 gnutls_transport_set_errno: ADD
6953 gnutls_transport_set_global_errno: ADD
6955 * Version 1.5.3 (released 2006-10-26)
6957 ** Add new self-test of RSA-MD5 signature chains.
6958 Note that we already, since GnuTLS 1.2.9, reject RSA-MD5 signatures
6959 when verifying X.509 chains. The code is in tests/rsa-md5-collision/
6960 and is based on the work by Marc Stevens et al, see
6961 <http://www.win.tue.nl/hashclash/TargetCollidingCertificates/>.
6963 ** Re-factor self tests.
6965 ** The include copy of Libtasn1 is updated to version 0.3.7.
6967 ** The included copy of OpenCDK is updated to version 0.5.11.
6969 ** Fix the filename of the *.def file on Windows after library version bump.
6971 ** Separated the gnulib directory into one for LGPL modules and one for GPL.
6972 This allows the GPL'd part of GnuTLS to take advantage of the GPL'd
6973 gnulib modules. Earlier we could only use the LGPL'ed module from
6974 gnulib, because two gnulib directories in the same project didn't
6977 ** API and ABI modifications:
6978 No changes since last version.
6980 * Version 1.5.2 (released 2006-10-03)
6982 ** Decrement the shared library version back to 13 (as in the 1.4.x branch).
6983 Note that if you installed 1.5.0 or 1.5.1, they will have a higher
6984 shared library version than this version, so you'll have to remove
6985 them and possibly relink your applications. The reason for this is
6986 that no API/ABI changes have been made since the 1.4.x branch, and
6987 that incrementing the shared library version was a mistake. Reported
6988 by Andreas Metzler <ametzler@downhill.at.eu.org>.
6990 ** Fix off-by-one error when computing length to malloc.
6991 The code is used by gnutls_openpgp_add_keyring_file and
6992 gnutls_openpgp_add_keyring_mem. Reported by "Adam Langley"
6993 <agl@imperialviolet.org>.
6995 ** Add version script for the GnuTLS C++ library.
6996 Reported by Andreas Metzler <ametzler@downhill.at.eu.org>.
6998 ** Fix the C++ compiler detection logic.
6999 Reported by Andreas Metzler <ametzler@downhill.at.eu.org>.
7001 ** Update of gnulib files.
7003 ** API and ABI modifications:
7004 No changes since last version.
7006 * Version 1.5.1 (released 2006-09-21)
7008 ** Fix PKCS#1 verification to avoid a variant of Bleichenbacher's
7009 ** Crypto 06 rump session attack.
7010 In particular, we check that the digestAlgorithm.parameters field is
7011 missing or empty, to avoid that it can contain "garbage" that may be
7012 used to alter the numeric properties of the signature. See
7013 <http://www.imc.org/ietf-openpgp/mail-archive/msg14307.html> (which is
7014 not exactly the same as the problem we fix here). Reported by Yutaka
7015 OIWA <y.oiwa@aist.go.jp>.
7017 See GNUTLS-SA-2006-4 on http://www.gnutls.org/security.html for more
7018 up to date information.
7020 ** Add self test to test for above flaw.
7022 ** Fix gnutls-cli-debug regarding resume support detection.
7023 Earlier, if the session-id from the server had a length of 0, it would
7024 indicate that the server supports resumption, which isn't the case.
7025 Reported by Kataja Kai <kai.kataja@op.fi>.
7027 ** Fix building of examples on FreeBSD by including netinet/in.h.
7028 Reported by Roman Bogorodskiy <novel@FreeBSD.org>.
7030 ** Fix certtool bug that caused the private key to not be loaded when
7031 generating a certificate with --load-request, which in turn triggered
7032 another unrelated bug in gnutls_x509_crt_sign2 (also fixed). Reported
7033 by Sascha Ziemann <sascha.ziemann@secunet.com>.
7035 ** gnutls-cli and gnutls-serv works on Windows.
7036 The problem was the select() call that doesn't work on file
7037 descriptors (stdin) on Windows. We borrowed some code from plibc to
7038 solve this. It appears to be somewhat unreliable though.
7040 ** Autoconf 2.60 is now used.
7042 ** API and ABI modifications:
7043 No changes since last version.
7045 * Version 1.5.0 (released 2006-08-13)
7047 ** Change SRP and Cert-Type extensions to match IANA registry.
7049 ** Fixed bug in OpenPGP authentication handshake.
7051 ** Improvements for building under MinGW.
7052 Provides internal inet_ntop and inet_pton functions and arpa/inet.h
7053 header. Calls WSAStartup and WSACleanup in gnutls_global_init and
7054 gnutls_global_deinit, respectively. Loads getaddrinfo and getnameinfo
7055 at run-time from ws2_32.dll, and falls back on a simple replacement if
7056 it is not available. Builds the library with -mms-bitfields
7057 -Wl,--enable-runtime-pseudo-reloc. Links with --output-def, to
7058 create *.def files, which are installed.
7060 ** The examples now (conditionally) include config.h and link to gnulib.
7061 No other source changes were necessary, so the examples should
7062 continue to be possible to use stand-alone without any autoconf or
7065 ** Added C++ header "gnutlsxx.h" and library "libgnutlsxx".
7066 You may unconditionally disable it with --disable-cxx. See
7067 includes/gnutls/gnutlsxx.h and lib/gnutlsxx.cpp for the
7070 ** Made command line tool '--version' behave according to GNU Standards.
7071 This enables 'make distcheck' to succeed.
7073 ** OpenCDK updated to 0.5.9 to fix some problems with OpenPGP support.
7075 ** Make --without-included-libtasn1 work.
7076 Reported by Daniel Black <dragonheart@gentoo.org>.
7078 ** Fix a crash (strcmp() on a NULL value) in the certificate verification logic.
7079 See http://www.gnu.org/software/gnutls/security.html regardging
7080 GNUTLS-SA-2006-2 for more up to date information. Reported by
7081 satyakumar <satyam_kkd@hyd.hellosoft.com>.
7083 ** API and ABI modifications:
7084 No changes since last version.
7086 * Version 1.4.5 (released 2006-11-06)
7088 ** When a GnuTLS server receive a SSLv2 Client Hello for an unknown TLS
7089 ** version, try to negotiate the highest version support by the GnuTLS server,
7090 ** instead of the lowest.
7091 Reported by <Pasi.Eronen@nokia.com>.
7093 ** Fix typo in doc/examples/ex-serv-pgp.c.
7094 Reported by Adam Langley" <agl@imperialviolet.org>.
7096 ** API and ABI modifications:
7097 No changes since last version.
7099 * Version 1.4.4 (released 2006-09-12)
7101 ** Relax the test that caught signatures that exploit the variant of
7102 ** Bleichenbacher's Crypto 06 rump session attack on our
7103 ** verification logic flaw.
7104 In particular, we now permit the digestAlgorithm.parameters field to
7105 be present but empty, whereas in 1.4.3 we actually checked that the
7108 ** Revert the removal of debug information for the GNUTLS-SA-2006-3 problem.
7109 The messages are only printed in debug mode, which is not recommended
7110 for normal use, and thus logging this situation cannot be abused as an
7111 oracle in typical recommended situations.
7113 ** API and ABI modifications:
7114 No changes since last version.
7116 * Version 1.4.3 (released 2006-09-08)
7118 ** Fix PKCS#1 verification to avoid a variant of Bleichenbacher's
7119 ** Crypto 06 rump session attack.
7120 In particular, we check that the digestAlgorithm.parameters field is
7121 empty, to avoid that it can contain "garbage" that may be used to
7122 alter the numeric properties of the signature. See
7123 <http://www.imc.org/ietf-openpgp/mail-archive/msg14307.html> (which is
7124 not exactly the same as the problem we fix here). Reported by Yutaka
7125 OIWA <y.oiwa@aist.go.jp>.
7127 See GNUTLS-SA-2006-4 on http://www.gnutls.org/security.html for more
7128 up to date information.
7130 ** Fix PKCS#1 decryption to avoid Bleichenbacher's Crypto 98 attack.
7131 See <http://www.bell-labs.com/user/bleichen/papers/pkcs.ps.gz>.
7132 Reported by Werner Koch <wk@gnupg.org>.
7134 See GNUTLS-SA-2006-3 on http://www.gnutls.org/security.html for more
7135 up to date information.
7137 ** Fix crash in gnutls_x509_crt_sign2 if passed a NULL issuer_key.
7139 ** API and ABI modifications:
7140 No changes since last version.
7142 * Version 1.4.2 (released 2006-08-12)
7144 ** Fix a crash (strcmp() on a NULL value) in the certificate verification logic.
7145 This can happen if you call gnutls_certificate_verify_peers2 and have
7146 a certain mix of local CA certificates and the peer send special
7147 certificates, that together trigger certain behaviour. It is not
7148 known at this point whether the crash can be triggered without the
7149 special local CA certificate, and thus turn this into a remote crash
7150 of clients that verify server certificates when they talk to a server
7151 with the special server certificate. See GNUTLS-SA-2006-2 on
7152 http://www.gnu.org/software/gnutls/security.html for more up to date
7153 information. Reported by satyakumar <satyam_kkd@hyd.hellosoft.com>.
7155 ** Change SRP and Cert-Type extensions to match IANA registry.
7157 ** OpenCDK updated to 0.5.9 to fix some problems with OpenPGP support.
7159 ** Make --without-included-libtasn1 work.
7160 Reported by Daniel Black <dragonheart@gentoo.org>.
7162 ** API and ABI modifications:
7163 No changes since last version.
7165 * Version 1.4.1 (released 2006-06-14)
7167 ** Replaced inactive ifdefs to enable openpgp support in test programs.
7169 ** Fixed bug in OpenPGP authentication handshake.
7171 ** Fixed typographical in man pages.
7173 ** Build fixes of the manual.
7175 ** Added Swedish translation.
7177 ** API and ABI modifications:
7178 No changes since last version.
7180 * Version 1.4.0 (released 2006-05-15)
7182 ** Remove GnuTLS 0.8.x compatibility functions.
7184 ** The libgcrypt RNG is initialized in gnutls_global_init().
7186 ** TLS/IA API changes from Emile van Bergen.
7187 A dummy credential structure is not needed now, if you wish to use the
7188 low-level TLS/IA API, simply call gnutls_ia_enable to enable TLS/IA on
7191 ** The self-tests are now run under valgrind, if it is installed.
7193 ** Libtasn1 is updated to 0.3.4, and that version is now required.
7195 ** The command line tools now use getaddrinfo and support IPv6.
7197 ** API and ABI modifications:
7198 _gnutls_x509_get_raw_crt_activation_time,
7199 _gnutls_x509_get_raw_crt_expiration_time: Removed.
7200 gnutls_ia_require_inner_phase: Removed, replaced by gnutls_ia_enable.
7201 gnutls_ia_enable: Added.
7203 * Version 1.3.5 (released 2006-03-08)
7205 ** Error messages are now translated using GNU Gettext.
7207 ** The function gnutls_x509_crt_to_xml now return an internal error.
7208 This means that the code to convert X.509 certificates to XML format
7209 does not work any more. The reason is that the function called
7210 libtasn1 internal functions. It seems unclean for libtasn1 to export
7211 the APIs needed here. Instead it would be better to implement XML
7212 support inside libtasn1 properly. If you need this functionality
7213 strongly, please consider looking into implementing this suggested
7214 approach instead. As a workaround, you may also modify lib/x509/xml.c
7215 (change '#if 1' to '#if 0') and build using --with-included-libtasn1.
7217 ** Libraries are now built with libtool's -no-undefined.
7218 This helps producing libraries for Windows using mingw32.
7220 ** Doc fixes to explain that gnutls_record_send can block.
7222 ** Libtasn1 0.3.1 or later is now required.
7223 The include copy has been updated too.
7225 ** gnutls-cli can now recognize services and port numbers with the -p option.
7227 ** API and ABI modifications:
7228 No changes since last version.
7230 * Version 1.3.4 (released 2006-02-09)
7232 ** Fix read of out bounds bug in DER parser.
7233 Reported by Evgeny Legerov <admin@gleg.net>, and debugging help from
7234 Protover SSL. Libtasn1 0.2.18 is now required, which contains the
7235 previous bug fix. The included libtasn1 version in GnuTLS has been
7238 ** Fixed bug in non-blocking gnutls_bye(). gnutls_record_send() will no
7239 longer invalidate a session if the underlying send fails, but it will
7240 prevent future writes. That is to allow reading the already received data.
7241 Patches and bug reports by Yoann Vandoorselaere <yoann@prelude-ids.org>
7243 ** Corrected bugs in gnutls_certificate_set_x509_crl() and
7244 gnutls_certificate_set_x509_trust(), that caused memory corruption if
7245 more than one certificates were added. Report and patch by Max Kellermann.
7247 ** Fix build problems of OpenCDK on AIX.
7248 Thanks to "Heiden, John" <JHeiden@UTNet.UToledo.Edu>.
7250 ** API and ABI modifications:
7251 No changes since last version.
7253 * Version 1.3.3 (released 2006-01-12)
7255 ** New API to access the TLS master secret.
7256 When possible, you should use the TLS PRF functions instead.
7257 Suggested by Jouni Malinen <jkmaline@cc.hut.fi>.
7259 ** Improved handling when multiple libraries use GnuTLS at the same time.
7260 Now gnutls_global_init() can be called multiple times, and
7261 gnutls_global_deinit() will only deallocate the structure when it has
7262 been called as many times as gnutls_global_init() was called.
7264 ** Added a self test of TLS resume functionality.
7266 ** Fix crash in TLS resume code, caused by TLS/IA changes.
7268 ** Documentation fixes about thread unsafety, prompted by
7269 ** discussion with bryanh@giraffe-data.com (Bryan Henderson).
7270 In particular, gnutls_global_init() and gnutls_global_deinit() are not
7271 thread safe. Careful callers may want to protect the call using a
7272 mutex. The problem could also be ignored, which would cause a memory
7273 leak under rare conditions when two threads invoke the function
7274 roughly at the same time.
7276 ** Add 'const' keywords in various places, from Frediano ZIGLIO.
7278 ** The code was indented again, including the external header files.
7280 ** API and ABI modifications:
7281 New functions to retrieve the master secret value:
7282 gnutls_session_get_master_secret
7284 Add a 'const' keyword to existing API:
7285 gnutls_x509_crq_get_challenge_password
7287 * Version 1.3.2 (released 2005-12-15)
7289 ** GnuTLS now support TLS Inner application (TLS/IA).
7290 This is per draft-funk-tls-inner-application-extension-01. This
7291 functionality is added to libgnutls-extra, so it is licensed under the
7292 GNU General Public License.
7294 ** New APIs to access the TLS Pseudo-Random-Function (PRF).
7295 The PRF is used by some protocols building on TLS, such as EAP-PEAP
7296 and EAP-TTLS. One function to access the raw PRF and one to access
7297 the PRF seeded with the client/server random fields are provided.
7298 Suggested by Jouni Malinen <jkmaline@cc.hut.fi>.
7300 ** New APIs to acceess the client and server random fields in a session.
7301 These fields can be useful by protocols using TLS. Note that these
7302 fields are typically used as input to the TLS PRF, and if this is your
7303 intended use, you should use the TLS PRF API that use the
7304 client/server random field directly. Suggested by Jouni Malinen
7305 <jkmaline@cc.hut.fi>.
7307 ** Internal type cleanups.
7308 The uint8, uint16, uint32 types have been replaced by uint8_t,
7309 uint16_t, uint32_t. Gnulib is used to guarantee the presence of
7310 correct types on platforms that lack them. The uint type have been
7311 replaced by unsigned.
7313 ** API and ABI modifications:
7314 New functions to invoke the TLS Pseudo-Random-Function (PRF):
7318 New functions to retrieve the session's client and server random values:
7319 gnutls_session_get_server_random
7320 gnutls_session_get_client_random
7322 New function, to perform TLS/IA handshake:
7325 New function to decide whether to do a TLS/IA handshake:
7326 gnutls_ia_handshake_p
7328 New functions to allocate a TLS/IA credential:
7329 gnutls_ia_allocate_client_credentials
7330 gnutls_ia_free_client_credentials
7331 gnutls_ia_allocate_server_credentials
7332 gnutls_ia_free_server_credentials
7334 New functions to handle the AVP callback:
7335 gnutls_ia_set_client_avp_function
7336 gnutls_ia_set_client_avp_ptr
7337 gnutls_ia_get_client_avp_ptr
7338 gnutls_ia_set_server_avp_function
7339 gnutls_ia_set_server_avp_ptr
7340 gnutls_ia_get_server_avp_ptr
7342 New functions, to toggle TLS/IA application phases:
7343 gnutls_ia_require_inner_phase
7345 New function to mix session keys with inner secret:
7346 gnutls_ia_permute_inner_secret
7348 Low-level API (used internally by gnutls_ia_handshake):
7349 gnutls_ia_endphase_send
7353 New functions that can be used after successful TLS/IA negotiation:
7354 gnutls_ia_generate_challenge
7355 gnutls_ia_extract_inner_secret
7357 Enum type with TLS/IA modes:
7360 Enum type with TLS/IA packet types:
7363 Enum values for TLS/IA alerts:
7364 GNUTLS_A_INNER_APPLICATION_FAILURE
7365 GNUTLS_A_INNER_APPLICATION_VERIFICATION
7367 New error codes, to signal when an application phase has finished:
7368 GNUTLS_E_WARNING_IA_IPHF_RECEIVED
7369 GNUTLS_E_WARNING_IA_FPHF_RECEIVED
7371 New error code to signal TLS/IA verify failure:
7372 GNUTLS_E_IA_VERIFY_FAILED
7374 * Version 1.3.1 (released 2005-12-08)
7376 ** Support for DHE-PSK cipher suites has been added.
7377 This method offers perfect forward secrecy.
7379 ** Fix gnutls-cli STARTTLS hang when SIGINT is sent too quickly, thanks to
7380 Otto Maddox <ottomaddox@fastmail.fm> and Nozomu Ando <nand@mac.com>.
7382 ** Corrected a bug in certtool for 64 bit machines. Reported
7383 by Max Kellermann <max@duempel.org>.
7385 ** New function to set a X.509 private key and certificate pairs, and/or
7386 CRLs, from an PKCS#12 file, suggested by Emile van Bergen
7387 <emile@e-advies.nl>.
7389 The integrity of the PKCS#12 file is protected through a password
7390 based MAC; public-key based signatures for integrity protection are
7391 not supported. PKCS#12 bags may be encrypted using password derived
7392 symmetric keys, public-key based encryption is not supported. The
7393 PKCS#8 keys may be encrypted using passwords. The API use the same
7394 password for all operations. We believe that any more flexibility
7395 create too much complexity that would hurt overall security, but may
7396 add more PKCS#12 related APIs if real-world experience indicate
7399 ** gnutls_x509_privkey_import_pkcs8 now accept unencrypted PEM PKCS#8 keys,
7400 reported by Emile van Bergen <emile@e-advies.nl>.
7401 This will enable "certtool -k -8" to parse those keys.
7403 ** Certtool now generate keys in unencrypted PKCS#8 format for empty passwords.
7404 Use "certtool -p -8" and press press enter at the prompt. Earlier,
7405 certtool would have encrypted the key using an empty password.
7407 ** Certtool now accept --password for --key-info and encrypted PKCS#8 keys.
7408 Earlier it would have prompted the user for it, even if --password was
7411 ** Added self test of PKCS#8 parsing.
7412 Unencrypted and encrypted (pbeWithSHAAnd3-KeyTripleDES-CBC and
7413 pbeWithSHAAnd40BitRC2-CBC) formats are tested. The test is in
7416 ** API and ABI modifications:
7417 New function to set X.509 credentials from a PKCS#12 file:
7418 gnutls_certificate_set_x509_simple_pkcs12_file
7420 New gnutls_kx_algorithm_t enum type:
7423 New API to return session data (basically same as gnutls_session_get_data):
7424 gnutls_session_get_data2
7426 New API to set PSK Diffie-Hellman parameters:
7427 gnutls_psk_set_server_dh_params
7429 * Version 1.3.0 (2005-11-15)
7431 ** Support for TLS Pre-Shared Key (TLS-PSK) ciphersuites have been added.
7432 This add several new APIs, see below. Read the updated manual for
7433 more information. A new self test "pskself" has been added, that will
7434 test this functionality.
7436 ** The session resumption data are now system independent.
7438 ** The code has been re-indented to conform to the GNU coding style.
7440 ** Removed the RIPEMD ciphersuites.
7442 ** Added a discussion of the internals of gnutls in manual.
7444 ** Fixes for Tru64 UNIX 4.0D that lack MAP_FAILED, from Albert Chin.
7446 ** Remove trailing comma in enums, for IBM C v6, from Albert Chin.
7448 ** Make sure config.h is included first in a few files, from Albert Chin.
7450 ** Don't use C++ comments ("//") as they are invalid, from Albert Chin.
7452 ** Don't install SRP programs and man pages if --disable-srp-authentication,
7455 ** API and ABI modifications:
7456 New gnutls_kx_algorithm_t key exchange type: GNUTLS_KX_PSK
7458 New gnutls_credentials_type_t credential type:
7461 New credential types:
7462 gnutls_psk_server_credentials_t
7463 gnutls_psk_client_credentials_t
7465 New functions to allocate PSK credentials:
7466 gnutls_psk_allocate_client_credentials
7467 gnutls_psk_free_client_credentials
7468 gnutls_psk_free_server_credentials
7469 gnutls_psk_allocate_server_credentials
7471 New enum type for PSK key flags:
7472 gnutls_psk_key_flags
7474 New function prototypes for credential callback:
7475 gnutls_psk_client_credentials_function
7476 gnutls_psk_server_credentials_function
7478 New function to set PSK username and key:
7479 gnutls_psk_set_client_credentials
7481 New function to set PSK passwd file:
7482 gnutls_psk_set_server_credentials_file
7484 New function to extract PSK user in server:
7485 gnutls_psk_server_get_username
7487 New functions to set PSK callback:
7488 gnutls_psk_set_server_credentials_function
7489 gnutls_psk_set_client_credentials_function
7491 Use size_t instead of int for output size parameter:
7492 gnutls_srp_base64_encode
7493 gnutls_srp_base64_decode
7495 * Version 1.2.11 (2006-05-11)
7496 - The function gnutls_x509_crt_to_xml is not supported any more, and
7497 return an internal error. The reason is that the function called
7498 internal libtasn1 functions which are no longer exported from
7500 - Updated libtasn1 requirement to 0.3.4 and refreshed internal mintiasn1.
7501 - Updated gnulib compatibility files.
7502 - Fixed _gnutls_x509_get_raw_crt_expiration_time and
7503 _gnutls_x509_get_raw_crt_activation_time to return (time_t)-1 on errors.
7504 - API and ABI modifications:
7505 No changes since last version.
7507 * Version 1.2.10 (2006-02-09)
7508 - Fix read out bounds bug in DER parser. Reported by Evgeny Legerov
7509 <admin@gleg.net>, and debugging help from Protover SSL.
7510 - Libtasn1 0.2.18 is now required (contains the previous bug fix).
7511 The included version has been updated too.
7512 - Fix gnutls-cli STARTTLS hang when SIGINT is sent too quickly, thanks to
7513 Otto Maddox <ottomaddox@fastmail.fm> and Nozomu Ando <nand@mac.com>.
7514 - Corrected a bug in certtool for 64 bit machines. Reported
7515 by Max Kellermann <max@duempel.org>.
7516 - Corrected bugs in gnutls_certificate_set_x509_crl() and
7517 gnutls_certificate_set_x509_trust(), that caused memory corruption if
7518 more than one certificates were added. Report and patch by Max Kellermann.
7519 - Fixed bug in non-blocking gnutls_bye(). gnutls_record_send() will no
7520 longer invalidate a session if the underlying send fails, but it will
7521 prevent future writes. That is to allow reading the already received data.
7522 Patches and bug reports by Yoann Vandoorselaere <yoann@prelude-ids.org>
7524 * Version 1.2.9 (2005-11-07)
7525 - Documentation was updated and improved.
7526 - RSA-MD2 is now supported for verifying digital signatures.
7527 - Due to cryptographic advances, verifying untrusted X.509
7528 certificates signed with RSA-MD2 or RSA-MD5 will now fail with a
7529 GNUTLS_CERT_INSECURE_ALGORITHM verification output. For
7530 applications that must remain interoperable, you can use the
7531 GNUTLS_VERIFY_ALLOW_SIGN_RSA_MD2 or GNUTLS_VERIFY_ALLOW_SIGN_RSA_MD5
7532 flags when verifying certificates. Naturally, this is not
7533 recommended default behaviour for applications. To enable the
7534 broken algorithms, call gnutls_certificate_set_verify_flags with the
7535 proper flag, to change the verification mode used by
7536 gnutls_certificate_verify_peers2.
7537 - Make it possible to send empty data through gnutls_record_send,
7538 to align with the send(2) API.
7539 - Some changes in the certificate receiving part of handshake to prevent
7540 some possible errors with non-blocking servers.
7541 - Added numeric version symbols to permit simple CPP-based feature
7542 tests, suggested by Daniel Stenberg <daniel@haxx.se>.
7543 - The (experimental) low-level crypto alternative to libgcrypt used
7544 earlier (Nettle) has been replaced with crypto code from gnulib.
7545 This leads to easier re-use of these components in other projects,
7546 leading to more review and simpler maintenance. The new configure
7547 parameter --with-builtin-crypto replace the old --with-nettle, and
7548 must be used if you wish to enable this functionality. See README
7549 under "Experimental" for more information. Internally, GnuTLS has
7550 been updated to use the new "Generic Crypto" API in gl/gc.h. The
7551 API is similar to the old crypto/gc.h, because the gnulib code were
7552 based on GnuTLS's gc.h.
7553 - Fix compiler warning in the "anonself" self test.
7554 - API and ABI modifications:
7555 gnutls_x509_crt_list_verify: Added 'const' to prototype in <gnutls/x509.h>.
7556 This doesn't reflect a change in behaviour,
7557 so we don't break backwards compatibility.
7558 GNUTLS_MAC_MD2: New gnutls_mac_algorithm_t value.
7559 GNUTLS_DIG_MD2: New gnutls_digest_algorithm_t value.
7560 GNUTLS_VERIFY_ALLOW_SIGN_RSA_MD2,
7561 GNUTLS_VERIFY_ALLOW_SIGN_RSA_MD5: New gnutls_certificate_verify_flags values.
7563 gnutls_x509_crt_list_verify,
7564 gnutls_x509_crt_verify, or
7565 gnutls_certificate_set_verify_flags.
7566 GNUTLS_CERT_INSECURE_ALGORITHM: New gnutls_certificate_status_t value,
7567 used when broken signature algorithms
7568 is used (currently RSA-MD2/MD5).
7569 LIBGNUTLS_VERSION_MAJOR,
7570 LIBGNUTLS_VERSION_MINOR,
7571 LIBGNUTLS_VERSION_PATCH,
7572 LIBGNUTLS_VERSION_NUMBER: New CPP symbols, indicating the GnuTLS
7573 version number, can be used for feature existence
7576 * Version 1.2.8 (2005-10-07)
7577 - Libgcrypt 1.2.2 is required to fix a bug for forking GnuTLS servers.
7578 - Don't install the auxilliary libexamples library used by the
7579 examples in doc/examples/ on "make install", report and tiny patch
7580 from Thomas Klausner <tk@giga.or.at>.
7581 - If you pass a X.509 CA or PGP trust database to the command line
7582 tool, it will now abort the connection if the server certificate
7583 validation fails. Use the parameter --insecure to continue even
7584 after certificate validation failures. Inspired from discussion
7585 with Alexander Kotelnikov <sacha@myxomop.com>.
7586 - The test for socklen_t has been moved to gnulib.
7587 - Link failures for duplicate or missing "program_name" symbol has been fixed,
7588 patch from Martin Lambers <marlam@marlam.de>.
7589 - The command line tool and the examples no longer uses mmap or bzero,
7590 to make them more portable, patch from Martin Lambers
7592 - Made the PKCS #12 API handle null passwords. Based on patch by
7593 Anton Altaparmakov <aia21@cam.ac.uk>.
7594 - The GTK-DOC manual should build with current released tools.
7595 (But a copy of the output is included, so the tools are not required.)
7596 - The inet_ntop function is now used through gnulib.
7597 - API and ABI modifications:
7598 No changes since last version.
7600 * Version 1.2.7 (2005-09-09)
7601 - The GnuTLS and GnuTLS-extra libraries are now built with versioned symbols.
7602 - Certtool now complains when reading out-of-range X.509 serial
7603 numbers, suggested by Fran <e_agf@yahoo.es>.
7604 - Certtool now uses the readline library (when available) when reading
7605 X.509 serial numbers.
7606 - Fixed build problems in getpass on uClibc and Mingw32 platforms.
7607 - Fixed compile warning regarding socklen_t on Mingw32, reported by
7608 Martin Lambers <marlam@marlam.de>.
7609 - Fixed examples in doc/examples/, suggested by Fran <e_agf@yahoo.es>.
7610 - Gnulib is now used for the core library, enabling future code cleanups.
7611 - The gnutls-cli tool now use gnutls_certificate_verify_peers2,
7612 suggested by Daniel Stenberg <daniel@haxx.se>.
7613 - Doc fixes for gnutls_transport_set_push and gnutls_transport_set_pull.
7614 - Minilibtasn1 is now 0.2.17 (removed optional use of C99 macros).
7615 - Disable zlib support if zlib.h is not present.
7616 - A number of internal cleanups.
7617 - API and ABI modifications:
7618 No changes since last version.
7620 * Version 1.2.6 (2005-07-16)
7621 - MiniLZO updated to version 2.01 and moved to separate directory.
7622 - Collision between system LZO header files and MiniLZO header file
7623 fixed, reported by Matthias Urlichs <smurf@smurf.noris.de>.
7624 - Will now test for liblzo functionality in liblzo2 too, reported by
7625 Thomas Klausner <tk@giga.or.at>.
7626 - Minilibtasn1 is now 0.2.14 (no code changes).
7627 - Some code changes to avoid GTK-DOC warnings.
7628 - API and ABI modifications:
7629 No changes since last version.
7631 * Version 1.2.5 (2005-07-03)
7632 - More builddir != srcdir fixes, reported by Mike Castle
7633 <dalgoda@ix.netcom.com>.
7634 - Fixed off-by-one bug in the size parameter of gnutls_x509_crt_get*_dn,
7635 reported by Adam Langley <alangley@gmail.com>.
7636 - Corrected some stuff in minilzo detection. Pointed out by
7638 - MiniLZO updated to version 2.00.
7639 - gnutls_x509_crt_list_import now accept a DER formatted CRL.
7640 - API and ABI modifications:
7641 No changes since last version.
7643 * Version 1.2.4 (2005-05-28)
7644 - Corrected some bugs that could affect 64 bit systems.
7645 - Some corrections in the header files to include the prototype
7646 of memmem properly (affected 64 bit systems). Report and patch
7647 by Yoann Vandoorselaere <yoann@prelude-ids.org>.
7648 - Introduced the --fix-key option to certtool, which can be used to
7649 regenerate the (optional) parameters in a private key. It should
7650 be used together with --key-info.
7651 - Corrected a bug in certificate chain verification that could lead
7652 to marking a trusted chain as non trusted, if the last certificate in
7653 the chain was a self signed one.
7654 - Gnulib portability files were updated.
7655 - License were updated to reflect new FSF address.
7656 - API and ABI modifications:
7657 No changes since last version.
7659 * Version 1.2.3 (2005-04-28)
7660 - Corrected bug in record packet parsing that could lead
7661 to a denial of service attack.
7662 - Corrected bug in RSA key export. Previously exported keys
7663 can be fixed using certtool. Use certtool -k <infile >outfile
7664 - API and ABI modifications:
7665 gnutls_x509_privkey_fix(): Add.
7667 * Version 1.2.2 (2005-04-25)
7668 - gnutls_error_to_alert() now considers
7669 GNUTLS_E_UNEXPECTED_HANDSHAKE_PACKET.
7670 - Fixed error in session resuming that could cause a crash in a session.
7671 - Fixed pkcs12 friendly name and local key identifier decoding.
7672 - Internal cleanups, removed duplicate typedef/struct definitions,
7673 and made source code include external include file, to check
7674 function prototypes during compile time.
7675 - API and ABI modifications:
7676 No changes since last version. At least not intentional, but due
7677 to the include header changes, there may be inadvertant changes,
7678 please let us know if you find any.
7680 * Version 1.2.1 (2005-04-04)
7681 - gnutls_bye() will no longer fail when RDWR is used and application
7682 data are available for reading.
7683 - Added more strict checks for the SRP parameters (g,n), when they
7684 are not in the included list.
7685 - Added warning to certtool when MD5 is being used for digital
7687 - Optimizations ("-O2 -finline-functions") are not enabled by default,
7688 instead the standard autoconf defaults are used. Use `./configure
7689 CFLAGS="-O2 -finline-functions"' to get the old optimizations.
7690 - Added the option --get-dh-params to certtool, in order to get the
7691 parameters included in the library primes and generators.
7692 - Improved the semantics of GNUTLS_VERIFY_ALLOW_X509_V1_CA_CRT, to
7693 allow only trusted Version 1 CAs and introduced
7694 GNUTLS_VERIFY_ALLOW_ANY_X509_V1_CA_CRT which has the old semantics.
7695 - Nettle self tests now build properly, reported by Pierre
7696 <pierre42d@9online.fr>.
7697 - Eliminated some memory leaks in DHE and RSA-EXPORT cipher suites.
7698 Reported by Yoann Vandoorselaere <yoann@prelude-ids.org>.
7699 - If the library has been compiled with features disabled, a warning is
7700 issued during the compilation of any program.
7701 - API and ABI modifications:
7702 gnutls_x509_crt_list_import(): Add
7703 gnutls_x509_crq_get_attribute_by_oid(): Add.
7704 gnutls_x509_crq_set_attribute_by_oid(): Add
7705 gnutls_x509_crt_set_extension_by_oid(): Add.
7706 GNUTLS_VERIFY_ALLOW_X509_V1_CA_CRT: Modify semantics.
7707 GNUTLS_VERIFY_ALLOW_ANY_X509_V1_CA_CRT: Add, old behaviour.
7709 * Version 1.2.0 (2005-01-27)
7710 - Added the definitions and OIDs for the RIPEMD-160 hash algorithm.
7711 - Introduced gnutls_x509_crt_sign2(), gnutls_x509_crq_sign2() and
7712 gnutls_x509_crl_sign2().
7713 - Fixed license header in source code files.
7715 * Version 1.1.23 (2005-01-18)
7716 - It is now possible to generate PKCS#12 structures without private
7717 keys using "certtool --to-p12", suggested by Fabian Fagerholm
7719 - Certtool now prints information for the RSA and DSA parameters of
7720 certificates and private keys.
7721 - Corrected the write of CRL distribution points.
7722 - The certificate chain verification function now checks certificates
7723 in the reverse order to minimize the spent resources.
7724 - Corrected several bugs found by Marcin Garski <mgarski@post.pl>
7725 - The functions gnutls_x509_crl_get_issuer_dn, gnutls_x509_crq_get_dn,
7726 gnutls_x509_crt_get_issuer_dn, gnutls_x509_crt_get_dn, and
7727 gnutls_x509_rdn_get now set *sizeof_buf to the buffer length that is
7728 required, instead of the string length. That is, the value has been
7729 incremented by 1 to account for the terminating zero. Reported by
7730 Martin Lambers <marlam@web.de>.
7731 - Debug output shouldn't crash on platforms that doesn't handle NULL
7732 printf %s values. Reported by Michael.Ringe@aachen.utimaco.de.
7733 - Sync included copy of libtasn1 with version 0.2.13.
7734 - Client X.509 authenticated connections via gnutls-cli should now work again.
7736 * Version 1.1.22 (2004-11-04)
7737 - Replace GNU LD version script with Libtool -export-symbols-regex,
7738 from Joe Orton <joe@manyfish.co.uk>.
7739 - Documentation improvements.
7740 - Code indented using 'indent -i4 -kr'.
7741 - The API manual is included in Devhelp format. (Was in last release too,
7742 but the NEWS entry was forgotten.)
7743 - The OpenSSL compatibility code now use the internal crypto interface.
7744 - Added simple self test of OpenSSL compatibility library.
7745 - Internally, libtool convenience libraries are used.
7746 - Cleanups to configure.ac.
7748 * Version 1.1.21 (2004-10-27)
7749 - Print DN of certificates with unknown characters in them, but in hexform
7751 - Added second precision to the X.509 parsing and generation functions.
7752 - Corrected bug in _gnutls_x509_get_dn_oid(), and returns the
7754 - Add parameter --la-file to libgnutls-config and libgnutls-extra-config,
7755 tiny patch contributed by Joe Orton <joe@manyfish.co.uk>.
7756 - Add pkg-config meta files, suggested by Stéphane LOEUILLET
7757 <stephane.loeuillet@tiscali.fr>.
7758 - Fix memory initializaion bug in gnutls_certificate_set_x509_trust,
7759 tiny patch by Aleix Conchillo Flaque <aleix@member.fsf.org>.
7760 - Add self test of PKCS#12 functionality in "certtool", based on test
7761 vectors from Joe Orton <joe@manyfish.co.uk>.
7762 - Fix library order in libgnutls*-config --libs output, to permit
7763 static linking, reported by Yoann Vandoorselaere
7764 <yoann@prelude-ids.org>.
7766 * Version 1.1.20 (2004-10-12)
7767 - Fix compile problem in gl/getpass.c on some systems.
7769 * Version 1.1.19 (2004-10-07)
7770 - Fix memory leak in gnutls_certificate_verify_peers and
7771 gnutls_certificate_free_credentials, report and patch by Simon
7772 Posnjak <simon.posnjak@cetrtapot.si>.
7773 - Fix crash in `certtool --to-p12 --load-privkey foo', i.e. exporting
7774 a key and no certificate to PKCS#12.
7775 - Fix objdir != srcdir builds, reported by "Gerrit P. Haase"
7776 <gp@familiehaase.de>.
7777 - Fixes faulty getpass implementation in libextra/opencdk/, reported
7778 by Yoann Vandoorselaere <yoann@prelude-ids.org>.
7779 - Uses memmem instead of strnstr in lib/.
7780 - Using more GNULib portability files, although not yet inside lib/.
7781 - Added gnutls_certificate_verify_peers to gnutls/compat.h.
7782 Nikos deprecated gnutls_certificate_verify_peers in favor of
7783 gnutls_certificate_verify_peers2 earlier in the 1.1 branch.
7784 - Improvements to the manual.
7785 - Add new example "ex-rfc2818" for certificate verification, from Nikos.
7786 - Known bug: the library require snprintf. This has not yet been
7787 fixed, but will be handled via GNULib later on.
7789 * Version 1.1.18 (2004-08-24)
7790 - Corrected handling of certificate with dates after year 2038.
7791 - Corrected DER decoder which could incorrectly treat input as BER and fail.
7792 - Correct certtool --smime-to-p7 end of line character handling.
7793 - Added example client and server for anonymous authentication.
7794 - Added self test that tests anonymous TLS client and server.
7795 - Added self tests of Nettle and generic crypto layer.
7796 - Added API reference manual in HTML format in doc/reference/ using GTK-DOC.
7797 Online version at <http://www.gnu.org/software/gnutls/reference/>.
7798 - Assume C89 or better; removed checks for size_t, ptrdiff_t and time_t.
7799 - Man pages for API functions are included.
7801 * Version 1.1.17 (2004-08-18)
7802 - Bug fix of padding string in RSA PKCS#1 v1.5 type 2 encryption,
7803 reported by Robey Pointer <robey@danger.com>.
7804 - Generic crypto interface for secret key ciphers, hashes and randomness added.
7805 See section "Experimental" within section "COMPILATION ISSUES" in README.
7806 - Removed length limit on passwords read by 'certtool'.
7807 - Documentation fixes.
7809 * Version 1.1.16 (2004-08-15)
7810 - Fix missing gnulib linker parameter when building certtool.
7811 - Add gnulib module 'progname', needed by module 'error'.
7812 - Improve building with srcdir != objdir.
7814 * Version 1.1.15 (2004-08-15)
7815 - Certtool has simplistic --smime-to-p7 to translate RFC 2633 messages into
7817 - Ported to Mac OS X / Darwin.
7818 - Ported to FreeBSD.
7820 * Version 1.1.14 (2004-08-09)
7821 - Documentation converted to Texinfo format.
7822 - Bug fix of test suite.
7823 - Configure now print build information, used by Autobuild.
7825 * Version 1.1.13 (2004-08-05)
7826 - Added simple self test suite.
7828 * Version 1.1.12 (2004-08-02)
7829 - Updated the SRP authentication to conform to the
7830 latest (yet unreleased) draft. Unfortunately this breaks
7831 compatibility with previous versions.
7832 - Changed the makefiles to be more portable.
7833 - SRP ciphersuites were moved to the gnutls library.
7834 - Added some default limits in the verification of certificate
7835 chains, to avoid denial of service attacks. Also added
7836 gnutls_certificate_set_verify_limits() to override them.
7837 Issue pointed out by Patrik Hornik <patrik@hornik.sk>.
7838 - Added gnutls_certificate_verify_peers2().
7840 * Version 1.1.11 (2004-07-16)
7841 - Added the '_t' suffix to all exported symbols.
7842 - Fixed bug in RSA encryption, report and patch by Martijn Koster
7843 <mak@greenhills.co.uk>.
7844 - Corrected a bug in certificate verification. Pointed out by
7845 Yoann Vandoorselaere <yoann@prelude-ids.org>
7846 - Added the GNUTLS_VERIFY_DO_NOT_ALLOW_SAME flags to the
7847 verification functions.
7848 - The ephemeral DH and RSA parameters are no longer stored in the
7850 - Do not free the SRP (prime and generator) parameters obtained from the
7851 callback if they are the static ones defined in extra.h
7852 - Eliminated some memory leaks. Reported by Yoann Vandoorselaere.
7854 * Version 1.1.10 (2004-06-12)
7855 - Added gnutls_sign_algorithm_get_name() and gnutls_pk_algorithm_get_name()
7856 - Corrected bug in TLS renegotiation.
7857 - Corrected bug in OpenPGP key loading using a callback.
7858 - gnutls-srpcrypt was renamed to srptool
7859 - Allow handshake requests by the client.
7860 - Automatically disable certificate types that do not have corresponding
7862 - Added gnutls_auth_client_get_type() and gnutls_auth_server_get_type()
7863 - Opencdk library is being included if not found.
7864 - certtool can now add ip address SAN extension.
7865 - certtool has now support for more X.520 DN attribute types.
7866 - Better handling of EOF in gnutls_record_recv().
7867 - _gnutls_deinit() is no longer used. Sessions are not
7868 automatically removed any more, on abnormal termination.
7869 - Corrected session resuming in SRP ciphersuites.
7870 - Updated to conform to the latest srp draft (draft-ietf-tls-srp-07)
7871 - Added new functions to allow access to the ephemeral
7872 Diffie Hellman parameters.
7873 - Added the functions gnutls_x509_crt_get_pk_rsa_raw() and
7874 gnutls_x509_crt_get_pk_dsa_raw() to retrieve parameters from certificates.
7875 - Added the functions gnutls_dh_get_group(), gnutls_dh_get_pubkey() and
7876 gnutls_rsa_export_get_pubkey() to retrieve parameters of the DH or
7877 RSA-EXPORT key exchange.
7878 - Some fixes in the session resuming code.
7879 - Added gnutls_openpgp_keyring_check_id().
7881 * Version 1.1.9 (2004-04-14)
7882 - Added support for authority key identifier and the extended key usage
7883 X.509 extension fields. The certtoool was updated to support them.
7884 - The RC2 cipher is no more included. The one in libgcrypt is now used.
7885 - Added batch support to certtool. Now it can use templates.
7887 * Version 1.1.8 (2004-04-07)
7888 - Implemented all the tests for the SRP group parameters in
7889 client side. This may lead to incompatibility with very
7891 - Corrected bug in RSA parameters handling which could cause
7893 - Optimized the copying of rsa_params.
7895 * Version 1.1.7 (2004-03-29)
7896 - Added gnutls_certificate_set_params_function() and
7897 gnutls_anon_set_params_function() that set the RSA or DH
7898 parameters using a callback.
7899 - Added functions gnutls_rsa_params_cpy(), gnutls_dh_params_cpy()
7900 and gnutls_x509_privkey_cpy().
7901 - Corrected a compilation issue when opencdk was installed in a
7902 non standard directory.
7903 - Deprecated: gnutls_srp_server_set_select_function(),
7904 gnutls_certificate_client_set_select_function(), gnutls_srp_server_set_select_function().
7906 * Version 1.1.6 (2004-02-24)
7907 - Several bug fixes, by Arne Thomassen.
7908 - Fixed a bug where 'server name' extension was always sent.
7910 * Version 1.1.5 (2004-01-06)
7911 - Added the gnutls_sign_algorithm type.
7913 * Version 1.1.4 (2004-01-04)
7914 - Improved gnutls-cli's SRP behaviour in SRP ciphersuites.
7915 If they are of highest priority then the abbreviated handshake
7917 - Removed all references of missing files.
7918 - Changed handshake behaviour to send the lowest TLS version
7919 when an unsupported version was advertized. The current behaviour
7920 is to send the maximum version we support.
7921 - Corrected problem printing the DC attributes in a DN.
7923 * Version 1.1.3 (2003-12-30)
7924 - Implemented TLS 1.1 (and also obsoleted the TLS 1.0 CBC protection
7927 * Version 1.1.2 (2003-12-28)
7928 - Added CRL verification functionality to certtool.
7929 - Corrected the CRL distribution point extension handling.
7931 * Version 1.1.1 (2003-12-26)
7932 - Added PKCS #7 support to certtool utility.
7933 - Added support for reading and generating CRL distribution
7934 points extensions in certificates.
7935 - Added support for generating CRLs in the library and the
7937 - Added support for the Subject Key ID PKIX extension.
7939 * Version 1.1.0 (2003-12-21)
7940 - The error codes GNUTLS_E_NO_TEMPORARY_DH_PARAMS and GNUTLS_E_NO_TEMPORARY_RSA_PARAMS
7941 are no longer returned by the handshake function. Ciphersuites that
7942 require temporary parameters are removed when such parameters do not exist.
7943 - Added the callbacks gnutls_certificate_client_retrieve_function() and
7944 gnutls_certificate_server_retrieve_function(), to allow a client or a server
7945 to specify certificates for the handshake without storing them to the
7946 credentials structure.
7947 - Added support for generating and exporting DSA private keys.
7948 - Added gnutls_x509_crt_set_key_usage() and certtool can now set the
7949 certificate's key usage.
7950 - Added gnutls_openpgp_key_get_key_usage().
7952 * Version 1.0.25 (2005-04-27)
7953 - Corrected bug in record packet parsing that could lead
7954 to a denial of service attack.
7955 - Corrected bug in RSA key export.
7957 * Version 1.0.24 (2005-01-18)
7958 - Corrected several bugs found by Marcin Garski <mgarski@post.pl>
7960 * Version 1.0.23 (2004-11-13)
7961 - Replace GNU LD version script with Libtool -export-symbols-regex,
7962 from Joe Orton <joe@manyfish.co.uk>.
7963 - Copy libtasn1 has been updated to version 0.2.11.
7964 - Corrected the write of CRL distribution points.
7965 - It is now possible to generate PKCS#12 structures without private
7966 keys using "certtool --to-p12", suggested by Fabian Fagerholm
7969 * Version 1.0.22 (2004-10-28)
7970 - Print DN of certificates with unknown characters in them, but in hexform
7972 - Corrected bug in _gnutls_x509_get_dn_oid(), and returns the
7974 - Added second precision to the X.509 parsing functions.
7975 - Add parameter --la-file to libgnutls-config and libgnutls-extra-config,
7976 tiny patch contributed by Joe Orton <joe@manyfish.co.uk>.
7977 - Add pkg-config meta files, suggested by Stéphane LOEUILLET
7978 <stephane.loeuillet@tiscali.fr>.
7979 - Fix memory initializaion bug in gnutls_certificate_set_x509_trust,
7980 tiny patch by Aleix Conchillo Flaque <aleix@member.fsf.org>.
7981 - Fix certtool --password for PKCS #12, back ported from 1.1.x branch.
7982 - Fix library order in libgnutls*-config --libs output, to permit
7983 static linking, reported by Yoann Vandoorselaere
7984 <yoann@prelude-ids.org>.
7986 * Version 1.0.21 (2004-10-07)
7987 - Fix memory leak in gnutls_certificate_verify_peers and
7988 gnutls_certificate_free_credentials, report and patch by Simon
7989 Posnjak <simon.posnjak@cetrtapot.si>.
7990 - Fix crash in `certtool --to-p12 --load-privkey foo', i.e. exporting
7991 a key and no certificate to PKCS#12.
7992 - Fix objdir != srcdir builds, reported by "Gerrit P. Haase"
7993 <gp@familiehaase.de>.
7994 - Avoid redefining getpass if system already has it, reported by
7995 Yoann Vandoorselaere <yoann@prelude-ids.org>.
7996 - Add new example "ex-rfc2818" for certificate verification, from Nikos.
7997 - Known bug: the library require snprintf.
7999 * Version 1.0.20 (2004-08-18)
8000 - Bug fix of padding string in RSA PKCS#1 v1.5 type 2 encryption,
8001 reported by Robey Pointer <robey@danger.com>.
8003 * Version 1.0.19 (2004-08-09)
8004 - Bug fix of test suite.
8006 * Version 1.0.18 (2004-08-05)
8007 - Added simple self test suite.
8009 * Version 1.0.17 (2004-08-02)
8010 - Updated the SRP authentication to conform to the
8011 latest (yet unreleased) draft. Unfortunately this breaks
8012 compatibility with previous versions.
8013 - Changed the makefiles to be more portable.
8014 - Added some default limits in the verification of certificate
8015 chains, to avoid denial of service attacks. Also added
8016 gnutls_certificate_set_verify_limits() to override them.
8017 Issue pointed out by Patrik Hornik <patrik@hornik.sk>.
8018 - Added gnutls_certificate_verify_peers2().
8020 * Version 1.0.16 (2004-07-10)
8021 - Do not free the SRP (prime and generator) parameters obtained from the
8022 callback if they are the static ones defined in extra.h.
8023 - Eliminated some memory leaks. Reported by Yoann Vandoorselaere.
8024 - Some fixes in the makefiles.
8026 * Version 1.0.15 (2004-06-29)
8027 - Fixed bug in RSA encryption, report and patch by Martijn Koster
8028 <mak@greenhills.co.uk>.
8029 - Corrected a bug in certificate verification. Pointed out by
8030 Yoann Vandoorselaere <yoann@prelude-ids.org>.
8032 * Version 1.0.14 (2004-06-12)
8033 - Automatically disable certificate types that do not have corresponding
8035 - Updates in the documentation.
8036 - certtool can now add ip address SAN extension.
8037 - certtool has now support for more X.520 DN attribute types.
8038 - Opencdk library is being included if not found.
8039 - Added gnutls_openpgp_keyring_check_id().
8040 - Corrected a serious bug in the included libtasn1 library.
8041 - Corrected session resuming in SRP ciphersuites.
8042 - Updated to conform to the latest srp draft (draft-ietf-tls-srp-07)
8043 - Added the functions gnutls_x509_crt_get_pk_rsa_raw() and
8044 gnutls_x509_crt_get_pk_dsa_raw() to retrieve parameters from certificates.
8045 - Some fixes in the session resuming code.
8047 * Version 1.0.13 (2004-04-29)
8048 - Some complilation fixes.
8049 - Added the --xml parameter to the certtool utility.
8051 * Version 1.0.12 (2004-04-23)
8052 - Corrected bug in OpenPGP key loading using a callback.
8053 - Renamed gnutls-srpcrypt to srptool
8054 - Allow handshake requests by the client.
8055 * Things backported from the development branch:
8056 - Added support for authority key identifier and the extended key usage
8057 X.509 extension fields. The certtoool was updated to support them.
8058 - Added batch support to certtool. Now it can use templates.
8059 - The RC2 cipher is no more included. The one in libgcrypt is now used.
8061 * Version 1.0.11 (2004-04-17)
8062 - Added gnutls_sign_algorithm_get_name() and gnutls_pk_algorithm_get_name()
8063 - Corrected bug in TLS renegotiation.
8065 * Version 1.0.10 (2004-04-03)
8066 - Corrected bug in RSA parameters handling which could cause
8068 - Corrected bug in SSL 3.0 authentication.
8070 * Version 1.0.9 (2004-03-29)
8071 - Added gnutls_certificate_set_params_function() and
8072 gnutls_anon_set_params_function() that set the RSA or DH
8073 parameters using a callback.
8074 - Added functions gnutls_rsa_params_cpy(), gnutls_dh_params_cpy()
8075 and gnutls_x509_privkey_cpy().
8076 - Corrected a compilation issue when opencdk was installed in a
8077 non standard directory.
8078 - Documented the changes need in multi-threaded application due
8079 to the new libgcrypt.
8081 * Version 1.0.8 (2004-02-28)
8082 - Corrected bug in mutual certificate authentication in SSL 3.0.
8084 * Version 1.0.7 (2004-02-25)
8085 - Implemented TLS 1.1 (and also obsoleted the TLS 1.0 CBC protection
8087 - Some updates in the documentation.
8089 * Version 1.0.6 (2004-02-12)
8090 * Backported things from the development branch (while maintaining
8091 backwards compatibility):
8092 - Improved gnutls-cli's SRP behaviour in SRP ciphersuites.
8093 If they are of highest priority then the abbreviated handshake
8095 - The error codes GNUTLS_E_NO_TEMPORARY_DH_PARAMS and GNUTLS_E_NO_TEMPORARY_RSA_PARAMS
8096 are no longer returned by the handshake function. Ciphersuites that
8097 require temporary parameters are removed when such parameters do not exist.
8098 - Added the callbacks gnutls_certificate_client_retrieve_function() and
8099 gnutls_certificate_server_retrieve_function(), to allow a client or a server
8100 to specify certificates for the handshake without storing them to the
8101 credentials structure.
8102 - Added support for generating and exporting DSA private keys.
8104 * Version 1.0.5 (2004-02-11)
8105 - Fixed a bug where 'server name' extension was always sent.
8106 * Backported things from the development branch:
8107 - Added CRL verification functionality to certtool.
8108 - Corrected the CRL distribution point extension handling.
8109 - Added PKCS #7 support to certtool utility.
8110 - Added support for reading and generating CRL distribution
8111 points extensions in certificates.
8112 - Added support for generating CRLs in the library and the
8114 - Added support for the Subject Key ID PKIX extension.
8115 - Added the gnutls_sign_algorithm type.
8117 * Version 1.0.4 (2004-01-04)
8118 - Changed handshake behaviour to send the lowest TLS version
8119 when an unsupported version was advertized. The current behaviour
8120 is to send the maximum version we support.
8121 - certtool no longer asks the password in unencrypted private
8123 - The source is now compiled to use the reentrant libc functions.
8125 * Version 1.0.3 (2003-12-21)
8126 - Corrected bug in gnutls_bye() which made it return an error code
8127 of INVALID_REQUEST instead of success.
8128 - Corrected a bug in the GNUTLS_KEY key usage definitions.
8130 * Version 1.0.2 (2003-12-18)
8131 - Corrected a bug in the RSA key generation. This was
8132 generating unusable RSA keys.
8134 * Version 1.0.1 (2003-12-10)
8135 - Some minor fixes in the makefiles. They now include CFLAGS
8136 from libgcrypt or opencdk if installed in a non standard directory.
8137 - Fixed the SRP detection test in gnutls-cli-debug.
8138 - Added gnutls_rsa_params_export_pkcs1() and gnutls_rsa_params_import_pkcs1().
8140 * Version 1.0.0 (2003-12-04)
8141 - Exported the static SRP group parameters.
8142 - Some fixes in the certificate authenticated SRP ciphersuites.
8143 - Improved the support for draft-ietf-tls-srp-05. The two-phase
8144 handshake is now fully supported without any interaction with
8145 the application layer (except for a callback).
8147 * Version 0.9.99 (2003-11-28)
8148 - Some fixes in the gnutls.h header for the gnutls_server_name_set()
8149 and gnutls_server_name_get() prototypes.
8150 - Exported the gnutls_x509_privkey_sign_data(), gnutls_x509_privkey_verify_data()
8151 and gnutls_x509_crt_verify_data().
8152 - Some fixes in the openpgp authentication.
8153 - Removed the Twofish cipher.
8155 * Version 0.9.98 (2003-11-16)
8156 - The openssl compatibility layer was moved to gnutls-openssl
8157 library instead of being included in the gnutls-extra library.
8158 - Added the RIPEMD ciphersuites defined in draft-ietf-tls-openpgp-keys-04.
8159 - Building with openpgp support is now mandatory.
8160 - gnutls4 compatibility header is no longer included by default in
8162 - gnutls8 function usage yelds a deprecation warning in gcc3.
8163 - gnutls_x509_*_set_dn_by_oid() and gnutls_x509_*_get_*_dn_by_oid()
8164 functions have a raw_flag parameter added.
8165 - Added gnutls_x509_*_get_dn_oid() and gnutls_x509_crt_get_extension_oid()
8166 functions which return the available OIDs.
8168 * Version 0.9.97 (2003-11-11)
8169 - The certtool utility can now generate PKCS #12 structures
8170 without specifying a certificate.
8171 - Added capability to read CRLs to certtool.
8172 - Corrected some functions which return GNUTLS_E_SHORT_MEMORY_BUFFER
8173 to properly set the required buffer size.
8174 - Corrected a bug in libgcrypt detection.
8176 * Version 0.9.96 (2003-11-09)
8177 - Some changes to allow compilation with mingw32.
8178 - Several code cleanups.
8180 * Version 0.9.95 (2003-11-02)
8181 - Improved the verification functions. Added new verification
8182 output flags and removed the unused and redundant ones.
8183 - Improved the OpenPGP key support.
8184 - The prime utility was removed, and its functionality was moved
8187 * Version 0.9.94 (2003-10-30)
8188 - Added manpages for the included programs.
8189 - Documented and improved the certtool utility.
8190 - Added PKCS #12 support to certtool utility.
8192 * Version 0.9.93 (2003-10-26)
8193 - Corrected some compilation issues.
8194 - Improved the certtool command line utility.
8196 * Version 0.9.92 (2003-10-25)
8197 - The RFC2818 hostname verification is now case insensitive.
8198 - Added support for generating X.509 certificates.
8199 - Added the certtool, a tool for generating X.509 certificates
8201 * Version 0.9.91 (2003-10-17)
8202 - Fixed a compilation issue in the openpgp authentication part.
8204 * Version 0.9.90 (2003-10-08)
8205 - Updated the openpgp key API (depends on the unreleased new
8208 * Version 0.9.8 (2003-10-02)
8209 - Updated the SRP implementation to follow the latest draft
8210 (draft-ietf-tls-srp-05).
8211 - Improved the gnutls-cli behaviour in error handling,
8212 and added a check for the peer's hostname.
8213 - Use versioned symbols in the library (where available).
8214 - RIJNDAEL ciphersuites were renamed to AES.
8216 * Version 0.9.7 (2003-08-25)
8217 - The tex files are now included in the distribution.
8218 - The library can now decrypt PKCS #12 files encrypted with
8220 - The missing rfc2818_hostname object is now included.
8221 - Several corrections and bug fixes in the library by
8222 Arne Thomassen <arne@arne-thomassen.de>.
8223 - CR is now allowed in the base64 decoder.
8225 * Version 0.9.6 (2003-06-28)
8226 - Added gnutls_x509_privkey_get_key_id() and gnutls_x509_crt_get_key_id()
8227 functions which return a unique (per public key) ID. These can
8228 be used to check if the private key corresponds to a given certificate.
8229 - Corrections in the TLS layer openpgp certificate packet parser.
8230 - Corrected a bug in the record layer buffering, which affected
8231 the case where external pull function was used. Report and patch
8232 by Sergey Poznyakoff <gray@Mirddin.farlep.net>.
8233 - Corrected a bug in gnutls-srpcrypt where a non allocated variable
8235 - SRP programs are now built by default.
8236 - Added API to read and write to PKCS #12 structures. Prototypes
8238 - The gnutls_transport_ptr type was changed to a pointer type (void*).
8240 * Version 0.9.5 (2003-04-06)
8241 - Several improvements in the PKCS #7 handling
8242 - Eliminated several hard coded constants in MPI parameters.
8244 * Version 0.9.4 (2003-03-28)
8245 - Corrected a parsing error in the Certificate request message.
8246 - Corrected behaviour when a certificate request message is received.
8247 Now a certificate packet is always sent, and in SSL 3.0 cipher suites
8248 a no_certificate alert is sent instead.
8249 - Added functionality to generate PKCS #7 structures (with certificates).
8251 * Version 0.9.3 (2003-03-24)
8252 - Support for MD2 was dropped.
8253 - Improved the error logging functions, by adding a level, and
8254 by allowing debugging messages just by increasing the level.
8255 - The diffie Hellman ciphersuites are now of higher priority than
8257 - The RSA premaster secret version check can no longer be disabled.
8258 - Implemented the counter measure discussed in the paper "Attacking
8259 RSA-based Sessions in SSL/TLS", against the attack described in the
8261 - Added the functions: gnutls_handshake_get_last_in(),
8262 gnutls_handshake_get_last_out().
8263 - The gnutls_certificate_set_rsa_params() was renamed to
8264 gnutls_certificate_set_rsa_export_params().
8265 - Added the new functions: gnutls_certificate_set_x509_key()
8266 gnutls_certificate_set_x509_trust(), gnutls_certificate_set_x509_crl(),
8267 gnutls_x509_crt_export(), gnutls_x509_crl_export().
8268 - Added support for encoding and decoding PKCS #8 2.0 encrypted
8271 * Version 0.9.2 (2003-03-15)
8272 - Some corrections in the memory mapping code (file is unmapped after
8274 - Added support for PKCS#10 certificate requests generation.
8276 * Version 0.9.1 (2003-03-12)
8277 - Corrected a bug in 64 bit architectures, which affected the
8278 serial number calculation in the record layer.
8279 - Added gnutls_certificate_free_keys() which deletes all the
8280 private keys and certificates from the credentials structure.
8281 - Corrected a broken buffer check in _gnutls_io_read_buffered(),
8282 which caused some unexpected packet length errors. Report and patch
8283 by Ian Peters <itp@ximian.com>.
8284 - Added ability to generate RSA keys.
8285 - Increased the maximum parameter size in order to read some large keys
8286 by some CAs. Patch by Ian Peters <itp@ximian.com>.
8287 - Added an strnstr() function and the requirement in some functions to
8288 use null terminated PEM structures is no more.
8289 - Use mmap() if available to read files.
8290 - Fixed a memory leak in SRP code reported by Rupert Kittinger
8291 <r.kittinger@efkon.com>.
8293 * Version 0.9.0 (2003-03-03)
8294 - This version is not binary compatible with the previous ones.
8295 - The library notifies the application on empty and illegal SRP usernames,
8296 so that proper notification (via an alert) is sent to the peer.
8297 - Added ability to send some messages back to the application using
8298 the gnutls_global_set_log_function().
8299 - gnutls_dh_params_generate() and gnutls_rsa_params_generate() now use
8300 gnutls_malloc() to allocate the output parameters.
8301 - Added support for MD2 algorithm in certificate signature verification.
8302 - The RSA and DH parameter generation interface was changed. Added
8303 ability to import and export from and to PKCS3 structures. This
8304 was needed to read parameters generated using the openssl dhparam tool.
8305 - Several changes in the temporary (DH/RSA) parameter codebase. No DH
8306 parameters are now included in the library. Also the credentials structure
8307 can now hold only one temporary parameter of a kind.
8308 - Added a new Certificate, CRL, Private key and PKCS7 structures handling
8309 API, defined in gnutls/x509.h
8310 - Added gnutls_certificate_set_verify_flags() function to allow setting the
8311 verification flags in the credentials structure. They will be used in the
8312 *verify_peers functions.
8313 - Added protection against the new TLS 1.0 record layer timing attack.
8314 - Added support for Certificate revocation lists. Functions defined
8316 - The only functions that were removed are:
8317 gnutls_x509_certificate_to_xml()
8318 gnutls_x509_extract_dn_string()
8319 - Ported to libtasn1 0.2.x
8321 * Version 0.8.1 (2003-01-22)
8322 - Improved the SRP support, to prevent attackers guessing the
8323 available usernames by brute force.
8324 - Improved the SRP detection in gnutls-cli-debug
8325 - Some fixes which now allow compilation.
8327 * Version 0.8.0 (2003-01-20)
8328 - Added gnutls_x509_extract_dn_string() which returns a
8329 distinguished name in a single string.
8330 - Added gnutls_openpgp_extract_key_name_string() which returns
8331 an openpgp user ID in a single string.
8332 - Added gnutls_x509_extract_certificate_ca_status() which returns
8333 the CA status of the given certificate.
8334 - Added SRP-6 support. Follows draft-ietf-tls-srp-04.
8335 - If libtasn1 is not present in the system, it is included in
8336 the main gnutls library.
8337 - If liblzo is present in the system, then the included minilzo
8338 will not be used, and libgnutls-extra will depend on liblzo.
8339 - GNUTLS_E_PARSING_ERROR error code was replaced by GNUTLS_E_BASE64_DECODING_ERROR,
8340 and GNUTLS_E_SRP_PWD_PARSING_ERROR. GNUTLS_E_ASCII_ARMOR_ERROR was also
8341 replaced by GNUTLS_E_BASE64_DECODING_ERROR.
8343 * Version 0.6.0 (2002-12-08)
8344 - Added "gnutls/compat4.h" header. This is included in gnutls.h
8345 to emulate the old 0.4.x API.
8346 - Example programs are now stored in doc/examples/
8347 - Several improvements and updates in the documentation.
8348 - Added the certificate authenticated SRP cipher suites.
8349 - gnutls_x509_extract_certificate_dn_string() was updated to return
8350 an RFC2253 conforming string.
8351 - Added the SRP related functions:
8352 gnutls_srp_verifier()
8353 gnutls_srp_base64_encode()
8354 gnutls_srp_base64_decode()
8355 - Added the function gnutls_srp_set_server_credentials_function()
8356 to allow retrieving SRP parameters from an external backend - other
8357 than password files.
8358 - Added the function gnutls_openpgp_set_recv_key_function()
8359 which can be used to set a callback, to get OpenPGP keys.
8360 - Exported the functions:
8363 which should be used by callback functions.
8364 - Changed the semantics of gnutls_pem_base64_encode_alloc()
8365 and gnutls_pem_base64_decode_alloc(). In the default case
8366 were the gnutls library is used with malloc/realloc/free,
8367 these are binary compatible.
8369 * Version 0.5.11 (2002-11-05)
8370 - Some fixes in 'gnutls-cli' client program to prevent some segmentation
8372 - Example programs found in the documentation can now be generated by
8373 running "make examples" in doc/tex directory.
8374 - Added more descriptive error strings, to gnutls_strerror().
8375 - Documented error codes, and the function reference list is now sorted.
8376 - Optimized buffering code.
8377 - gnutls_x509_extract_certificate_dn_string() was rewritten.
8378 - Added GNUTLS_E_SHORT_MEMORY_BUFFER error code, which is returned in the
8379 case where the memory buffer provided is not long enough.
8380 - Depends on the new OpenCDK 0.3.2.
8382 * Version 0.5.10 (2002-10-13)
8383 - Updated documentation.
8384 - Added server name extension. This allows clients to specify the
8385 name of the server they connect to. Useful to HTTPS.
8386 - Several corrections in the code base, mostly in signed/unsigned,
8389 * Version 0.5.9 (2002-10-10)
8390 - Corrected some code which worked fine in gcc 3.2, but not with any
8392 - Updated 'gnutls-cli' with the '--starttls' option, to allow testing
8393 starttls implementations.
8394 - Added gnutls_x509_extract_key_pk_algorithm() function which extracts
8395 the private key type, of a DER encoded key.
8396 - Added gnutls_x509_extract_certificate_dn_string() which returns the
8397 certificate's distinguished name in a single string.
8398 - Added gnutls_set_default_priority() and gnutls_set_default_export_priority()
8399 functions, to avoid calling all the *_priority() functions if the defaults
8401 - Added int gnutls_x509_check_certificates_hostname() which check whether
8402 the given hostname matches the owner of the given X.509 certificate.
8404 * Version 0.5.8 (2002-09-25)
8405 - Updated documentation.
8406 - Added gnutls_record_get_direction() which replaces the obsolete
8407 gnutls_handshake_get_direction().
8408 - Added function to convert error codes to alert descriptions
8409 - Added LZO compression
8411 * Version 0.5.7 (2002-09-11)
8412 - Some fixes in the memory allocation functions (realloc).
8413 - Improved the string functions used in XML certificate generation.
8414 - Removed dependency on libgdbm.
8415 - Corrected bug in gnutls_dh_params_set() which affected
8416 gnutls_dh_params_deinit().
8417 - Corrected bug in session resuming code in server side.
8419 * Version 0.5.6 (2002-09-06)
8420 - Corrected bugs in SRP implementation, which prevented gnutls
8421 to interoperate with other implementations. (interoperability testing
8422 was done by David Taylor)
8423 - Corrected bug in cert_type extension.
8424 - Corrected extension type checks which used an 8 bit extension size,
8426 - Added versioning in the XML output of certificate functions.
8427 - Removed the X.509 test suite.
8429 * Version 0.5.5 (2002-09-03)
8430 - Updated the SRP implementation to the latest draft. The blowfish
8431 crypt implementation was removed, since the new draft does not allow
8432 other hash algorithms except for the srpsha.
8433 - Renamed all the constructed types in order to have more consistent
8435 - Improved the certificate and key read functions. Now they can read
8436 the certificate and the private key from the same file.
8437 - Updated and corrected documentation.
8439 * Version 0.5.4 (2002-08-27)
8440 - Fixes in TLS 1.0 PRF and SSL3 random functions.
8441 - gnutls_handshake_set_exportable_detection() was obsoleted.
8442 - Added gnutls_openpgp_extract_key_id() which returns the key ID.
8443 - Corrected bug in DHE key exchange
8444 - Added support for temporary RSA keys which are needed for the
8445 export cipher suites.
8446 - Added the TLS_RSA_EXPORT_ARCFOUR_40_MD5 ciphersuite.
8448 * Version 0.5.3 (2002-08-23)
8449 - No changes. Replaces the tarball of 0.5.2 which accidentally contained
8450 code from the unstable branch.
8452 * Version 0.5.2 (2002-08-22)
8453 - Added an error code that is returned in clients which connect
8454 to export only servers. This must be enabled using the
8455 gnutls_handshake_set_exportable_detection() function.
8456 - Updated openssl compatibility layer.
8457 - Added gnutls_handshake_get_direction() function which returns
8458 the state of the handshake when interrupted.
8460 * Version 0.5.1 (2002-07-17)
8461 - Corrected the m4 macros which used <gnutls.h> instead of
8463 - Documentation fixes
8464 - Added gnutls_transport_set_ptr2() function, which accepts two
8465 different pointers, to be used while receiving, and
8467 - Semantic changes in gnutls_record_set_max_size(). The requested
8468 size is now immediately enforced at the output buffers.
8469 - gnutls_global_init_extra() now fails if the library versions do
8471 - Fixes in client and server example programs. Null encryption can
8472 be used in these programs, to assist in debuging.
8473 - Fixes in zlib compression code.
8475 * Version 0.5.0 (2002-07-06)
8476 - Added X.509 certificate tests in tests/ directory
8477 - Removed stubs for SRP and Anonymous authentication. They served
8478 no purpose since they are always included, unless it was requested
8480 - Added gnutls_handshake_set_private_extensions() function. This
8481 function can be used to enable private (gnutls specific) cipher suites
8482 and compression algorithms.
8483 - Added check for C99 macro support by the compiler.
8484 - Added functions gnutls_b64_encode_fmt2() and gnutls_b64_decode_fmt2()
8485 - Added the new libtasn1 library.
8486 - Removed the gdbm backend. Applications are now responsible for the
8487 session resuming backend. The gnutls-serv application contains an
8488 simple example on how to use gdbm for resuming.
8489 - Headers for the gnutls library are now installed in $(includedir)/gnutls
8490 - Added an OpenSSL compatible interface (with some limitations).
8491 - Added functions to convert DER encoded certificates to XML format.
8493 * Version 0.4.4 (2002-06-24)
8494 - Corrected bug in PKCS-1 RSA encryption which prevented gnutls to encrypt
8495 using keys of some specific size.
8497 * Version 0.4.3 (2002-05-23)
8498 - The gnutls-extra library now compiles fine, if the opencdk library is
8500 - Several bug fixes.
8501 - Added gnutls_global_set_mem_func() function, to set the memory allocation
8502 functions, if other than the defaults are to be used.
8503 - The default memory allocation functions are now the ones in libc.
8505 * Version 0.4.2 (2002-05-21)
8506 - Separated ASN.1 structures parser documentation and TLS library
8508 - Added gnutls_handshake_set_rsa_pms() function, which disables the
8509 version check in RSA premaster secret.
8510 - Added gnutls_session_is_resumed() function, which reports if a session
8512 - Added gnutls_state_set_ptr() and gnutls_state_get_ptr() functions, to
8513 assist in callback functions.
8514 - Replaced the included 1024 bit prime for Diffie Hellman, with a new
8516 - Relicensed the library under the GNU Lesser General Public License
8517 - Added gnutls-extra library which contains the GPL covered code of gnutls.
8519 * Version 0.4.1 (2002-04-07)
8520 - Now uses alloca() for temporary variables
8521 - Optimized RSA signing
8522 - Added functions to return the peer's certificate activation and
8524 - Corrected time function's behaviour (the time value returned no longer
8525 relate to local timezone).
8527 * Version 0.4.0 (2002-04-01)
8528 - Added support for RFC2630 (PKCS7) X.509 certificate sets
8529 - Added new functions: gnutls_x509_extract_certificate_pk_algorithm(),
8530 gnutls_openpgp_extract_key_pk_algorithm().
8531 - Several optimizations in the Handshake protocol
8532 - Several optimizations in RSA algorithm
8533 - Unified the return values because of small buffers.
8535 * Version 0.3.92 (2002-03-23)
8536 - Updated documentation
8537 - Combined error codes of ASN.1 parser and gnutls
8538 - Removed GNUTLS_CERT_TRUSTED from the CertificateStatus enumeration
8539 - Added protection against CBC chosen plaintext attack (disabled by default)
8540 - Improved and optimized compression support
8542 * Version 0.3.91 (2002-03-03)
8543 - Added gnutls-cli-debug program
8544 - Corrections in session resumption
8545 - Rehandshake can now handle negotiation of different authentication
8547 - gnutls-cli, gnutls-serv, gnutls-srpcrypt and gnutls-cli-debug are
8548 now being installed.
8550 * Version 0.3.90 (2002-02-24)
8551 - Handshake messages are not kept in memory any more. Now we use
8552 less memory during a handshake
8553 - Added support for certificates with DSA parameters
8554 - Added DHE_DSS cipher suites
8555 - Key exchange methods changed so they do not depend on the
8556 certificate type. Added certificate type negotiation TLS extension.
8557 - Added openpgp key support (EXPERIMENTAL)
8558 - Improved Diffie Hellman key exchange support.
8559 - Bug fixes in the RSA key exchange.
8560 - Added check for the requested TLS extensions
8561 - TLS extensions now use a 16 bit type field.
8562 - Added a minimal string library to assist in ASN.1 parsing
8563 - Changes in ASN.1 parser to work with the new bison
8564 - Added gnutls_x509_extract_subject_alt_name(), which deprecates
8565 gnutls_x509_extract_subject_dns_name()
8566 - gnutls_x509_set_trust_(file/mem) can now be called multiple times
8567 - gnutls_srp_server_set_cred_file() can now be called multiple times
8569 * Version 0.3.5 (2002-01-25)
8570 - Corrected the RSA key exchange method, to avoid attacks against
8573 * Version 0.3.4 (2002-01-20)
8574 - Corrected bugs in DHE_RSA key exchange method
8576 * Version 0.3.3 (2002-01-19)
8577 - Added gnutls_x509pki_verify_certificate()
8578 - Added gnutls_x509pki_set_trust_mem() and gnutls_x509pki_set_key_mem()
8579 - Bug fixes in srpcrypt (based on patch by Marc Huber)
8580 - Bug fixes in the Handshake protocol (based on patch by Guillaume Morin)
8581 - Corrected library versioning
8583 * Version 0.3.2 (2002-01-05)
8584 - Corrected bug which did not allow a client to accept multiple CA names
8585 - Added gnutls_fingerprint()
8586 - Added gnutls_x509pki_extract_certificate_serial()
8587 - Added gnutls_b64_encode_fmt() and gnutls_b64_decode_fmt()
8588 - Corrected behaviour in version advertizing
8589 - Updated documentation
8590 - Prefixed all types in gnutls.h with 'GNUTLS_' to avoid namespace collisions
8592 * Version 0.3.1 (2001-12-21)
8593 - Corrections in the configuration files
8594 - Fixes a bug in anonymous authentication
8596 * Version 0.3.0 (2001-12-17)
8597 - Corrected bug in new integer formatting (now we use the old format again)
8598 - Several corrections and usual cleanups
8600 * Version 0.2.91 (2001-12-10)
8601 - Fixes in MPI handling (fixes possible bug with signed integers)
8602 - Removed name indication extension
8603 - Added gnutls_transport_get_ptr() and gnutls_db_get_ptr()
8604 - Optimizations in server certificate callback.
8605 - Fixes in anonymous authentication
8606 - Corrections in client ciphersuite selection
8608 * Version 0.2.90 (2001-12-07)
8609 - gnutls_handshake(), gnutls_read() etc. functions no longer require
8610 the 'SOCKET cd' argument. This argument is set using the function
8611 gnutls_set_transport_ptr().
8612 - introduced gnutls_x509pki_get_peer_certificate_list(). This function returns
8613 a list containing peer's certificate and issuers DER encoded.
8614 - Updated X.509 certificate handling API
8615 - Added callback to select the server certificate
8616 - More consistent function naming (changes in several function names)
8617 - Buffer overflow checking in ASN.1 structures parser
8618 - Updated documentation
8620 * Version 0.2.11 (2001-11-16)
8621 - Changed the meaning of GNUTLS_E_REHANDSHAKE value. If this value
8622 is returned, then the caller should perform a handshake or send
8623 an alert to the peer.
8624 - Made receive buffer dynamic. Normally if no large chunks are received
8625 it occupies less space.
8626 - Added max_record_size extension
8627 - Bugfixes in session handling
8628 - Improved non blocking IO support in the Handshake Protocol
8629 - Usual bugfixes and cleanups
8630 - Documentation updated (includes ASN.1 documentation)
8632 * Version 0.2.10 (2001-11-05)
8633 - Corrected bugs and improved non blocking IO
8634 - Added hooks to use external database to store sessions
8637 * Version 0.2.9 (2001-10-27)
8638 - AUTH_INFO types and structures were moved to library internals
8639 - AUTH_FAILED is no longer returned in SRP authentication
8640 (any fatal error in SRP means auth failed)
8641 - Introduced GNUTLS_E_INTERRUPTED
8642 - Added support for non blocking IO
8643 - gnutls_recv() and gnutls_send() are now obsolete
8644 - Changed semantics of gnutls_rehandshake()
8646 * Version 0.2.4 (2001-10-12)
8647 - Better handling of X.509 certificate extensions
8648 - Added DHE_RSA ciphersuites
8649 - Updated the Name Indication (dnsname) extension
8650 - Improvements in Diffie Hellman primes handling
8652 * Version 0.2.3 (2001-09-19)
8653 - Memory optimizations in gnutls_recv()
8654 - Fixed several memory leaks
8655 - Added ability to specify callback for x509 client certificate selection
8656 - Better documentation
8658 * Version 0.2.2 (2001-08-21)
8659 - Several bugfixes (library and documentation)
8661 * Version 0.2.1 (2001-08-07)
8664 * Version 0.2.0 (2001-08-07)
8665 - Partial support for X.509v3 Certificate extensions.
8666 - Added Internal memory handlers
8667 - Removed gnutls_x509_set_cn()
8668 - Added X.509 client authentication
8669 - Several bug fixes and protocol fixes
8671 * Version 0.1.9 (2001-07-30)
8672 - Corrected bug(s) in ChangeCipherSpec packet (fixes renegotiate)
8673 - SRP is updated to conform to the newest draft.
8674 - Added support for DNSNAME extension.
8675 - Reentracy fixes in ASN.1 Parsing.
8676 - Optimizations in hash/hmac functions
8677 - (Error) message handling has changed
8678 - Better Protocol Version handling
8679 - Added X.509 Certificate Verification
8680 - gnutls_read() semantics are now closer to read(2) - added EOF
8681 - Documented some part of gnutls in doc/tex/ using Latex
8683 * Version 0.1.4 (2001-06-22)
8684 - Corrected (srp) base64 encoding.
8685 - Changed bcrypt algorithm to include username.
8686 - Added RSA Ciphersuites (no certificate checking).
8687 - Fixes in SSL 2.0 client hello parsing.
8688 - Added ASN.1 and DER parsers.
8689 - Bugfixes in session resuming
8690 - Updated Ciphersuite selection algorithm
8691 - Added internal representation of X.509 structures.
8692 - Added global state
8694 * Version 0.1.3 (2001-06-01)
8695 - Updated API (and the way it is documented - we use inline documentation)
8696 - Added function to access alert messages.
8697 - Added support for renegotiating parameters.
8698 - Better and Faster Resume Database handling.
8701 * Version 0.1.2 (2001-05-14)
8703 - Fixes in extension handling
8705 * Version 0.1.1 (2001-05-13)
8706 - Added compatibility with Stanford's libsrp library
8708 * Version 0.1.0 (2001-05-09)
8709 - Added SSL 2.0 client hello support
8710 - GNUTLS is a gnu library
8711 - Added support for TLS extensions.
8712 - Added support for SRP
8714 * Version 0.0.7 (2001-01-11)
8715 - Added server side session resuming (using gdbm)
8716 - Added twofish algorithm
8718 * Version 0.0.6 (2000-12-20)
8719 - Added client side session resuming
8720 - Better documentation (check doc/API)
8721 - Better socket handling (gnutls can be used with select())
8722 - Some primitive support for non blocking IO and socket options has been added.
8724 * Version 0.0.5 (2000-12-07)
8725 - Added Compression (using ZLIB)
8726 - Added SSL 3.0 support
8728 ----------------------------------------------------------------------
8729 Copying and distribution of this file, with or without modification,
8730 are permitted in any medium without royalty provided the copyright
8731 notice and this notice are preserved.