More enum docs.
[gnutls.git] / NEWS
blob3eeedc23612b10742d21a5a65c6af4627a1cecaf
1 GNU TLS NEWS -- History of user-visible changes.                -*- outline -*-
2 Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005,
3               2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc.
4 See the end for copying conditions.
6 * Version 2.9.10 (unreleased)
8 ** libgnutls: Added Steve Dispensa's patch for safe renegotiation
9 (draft-ietf-tls-renegotiation) that solves the issue discussed in:
10 http://www.ietf.org/mail-archive/web/tls/current/msg03928.html
11 and http://www.ietf.org/mail-archive/web/tls/current/msg03948.html
12 Note however that the TLS client implemented here will reject
13 any connections to unsafe servers unless the priority string
14 %UNSAFE_RENEGOTIATION is specified.
16 ** libgnutls: When checking openpgp self signature also check the signatures of all subkeys.                                                                                                             
17 Ilari Liusvaara noticed and reported the issue and provided test vectors as well.
19 ** libgnutls: Added cryptodev support (/dev/crypto). Tested with
20 http://www.logix.cz/michal/devel/cryptodev/. Added benchmark utility 
21 for AES. Exported API to access encryption and hash algorithms.
23 ** certtool: Corrected two issues that affected certificate request generation.
24 (1) Null padding is added on integers (found thanks to Wilankar Trupti),
25 (2) In optional SignatureAlgorithm parameters field for DSA keys the DSA
26 parameters were added. Those were rejected by Verisign. Gnutls no longer adds 
27 those parameters there since other implementations don't do either and having 
28 them does not seem to offer anything (anyway you need the signer's certificate
29 to verify thus public key will be available). Found thanks to Boyan Kasarov.
30 This however has the side-effect that public key IDs shown by certtool are
31 now different than previous gnutls releases.
32 (3) the option --pgp-certificate-info will verify self signatures
34 ** certtool: Allow exporting of Certificate requests on DER format.
36 ** certtool: New option --no-crq-extensions to avoid extensions in CSRs.
38 ** gnutls-cli: Handle reading binary data from server.
39 Reported by and tiny patch from Vitaly Mayatskikh
40 <v.mayatskih@gmail.com> in
41 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/4096>.
43 ** minitasn1: Upgraded to libtasn1 version 2.4.
45 ** i18n: Updated Czech, Dutch, French, Polish, Swedish translation.
46 ** Added Simplified Chinese translation.
47 Thanks to Petr Pisar, Erwin Poeze, Nicolas Provost, Jakub Bogusz,
48 Daniel Nylander, Tao Wei, and Aron Xu.
50 ** API and ABI modifications:
51 gnutls_cipher_decrypt: Added
52 gnutls_cipher_deinit: Added
53 gnutls_cipher_encrypt: Added
54 gnutls_cipher_get_block_size: Added
55 gnutls_cipher_init: Added
56 gnutls_hash: Added
57 gnutls_hash_deinit: Added
58 gnutls_hash_fast: Added
59 gnutls_hash_get_len: Added
60 gnutls_hash_init: Added
61 gnutls_hash_output: Added
62 gnutls_hmac: Added
63 gnutls_hmac_deinit: Added
64 gnutls_hmac_fast: Added
65 gnutls_hmac_get_len: Added
66 gnutls_hmac_init: Added
67 gnutls_hmac_output: Added
68 gnutls_safe_negotiation_set_initial: Added
69 gnutls_safe_renegotiation_set: Added
70 %UNSAFE_RENEGOTIATION: Added to priority strings
71 %INITIAL_SAFE_RENEGOTIATION: Added to priority strings
72 %DISABLE_SAFE_RENEGOTIATION: Added to priority strings (do not use)
74 * Version 2.9.9 (released 2009-11-09)
76 ** libgnutls: Cleanups and several bug fixes.
77 Found by Steve Grubb and Tomas Mraz.
79 ** Link libgcrypt explicitly to certtool, gnutls-cli, gnutls-serv.
81 ** Fix --disable-valgrind-tests.
82 Reported by Ingmar Vanhassel in
83 <https://savannah.gnu.org/support/?107029>.
85 ** API and ABI modifications:
86 No changes since last version.
88 * Version 2.9.8 (released 2009-11-05)
90 ** libgnutls: Fix for memory leaks on interrupted handshake.
91 Reported by Tang Tong.
93 ** libgnutls: Addition of support for TLS 1.2 signature algorithms
94 ** extension and certificate verify field.
95 This requires changes for TLS 1.2 servers and clients that use
96 callbacks for certificate retrieval.  They are now required to check
97 with gnutls_sign_algorithm_get_requested() whether the certificate
98 they send complies with the peer's preferences in signature
99 algorithms.
101 ** libgnutls: In server side when resuming a session do not overwrite the 
102 ** initial session data with the resumed session data.
104 ** libgnutls: Added support for AES-128, AES-192 and AES-256 in PKCS #8
105 ** encryption.
106 This affects also PKCS #12 encoded files.  This adds the following new
107 enums: GNUTLS_CIPHER_AES_192_CBC, GNUTLS_PKCS_USE_PBES2_AES_128,
108 GNUTLS_PKCS_USE_PBES2_AES_192, GNUTLS_PKCS_USE_PBES2_AES_256.
110 ** libgnutls: Fix PKCS#12 encoding.
111 The error you would get was "The OID is not supported.".  Problem
112 introduced for the v2.8.x branch in 2.7.6.
114 ** certtool: Added the --pkcs-cipher option.
115 To explicitely specify the encryption algorithm to use.
117 ** tests: Added "pkcs12_encode" self-test to check PKCS#12 functions.
119 ** tests: Fix time bomb in chainverify self-test.
120 Reported by Andreas Metzler <ametzler@downhill.at.eu.org> in
121 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3925>.
123 ** tests: Fix expired cert in chainverify self-test.
125 ** i18n: Vietnamese translation updated.
126 Thanks to Clytie Siddall.
128 ** API and ABI modifications:
129 GNUTLS_CIPHER_AES_192_CBC: ADDED to gnutls/gnutls.h.
130 GNUTLS_PKCS_USE_PBES2_AES_128: ADDED to gnutls/x509.h.
131 GNUTLS_PKCS_USE_PBES2_AES_192: ADDED to gnutls/x509.h.
132 GNUTLS_PKCS_USE_PBES2_AES_256: ADDED to gnutls/x509.h.
133 GNUTLS_BAG_SECRET: ADDED to gnutls/pkcs12.h.
134 GNUTLS_DIG_UNKNOWN: ADDED to gnutls/gnutls.h.
135 gnutls_sign_algorithm_get_requested: ADDED.
137 * Version 2.9.7 (released 2009-10-06)
139 ** libgnutls: TLS 1.2 server mode fixes.
140 Now interoperates against Opera.  Contributed by Daiki Ueno.
142 ** libgnutlsxx: Fix link problems.
143 Tiny patch from Boyan Kasarov <bkasarov@gmail.com>.
145 ** guile: Compatibility with guile 2.x.
146 By Ludovic Courtes <ludovic.courtes@laas.fr>.
148 ** API and ABI modifications:
149 No changes since last version.
151 * Version 2.9.6 (released 2009-09-22)
153 ** libgnutls: Enable Camellia ciphers by default.
155 ** API and ABI modifications:
156 No changes since last version.
158 * Version 2.9.5 (released 2009-09-10)
160 ** libgnutls: Add new functions to extract X.509 Issuer Alternative Names.
161 The new functions are gnutls_x509_crt_get_issuer_alt_name2,
162 gnutls_x509_crt_get_issuer_alt_name, and
163 gnutls_x509_crt_get_issuer_alt_othername_oid.  Contributed by Brad
164 Hards <bradh@frogmouth.net>.
166 ** API and ABI modifications:
167 gnutls_x509_crt_get_issuer_alt_name2: ADDED.
168 gnutls_x509_crt_get_issuer_alt_name: ADDED.
169 gnutls_x509_crt_get_issuer_alt_othername_oid: ADDED.
171 * Version 2.9.4 (released 2009-09-03)
173 ** libgnutls: Client-side TLS 1.2 and SHA-256 ciphersuites now works.
174 The new supported ciphersuites are AES-128/256 in CBC mode with
175 ANON-DH/RSA/DHE-DSS/DHE-RSA.  Contributed by Daiki Ueno.  Further,
176 SHA-256 is now the preferred default MAC (however it is only used with
177 TLS 1.2).
179 ** libgnutls: Make OpenPGP hostname checking work again.
180 The patch to resolve the X.509 CN/SAN issue accidentally broken
181 OpenPGP hostname comparison.
183 ** libgnutls: When printing X.509 certificates, handle XMPP SANs better.
184 Reported by Howard Chu <hyc@symas.com> in
185 <https://savannah.gnu.org/support/?106975>.
187 ** Fix use of deprecated types internally.
188 Use of deprecated types in GnuTLS from now on will lead to a compile
189 error, to prevent this from happening again.
191 ** API and ABI modifications:
192 No changes since last version.
194 * Version 2.9.3 (released 2009-08-19)
196 ** libgnutls: Support for TLS tickets was contributed by Daiki Ueno.
197 The new APIs are gnutls_session_ticket_enable_client,
198 gnutls_session_ticket_enable_server, and
199 gnutls_session_ticket_key_generate.
201 ** gnutls-cli, gnutls-serv: New parameter --noticket to disable TLS tickets.
203 ** API and ABI modifications:
204 gnutls_session_ticket_key_generate: ADDED.
205 gnutls_session_ticket_enable_client: ADDED.
206 gnutls_session_ticket_enable_server: ADDED.
208 * Version 2.9.2 (released 2009-08-14)
210 ** libgnutls: Fix problem with NUL bytes in X.509 CN and SAN fields.
211 By using a NUL byte in CN/SAN fields, it was possible to fool GnuTLS
212 into 1) not printing the entire CN/SAN field value when printing a
213 certificate and 2) cause incorrect positive matches when matching a
214 hostname against a certificate.  Some CAs apparently have poor
215 checking of CN/SAN values and issue these (arguable invalid)
216 certificates.  Combined, this can be used by attackers to become a
217 MITM on server-authenticated TLS sessions.  The problem is mitigated
218 since attackers needs to get one certificate per site they want to
219 attack, and the attacker reveals his tracks by applying for a
220 certificate at the CA.  It does not apply to client authenticated TLS
221 sessions.  Research presented independently by Dan Kaminsky and Moxie
222 Marlinspike at BlackHat09.  Thanks to Tomas Hoger <thoger@redhat.com>
223 for providing one part of the patch.  [GNUTLS-SA-2009-4] [CVE-2009-2730].
225 ** libgnutls: Fix rare failure in gnutls_x509_crt_import.
226 The function may fail incorrectly when an earlier certificate was
227 imported to the same gnutls_x509_crt_t structure.
229 ** minitasn1: Internal copy updated to libtasn1 v2.3.
231 ** libgnutls: Fix return value of gnutls_certificate_client_get_request_status.
232 Before it always returned false.  Reported by Peter Hendrickson
233 <pdh@wiredyne.com> in
234 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3668>.
236 ** libgnutls: Fix off-by-one size computation error in unknown DN printing.
237 The error resulted in truncated strings when printing unknown OIDs in
238 X.509 certificate DNs.  Reported by Tim Kosse
239 <tim.kosse@filezilla-project.org> in
240 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3651>.
242 ** libgnutls: Fix PKCS#12 decryption from password.
243 The encryption key derived from the password was incorrect for (on
244 average) 1 in every 128 input for random inputs.  Reported by "Kukosa,
245 Tomas" <tomas.kukosa@siemens-enterprise.com> in
246 <http://permalink.gmane.org/gmane.network.gnutls.general/1663>.
248 ** libgnutls: Return correct bit lengths of some MPIs.
249 gnutls_dh_get_prime_bits, gnutls_rsa_export_get_modulus_bits, and
250 gnutls_dh_get_peers_public_bits.  Before the reported value was
251 overestimated.  Reported by Peter Hendrickson <pdh@wiredyne.com> in
252 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3607>.
254 ** libgnutls: Avoid internal error when invoked after GNUTLS_E_AGAIN.
255 Report and patch by Tim Kosse <tim.kosse@filezilla-project.org> in
256 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3671>
258 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3670>.
260 ** libgnutls: Relax checking of required libtasn1/libgcrypt versions.
261 Before we required that the runtime library used the same (or more
262 recent) libgcrypt/libtasn1 as it was compiled with.  Now we just check
263 that the runtime usage is above the minimum required.  Reported by
264 Marco d'Itri <md@linux.it> via Andreas Metzler
265 <ametzler@downhill.at.eu.org> in <http://bugs.debian.org/540449>.
267 ** tests: Added new self-test pkcs12_s2k_pem to detect MPI bit length error.
269 ** tests: Improved test vectors in self-test pkcs12_s2k.
271 ** tests: Added new self-test dn2 to detect off-by-one size error.
273 ** tests: Fix failure in "chainverify" because a certificate have expired.
275 ** API and ABI modifications:
276 No changes since last version.
278 * Version 2.9.1 (released 2009-06-08)
280 ** libgnutls: Fix crash in gnutls_global_init after earlier init/deinit cycle.
281 Forwarded by Martin von Gagern <Martin.vGagern@gmx.net> from
282 <http://bugs.gentoo.org/272388>.
284 ** tests: Added new self-tests init_roundtrip.c to detect previous problem.
286 ** Reduce stack usage for some CRQ functions.
288 ** Doc fixes for CRQ functions.
290 ** API and ABI modifications:
291 No changes since last version.
293 * Version 2.9.0 (released 2009-05-28)
295 ** Doc fixes.
297 ** API and ABI modifications:
298 No changes since last version.
300 * Version 2.8.3 (released 2009-08-13)
302 ** libgnutls: Fix patch for NUL in CN/SAN in last release.
303 Code intended to be removed would lead to an read-out-bound error in
304 some situations.  Reported by Tomas Hoger <thoger@redhat.com>.  A CVE
305 code have been allocated for the vulnerability: [CVE-2009-2730].
307 ** libgnutls: Fix rare failure in gnutls_x509_crt_import.
308 The function may fail incorrectly when an earlier certificate was
309 imported to the same gnutls_x509_crt_t structure.
311 ** libgnutls-extra, libgnutls-openssl: Fix MinGW cross-compiling build error.
313 ** tests: Made self-test mini-eagain take less time.
315 ** doc: Typo fixes.
317 ** API and ABI modifications:
318 No changes since last version.
320 * Version 2.8.2 (released 2009-08-10)
322 ** libgnutls: Fix problem with NUL bytes in X.509 CN and SAN fields.
323 By using a NUL byte in CN/SAN fields, it was possible to fool GnuTLS
324 into 1) not printing the entire CN/SAN field value when printing a
325 certificate and 2) cause incorrect positive matches when matching a
326 hostname against a certificate.  Some CAs apparently have poor
327 checking of CN/SAN values and issue these (arguable invalid)
328 certificates.  Combined, this can be used by attackers to become a
329 MITM on server-authenticated TLS sessions.  The problem is mitigated
330 since attackers needs to get one certificate per site they want to
331 attack, and the attacker reveals his tracks by applying for a
332 certificate at the CA.  It does not apply to client authenticated TLS
333 sessions.  Research presented independently by Dan Kaminsky and Moxie
334 Marlinspike at BlackHat09.  Thanks to Tomas Hoger <thoger@redhat.com>
335 for providing one part of the patch.  [GNUTLS-SA-2009-4].
337 ** libgnutls: Fix return value of gnutls_certificate_client_get_request_status.
338 Before it always returned false.  Reported by Peter Hendrickson
339 <pdh@wiredyne.com> in
340 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3668>.
342 ** libgnutls: Fix off-by-one size computation error in unknown DN printing.
343 The error resulted in truncated strings when printing unknown OIDs in
344 X.509 certificate DNs.  Reported by Tim Kosse
345 <tim.kosse@filezilla-project.org> in
346 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3651>.
348 ** libgnutls: Return correct bit lengths of some MPIs.
349 gnutls_dh_get_prime_bits, gnutls_rsa_export_get_modulus_bits, and
350 gnutls_dh_get_peers_public_bits.  Before the reported value was
351 overestimated.  Reported by Peter Hendrickson <pdh@wiredyne.com> in
352 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3607>.
354 ** libgnutls: Avoid internal error when invoked after GNUTLS_E_AGAIN.
355 Report and patch by Tim Kosse <tim.kosse@filezilla-project.org> in
356 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3671>
358 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3670>.
360 ** libgnutls: Relax checking of required libtasn1/libgcrypt versions.
361 Before we required that the runtime library used the same (or more
362 recent) libgcrypt/libtasn1 as it was compiled with.  Now we just check
363 that the runtime usage is above the minimum required.  Reported by
364 Marco d'Itri <md@linux.it> via Andreas Metzler
365 <ametzler@downhill.at.eu.org> in <http://bugs.debian.org/540449>.
367 ** minitasn1: Internal copy updated to libtasn1 v2.3.
369 ** tests: Fix failure in "chainverify" because a certificate have expired.
371 ** API and ABI modifications:
372 No changes since last version.
374 * Version 2.8.1 (released 2009-06-10)
376 ** libgnutls: Fix crash in gnutls_global_init after earlier init/deinit cycle.
377 Forwarded by Martin von Gagern <Martin.vGagern@gmx.net> from
378 <http://bugs.gentoo.org/272388>.
380 ** libgnutls: Fix PKCS#12 decryption from password.
381 The encryption key derived from the password was incorrect for (on
382 average) 1 in every 128 input for random inputs.  Reported by "Kukosa,
383 Tomas" <tomas.kukosa@siemens-enterprise.com> in
384 <http://permalink.gmane.org/gmane.network.gnutls.general/1663>.
386 ** API and ABI modifications:
387 No changes since last version.
389 * Version 2.8.0 (released 2009-05-27)
391 ** doc: Fix gnutls_dh_get_prime_bits.  Fix error codes and algorithm lists.
393 ** Major changes compared to the v2.4 branch:
395 *** lib: Linker version scripts reduces number of exported symbols.
397 *** lib: Limit exported symbols on systems without LD linker scripts.
399 *** libgnutls: Fix namespace issue with version symbols.
401 *** libgnutls: Add functions to verify a hash against a certificate.
402 gnutls_x509_crt_verify_hash: ADDED
403 gnutls_x509_crt_get_verify_algorithm: ADDED
405 *** gnutls-serv: Listen on all interfaces, including both IPv4 and IPv6.
407 *** i18n: The GnuTLS gettext domain is now 'libgnutls' instead of 'gnutls'.
409 *** certtool: Query for multiple dnsName subjectAltName in interactive mode.
411 *** gnutls-cli: No longer accepts V1 CAs by default during X.509 chain verify.
413 *** gnutls-serv: No longer disable MAC padding by default.
415 *** gnutls-cli: Certificate information output format changed.
417 *** libgnutls: New priority strings %VERIFY_ALLOW_SIGN_RSA_MD5
418 *** and %VERIFY_ALLOW_X509_V1_CA_CRT.
420 *** libgnutls: gnutls_x509_crt_print prints signature algorithm in oneline mode.
422 *** libgnutls: gnutls_openpgp_crt_print supports oneline mode.
424 *** libgnutls: gnutls_handshake when sending client hello during a
425 rehandshake, will not offer a version number larger than the current.
427 *** libgnutls: New interface to get key id for certificate requests.
428 gnutls_x509_crq_get_key_id: ADDED.
430 *** libgnutls: gnutls_x509_crq_print will now also print public key id.
432 *** certtool: --verify-chain now prints results of using library verification.
434 *** libgnutls: Libgcrypt initialization changed.
436 *** libgnutls: Small byte reads via gnutls_record_recv() optimized.
438 *** gnutls-cli: Return non-zero exit code on error conditions.
440 *** gnutls-cli: Corrected bug which caused a rehandshake request to be ignored.
442 *** certtool: allow setting arbitrary key purpose object identifiers.
444 *** libgnutls: Change detection of when to use a linker version script.
445 Use --enable-ld-version-script or --disable-ld-version-script to
446 override auto-detection logic.
448 *** Fix warnings and build GnuTLS with more warnings enabled.
450 *** New API to set X.509 credentials from PKCS#12 memory structure.
451 gnutls_certificate_set_x509_simple_pkcs12_mem: ADDED
453 *** Old libgnutls.m4 and libgnutls-config scripts removed.
454 Please use pkg-config instead.
456 *** libgnutls: Added functions to handle CRL extensions.
457 gnutls_x509_crl_get_authority_key_id: ADDED
458 gnutls_x509_crl_get_number: ADDED
459 gnutls_x509_crl_get_extension_oid: ADDED
460 gnutls_x509_crl_get_extension_info: ADDED
461 gnutls_x509_crl_get_extension_data: ADDED
462 gnutls_x509_crl_set_authority_key_id: ADDED
463 gnutls_x509_crl_set_number: ADDED
465 *** libgnutls: Added functions to handle X.509 extensions in Certificate
466 Requests.
467 gnutls_x509_crq_get_key_rsa_raw: ADDED
468 gnutls_x509_crq_get_attribute_info: ADDED
469 gnutls_x509_crq_get_attribute_data: ADDED
470 gnutls_x509_crq_get_extension_info: ADDED
471 gnutls_x509_crq_get_extension_data: ADDED
472 gnutls_x509_crq_get_key_usage: ADDED
473 gnutls_x509_crq_get_basic_constraints: ADDED
474 gnutls_x509_crq_get_subject_alt_name: ADDED
475 gnutls_x509_crq_get_subject_alt_othername_oid: ADDED
476 gnutls_x509_crq_get_extension_by_oid: ADDED
477 gnutls_x509_crq_set_subject_alt_name: ADDED
478 gnutls_x509_crq_set_basic_constraints: ADDED
479 gnutls_x509_crq_set_key_usage: ADDED
480 gnutls_x509_crq_get_key_purpose_oid: ADDED
481 gnutls_x509_crq_set_key_purpose_oid: ADDED
482 gnutls_x509_crq_print: ADDED
483 gnutls_x509_crt_set_crq_extensions: ADDED
485 *** certtool: Print and set CRL and CRQ extensions.
487 *** minitasn1: Internal copy updated to libtasn1 v2.1.
489 *** examples: Now released into the public domain.
491 *** The Texinfo and GTK-DOC manuals were improved.
493 *** Several self-tests were added and others improved.
495 *** API/ABI changes in GnuTLS 2.8 compared to GnuTLS 2.6.x
496 No offically supported interfaces have been modified or removed.  The
497 library should be completely backwards compatible on both the source
498 and binary level.
500 The shared library no longer exports some symbols that have never been
501 officially supported, i.e., not mentioned in any of the header files.
502 The symbols are:
504   _gnutls*
505   gnutls_asn1_tab
506   
507 Normally when symbols are removed, the shared library version has to
508 be incremented.  This leads to a significant cost for everyone using
509 the library.  Because none of the above symbols have ever been
510 intended for use by well-behaved applications, we decided that the it
511 would be better for those applications to pay the price rather than
512 incurring problems on the majority of applications.
514 If it turns out that applications have been using unofficial
515 interfaces, we will need to release a follow-on release on the v2.8
516 branch to exports additional interfaces.  However, initial testing
517 suggests that few if any applications have been using any of the
518 internal symbols.
520 Although not a new change compared to 2.6.x, we'd like to remind you
521 interfaces have been modified so that X.509 chain verification now
522 also checks activation/expiration times on certificates.  The affected
523 functions are:
525 gnutls_x509_crt_list_verify: CHANGED, checks activation/expiration times.
526 gnutls_certificate_verify_peers: Likewise.
527 gnutls_certificate_verify_peers2: Likewise.
528 GNUTLS_CERT_NOT_ACTIVATED: ADDED.
529 GNUTLS_CERT_EXPIRED: ADDED.
530 GNUTLS_VERIFY_DISABLE_TIME_CHECKS: ADDED.
532 This change in behaviour was made during the GnuTLS 2.6.x cycle, and
533 we gave our rationale for it in earlier release notes.
535 The following symbols have been added to the library:
537 gnutls_certificate_set_x509_simple_pkcs12_mem: ADDED
538 gnutls_x509_crl_get_authority_key_id: ADDED
539 gnutls_x509_crl_get_extension_data: ADDED
540 gnutls_x509_crl_get_extension_info: ADDED
541 gnutls_x509_crl_get_extension_oid: ADDED
542 gnutls_x509_crl_get_number: ADDED
543 gnutls_x509_crl_set_authority_key_id: ADDED
544 gnutls_x509_crl_set_number: ADDED
545 gnutls_x509_crq_get_attribute_data: ADDED
546 gnutls_x509_crq_get_attribute_info: ADDED
547 gnutls_x509_crq_get_basic_constraints: ADDED
548 gnutls_x509_crq_get_extension_by_oid: ADDED
549 gnutls_x509_crq_get_extension_data: ADDED
550 gnutls_x509_crq_get_extension_info: ADDED
551 gnutls_x509_crq_get_key_id: ADDED.
552 gnutls_x509_crq_get_key_purpose_oid: ADDED
553 gnutls_x509_crq_get_key_rsa_raw: ADDED
554 gnutls_x509_crq_get_key_usage: ADDED
555 gnutls_x509_crq_get_subject_alt_name: ADDED
556 gnutls_x509_crq_get_subject_alt_othername_oid: ADDED
557 gnutls_x509_crq_print: ADDED
558 gnutls_x509_crq_set_basic_constraints: ADDED
559 gnutls_x509_crq_set_key_purpose_oid: ADDED
560 gnutls_x509_crq_set_key_usage: ADDED
561 gnutls_x509_crq_set_subject_alt_name: ADDED
562 gnutls_x509_crt_get_verify_algorithm: ADDED
563 gnutls_x509_crt_set_crq_extensions: ADDED
564 gnutls_x509_crt_verify_hash: ADDED
566 The following interfaces have been added to the header files:
568 GNUTLS_VERSION: ADDED, replaces LIBGNUTLS_VERSION.
569 GNUTLS_VERSION_MAJOR: ADDED, replaces LIBGNUTLS_VERSION_MAJOR.
570 GNUTLS_VERSION_MINOR: ADDED, replaces LIBGNUTLS_VERSION_MINOR.
571 GNUTLS_VERSION_PATCH: ADDED, replaces LIBGNUTLS_VERSION_PATCH.
572 GNUTLS_VERSION_NUMBER: ADDED, replaces LIBGNUTLS_VERSION_NUMBER.
573 GNUTLS_EXTRA_VERSION: ADDED, replaces LIBGNUTLS_EXTRA_VERSION.
575 The following interfaces have been deprecated:
577 LIBGNUTLS_VERSION: DEPRECATED.
578 LIBGNUTLS_VERSION_MAJOR: DEPRECATED.
579 LIBGNUTLS_VERSION_MINOR: DEPRECATED.
580 LIBGNUTLS_VERSION_PATCH: DEPRECATED.
581 LIBGNUTLS_VERSION_NUMBER: DEPRECATED.
582 LIBGNUTLS_EXTRA_VERSION: DEPRECATED.
584 * Version 2.7.14 (released 2009-05-26)
586 ** libgnutls: Fix namespace issue with version symbol for libgnutls-extra.
587 The symbol LIBGNUTLS_EXTRA_VERSION were renamed to
588 GNUTLS_EXTRA_VERSION.  The old symbol will continue to work but is
589 deprecated.
591 ** Doc: Several typo fixes in documentation.
592 Reported by Peter Hendrickson <pdh@wiredyne.com>.
594 ** API and ABI modifications:
595 GNUTLS_VERSION: ADDED, replaces LIBGNUTLS_EXTRA_VERSION.
596 LIBGNUTLS_EXTRA_VERSION: DEPRECATED.
598 * Version 2.7.13 (released 2009-05-25)
600 ** libgnutls: Fix version of some exported symbols in the shared library.
601 Reported by Andreas Metzler <ametzler@downhill.at.eu.org> in
602 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3576>.
604 ** tests: Handle recently expired certificates in chainverify self-test.
605 Reported by Andreas Metzler <ametzler@downhill.at.eu.org> in
606 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3580>.
608 ** API and ABI modifications:
609 No changes since last version.
611 * Version 2.7.12 (released 2009-05-20)
613 ** gnutls-serv, gnutls-cli-debug: Make them work on Windows.
615 ** tests/crq_key_id: Don't read entropy from /dev/random in self-test.
616 Reported by Andreas Metzler <ametzler@downhill.at.eu.org> in
617 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3570>.
619 ** Fix build failures.
620 Missing sa_family_t and vsnprintf on IRIX.  Reported by "Tom
621 G. Christensen" <tgc@jupiterrise.com> in
622 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3571>.
624 ** minitasn1: Internal copy updated to libtasn1 v2.2.
625 GnuTLS should work fine with libtasn1 v1.x and that is still
626 supported.
628 ** API and ABI modifications:
629 No changes since last version.
631 * Version 2.7.11 (released 2009-05-18)
633 ** minitasn1: Fix build failure when using internal libtasn1.
634 Reported by "Tom G. Christensen" <tgc@jupiterrise.com> in
635 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3548>.
637 ** libgnutls: Fix build failure with --disable-cxx.
638 Reported by Andreas Metzler <ametzler@downhill.at.eu.org> in
639 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3557>.
641 ** gnutls-serv: Fix build failure for unportable NI_MAXHOST/NI_MAXSERV.
642 Reported by "Tom G. Christensen" <tgc@jupiterrise.com> in
643 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3560>
645 ** Building with many warning flags now requires --enable-gcc-warnings.
646 This avoids crying wolf for normal compiles.
648 ** API and ABI modifications:
649 No changes since last version.
651 * Version 2.7.10 (released 2009-05-13)
653 ** examples: Now released into the public domain.
654 This makes the license of the example code compatible with more
655 licenses, including the (L)GPL.
657 ** minitasn1: Internal copy updated to libtasn1 v2.1.
658 GnuTLS should work fine with libtasn1 v1.x and that is still
659 supported.
661 ** libgnutls: Fix crash in signature verification
662 The fix for the CVE-2009-1415 problem wasn't merged completely.
664 ** doc: Fixes for GTK-DOC output.
666 ** API and ABI modifications:
667 No changes since last version.
669 * Version 2.7.9 (released 2009-05-11)
671 ** doc: Fix strings in man page of gnutls_priority_init.
673 ** doc: Fix tables of error codes and supported algorithms.
675 ** Fix build failure when cross-compiled using MinGW.
677 ** Fix build failure when LZO is enabled.
678 Reported by Arfrever Frehtes Taifersar Arahesis
679 <arfrever.fta@gmail.com> in
680 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3522>.
682 ** Fix build failure on systems without AF_INET6, e.g., Solaris 2.6.
683 Reported by "Tom G. Christensen" <tgc@jupiterrise.com> in
684 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3524>.
686 ** Fix warnings in self-tests.
688 ** API and ABI modifications:
689 No changes since last version.
691 * Version 2.7.8 (released 2009-05-03)
693 ** libgnutls: Fix DSA key generation.
694 Merged from stable branch.  [GNUTLS-SA-2009-2] [CVE-2009-1416]
696 ** libgnutls: Check expiration/activation time on untrusted certificates.
697 Merged from stable branch.  Reported by Romain Francoise
698 <romain@orebokech.com>.  This changes the semantics of
699 gnutls_x509_crt_list_verify, which in turn is used by
700 gnutls_certificate_verify_peers and gnutls_certificate_verify_peers2.
701 We add two new gnutls_certificate_status_t codes for reporting the new
702 error condition, GNUTLS_CERT_NOT_ACTIVATED and GNUTLS_CERT_EXPIRED.
703 We also add a new gnutls_certificate_verify_flags flag,
704 GNUTLS_VERIFY_DISABLE_TIME_CHECKS, that can be used to disable the new
705 behaviour.  [GNUTLS-SA-2009-3] [CVE-2009-1417]
707 ** lib: Linker version scripts reduces number of exported symbols.
708 The linker version script now lists all exported ABIs explicitly, to
709 avoid accidentally exporting unintended functions.  Compared to
710 before, most symbols beginning with _gnutls* are no longer exported.
711 These functions have never been intended for use by applications, and
712 there were no prototypes for these function in the public header
713 files.  Thus we believe it is possible to do this without incrementing
714 the library ABI version which normally has to be done when removing an
715 interface.
717 ** lib: Limit exported symbols on systems without LD linker scripts.
718 Before all symbols were exported.  Now we limit the exported symbols
719 to (for libgnutls and libgnutls-extra) gnutls* and (for libgnutls)
720 _gnutls*.  This is a superset of the actual supported ABI, but still
721 an improvement compared to before.  This is implemented using Libtool
722 -export-symbols-regex.  It is more portable than linker version
723 scripts.
725 ** libgnutls: Incremented CURRENT/AGE libtool version to reflect new symbols.
726 This should have been done in the last release.
728 ** gnutls-serv: Listen on all interfaces, including both IPv4 and IPv6.
729 Reported by Peter Hendrickson <pdh@wiredyne.com> in
730 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3476>.
732 ** doc: Improved sections for the info manual.
733 We now follow the advice given by the texinfo manual on which
734 directory categories to use.  In particular, libgnutls moved from the
735 'GNU Libraries' section to the 'Software libraries' and the command
736 line tools moved from 'Network Applications' to 'System
737 Administration'.
739 ** API and ABI modifications:
740 gnutls_x509_crt_list_verify: CHANGED, checks activation/expiration times.
741 gnutls_certificate_verify_peers: Likewise.
742 gnutls_certificate_verify_peers2: Likewise.
743 GNUTLS_CERT_NOT_ACTIVATED: ADDED.
744 GNUTLS_CERT_EXPIRED: ADDED.
745 GNUTLS_VERIFY_DISABLE_TIME_CHECKS: ADDED.
747 * Version 2.7.7 (released 2009-04-20)
749 ** libgnutls: Applied patch by Cedric Bail to add functions
750 gnutls_x509_crt_verify_hash() and gnutls_x509_crt_get_verify_algorithm().
752 ** gnutls.pc: Add -ltasn1 to 'pkg-config --libs --static gnutls' output.
753 Reported by Andreas Metzler <ametzler@downhill.at.eu.org> in
754 <http://article.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3467>.
756 ** minitasn1: Internal copy updated to libtasn1 v1.8.
757 GnuTLS is also internally ready to be used with libtasn1 v2.0.
759 ** doc: Fix build failure of errcodes/printlist.
760 Reported by Roman Bogorodskiy <novel@FreeBSD.org> in
761 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3435>.
763 ** i18n: The GnuTLS gettext domain is now 'libgnutls' instead of 'gnutls'.
764 It is currently only used by the core library.  This will enable a new
765 domain 'gnutls' for translations of the command line tools.
767 ** Corrected possible memory corruption on signature verification failure. 
768 Reported by Miroslav Kratochvil <exa.exa@gmail.com>
770 ** API and ABI modifications:
771 gnutls_x509_crt_verify_hash: ADDED
772 gnutls_x509_crt_get_verify_algorithm: ADDED
774 * Version 2.7.6 (released 2009-02-27)
776 ** certtool: Query for multiple dnsName subjectAltName in interactive mode.
777 This applies both to generating certificates and certificate requests.
779 ** pkix.asn: Removed unneeded definitions to reduce memory usage.
781 ** gnutls-cli: No longer accepts V1 CAs by default during X.509 chain verify.
782 Use --priority NORMAL:%VERIFY_ALLOW_X509_V1_CA_CRT to permit V1 CAs to
783 be used for chain verification.
785 ** gnutls-serv: No longer disable MAC padding by default.
786 Use --priority NORMAL:%COMPAT to disable MAC padding again.
788 ** gnutls-cli: Certificate information output format changed.
789 The tool now uses libgnutls' functions to print certificate
790 information.  This avoids code duplication.
792 ** libgnutls: New priority strings %VERIFY_ALLOW_SIGN_RSA_MD5
793 ** and %VERIFY_ALLOW_X509_V1_CA_CRT.
794 They can be used to override the default certificate chain validation
795 behaviour.
797 ** libgnutls: Added %SSL3_RECORD_VERSION priority string that allows to 
798 specify the client hello message record version. Used to overcome buggy 
799 TLS servers. Report by Martin von Gagern.
801 ** libgnutls: gnutls_x509_crt_print prints signature algorithm in oneline mode.
803 ** libgnutls: gnutls_openpgp_crt_print supports oneline mode.
805 ** doc: Update gnutls-cli and gnutls-serv --help output descriptions.
807 ** API and ABI modifications:
808 No changes since last version.
810 * Version 2.7.5 (released 2009-02-06)
812 ** libgnutls: Accept chains where intermediary certs are trusted.
813 Before GnuTLS needed to validate the entire chain back to a
814 self-signed certificate.  GnuTLS will now stop looking when it has
815 found an intermediary trusted certificate.  The new behaviour is
816 useful when chains, for example, contains a top-level CA, an
817 intermediary CA signed using RSA-MD5, and an end-entity certificate.
818 To avoid chain validation errors due to the RSA-MD5 cert, you can
819 explicitly add the intermediary RSA-MD5 cert to your trusted certs.
820 The signature on trusted certificates are not checked, so the chain
821 has a chance to validate correctly.  Reported by "Douglas E. Engert"
822 <deengert@anl.gov> in
823 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3351>.
825 ** libgnutls: result_size in gnutls_hex_encode now holds
826 the size of the result. Report by John Brooks <special@dereferenced.net>.
828 ** libgnutls: gnutls_handshake when sending client hello during a
829 rehandshake, will not offer a version number larger than the current.
830 Reported by Tristan Hill <stan@saticed.me.uk>.
832 ** libgnutls: Permit V1 Certificate Authorities properly.
833 Before they were mistakenly rejected even though
834 GNUTLS_VERIFY_ALLOW_ANY_X509_V1_CA_CRT and/or
835 GNUTLS_VERIFY_ALLOW_X509_V1_CA_CRT were supplied.  Reported by
836 "Douglas E. Engert" <deengert@anl.gov> in
837 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3351>.
839 ** API and ABI modifications:
840 No changes since last version.
842 * Version 2.7.4 (released 2009-01-07)
844 ** libgnutls: deprecate X.509 validation chains using MD5 and MD2 signatures.
845 This is a bugfix -- the previous attempt to do this from internal x509
846 certificate verification procedures did not return the correct value
847 for certificates using a weak hash.  Reported by Daniel Kahn Gillmor
848 <dkg@fifthhorseman.net> in
849 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3332>,
850 debugged and patch by Tomas Mraz <tmraz@redhat.com> and Daniel Kahn
851 Gillmor <dkg@fifthhorseman.net>.
853 ** libgnutls: New interface to get key id for certificate requests.
854 Patch from David Marín Carreño <davefx@gmail.com> in
855 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3321>.
857 ** libgnutls: gnutls_x509_crq_print will now also print public key id.
859 ** certtool: --verify-chain now prints results of using library verification.
860 Earlier, certtool --verify-chain used its own validation algorithm
861 which wasn't guaranteed to give the same result as the libgnutls
862 internal validation algorithm.  Now this command print a new final
863 line with header 'Chain verification output:' that contains the result
864 from using the internal verification algorithm on the same chain.
866 ** tests: Add crq_key_id self-test of gnutls_x509_crq_get_key_id.
868 ** API and ABI modifications:
869 gnutls_x509_crq_get_key_id: ADDED.
871 * Version 2.7.3 (released 2008-12-10)
873 ** libgnutls: Fix chain verification for chains that ends with RSA-MD2 CAs.
874 Reported by Michael Kiefer <Michael-Kiefer@web.de> in
875 <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=507633> forwarded by
876 Andreas Metzler <ametzler@downhill.at.eu.org> in
877 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3309>.
879 ** libgnutls: Libgcrypt initialization changed.
880 If libgcrypt has not already been initialized, GnuTLS will now
881 initialize libgcrypt with disabled secure memory.  Initialize
882 libgcrypt explicitly in your application if you want to enable secure
883 memory.  Before GnuTLS initialized libgcrypt to use GnuTLS's memory
884 allocation functions, which doesn't use secure memory, so there is no
885 real change in behaviour.
887 ** libgnutls: Fix memory leak in PSK authentication.
888 Reported by Michael Weiser <michael@weiser.dinsnail.net> in
889 <http://permalink.gmane.org/gmane.network.gnutls.general/1465>.
891 ** libgnutls: Small byte reads via gnutls_record_recv() optimized.
893 ** certtool: Move gcry_control(GCRYCTL_ENABLE_QUICK_RANDOM, 0) call earlier.
894 It needs to be invoked before libgcrypt is initialized.
896 ** gnutls-cli: Return non-zero exit code on error conditions.
898 ** gnutls-cli: Corrected bug which caused a rehandshake request to be ignored.
900 ** tests: Added chainverify self-test that tests X.509 chain verifications.
902 ** API and ABI modifications:
903 No changes since last version.
905 * Version 2.7.2 (released 2008-11-18)
907 ** libgnutls: Fix X.509 certificate chain validation error. [GNUTLS-SA-2008-3]
908 The flaw makes it possible for man in the middle attackers (i.e.,
909 active attackers) to assume any name and trick GNU TLS clients into
910 trusting that name.  Thanks for report and analysis from Martin von
911 Gagern <Martin.vGagern@gmx.net>.  [CVE-2008-4989]
913 Any updates with more details about this vulnerability will be added
914 to <http://www.gnu.org/software/gnutls/security.html>
916 ** libgnutls: Fix namespace issue with version symbols.
917 The symbols LIBGNUTLS_VERSION, LIBGNUTLS_VERSION_MAJOR,
918 LIBGNUTLS_VERSION_MINOR, LIBGNUTLS_VERSION_PATCH, and
919 LIBGNUTLS_VERSION_NUMBER were renamed to GNUTLS_VERSION_NUMBER,
920 GNUTLS_VERSION_MAJOR, GNUTLS_VERSION_MINOR, GNUTLS_VERSION_PATCH, and
921 GNUTLS_VERSION_NUMBER respectively.  The old symbols will continue to
922 work but are deprecated.
924 ** certtool: allow setting arbitrary key purpose object identifiers.
926 ** libgnutls: Fix detection of C99 macros, to make debug logging work again.
928 ** libgnutls: Add missing prototype for gnutls_srp_set_prime_bits.
929 Reported by Kevin Quick <quick@sparq.org> in
930 <https://savannah.gnu.org/support/index.php?106454>.
932 ** libgnutls-extra: Make building with LZO compression work again.
933 Build failure reported by Arfrever Frehtes Taifersar Arahesis
934 <arfrever.fta@gmail.com> in
935 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3194>.
937 ** libgnutls: Change detection of when to use a linker version script.
938 Use --enable-ld-version-script or --disable-ld-version-script to
939 override auto-detection logic.
941 ** doc: Change license on the manual to GFDLv1.3+.
943 ** doc: GTK-DOC fixes for new splitted configuration system.
945 ** doc: Texinfo stylesheet uses white background.
947 ** tests: Add cve-2008-4989.c self-test.
948 Tests regressions of the GNUTLS-SA-2008-3 security problem, and the
949 follow-on problem with crashes on length 1 certificate chains.
951 ** gnulib: Deprecated modules removed.
952 Modules include memchr and memcmp.
954 ** Fix warnings and build GnuTLS with more warnings enabled.
956 ** minitasn1: Internal copy updated to libtasn1 v1.7.
958 ** API and ABI modifications:
959 gnutls_certificate_set_x509_simple_pkcs12_mem: ADDED
960 GNUTLS_VERSION: ADDED, replaces LIBGNUTLS_VERSION.
961 GNUTLS_VERSION_MAJOR: ADDED, replaces LIBGNUTLS_VERSION_MAJOR.
962 GNUTLS_VERSION_MINOR: ADDED, replaces LIBGNUTLS_VERSION_MINOR.
963 GNUTLS_VERSION_PATCH: ADDED, replaces LIBGNUTLS_VERSION_PATCH.
964 GNUTLS_VERSION_NUMBER: ADDED, replaces LIBGNUTLS_VERSION_NUMBER.
965 LIBGNUTLS_VERSION: DEPRECATED.
966 LIBGNUTLS_VERSION_MAJOR: DEPRECATED.
967 LIBGNUTLS_VERSION_MINOR: DEPRECATED.
968 LIBGNUTLS_VERSION_PATCH: DEPRECATED.
969 LIBGNUTLS_VERSION_NUMBER: DEPRECATED.
971 * Version 2.7.1 (released 2008-10-31)
973 ** certtool: print a PKCS #8 key even if it is not encrypted.
975 ** Old libgnutls.m4 and libgnutls-config scripts removed.
976 Please use pkg-config instead.
978 ** Configuration system modified.
979 There is now a configure script in lib/ and libextra/ as well, because
980 gnulib works better with a config.h per gnulib directory.
982 ** API and ABI modifications:
983 No changes since last version.
985 * Version 2.7.0 (released 2008-10-16)
987 ** libgnutls: Added functions to handle CRL extensions.
989 ** libgnutls: Added functions to handle X.509 extensions in Certificate
990 Requests.
992 ** libgnutls: Improved error string for GNUTLS_E_AGAIN.
993 Suggested by "Lavrentiev, Anton (NIH/NLM/NCBI) [C]" <lavr@ncbi.nlm.nih.gov>.
995 ** certtool: Print and set CRL and CRQ extensions.
997 ** libgnutls-extra: Protect internal symbols with static.
998 Fixes problem when linking certtool statically.  Tiny patch from Aaron
999 Ucko <ucko@ncbi.nlm.nih.gov>.
1001 ** libgnutls-openssl: fix out of bounds access.
1002 Problem in X509_get_subject_name and X509_get_issuer_name.  Tiny patch
1003 from Thomas Viehmann <tv@beamnet.de>.
1005 ** libgnutlsxx: Define server_session::get_srp_username even if no SRP.
1007 ** tests: Make tests compile when using internal libtasn1.
1008 Patch by ludo@gnu.org (Ludovic Courtès).
1010 ** Changed detection of libtasn1 and libgcrypt to avoid depending on *-config.
1011 We now require a libgcrypt that has Camellia constants declared in
1012 gcrypt.h, which means v1.3.0 or later.
1014 ** API and ABI modifications:
1015 gnutls_x509_crl_get_authority_key_id: ADDED
1016 gnutls_x509_crl_get_number: ADDED
1017 gnutls_x509_crl_get_extension_oid: ADDED
1018 gnutls_x509_crl_get_extension_info: ADDED
1019 gnutls_x509_crl_get_extension_data: ADDED
1020 gnutls_x509_crl_set_authority_key_id: ADDED
1021 gnutls_x509_crl_set_number: ADDED
1022 gnutls_x509_crq_get_key_rsa_raw: ADDED
1023 gnutls_x509_crq_get_attribute_info: ADDED
1024 gnutls_x509_crq_get_attribute_data: ADDED
1025 gnutls_x509_crq_get_extension_info: ADDED
1026 gnutls_x509_crq_get_extension_data: ADDED
1027 gnutls_x509_crq_get_key_usage: ADDED
1028 gnutls_x509_crq_get_basic_constraints: ADDED
1029 gnutls_x509_crq_get_subject_alt_name: ADDED
1030 gnutls_x509_crq_get_subject_alt_othername_oid: ADDED
1031 gnutls_x509_crq_get_extension_by_oid: ADDED
1032 gnutls_x509_crq_set_subject_alt_name: ADDED
1033 gnutls_x509_crq_set_basic_constraints: ADDED
1034 gnutls_x509_crq_set_key_usage: ADDED
1035 gnutls_x509_crq_get_key_purpose_oid: ADDED
1036 gnutls_x509_crq_set_key_purpose_oid: ADDED
1037 gnutls_x509_crq_print: ADDED
1038 gnutls_x509_crt_set_crq_extensions: ADDED
1040 * Version 2.6.6 (released 2009-04-30)
1042 ** libgnutls: Corrected double free on signature verification failure.
1043 Reported by Miroslav Kratochvil <exa.exa@gmail.com>.  See the advisory
1044 for more details.  [GNUTLS-SA-2009-1] [CVE-2009-1415]
1046 ** libgnutls: Fix DSA key generation.
1047 Noticed when investigating the previous GNUTLS-SA-2009-1 problem.  All
1048 DSA keys generated using GnuTLS 2.6.x are corrupt.  See the advisory
1049 for more details.  [GNUTLS-SA-2009-2] [CVE-2009-1416]
1051 ** libgnutls: Check expiration/activation time on untrusted certificates.
1052 Reported by Romain Francoise <romain@orebokech.com>.  Before the
1053 library did not check activation/expiration times on certificates, and
1054 was documented as not doing so.  We have realized that many
1055 applications that use libgnutls, including gnutls-cli, fail to perform
1056 proper checks.  Implementing similar logic in all applications leads
1057 to code duplication.  Hence, we decided to check whether the current
1058 time (as reported by the time function) is within the
1059 activation/expiration period of certificates when verifying untrusted
1060 certificates.
1062 This changes the semantics of gnutls_x509_crt_list_verify, which in
1063 turn is used by gnutls_certificate_verify_peers and
1064 gnutls_certificate_verify_peers2.  We add two new
1065 gnutls_certificate_status_t codes for reporting the new error
1066 condition, GNUTLS_CERT_NOT_ACTIVATED and GNUTLS_CERT_EXPIRED.  We also
1067 add a new gnutls_certificate_verify_flags flag,
1068 GNUTLS_VERIFY_DISABLE_TIME_CHECKS, that can be used to disable the new
1069 behaviour.
1071 More details about the vulnerabilities will be posted at
1072 <http://www.gnu.org/software/gnutls/security.html>.
1074 ** gnutls-cli, gnutls-cli-debug: Fix AIX build problem.
1075 Reported by LAUPRETRE François (P) <francois.laupretre@ratp.fr> in
1076 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3468>.
1078 ** tests: Fix linking of tests/openpgp/keyring self-test.
1079 Reported by Daniel Black in <https://savannah.gnu.org/support/?106543>.
1081 ** API and ABI modifications:
1082 gnutls_x509_crt_list_verify: CHANGED, checks activation/expiration times.
1083 gnutls_certificate_verify_peers: Likewise.
1084 gnutls_certificate_verify_peers2: Likewise.
1085 GNUTLS_CERT_NOT_ACTIVATED: ADDED.
1086 GNUTLS_CERT_EXPIRED: ADDED.
1087 GNUTLS_VERIFY_DISABLE_TIME_CHECKS: ADDED.
1089 * Version 2.6.5 (released 2009-04-11)
1091 ** libgnutls: Added %SSL3_RECORD_VERSION priority string that allows to
1092 specify the client hello message record version. Used to overcome buggy
1093 TLS servers. Report by Martin von Gagern.
1095 ** GnuTLS no longer uses the libtasn1-config script to find libtasn1.
1096 Libtasn1 0.3.4 or later is required.  This is to align with the
1097 upcoming libtasn1 v2.0 release that doesn't have a libtasn1-script.
1099 ** API and ABI modifications:
1100 No changes since last version.
1102 * Version 2.6.4 (released 2009-02-06)
1104 ** libgnutls: Accept chains where intermediary certs are trusted.
1105 Before GnuTLS needed to validate the entire chain back to a
1106 self-signed certificate.  GnuTLS will now stop looking when it has
1107 found an intermediary trusted certificate.  The new behaviour is
1108 useful when chains, for example, contains a top-level CA, an
1109 intermediary CA signed using RSA-MD5, and an end-entity certificate.
1110 To avoid chain validation errors due to the RSA-MD5 cert, you can
1111 explicitly add the intermediary RSA-MD5 cert to your trusted certs.
1112 The signature on trusted certificates are not checked, so the chain
1113 has a chance to validate correctly.  Reported by "Douglas E. Engert"
1114 <deengert@anl.gov> in
1115 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3351>.
1117 ** libgnutls: result_size in gnutls_hex_encode now holds
1118 the size of the result. Report by John Brooks <special@dereferenced.net>.
1120 ** libgnutls: gnutls_handshake when sending client hello during a
1121 rehandshake, will not offer a version number larger than the current.
1122 Reported by Tristan Hill <stan@saticed.me.uk>.
1124 ** libgnutls: Permit V1 Certificate Authorities properly.
1125 Before they were mistakenly rejected even though
1126 GNUTLS_VERIFY_ALLOW_ANY_X509_V1_CA_CRT and/or
1127 GNUTLS_VERIFY_ALLOW_X509_V1_CA_CRT were supplied.  Reported by
1128 "Douglas E. Engert" <deengert@anl.gov> in
1129 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3351>.
1131 ** libgnutls: deprecate X.509 validation chains using MD5 and MD2 signatures.
1132 This is a bugfix -- the previous attempt to do this from internal x509
1133 certificate verification procedures did not return the correct value
1134 for certificates using a weak hash.  Reported by Daniel Kahn Gillmor
1135 <dkg@fifthhorseman.net> in
1136 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3332>,
1137 debugged and patch by Tomas Mraz <tmraz@redhat.com> and Daniel Kahn
1138 Gillmor <dkg@fifthhorseman.net>.
1140 ** libgnutls: Fix compile error with Sun CC.
1141 Reported by Jeff Cai <jeff.cai@sun.com> in
1142 <https://savannah.gnu.org/support/?106549>.
1144 ** API and ABI modifications:
1145 No changes since last version.
1147 * Version 2.6.3 (released 2008-12-12)
1149 ** libgnutls: Fix chain verification for chains that ends with RSA-MD2 CAs.
1150 Reported by Michael Kiefer <Michael-Kiefer@web.de> in
1151 <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=507633> forwarded by
1152 Andreas Metzler <ametzler@downhill.at.eu.org> in
1153 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3309>.
1155 ** libgnutls: Fix memory leak in PSK authentication.
1156 Reported by Michael Weiser <michael@weiser.dinsnail.net> in
1157 <http://permalink.gmane.org/gmane.network.gnutls.general/1465>.
1159 ** certtool: Move gcry_control(GCRYCTL_ENABLE_QUICK_RANDOM, 0) call earlier.
1160 It needs to be invoked before libgcrypt is initialized.
1162 ** gnutls-cli: Return non-zero exit code on error conditions.
1164 ** gnutls-cli: Corrected bug which caused a rehandshake request to be ignored.
1166 ** API and ABI modifications:
1167 No changes since last version.
1169 * Version 2.6.2 (released 2008-11-12)
1171 ** libgnutls: Fix crash in X.509 validation code for self-signed certificates.
1172 The patch to fix the security problem GNUTLS-SA-2008-3 introduced a
1173 problem for certificate chains that contained just one self-signed
1174 certificate.  Reported by Michael Meskes <meskes@debian.org> in
1175 <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=505279>.
1177 ** API and ABI modifications:
1178 No changes since last version.
1180 * Version 2.6.1 (released 2008-11-10)
1182 ** libgnutls: Fix X.509 certificate chain validation error. [GNUTLS-SA-2008-3]
1183 The flaw makes it possible for man in the middle attackers (i.e.,
1184 active attackers) to assume any name and trick GNU TLS clients into
1185 trusting that name.  Thanks for report and analysis from Martin von
1186 Gagern <Martin.vGagern@gmx.net>.  [CVE-2008-4989]
1188 Any updates with more details about this vulnerability will be added
1189 to <http://www.gnu.org/software/gnutls/security.html>
1191 ** libgnutls: Add missing prototype for gnutls_srp_set_prime_bits.
1192 Reported by Kevin Quick <quick@sparq.org> in
1193 <https://savannah.gnu.org/support/index.php?106454>.
1195 ** libgnutls-extra: Protect internal symbols with static.
1196 Fixes problem when linking certtool statically.  Tiny patch from Aaron
1197 Ucko <ucko@ncbi.nlm.nih.gov>.
1199 ** libgnutls-openssl: Fix patch against X509_get_issuer_name.
1200 It incorrectly returned the subject DN instead of issuer DN in v2.6.0.
1201 Thanks to Thomas Viehmann <tv@beamnet.de> for report.
1203 ** certtool: Print a PKCS #8 key even if it is not encrypted.
1205 ** tests: Make tests compile when using internal libtasn1.
1206 Patch by ludo@gnu.org (Ludovic Courtès).
1208 ** API and ABI modifications:
1209 No changes since last version.
1211 * Version 2.6.0 (released 2008-10-06)
1213 ** libgnutls: Correct printing and parsing of IPv6 addresses.
1215 ** libgnutls-openssl: fix out of bounds access.
1216 Problem in X509_get_subject_name and X509_get_issuer_name.  Tiny patch
1217 from Thomas Viehmann <tv@beamnet.de>.
1219 ** certtool: Use inet_pton for parsing IPv6 addresses.
1221 ** Major changes compared to the v2.4 branch:
1223 *** Added API to replace and update the crypto backend.
1225 *** certtool: can add several subject alternative names via template file.
1227 *** opencdk: Parse (but not decrypt) encrypted secret keys.
1229 *** libgnutls: gnutls_x509_crt_set_subject_alt_name() was added that can
1230 either set or append alternative names. It can also handle binary structures
1231 such as IP addresses.
1233 *** libgnutls: New function to set minimum acceptable SRP bits.
1234 The function is gnutls_srp_set_prime_bits.
1236 *** libgnutls: Add interface to deal with public key and signature algorithms.
1237 The functions are called gnutls_pk_list, gnutls_pk_get_id,
1238 gnutls_sign_list, and gnutls_sign_get_id.
1240 *** libgnutls: New interfaces to get name of public key and signing algorithms.
1241 The functions are gnutls_sign_get_name and gnutls_pk_get_name.
1243 *** libgnutls: New API to get a string corresponding to a error symbol.
1244 The function is gnutls_strerror_name.
1246 *** libgnutls: New API to set the public parameters in a certificate request
1247 *** from a private key.
1248 The function is gnutls_x509_crq_set_key_rsa_raw.
1250 *** libgnutls: New API to set a callback to extract TLS Finished data.
1251 The function to register is gnutls_session_set_finished_function and
1252 it takes a callback of the gnutls_finished_callback_func type.
1254 *** libgnutls: Fix namespace problem with TLS_MASTER_SIZE and TLS_RANDOM_SIZE.
1256 *** libgnutls: New interface to register a new TLS extension handler.
1257 The new function gnutls_ext_register can be used to register handlers
1258 for specific TLS extension types.  The callback functions have the new
1259 types gnutls_ext_recv_func and gnutls_ext_send_func.  A type to
1260 classify TLS extensions, gnutls_ext_parse_type_t, has been added as
1261 well.
1263 *** libgnutls-extra: Add function to work with Libgcrypt in FIPS mode.
1264 The function is gnutls_register_md5_handler.  When libgcrypt is in
1265 FIPS mode, MD5 is disabled, but TLS normally requires use of MD5 in
1266 the PRF.
1268 *** API/ABI changes in GnuTLS 2.6
1269 No functions have been removed or modified.  The library should be
1270 fully backwards compatible on both the source and binary level.
1272 A new header file <gnutls/crypto.h> have been added.  It contains
1273 definitions related to replacing the internal crypto functionality.
1274 All definitions and the header itself is experimental but supported.
1276 We have realized that the symbols TLS_MASTER_SIZE and TLS_RANDOM_SIZE
1277 does not use the normal namespace.  We have added GNUTLS_MASTER_SIZE
1278 and GNUTLS_RANDOM_SIZE, but the old symbols are still defined.
1280 The following functions have been added to libgnutls:
1282 GNUTLS_MASTER_SIZE
1283 GNUTLS_RANDOM_SIZE
1284 gnutls_crypto_bigint_register2
1285 gnutls_crypto_cipher_register2
1286 gnutls_crypto_digest_register2
1287 gnutls_crypto_mac_register2
1288 gnutls_crypto_pk_register2
1289 gnutls_crypto_rnd_register2
1290 gnutls_crypto_single_cipher_register2
1291 gnutls_crypto_single_digest_register2
1292 gnutls_crypto_single_mac_register2
1293 gnutls_ext_register
1294 gnutls_pk_get_id
1295 gnutls_pk_get_name
1296 gnutls_pk_list
1297 gnutls_session_set_finished_function
1298 gnutls_sign_get_id
1299 gnutls_sign_get_name
1300 gnutls_sign_list
1301 gnutls_srp_set_prime_bits:
1302 gnutls_strerror_name
1303 gnutls_x509_crq_set_key_rsa_raw
1304 gnutls_x509_crt_set_crl_dist_points2
1305 gnutls_x509_crt_set_subject_alt_name
1307 The following functions have been added to libgnutls-extra:
1309 gnutls_register_md5_handler
1311 ** API and ABI modifications:
1312 No changes since last version.
1314 * Version 2.5.9 (released 2008-09-29)
1316 ** libgnutls: Fix several memory leaks.
1317 Reported by Sam Varshavchik <mrsam@courier-mta.com>.
1319 ** libgnutls: Fix buffer overrun in gnutls_x509_crt_list_import.
1320 Report and patch by Jonathan Manktelow.
1322 ** libgnutls: crypto.h gnutls_pk_params_st changes allocation strategy.
1323 The parameters are now allocated in the structure itself.
1325 ** doc: Texinfo HTML manual uses a stylesheet to improve readability.
1327 ** tests: Scripts now use EXEEXT properly.
1328 Modern libtool doesn't create wrapper script, so the self tests need
1329 to invoke certtool.exe under MinGW32+Wine.
1331 ** Uses autoconf 2.63, automake 1.10.1, libtool 2.2.6a.
1332 Automake warnings are now also enabled.
1334 ** API and ABI modifications:
1335 gnutls_pk_params_st: MODIFIED
1337 * Version 2.5.8 (released 2008-09-21)
1339 ** certtool: updated so it can add several subject alternative names using
1340 the template file.
1342 ** libgnutls: gnutls_x509_crt_set_subject_alt_name() was added that can
1343 either set or append alternative names. It can also handle binary structures
1344 such as IP addresses.
1346 ** libgnutls: Fix crash in hashing code when using non-libgcrypt handlers.
1348 ** libgnutls: New function to set minimum acceptable SRP bits.
1349 The function is gnutls_srp_set_prime_bits.  Tiny patch by Kevin Quick
1350 <quick@sparq.org> in <https://savannah.gnu.org/support/index.php?106454>.
1352 ** libgnutls: Check for overflows in gnutls_calloc and gnutls_secure_calloc.
1353 Also fix overflows in calls to those functions.  Reported by Werner
1354 Koch <wk@gnupg.org>.
1356 ** libgnutls-extra: Add function to work with Libgcrypt in FIPS mode.
1357 The function is gnutls_register_md5_handler.  When libgcrypt is in
1358 FIPS mode, MD5 is disabled, but TLS normally requires use of MD5 in
1359 the PRF.
1361 ** Opencdk: Add calls to gnutls_assert to ease debugging.
1363 ** Indent code.
1365 ** API and ABI modifications:
1366 gnutls_srp_set_prime_bits: ADDED
1367 gnutls_register_md5_handler: ADDED
1368 gnutls_x509_crt_set_crl_dist_points2: ADDED
1369 gnutls_x509_crt_set_subject_alt_name: ADDED
1371 * Version 2.5.7 (released 2008-09-16)
1373 ** libgnutls: New interfaces to get name of public key and signing algorithms.
1374 The functions are gnutls_sign_get_name and gnutls_pk_get_name.
1376 ** libgnutls: Don't crash when gnutls_credentials_set is called twice.
1378 ** libgnutls: Fix libgnutls shared library version.
1379 It wasn't properly incremented after adding symbols in the last
1380 release.
1382 ** manual: Now mention supported public key and public key signing algorithms.
1384 ** tests/openssl: initialize gnutls before use.
1386 ** tests/setcredcrash: New test to catch regressions of gnutls_credentials_set.
1388 ** GTK-DOC manual: mention new symbols in 2.6.x.  Mention crypto.h functions.
1390 ** API and ABI modifications:
1391 gnutls_sign_get_name: ADDED
1392 gnutls_pk_get_name: ADDED
1394 * Version 2.5.6 (released 2008-09-08)
1396 ** libgnutls: Add interface to deal with public key and signature algorithms.
1397 The functions are called gnutls_pk_list, gnutls_pk_get_id,
1398 gnutls_sign_list, and gnutls_sign_get_id.  Suggested by Sam
1399 Varshavchik <mrsam@courier-mta.com>.
1401 ** libgnutls: Refactor and clean up some code.
1403 ** libgnutls: Fix compile error with Sun CC.
1405 ** gnutls-cli: Improve --list output to include public key and signature algs.
1407 ** gnutls-cli, gnutls-serv: Remove --copyright parameter.
1408 Use standard --version to get license info.
1410 ** gnutls-cli.1: Document all new parameters.
1411 Thanks to James Westby <jw+debian@jameswestby.net>.
1413 ** tests: New self-test pgps2kgnu to test parsing of encrypted secrets.
1414 Contributed by Daniel Kahn Gillmor <dkg-debian.org@fifthhorseman.net>.
1416 ** API and ABI modifications:
1417 gnutls_pk_list: ADDED
1418 gnutls_pk_get_id: ADDED
1419 gnutls_sign_list: ADDED
1420 gnutls_sign_get_id: ADDED
1422 * Version 2.5.5 (released 2008-08-29)
1424 ** libgnutls: New API to get a string corresponding to a error symbol.
1425 The function is gnutls_strerror_name.
1427 ** libgnutls: Fix include paths so that building with internal libtasn1 works.
1428 Reported by "jth.net ApS" <info@jth.net>.
1430 ** libgnutls: Fix segmentation fault when generating private keys.
1431 Reported by Daniel Kahn Gillmor <dkg-debian.org@fifthhorseman.net>.
1433 ** libgnutls: Remove code to import certificate chains in PKCS#7 format.
1434 The code has not worked since v0.9.0 and apparently nobody has missed
1435 it, so we decided to remove the code rather than fix it.  If you have
1436 old certificate chains stored in PKCS#7 format, you can convert them
1437 to a list of PEM certificates by using 'certtool --p7-info'.  Reported
1438 by Christian Grothoff <christian@grothoff.org>.
1440 ** opencdk: Parse (but not decrypt) encrypted secret keys.
1441 Contributed by Daniel Kahn Gillmor <dkg-debian.org@fifthhorseman.net>.
1443 ** libgnutls: Fix many warnings.
1445 ** Included copy of libtasn1 is upgraded to version 1.5.
1447 ** Add French translation, thanks to Nicolas Provost.
1449 ** API and ABI modifications:
1450 gnutls_strerror_name: ADDED
1452 * Version 2.5.4 (released 2008-08-19)
1454 ** Fix secure memory initialization of libgcrypt.
1455 Reported by Joe Orton <joe@manyfish.co.uk> in
1456 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/2992>.
1458 ** Doc fixes.
1459 Reference to NIST SP 800-57 in the manual on key size recommendations.
1460 Added 'Since:' tags to new APIs for gtk-doc.
1462 ** API and ABI modifications:
1463 No changes since last version.
1465 * Version 2.5.3 (released 2008-08-14)
1467 ** libgnutls: New API to set the public parameters in a certificate request
1468 ** from a private key.
1469 The function is gnutls_x509_crq_set_key_rsa_raw.  Inspired by
1470 discussion with "Zach C." <fxchip@gmail.com>.
1472 ** libgnutls: New API to set a callback to extract TLS Finished data.
1473 The function to register is gnutls_session_set_finished_function and
1474 it takes a callback of the gnutls_finished_callback_func type.
1476 ** libgnutls: Drop final comma after GNUTLS_CRT_PRINT_UNSIGNED_FULL in enum.
1477 Reported in <https://savannah.gnu.org/support/?106453>.
1479 ** libgnutls: Fix namespace problem with TLS_MASTER_SIZE and TLS_RANDOM_SIZE.
1480 The new names are GNUTLS_MASTER_SIZE and GNUTLS_RANDOM_SIZE.  The old
1481 names are mapped to the new names in compat.h.  These mappings will
1482 likely be removed more quickly than other mappings in that file due to
1483 the namespace violation.
1485 ** libgnutlsxx: Make it build when SRP is disabled.
1487 ** doc: Add doxygen files in doc/doxygen/.
1489 ** API and ABI modifications:
1490 gnutls_x509_crq_set_key_rsa_raw: ADDED
1491 gnutls_session_set_finished_function: ADDED
1492 gnutls_finished_callback_func: ADDED
1493 GNUTLS_MASTER_SIZE: ADDED
1494 GNUTLS_RANDOM_SIZE: ADDED
1495 TLS_MASTER_SIZE: DEPRECATED
1496 TLS_RANDOM_SIZE: DEPRECATED
1498 * Version 2.5.2 (released 2008-07-08)
1500 ** libgnutls: Fix bug in gnutls_dh_params_generate2.
1501 The prime and generator was swapped.
1503 ** libgnutls: New interface to register a new TLS extension handler.
1504 The new function gnutls_ext_register can be used to register handlers
1505 for specific TLS extension types.  The callback functions have the new
1506 types gnutls_ext_recv_func and gnutls_ext_send_func.  A type to
1507 classify TLS extensions, gnutls_ext_parse_type_t, has been added as
1508 well.
1510 ** Move more code for TLS/IA extension from libgnutls to libgnutls-extra.
1511 This was made possible by using the new gnutls_ext_register interface.
1512 The TLS/IA functionality has only been supported through the
1513 libgnutls-extra library, so it makes sense for the code to belong
1514 there too.
1516 ** API and ABI modifications:
1517 gnutls_ext_recv_func: ADDED
1518 gnutls_ext_send_func: ADDED
1519 gnutls_ext_parse_type_t: ADDED
1520 gnutls_ext_register: ADDED
1522 * Version 2.5.1 (released 2008-07-02)
1524 ** Indent code.
1526 ** API and ABI modifications:
1527 No changes since last version.
1529 * Version 2.5.0 (released 2008-07-02)
1531 ** Port fixes from v2.4.1 release, see below.
1533 ** Added API to replace and update the crypto backend.
1534 The header gnutls/crypto.h is now officially supported, and declares
1535 the symbols below.
1537 ** Rewritten opencdk crypto backend, to use the gnutls internal one.
1539 ** Update gnulib and translations.
1540 The gnulib gc crypto code has been removed since it was never finished
1541 and is no longer even used.  An internal non-libgcrypt crypto
1542 implementation may be added in the future, but we'll decide that later
1545 ** API and ABI modifications:
1546 gnutls_crypto_bigint_register2: ADDED.
1547 gnutls_crypto_cipher_register2: ADDED.
1548 gnutls_crypto_digest_register2: ADDED.
1549 gnutls_crypto_mac_register2: ADDED.
1550 gnutls_crypto_pk_register2: ADDED.
1551 gnutls_crypto_rnd_register2: ADDED.
1552 gnutls_crypto_single_cipher_register2: ADDED.
1553 gnutls_crypto_single_digest_register2: ADDED.
1554 gnutls_crypto_single_mac_register2: ADDED.
1556 * Version 2.4.3 (released 2009-02-06)
1558 ** libgnutls: Accept chains where intermediary certs are trusted.
1559 Before GnuTLS needed to validate the entire chain back to a
1560 self-signed certificate.  GnuTLS will now stop looking when it has
1561 found an intermediary trusted certificate.  The new behaviour is
1562 useful when chains, for example, contains a top-level CA, an
1563 intermediary CA signed using RSA-MD5, and an end-entity certificate.
1564 To avoid chain validation errors due to the RSA-MD5 cert, you can
1565 explicitly add the intermediary RSA-MD5 cert to your trusted certs.
1566 The signature on trusted certificates are not checked, so the chain
1567 has a chance to validate correctly.  Reported by "Douglas E. Engert"
1568 <deengert@anl.gov> in
1569 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3351>.
1571 ** libgnutls: Permit V1 Certificate Authorities properly.
1572 Before they were mistakenly rejected even though
1573 GNUTLS_VERIFY_ALLOW_ANY_X509_V1_CA_CRT and/or
1574 GNUTLS_VERIFY_ALLOW_X509_V1_CA_CRT were supplied.  Reported by
1575 "Douglas E. Engert" <deengert@anl.gov> in
1576 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3351>.
1578 ** libgnutls: deprecate X.509 validation chains using MD5 and MD2 signatures.
1579 This is a bugfix -- the previous attempt to do this from internal x509
1580 certificate verification procedures did not return the correct value
1581 for certificates using a weak hash.  Reported by Daniel Kahn Gillmor
1582 <dkg@fifthhorseman.net> in
1583 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3332>,
1584 debugged and patch by Tomas Mraz <tmraz@redhat.com> and Daniel Kahn
1585 Gillmor <dkg@fifthhorseman.net>.
1587 ** libgnutls: Fix chain verification for chains that ends with RSA-MD2 CAs.
1588 Reported by Michael Kiefer <Michael-Kiefer@web.de> in
1589 <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=507633> forwarded by
1590 Andreas Metzler <ametzler@downhill.at.eu.org> in
1591 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3309>.
1593 ** libgnutls: Fix crash in X.509 validation code for self-signed certificates.
1594 The patch to fix the security problem GNUTLS-SA-2008-3 introduced a
1595 problem for certificate chains that contained just one self-signed
1596 certificate.  Reported by Michael Meskes <meskes@debian.org> in
1597 <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=505279>.
1599 ** libgnutls: Fix X.509 certificate chain validation error. [GNUTLS-SA-2008-3]
1600 The flaw makes it possible for man in the middle attackers (i.e.,
1601 active attackers) to assume any name and trick GNU TLS clients into
1602 trusting that name.  Thanks for report and analysis from Martin von
1603 Gagern <Martin.vGagern@gmx.net>.  [CVE-2008-4989]
1605 Any updates with more details about this vulnerability will be added
1606 to <http://www.gnu.org/software/gnutls/security.html>
1608 ** libgnutls: Fix buffer overrun in gnutls_x509_crt_list_import.
1609 Report and patch by Jonathan Manktelow.
1611 ** libgnutls: Avoid use of non-thread safe strerror.
1613 ** API and ABI modifications:
1614 No changes since last version.
1616 * Version 2.4.2 (released 2008-09-15)
1618 ** libgnutls: Don't crash when gnutls_credentials_set is called twice.
1620 ** libgnutls: Corrected memory leak in X.509 functions.
1621 Thanks to Colin Leroy <colin@colino.net>.
1623 ** libgnutls: Fix compile error with Sun CC.
1625 ** gnutls-cli.1: Document all new parameters.
1626 Thanks to James Westby <jw+debian@jameswestby.net>.
1628 ** tests/openssl: initialize gnutls before use.
1629 Fixes crash with libgcrypt 1.4.2.  Reported by Ludovic Courtes
1630 <ludovic.courtes@laas.fr>.
1632 ** doc/: Fix texinfo markup for old texinfo versions.
1634 ** Included copy of libtasn1 is upgraded to version 1.5.
1636 ** API and ABI modifications:
1637 No changes since last version.
1639 * Version 2.4.1 (released 2008-06-30)
1641 ** libgnutls: Fix local crash in gnutls_handshake.  [GNUTLS-SA-2008-2]
1642 If the gnutls_handshake function is called for a normal session, which
1643 can happen for re-handshakes, the library would crash because it tried
1644 to hash some data using a libgcrypt handle that had been deallocated.
1645 Report and tiny patch from Tomas Mraz <tmraz@redhat.com>.  Any updates
1646 with more details about this vulnerability will be added to
1647 <http://www.gnu.org/software/gnutls/security.html>
1649 ** libgnutls: Fix memory leaks when doing a re-handshake.
1650 Reported by Sam Varshavchik <mrsam@courier-mta.com> in
1651 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/2928>.
1653 ** Fix compiler warnings.
1654 Reported by Massimo Gaspari <massimo.gaspari@alice.it> in
1655 <http://thread.gmane.org/gmane.network.gnutls.general/1281>.
1657 ** Fix ordering of -I's to avoid opencdk.h conflict with system headers.
1658 Reported by Roman Bogorodskiy <novel@FreeBSD.org> in
1659 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/2930>.
1661 ** srptool: Fix a problem where --verify check does not succeed.
1662 Report and tiny patch by Matthias Koenig <mkoenig@suse.de> in
1663 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/2944>.
1665 ** API and ABI modifications:
1666 No changes since last version.
1668 * Version 2.4.0 (released 2008-06-19)
1670 ** Major changes compared to the v2.2 branch:
1672 *** The OpenPGP sub-system has been improved and now supports subkeys.
1674 *** The PSK sub-system has been improved and now supports password
1675 *** derivation and PSK identity hints.
1676 The password derivation algorithms support is documented in
1677 draft-ietf-netconf-tls-02.txt.
1679 *** The certtool --inder and --outder has been replaced by --inraw and --outraw.
1680 This aligns terminology with OpenPGP, which doesn't use DER encoding.
1681 The old parameters will continue to work for some time.
1683 *** Certtool now confirm passwords and changes permissions of private key files.
1685 *** The default handshake size limit has been increased to 48kb.
1686 It appears as if some valid handshakes are large due to sending many
1687 CA certificates.  (The earlier limit was 16kb.)
1689 *** LZO compression is now disabled by default.
1690 The main reason is that LZO compression in TLS is not standardized,
1691 but license compatiblity issues with minilzo triggered us to make this
1692 decision now.
1694 *** Improvements for cross-compilation to Windows and OpenWRT.
1696 *** The look of the GTK-DOC manual has been improved.
1697 Major developer visible changes compared to the v2.2 branch:
1699 *** Full OpenPGP support is part of libgnutls, licensed under the LGPL.
1701 *** New APIs to access the raw X.509 Subject and Issuer DN's and
1702 *** elements from the certificate credentials structure.
1703 Thanks to Joe Orton.
1705 *** New APIs to improve working with username/passwords and PSK.
1707 *** Names of constants to affect certificate printing changed.
1708 The constants are used for OpenPGP too, which the names didn't
1709 reflect, so the following name change has been made:
1711             Old name                         New name
1712      GNUTLS_X509_CRT_FULL            GNUTLS_CRT_PRINT_FULL
1713      GNUTLS_X509_CRT_ONELINE         GNUTLS_CRT_PRINT_ONELINE
1714      GNUTLS_X509_CRT_UNSIGNED_FULL   GNUTLS_CRT_PRINT_UNSIGNED_FULL
1716 The old names will be mapped to the new names for some time.
1718 *** The function gnutls_openpgp_privkey_get_id has been renamed to
1719 *** gnutls_openpgp_privkey_get_key_id.
1720 A compatibility mapping exists to avoid breaking API backwards
1721 compatibility.
1723 *** Replaced all uses of alloca with malloc and free.
1725 *** We no longer build with -D_REENTRANT -D_THREAD_SAFE.
1726 We have been unable to find a documented rationale for this practice.
1728 *** Of course, many smaller fixes have been made, see the ChangeLog file.
1730 *** API/ABI changes in GnuTLS 2.4
1731 All OpenPGP related functions have been moved from libgnutls-extra to
1732 libgnutls, and several new functions have been added (see below).
1733 Before making the release, we discussed whether moving functions from
1734 libgnutls-extra to libgnutls would require us to increment the ABI
1735 version, but the general opinion was that this would not be required.
1736 All older functions continue to work the same.  We are open to the
1737 possibility that this decision will lead to problem on some platform,
1738 and if it turns out that the Right Thing should have been to increment
1739 the shared library version, we would need to release an update within
1740 the 2.4.x branch that increments the shared library version.
1742 This release adds the following functions:
1744   gnutls_psk_client_get_hint
1745   gnutls_psk_set_server_credentials_hint
1746   gnutls_psk_netconf_derive_key
1748     Used to get/set the PSK identity hint, and derive PSK keys from
1749     passwords a'la netconf.
1751   gnutls_x509_dn_deinit
1752   gnutls_x509_dn_export
1753   gnutls_x509_dn_import
1754   gnutls_x509_dn_init
1756     Used to handle X.509 Certificate DN's directly.
1758   gnutls_hex2bin
1760     Converts a data buffer to hex.  Useful for handling PSK/SRP shared
1761     secrets.
1763   gnutls_certificate_get_x509_cas
1764   gnutls_certificate_get_x509_crls
1765   gnutls_certificate_get_openpgp_keyring
1767     Functions for direct access to credential elements.
1769   gnutls_openpgp_crt_get_auth_subkey
1770   gnutls_openpgp_crt_get_key_id
1771   gnutls_openpgp_crt_get_pk_dsa_raw
1772   gnutls_openpgp_crt_get_pk_rsa_raw
1773   gnutls_openpgp_crt_get_preferred_key_id
1774   gnutls_openpgp_crt_get_revoked_status
1775   gnutls_openpgp_crt_get_subkey_count
1776   gnutls_openpgp_crt_get_subkey_creation_time
1777   gnutls_openpgp_crt_get_subkey_expiration_time
1778   gnutls_openpgp_crt_get_subkey_fingerprint
1779   gnutls_openpgp_crt_get_subkey_id
1780   gnutls_openpgp_crt_get_subkey_idx
1781   gnutls_openpgp_crt_get_subkey_pk_algorithm
1782   gnutls_openpgp_crt_get_subkey_pk_dsa_raw
1783   gnutls_openpgp_crt_get_subkey_pk_rsa_raw
1784   gnutls_openpgp_crt_get_subkey_revoked_status
1785   gnutls_openpgp_crt_get_subkey_usage
1786   gnutls_openpgp_crt_print
1787   gnutls_openpgp_crt_set_preferred_key_id
1788   gnutls_openpgp_keyring_get_crt
1789   gnutls_openpgp_keyring_get_crt_count
1790   gnutls_openpgp_privkey_export
1791   gnutls_openpgp_privkey_export_dsa_raw
1792   gnutls_openpgp_privkey_export_rsa_raw
1793   gnutls_openpgp_privkey_export_subkey_dsa_raw
1794   gnutls_openpgp_privkey_export_subkey_rsa_raw
1795   gnutls_openpgp_privkey_get_fingerprint
1796   gnutls_openpgp_privkey_get_key_id
1797   gnutls_openpgp_privkey_get_pk_algorithm
1798   gnutls_openpgp_privkey_get_preferred_key_id
1799   gnutls_openpgp_privkey_get_revoked_status
1800   gnutls_openpgp_privkey_get_subkey_count
1801   gnutls_openpgp_privkey_get_subkey_creation_time
1802   gnutls_openpgp_privkey_get_subkey_expiration_time
1803   gnutls_openpgp_privkey_get_subkey_fingerprint
1804   gnutls_openpgp_privkey_get_subkey_id
1805   gnutls_openpgp_privkey_get_subkey_idx
1806   gnutls_openpgp_privkey_get_subkey_pk_algorithm
1807   gnutls_openpgp_privkey_get_subkey_revoked_status
1808   gnutls_openpgp_privkey_set_preferred_key_id
1810     New OpenPGP related functions.
1812     The function gnutls_openpgp_crt_get_key_id is the same as the old
1813     from gnutls_openpgp_crt_get_id, see above.
1815 The release also adds a new header file 'gnutls/crypto.h', however it
1816 is currently not used.
1818 ** libgnutls [OpenPGP]: New APIs to retrieve fingerprint from OpenPGP subkeys.
1819 Contributed by Daniel Kahn Gillmor <dkg-debian.org@fifthhorseman.net>.
1821 ** API and ABI modifications:
1822 gnutls_openpgp_crt_get_subkey_fingerprint: ADDED.
1823 gnutls_openpgp_privkey_get_subkey_fingerprint: ADDED.
1825 * Version 2.3.15 (released 2008-06-15)
1827 ** Disable the openpgp-certs self-tests.
1828 It results in failure under Wine and doesn't work on Debian buildds.
1830 ** API and ABI modifications:
1831 No changes since last version.
1833 * Version 2.3.14 (released 2008-06-11)
1835 ** libgnutls [OpenPGP]: Changed OpenPGP verification behaviour.
1836 An OpenPGP certificate is now only considered verified if all the user
1837 IDs are verified.
1839 ** Examples: Make C++ example compile.
1840 Earlier it may have failed with an unresolved reference to strlen.
1842 ** Documentation: Doc fix for gnutls_x509_crt_get_extension_oid.
1843 Reported by Sam Varshavchik <mrsam@courier-mta.com>.
1845 ** API and ABI modifications:
1846 No changes since last version.
1848 * Version 2.3.13 (released 2008-06-07)
1850 ** libgnutls [OpenPGP]: Make OpenPGP handshakes work again.
1852 ** doc/: Add psktool to info index.  Some minor cleanups.
1854 ** tests/: Added non-forking TLS handshake test, see tests/mini.c.
1856 ** tests/: Added libgcrypt.supp which can be used with valgrind.
1857 The file suppresses the known libgcrypt memory leaks, so they aren't
1858 printed when you run valgrind on the gnutls self-tests.  Use it as
1859 follows: valgrind --suppressions=libgcrypt.supp ./x509self or add
1860 '--suppressions=/home/you/src/gnutls/tests/libgcrypt.supp' to your
1861 ~/.valgrindrc file.
1863 ** tests/: Reduce amount of debugging output by default.
1864 Use --verbose for each test to get the full output.
1866 ** tests/: Fix memory leaks in several self-tests.
1867 None of the self tests should be leaking memory when running valgrind
1868 or similar tools.  (Known exceptions are dhepskself, pskself, and
1869 set_pkcs12_cred, which appear likely to be due to memory leaks in the
1870 library.)
1872 ** API and ABI modifications:
1873 No changes since last version.
1875 * Version 2.3.12 (released 2008-06-04)
1877 ** Merge gnutls_with_netconf branch.
1879 *** libgnutls [PSK]: New API to retrieve PSK identity hint in client.
1880 The function is gnutls_psk_client_get_hint.
1882 *** libgnutls [PSK]: New API to set PSK identity hint in server.
1883 The function is gnutls_psk_set_server_credentials_hint.
1885 *** libgnutls [PSK]: Support server key exchange with PSK identity hint.
1886 In the client, the message is parsed and the application can use
1887 gnutls_psk_client_get_hint to retrieve the hint.  In the server, the
1888 message is sent if the application has specified a PSK identity hint
1889 using gnutls_psk_set_server_credentials_hint.
1891 *** libgnutls [PSK]: Support Netconf PSK key derivation.
1892 The function gnutls_psk_netconf_derive_key supports the PSK key
1893 derivation as specified in draft-ietf-netconf-tls-02.txt.  New self
1894 test netconf-psk.c.
1896 *** psktool: Support new --netconf-hint to generate PSK key from password.
1897 Uses the Netconf algorithm to derive PSK key from password.
1899 *** gnutls-serv: Support new --pskhint parameter to set PSK identity hint.
1901 *** gnutls-cli: Always support PSK modes, through a callback.
1902 The callback will derive a PSK key using Netconf algorithm.  It will
1903 print the PSK identity hint to help the user.
1905 *** New PSK example client and server.
1906 See doc/examples/ex-client-psk.c and doc/examples/ex-serv-psk.c.
1908 ** libgnutls: Fix gnutls_x509_crl_set_version on arm platforms.
1909 The code didn't work properly on platforms where 'char' is unsigned,
1910 when you set version 0.  Reported by Laurence Withers
1911 <l@lwithers.me.uk> in
1912 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/2825>.
1914 ** libgnutls-openssl: added RAND_pseudo_bytes API.
1915 Patch from Robert Millan <rmh@aybabtu.com>.
1917 ** API and ABI modifications:
1918 RAND_pseudo_bytes: ADDED to libgnutls-openssl.
1919 gnutls_psk_client_get_hint: ADDED.
1920 gnutls_psk_set_server_credentials_hint: ADDED.
1921 gnutls_psk_netconf_derive_key: ADDED
1923 * Version 2.3.11 (released 2008-05-20)
1925 ** Fix flaw in fix for GNUTLS-SA-2008-1-3.
1926 The flaw would result in incorrectly terminated sessions with the
1927 error "Decryption has failed" when the server sends a small packet
1928 (typically when the session is closed).  Reported by Andreas Metzler
1929 <ametzler@downhill.at.eu.org> in
1930 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/2807>.
1932 ** Don't use gnulib headers when building C++ library.
1933 Fixes builds under Windows.
1935 ** Make umask a requirement.
1936 We don't know of any system that lacks it, even GNU CoreUtils use it
1937 unconditionally.
1939 ** Update gnulib files.
1940 Fixes a problem where it pulled in a replacement for memcmp under
1941 MinGW, which caused the C++ example to fail to build.
1943 ** API and ABI modifications:
1944 No changes since last version.
1946 * Version 2.3.10 (released 2008-05-19)
1948 ** Added wide wildcard hostname matching.
1949 Tiny patch by Jean-Philippe Garcia Ballester.
1951 ** Fix three security vulnerabilities.  [GNUTLS-SA-2008-1]
1952 Thanks to CERT-FI for finding the bugs and providing detailed reports,
1953 which allowed the bugs to be reproduced and fixed easily.  Patches
1954 developed by Simon Josefsson and Nikos Mavrogiannopoulos.  Any updates
1955 with more details about these vulnerabilities will be added to
1956 <http://www.gnu.org/software/gnutls/security.html>
1958 *** [GNUTLS-SA-2008-1-1]
1959 *** libgnutls: Fix crash when sending invalid server name.
1960 The crash can be triggered remotely before authentication, which can
1961 lead to a Daniel of Service attack to disable the server.  The bug
1962 cause gnutls to store more session resumption data than what was
1963 allocated for, thus overwriting unallocated memory.
1965 *** [GNUTLS-SA-2008-1-2]
1966 *** libgnutls: Fix crash when sending repeated client hellos.
1967 The crash can be triggered remotely before authentication, which can
1968 lead to a Daniel of Service attack to disable the server.  The bug
1969 triggers a null-pointer dereference.
1971 *** [GNUTLS-SA-2008-1-3]
1972 *** libgnutls: Fix crash in cipher padding decoding for invalid record lengths.
1973 The crash can be triggered remotely before authentication, which can
1974 lead to a Daniel of Service attack to disable the server.  The bug
1975 cause gnutls to read memory beyond the end of the received record.
1977 ** libgnutlsxx: Updated API according to patches from Eduardo 
1978 Villanueva Che (discussion at
1979 <http://lists.gnu.org/archive/html/gnutls-devel/2007-02/msg00017.html>)
1981 ** Use umask to restrict permissions to owner before creating a file.
1983 ** API and ABI modifications:
1984 No changes since last version.
1986 * Version 2.3.9 (released 2008-05-16)
1988 ** libgnutls: Fix build failures if SRP/OpenPGP is disabled.
1989 Based on report and tiny patches from
1990 <jared.jennings.ctr@eglin.af.mil>, see
1991 <https://savannah.gnu.org/support/index.php?106342>.
1993 ** libgnutls: Translation fixes.
1995 ** gnutls-cli: Fix so that PSK authentication works.
1996 Also improve manual to give example for gnutls-cli PSK authentication.
1998 ** certtool: Encrypting a private key now require a confirmed password.
1999 Before './certtool -k -8' would merely ask for a password once.
2000 Reported by Daniel 'NebuchadnezzaR' Dehennin
2001 <nebuchadnezzar@asgardr.info> see
2002 <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=364287>.
2004 ** certtool: When writing private keys to files, change permissions of file.
2005 Now the file which the private key is saved to is chmod'ed 0600.
2006 Reported by martin f krafft <madduck@debian.org> see
2007 <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=373169>.
2009 ** guile: Fix -fgnu89-inline test.
2011 ** Removed --enable-profile-mode.
2012 The code linked gnutls with the libfc project (Function Check) which
2013 appears to have been stalled since around 2002.
2015 ** Clean up header file checks by ./configure.
2017 ** Update of gnulib files.
2019 ** API and ABI modifications:
2020 No changes since last version.
2022 * Version 2.3.8 (released 2008-04-29)
2024 ** libgnutls: Increase default handshake packet size limit to 48kb.
2025 The old limit was 16kb and some servers send huge list of trusted CAs,
2026 thus running into the limit.  FYI, applications can further increase
2027 this limit using gnutls_handshake_set_max_packet_length.  Thanks to
2028 Marc Haber <mh+debian-bugs@zugschlus.de> and "Marc F. Clemente"
2029 <marc@mclemente.net> for reporting and providing test servers.
2031 ** libgnutls: Add new error code: GNUTLS_E_HANDSHAKE_TOO_LARGE
2032 Returned when the handshake data size is too large.  Before
2033 GNUTLS_E_MEMORY_ERROR was used, which could be confused with other
2034 error situations.
2036 ** libgnutls: Hide definitions in crypto.h.
2037 We have decided that the APIs defined in crypto.h are not stable
2038 enough for v2.4, so don't use any of those functions.
2040 ** gnutls-cli: exit when hostname doesn't match certificate.
2041 Use --insecure to avoid hostname comparison.
2043 ** certtool: --inder and --outder replaced by --inraw and --outraw.
2044 The reason is to align terminology with OpenPGP, which doesn't use
2045 DER.  The old parameters will continue to work for some time.
2047 ** doc: Add section 'Index of new symbols in 2.4.0' to the GTK-DOC manual.
2049 ** doc: Many cosmetic fixes, to silence (most) gtk-doc warnings.
2051 ** Mingw32: Revert libgcrypt vasprintf work-around added in last release.
2052 Use libgcrypt 1.4.1 or later when building on MinGW32, it removes the
2053 vasprintf symbol from the libgcrypt library which caused problems.
2055 ** Update of gnulib files.
2057 ** tests: New self-test of crypto.h RNG code tests/crypto_rng.
2059 ** API and ABI modifications:
2060 GNUTLS_E_HANDSHAKE_TOO_LARGE: ADDED.
2062 * Version 2.3.7 (released 2008-04-21)
2064 ** opencdk now properly sets the key usage bits into openpgp keys.
2066 ** gnutls-cli: Fix crash on TLS handshake failures.
2067 Reported by "Marc F. Clemente" <marc@mclemente.net> in Debian BTS #466477.
2068 This is similar to <http://bugs.debian.org/429183>.
2070 ** certtool: with --generate-request and newly generated keys, print the key.
2072 ** Build fixes for MinGW.
2073 Missing rpl_fseeko symbol in lib/opencdk/.  Better checks for linking
2074 with -lws2_32 when needed.  Use ASCII only isprint() when printing
2075 X.509 certificate information, to avoid non-ASCII but printable
2076 characters.  Thanks to Massimo Gaspari <massimo.gaspari@alice.it> for
2077 reports.
2079 ** Update internal copy of libtasn1 to version 1.4.
2081 ** API and ABI modifications:
2082 No changes since last version.
2084 * Version 2.3.6 (released 2008-04-17)
2086 ** Make gnutls_x509_crq_sign2 set certificate request version if not set.
2087 ** Improve documentation for gnutls_x509_crq_sign2.
2088 Based on report from "John Brooks" <aspecialj@gmail.com> in
2089 <http://permalink.gmane.org/gmane.network.gnutls.general/1154>.
2091 ** tests/pathlen: run diff without parameters to improve portability.
2092 Based on HPUX build hints in
2093 <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>.
2095 ** Don't use %e specifier with strftime, it doesn't work under Windows.
2096 Reported by Massimo Gaspari <massimo.gaspari@alice.it> in
2097 <http://permalink.gmane.org/gmane.network.gnutls.general/1170>.
2099 ** Remove all uses of gnutls_alloca/gnutls_afree.
2100 Use normal gnutls_malloc instead.  One reason is increased portability
2101 to Windows, the other is that several of the uses may be unsafe
2102 because the size of data allocated could be large.  Reported by
2103 Massimo Gaspari <massimo.gaspari@alice.it> in
2104 <http://permalink.gmane.org/gmane.network.gnutls.general/1170>.
2106 ** Build Guile code with -fgnu89-inline only when supported.
2107 Reported by Kris Karas <ktk@enterprise.bidmc.harvard.edu> in
2108 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/2708>.
2110 ** Several GTK-DOC related fixes.
2112 ** Clean up OpenCDK related code.
2113 GnuTLS now requires its internal OpenCDK code rather than the external
2114 GPL library OpenCDK.  Unfortunately, we don't have resources to
2115 maintain an external library (help welcome).
2117 ** API and ABI modifications:
2118 No changes since last version.
2120 * Version 2.3.5 (released 2008-04-14)
2122 ** Build fix for MinGW and --disable-shared.
2123 Reported by Massimo Gaspari <massimo.gaspari@alice.it> in
2124 <http://permalink.gmane.org/gmane.network.gnutls.general/1145>.
2126 ** Document how to generate CRLs.
2127 Suggested by "Rainer Gerhards" <rgerhards@gmail.com>.
2129 ** Documented the --priority option to gnutls-cli and gnutls-serv.
2131 ** Several minor fixes in the OpenPGP interface.
2132 Thanks to Daniel Kahn Gillmor.
2134 ** Fix fopen file descriptor leak in PSK server code.
2135 Thanks to Laurence Withers <l@lwithers.me.uk>, see
2136 <http://lists.gnu.org/archive/html/gnutls-devel/2008-04/msg00002.html>.
2138 ** Translations files not stored directly in git to avoid merge conflicts.
2140 ** New APIs to let applications replace the RNG used.
2141 Update all RNG callers in the code to use the new interface.
2143 ** Guile code now built with -fgnu89-inline to fix inline semantic problem.
2145 ** Update gnulib files.
2147 ** API and ABI modifications:
2148 gnutls_crypto_rnd_register: ADDED
2149 gnutls_rnd_level_t: ADDED
2150 GNUTLS_RND_KEY: ADDED, gnutls_rnd_level_t member
2151 GNUTLS_RND_RANDOM: ADDED, gnutls_rnd_level_t member
2152 GNUTLS_RND_NONCE: ADDED, gnutls_rnd_level_t member
2153 gnutls_crypto_rnd_st: ADDED
2154 GNUTLS_DIG_SHA224: ADDED
2155 GNUTLS_SIGN_RSA_SHA224: ADDED
2156 gnutls_openpgp_crt_get_auth_subkey: MODIFIED
2158 * Version 2.3.4 (released 2008-03-19)
2160 ** Finish renaming of gnutls_certificate_export_x509_cas etc.
2161 They weren't renamed in the public header file.
2163 ** Added functions to register a cipher/mac/digest. This allows to 
2164 override the included ones.
2166 ** Fix a bunch of compiler warnings.
2168 ** API and ABI modifications:
2169 gnutls_crypto_cipher_st: ADDED
2170 gnutls_crypto_mac_st: ADDED
2171 gnutls_crypto_digest_st: ADDED
2172 gnutls_crypto_cipher_register: ADDED
2173 gnutls_crypto_mac_register: ADDED
2174 gnutls_crypto_digest_register: ADDED
2175 GNUTLS_E_CRYPTO_ALREADY_REGISTERED: ADDED
2177 * Version 2.3.3 (released 2008-03-10)
2179 ** Fix build failure in libextra/gnutls_extra.c that needed opencdk.h.
2180 Reported by Roman Bogorodskiy <novel@FreeBSD.org>.
2182 ** No longer compiled using -D_REENTRANT -D_THREAD_SAFE.
2183 We could not find any modern justification for enabling these flags by
2184 default.  If you know of some platform that needs one of the flags to
2185 work properly, please let us know.  (Actually introduced in v2.3.0 but
2186 not documented until now.)
2188 ** Importing many CA certificates are now considerably faster.
2189 This affect gnutls_certificate_set_x509_trust_mem,
2190 gnutls_certificate_set_x509_trust, and
2191 gnutls_certificate_set_x509_trust_file.  The complexity was reduced
2192 from O(2*n^2) to O(n).  When adding 206 files containing 408
2193 certificates, using gnutls_certificate_set_x509_trust_file, the time
2194 dropped from 40 seconds to 0.3 seconds.  Thanks to Edgar Fuß for code
2195 to trigger the problem.  See also
2196 <http://blog.josefsson.org/2008/02/27/real-world-performance-tuning-with-callgrind/>.
2198 ** Clarify documentation for gnutls_x509_crt_set_subject_alternative_name
2199 ** to be explicit that it takes zero terminated data.
2201 ** gnutls-cli --print-cert now print PKCS#3 format Diffie-Hellman parameters.
2203 ** Documentation fixes for the GTK-DOC manual.
2205 ** Fix compilation error related to __FUNCTION__ on some systems.
2206 Reported by Tim Mooney, see
2207 <https://savannah.gnu.org/support/?106267>.
2209 ** Updated translations.
2211 ** Update gnulib files.
2213 ** API and ABI modifications:
2214 gnutls_hex2bin: MODIFIED, uses size_t instead of int for string length,
2215                 and char* instead of void* for output buffer.
2217 * Version 2.3.2 (released 2008-02-26)
2219 ** Fix srcdir!=objdir failure in openpgpself test.
2221 ** Improved API documentation output from GTK-DOC.
2223 ** Added gnutls_x509_dn_export(). Patch by Joe Orton.
2225 ** Renamed gnutls_certificate_export_x509_cas and friends.
2226 See <http://lists.gnu.org/archive/html/gnutls-devel/2008-02/msg00043.html>.
2228 ** Internal header files cleanup.
2230 ** API and ABI modifications:
2231 gnutls_certificate_export_x509_cas: RENAMED to gnutls_certificate_get_x509_cas
2232 gnutls_certificate_export_x509_crls: RENAMED to gnutls_certificate_get_x509_crls
2233 gnutls_certificate_export_openpgp_keyring: RENAMED to gnutls_certificate_get_openpgp_keyring
2234 gnutls_x509_dn_export: ADDED
2236 * Version 2.3.1 (released 2008-02-21)
2238 ** OpenPGP support merged into libgnutls and is now licensed under LGPL.
2239 The included copy of OpenCDK has been stripped down and re-licensed
2240 under the LGPL.
2242 ** Cipher priority string handling now handle strings that starts with NULL.
2243 Thanks to Laurence Withers <l@lwithers.me.uk>.
2245 ** gnutls-cli: When -d is used, also prints RNG information from libgcrypt.
2247 ** Corrected memory leaks in session resuming and DHE ciphersuites. Reported
2248 by Daniel Stenberg.
2250 ** Increased the default certificate verification chain limits and allowed
2251 for checks without limitation.
2253 ** Corrected the behaviour of gnutls_x509_crt_get_subject_alt_name()
2254 and gnutls_x509_crt_get_subject_alt_name() to not null terminate binary
2255 strings and return the proper size.
2257 ** Add section 'On Record Padding' to the manual.
2258 This collects all problems related to record padding with
2259 Nokia/Sony-Ericsson phones that we know about.
2261 ** Several improvements in the OpenPGP authentication.
2262 Now subkeys can be used for authentication, according to
2263 draft-mavrogiannopoulos-rfc5081bis-00.txt.
2265 ** certtool can print information on OpenPGP certificates and keys.
2267 ** Added gnutls_x509_dn_import/init/deinit() to access raw DER DN.
2268 Patch by Joe Orton.
2270 ** Added gnutls_certificate_export_x509_cas and other functions to
2271 export elements from the certificate credentials structure.  Based on
2272 suggestion from Joe Orton.
2274 ** Doc fixes.
2275 Clarify that srp_base64 is not the same as normal base64.
2277 ** Fix non-portable use of brace expansion in makefiles.
2279 ** API and ABI modifications:
2280 gnutls_certificate_export_x509_cas: ADDED
2281 gnutls_certificate_export_x509_crls: ADDED
2282 gnutls_certificate_export_openpgp_keyring: ADDED
2283 gnutls_openpgp_keyid_t: ADDED, instead of hard-coded 'unsigned char[8]'.
2284 gnutls_openpgp_crt_get_key_id: ADDED, obsoletes gnutls_openpgp_crt_get_id.
2285 gnutls_openpgp_crt_get_revoked_status: ADDED
2286 gnutls_openpgp_crt_get_subkey_count: ADDED
2287 gnutls_openpgp_crt_get_subkey_idx: ADDED
2288 gnutls_openpgp_crt_get_subkey_revoked_status: ADDED
2289 gnutls_openpgp_crt_get_subkey_pk_algorithm: ADDED
2290 gnutls_openpgp_crt_get_subkey_creation_time: ADDED
2291 gnutls_openpgp_crt_get_subkey_expiration_time: ADDED
2292 gnutls_openpgp_crt_get_subkey_id: ADDED
2293 gnutls_openpgp_crt_get_subkey_usage: ADDED
2294 gnutls_openpgp_privkey_get_fingerprint: ADDED
2295 gnutls_openpgp_privkey_get_key_id: ADDED
2296 gnutls_openpgp_privkey_get_subkey_count: ADDED
2297 gnutls_openpgp_privkey_get_subkey_idx: ADDED
2298 gnutls_openpgp_privkey_get_subkey_revoked_status: ADDED
2299 gnutls_openpgp_privkey_get_revoked_status: ADDED
2300 gnutls_openpgp_privkey_get_subkey_pk_algorithm: ADDED
2301 gnutls_openpgp_privkey_get_subkey_expiration_time: ADDED
2302 gnutls_openpgp_privkey_get_subkey_id: ADDED
2303 gnutls_openpgp_privkey_get_subkey_creation_time: ADDED
2304 gnutls_openpgp_crt_get_subkey_pk_dsa_raw: ADDED
2305 gnutls_openpgp_crt_get_subkey_pk_rsa_raw: ADDED
2306 gnutls_openpgp_crt_get_pk_dsa_raw: ADDED
2307 gnutls_openpgp_crt_get_pk_rsa_raw: ADDED
2308 gnutls_openpgp_privkey_export_subkey_dsa_raw: ADDED
2309 gnutls_openpgp_privkey_export_subkey_rsa_raw: ADDED
2310 gnutls_openpgp_privkey_export_dsa_raw: ADDED
2311 gnutls_openpgp_privkey_export_rsa_raw: ADDED
2312 gnutls_openpgp_privkey_export: ADDED
2313 gnutls_certificate_set_openpgp_key_file2: ADDED
2314 gnutls_certificate_set_openpgp_key_mem2: ADDED
2315 gnutls_x509_dn_init: ADDED
2316 gnutls_x509_dn_import: ADDED
2317 gnutls_x509_dn_deinit: ADDED
2318 GNUTLS_E_OPENPGP_SUBKEY_ERROR: ADDED
2319 gnutls_hex2bin: ADDED
2320 GNUTLS_CRT_PRINT_FULL: ADDED, same as old GNUTLS_X509_CRT_FULL.
2321 GNUTLS_CRT_PRINT_ONELINE: ADDED, same as old GNUTLS_X509_CRT_ONELINE.
2322 GNUTLS_CRT_PRINT_UNSIGNED_FULL: ADDED, same as
2323                                 old GNUTLS_X509_CRT_UNSIGNED_FULL.
2325 * Version 2.3.0 (released 2008-01-08)
2327 ** LZO compression is now disabled by default.
2328 The reason is that LZO compression is not standardized in TLS.  If you
2329 wish to experiment with it, you will have to supply --with-lzo when
2330 invoking ./configure.  The internal copy of minilzo is no longer
2331 included with GnuTLS, so you will need to install liblzo or liblzo2 on
2332 your system to have --with-lzo to be effective.
2334 ** More than one server name field is now sent to the server properly.
2335 Thanks to mark.phillips@virgin.net.
2337 ** Fixes the post_client_hello_function(). The extensions are now parsed
2338 in a callback friendly way.
2340 ** Fix for certificate selection in servers with certificate callbacks.
2342 ** Updated translations.
2344 ** Update gnulib files.
2346 ** API and ABI modifications:
2347 No changes since last version.
2349 * Version 2.2.5 (released 2008-05-19)
2351 ** Fix flaw in fix for GNUTLS-SA-2008-1-3.
2352 The flaw would result in incorrectly terminated sessions with the
2353 error "Decryption has failed" when the server sends a small packet
2354 (typically when the session is closed).  Reported by Andreas Metzler
2355 <ametzler@downhill.at.eu.org> in
2356 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/2807>.
2358 ** API and ABI modifications:
2359 No changes since last version.
2361 * Version 2.2.4 (released 2008-05-19)
2363 ** Fix three security vulnerabilities.  [GNUTLS-SA-2008-1]
2364 Thanks to CERT-FI for finding the bugs and providing detailed reports,
2365 which allowed the bugs to be reproduced and fixed easily.  Patches
2366 developed by Simon Josefsson and Nikos Mavrogiannopoulos.  Any updates
2367 with more details about these vulnerabilities will be added to
2368 <http://www.gnu.org/software/gnutls/security.html>
2370 *** [GNUTLS-SA-2008-1-1]
2371 *** libgnutls: Fix crash when sending invalid server name.
2372 The crash can be triggered remotely before authentication, which can
2373 lead to a Daniel of Service attack to disable the server.  The bug
2374 cause gnutls to store more session resumption data than what was
2375 allocated for, thus overwriting unallocated memory.
2377 *** [GNUTLS-SA-2008-1-2]
2378 *** libgnutls: Fix crash when sending repeated client hellos.
2379 The crash can be triggered remotely before authentication, which can
2380 lead to a Daniel of Service attack to disable the server.  The bug
2381 triggers a null-pointer dereference.
2383 *** [GNUTLS-SA-2008-1-3]
2384 *** libgnutls: Fix crash in cipher padding decoding for invalid record lengths.
2385 The crash can be triggered remotely before authentication, which can
2386 lead to a Daniel of Service attack to disable the server.  The bug
2387 cause gnutls to read memory beyond the end of the received record.
2389 ** API and ABI modifications:
2390 No changes since last version.
2392 * Version 2.2.3 (released 2008-05-06)
2394 ** Increase default handshake packet size limit to 48kb.
2395 The old limit was 16kb and some servers send huge list of trusted CAs,
2396 thus running into the limit.  FYI, applications can further increase
2397 this limit using gnutls_handshake_set_max_packet_length.  Thanks to
2398 Marc Haber <mh+debian-bugs@zugschlus.de> and "Marc F. Clemente"
2399 <marc@mclemente.net> for reporting and providing test servers.
2401 ** Fix compilation error related to __FUNCTION__ on some systems.
2402 Reported by Tim Mooney, see
2403 <https://savannah.gnu.org/support/?106267>.
2405 ** Documented the --priority option to gnutls-cli and gnutls-serv.
2407 ** Fix fopen file descriptor leak in PSK server code.
2408 Thanks to Laurence Withers <l@lwithers.me.uk>, see
2409 <http://lists.gnu.org/archive/html/gnutls-devel/2008-04/msg00002.html>.
2411 ** Build Guile code with -fgnu89-inline only when supported.
2412 Reported by Kris Karas <ktk@enterprise.bidmc.harvard.edu> in
2413 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/2708>.
2415 ** Make Camellia encryption work.
2416 Reported by Yoshisato YANAGISAWA <yanagisawa@csg.is.titech.ac.jp> in
2417 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/2746>.
2419 ** API and ABI modifications:
2420 No changes since last version.
2422 * Version 2.2.2 (released 2008-02-21)
2424 ** Cipher priority string handling now handle strings that starts with NULL.
2425 Thanks to Laurence Withers <l@lwithers.me.uk>.
2427 ** Corrected memory leaks in session resuming and DHE ciphersuites. Reported
2428 by Daniel Stenberg.
2430 ** Increased the default certificate verification chain limits and allowed
2431 for checks without limitation.
2433 ** Corrected the behaviour of gnutls_x509_crt_get_subject_alt_name()
2434 and gnutls_x509_crt_get_subject_alt_name() to not null terminate binary
2435 strings and return the proper size.
2437 ** API and ABI modifications:
2438 No changes since last version.
2440 * Version 2.2.1 (released 2008-01-17)
2442 ** Prevent linking libextra against previously installed libgnutls.
2443 Tiny patch from "Alon Bar-Lev" <alon.barlev@gmail.com>, see
2444 <http://bugs.gentoo.org/show_bug.cgi?id=202269>.
2446 ** Fixes the post_client_hello_function(). The extensions are now parsed
2447 in a callback friendly way.
2449 ** Fix for certificate selection in servers with certificate callbacks.
2451 ** API and ABI modifications:
2452 No changes since last version.
2454 * Version 2.2.0 (released 2007-12-14)
2456 ** Update internal copy of libtasn1 to version 1.2.
2458 ** Certtool --verify-chain now handle inputs larger than 64kb.
2459 This fixes the self-test "rsa-md5-collision" under MinGW+Wine with
2460 recent versions of libgcrypt.  The problem was that Wine with the
2461 libgcrypt RNG generates huge amounts of debugging output.
2463 ** Translation updates.
2464 Added Dutch translation.  Updated Polish and Swedish translation.
2466 ** Major changes compared to the v2.0 branch:
2468 *** SRP support aligned with newly published RFC 5054.
2470 *** OpenPGP support aligned with newly published RFC 5081.
2472 *** Support for DSA2 keys.
2474 *** Support for Camellia cipher.
2476 *** Support for Opaque PRF Input extension.
2478 *** PKCS#8 parser now handle DSA keys.
2480 *** Change from GPLv2 to GPLv3 for command-line tools, libgnutls-extra, etc.
2481 Notice that liblzo2 2.02 is licensed under GPLv2 only.  Earlier
2482 versions, such as 2.01 which is included with GnuTLS, is available
2483 under GPLv2 or later.  If this incompatibility causes problems, we
2484 recommend you to disable LZO using --without-lzo.  LZO compression is
2485 not a standard TLS compression algorithm, so the impact should be
2486 minimal.
2488 *** Functions for disabling record protocol padding.
2489 Works around bugs on Nokia/Ericsson phones.
2491 *** New functions gnutls_priority_set() for setting cipher priorities easily.
2492 Priorities like "COMPAT" also enables other work arounds, such as
2493 disabling padding.
2495 *** Other minor improvements and bug fixes.
2497 ** Backwards incompatible API/ABI changes in GnuTLS 2.2
2498 To adapt to changes in the TLS extension specifications for OpenPGP
2499 and SRP, the GnuTLS API had to be modified.  This means breaking the
2500 API and ABI backwards compatibility.  That is something we try to
2501 avoid unless it is necessary.  We decided to also remove the already
2502 deprecated stub functions for X.509 to XML conversion and TLS
2503 authorization (see below) when we had the opportunity.
2505 Generally, most applications does not need to be modified.  Just
2506 re-compile them against the latest GnuTLS release, and it should work
2507 fine.
2509 Applications that use the OpenPGP or SRP features needs to be
2510 modified.  Below is a list of the modified APIs and discussion of what
2511 the minimal things you need to modify in your application to make it
2512 work with GnuTLS 2.2.
2514 Note that GnuTLS 2.2 also introduces new APIs -- such as
2515 gnutls_set_priority() that is superior to
2516 gnutls_set_default_priority() -- that you may want to start using.
2517 However, using those new APIs is not required to use GnuTLS 2.2 since
2518 the old functions continue are still supported.  This text only
2519 discuss what you minimally have to modify.
2521 *** XML related changes
2522 The function `gnutls_x509_crt_to_xml' has been removed.  It has been
2523 deprecated and only returned an error code since GnuTLS version
2524 1.2.11.  Nobody has complained, so users doesn't seem to miss the
2525 functionality.  We don't know of any other library to convert X.509
2526 certificates into XML format, but we decided (long ago) that GnuTLS
2527 isn't the right place for this kind of functionality.  If you want
2528 help to find some other library to use here, please explain and
2529 discuss your use case on help-gnutls@gnu.org.
2531 *** TLS Authorization related changes
2532 Everything related to TLS authorizations have been removed, they were
2533 only stub functions that returned an error code:
2535  GNUTLS_SUPPLEMENTAL_AUTHZ_DATA
2536  gnutls_authz_data_format_type_t
2537  gnutls_authz_recv_callback_func
2538  gnutls_authz_send_callback_func
2539  gnutls_authz_enable
2540  gnutls_authz_send_x509_attr_cert
2541  gnutls_authz_send_saml_assertion
2542  gnutls_authz_send_x509_attr_cert_url
2543  gnutls_authz_send_saml_assertion_url
2545 *** SRP related changes
2546 The callback gnutls_srp_client_credentials_function has a new
2547 prototype, and its semantic has changed.  You need to rewrite the
2548 callback, see the updated function documentation and SRP example code
2549 (doc/examples/ex-client-srp.c and doc/examples/ex-serv-srp.c) for more
2550 information.
2552 The alert codes GNUTLS_A_MISSING_SRP_USERNAME and
2553 GNUTLS_A_UNKNOWN_SRP_USERNAME are no longer used by the SRP
2554 specification, instead the GNUTLS_A_UNKNOWN_PSK_IDENTITY alert is
2555 used.  There are #define's to map the old names to the new.  You may
2556 run into problems if you have a switch-case with cases for both SRP
2557 alerts, since they are now mapped to the same value.  The solution is
2558 to drop the SRP alerts from such switch cases, as they are now
2559 deprecated in favor of GNUTLS_A_UNKNOWN_PSK_IDENTITY.
2561 *** OpenPGP related changes
2562 The function `gnutls_certificate_set_openpgp_keyserver' have been
2563 removed.  There is no replacement functionality inside GnuTLS.  If you
2564 need keyserver functionality, consider using the GnuPG tools.
2566 All functions, types, and error codes related to OpenPGP trustdb
2567 format have been removed.  The trustdb format is a non-standard
2568 GnuPG-specific format, and we recommend you to use key rings instead.
2569 The following have been removed:
2571  gnutls_certificate_set_openpgp_trustdb
2572  gnutls_openpgp_trustdb_init
2573  gnutls_openpgp_trustdb_deinit
2574  gnutls_openpgp_trustdb_import
2575  gnutls_openpgp_key_verify_trustdb
2576  gnutls_openpgp_trustdb_t
2577  GNUTLS_E_OPENPGP_TRUSTDB_VERSION_UNSUPPORTED
2579 The following functions has an added parameter of the (new) type
2580 `gnutls_openpgp_crt_fmt_t'.  The type specify the format of the data
2581 (binary or base64).  The functions are:
2582  gnutls_certificate_set_openpgp_key_file
2583  gnutls_certificate_set_openpgp_key_mem
2584  gnutls_certificate_set_openpgp_keyring_mem
2585  gnutls_certificate_set_openpgp_keyring_file
2587 To improve terminology and align with the X.509 interface, some
2588 functions have been renamed.  Compatibility mappings exists.  The old
2589 and new names of the affected functions and types are:
2591         Old name                                New name
2592  gnutls_openpgp_key_t                    gnutls_openpgp_crt_t
2593  gnutls_openpgp_key_fmt_t                gnutls_openpgp_crt_fmt_t
2594  gnutls_openpgp_key_status_t             gnutls_openpgp_crt_status_t
2595  GNUTLS_OPENPGP_KEY                      GNUTLS_OPENPGP_CERT
2596  GNUTLS_OPENPGP_KEY_FINGERPRINT          GNUTLS_OPENPGP_CERT_FINGERPRINT
2597  gnutls_openpgp_key_init                 gnutls_openpgp_crt_init
2598  gnutls_openpgp_key_deinit               gnutls_openpgp_crt_deinit
2599  gnutls_openpgp_key_import               gnutls_openpgp_crt_import
2600  gnutls_openpgp_key_export               gnutls_openpgp_crt_export
2601  gnutls_openpgp_key_get_key_usage        gnutls_openpgp_crt_get_key_usage
2602  gnutls_openpgp_key_get_fingerprint      gnutls_openpgp_crt_get_fingerprint
2603  gnutls_openpgp_key_get_pk_algorithm     gnutls_openpgp_crt_get_pk_algorithm
2604  gnutls_openpgp_key_get_name             gnutls_openpgp_crt_get_name
2605  gnutls_openpgp_key_get_version          gnutls_openpgp_crt_get_version
2606  gnutls_openpgp_key_get_creation_time    gnutls_openpgp_crt_get_creation_time
2607  gnutls_openpgp_key_get_expiration_time  gnutls_openpgp_crt_get_expiration_time
2608  gnutls_openpgp_key_get_id               gnutls_openpgp_crt_get_id
2609  gnutls_openpgp_key_check_hostname       gnutls_openpgp_crt_check_hostname
2610  gnutls_openpgp_send_key                 gnutls_openpgp_send_cert
2612 ** API and ABI modifications:
2613 No changes since last version.
2615 * Version 2.1.8 (released 2007-12-10)
2617 ** The GPL version has been changed from version 2 to version 3.
2618 This affects the self-tests, command-line tools, the libgnutls-extra
2619 library, the relevant guile parts, and the build environment.
2621 ** Added gnutls_x509_crt_get_subject_alt_name2().
2623 ** Corrected a segfault when setting an empty gnutls_priority_t
2624 at gnutls_priority_set().
2626 ** Use gettext 0.17 which updates m4/lib-*.m4 macros.
2627 Fixes a problem with spurious -L/usr/lib additions.
2629 ** API and ABI modifications:
2630 gnutls_x509_crt_get_subject_alt_name2: ADD.
2632 * Version 2.1.7 (released 2007-11-29)
2634 ** PKCS #8 parser can now encode/decode DSA keys.
2636 ** Updated gnutls_set_default_priority2() now renamed to
2637 gnutls_priority_set() and gnutls_priority_set_direct() which
2638 accept a string to indicate preferences of ciphersuite parameters.
2640 ** gnutls-cli and gnutls-serv now have a --priority option to set
2641 the priority string.
2643 ** The gnutls_*_convert_priority() functions were deprecated by
2644 the gnutls_priority_set() and gnutls_priority_set_direct().
2646 ** Internal copy of OpenCDK upgraded to version 0.6.6.
2648 ** API and ABI modifications:
2649 gnutls_priority_init: ADD.
2650 gnutls_priority_deinit: ADD.
2651 gnutls_priority_set: ADD.
2652 gnutls_priority_set_direct: ADD.
2653 gnutls_set_default_priority2: RENAMED to gnutls_priority_set_direct()
2654 gnutls_mac_convert_priority: REMOVED
2655 gnutls_compression_convert_priority: REMOVED
2656 gnutls_protocol_convert_priority: REMOVED
2657 gnutls_kx_convert_priority: REMOVED
2658 gnutls_cipher_convert_priority: REMOVED
2659 gnutls_certificate_type_convert_priority: REMOVED
2660 gnutls_set_default_priority: UNDEPRECATED
2661 gnutls_set_default_priority_export: UNDEPRECATED
2663 ** Undocumented API and ABI modifications earlier in the 2.1.x series:
2664 GNUTLS_CIPHER_UNKNOWN: ADD.
2665 GNUTLS_CIPHER_CAMELLIA_128_CBC: ADD.
2666 GNUTLS_CIPHER_CAMELLIA_256_CBC: ADD.
2667 GNUTLS_KX_UNKNOWN: ADD.
2668 GNUTLS_COMP_UNKNOWN: ADD.
2669 GNUTLS_CRT_UNKNOWN: ADD.
2670 gnutls_mac_get_id: ADD.
2671 gnutls_compression_get_id: ADD.
2672 gnutls_cipher_get_id: ADD.
2673 gnutls_kx_get_id: ADD.
2674 gnutls_protocol_get_id: ADD.
2675 gnutls_certificate_type_get_id: ADD.
2676 gnutls_handshake_post_client_hello_func: ADD.
2677 gnutls_certificate_send_x509_rdn_sequence: ADD prototype to gnutls.h.in.
2679 * Version 2.1.6 (released 2007-11-15)
2681 ** Corrected bug in decompression of expanded compression data.
2683 ** Added the --to-p8 option to certtool to convert private keys
2684 to PKCS #8 keys.
2686 ** Introduced the GNUTLS_E_BASE64_UNEXPECTED_HEADER_ERROR error code.
2688 ** gnutls_certificate_set_x509_key_* can now read PKCS #8 unencrypted
2689 private keys.
2691 ** Fixed GNUTLS_E_UNKNOWN_ALGORITHM vs GNUTLS_E_UNKNOWN_HASH_ALGORITHM.
2692 During the 2.1.x series the GNUTLS_E_UNKNOWN_HASH_ALGORITHM error code
2693 was renamed to GNUTLS_E_UNKNOWN_ALGORITHM, unfortunately without being
2694 documented.  This caused some problems (e.g., debian #450854).  To
2695 avoid backwards compatibility problems, this release revert this
2696 change, so that GNUTLS_E_UNKNOWN_HASH_ALGORITHM works just like it has
2697 done in GnuTLS 2.0.x and earlier, and add a new error code
2698 GNUTLS_E_UNKNOWN_ALGORITHM.
2700 ** Fixes several gtk-doc warnings.
2702 ** API and ABI modifications:
2703 GNUTLS_E_UNKNOWN_ALGORITHM: CHANGED.
2704 GNUTLS_E_UNKNOWN_HASH_ALGORITHM: CHANGED.
2705 GNUTLS_E_BASE64_UNEXPECTED_HEADER_ERROR: ADD.
2707 * Version 2.1.5 (released 2007-11-01)
2709 ** Fix PKCS#3 parameter export problem.
2711 ** Improve certtool queries, they now print the default value.
2713 ** Fix ABI version.
2715 ** Update gnulib files.
2717 ** API and ABI modifications:
2718 No changes since last version.
2720 * Version 2.1.4 (released 2007-10-27)
2722 ** Added the --v1 option to certtool, to allow generating X.509
2723 version 1 certificates. 
2725 ** certtool: Add option --disable-quick-random to enable the old behaviour
2726 of using /dev/random to generate keys.
2728 ** Added priority functions that accept strings.
2730 ** Added gnutls_set_default_priority2() which accepts a flag to indicate
2731 priorities preferences.
2733 ** Added gnutls_record_disable_padding() to allow servers talking to 
2734 buggy clients that complain if the TLS 1.0 record protocol padding is
2735 used.
2737 ** Introduced gnutls_session_enable_compatibility_mode() to allow enabling
2738 all supported compatibility options (like disabling padding).
2740 ** The gnutls_certificate_set_openpgp_* functions were modified to include
2741 the format. This makes the interface consistent with the x509 functions.
2743 ** Internal copy of OpenCDK upgraded to version 0.6.5.
2745 ** Update gnulib files.
2747 ** API and ABI modifications:
2748 gnutls_certificate_set_openpgp_key_mem: MODIFIED
2749 gnutls_certificate_set_openpgp_key_file: MODIFIED
2750 gnutls_certificate_set_openpgp_keyring_mem: MODIFIED
2751 gnutls_certificate_set_openpgp_keyring_file: MODIFIED
2752 gnutls_set_default_priority: DEPRECATED
2753 gnutls_set_default_priority_export: DEPRECATED
2754 gnutls_set_default_priority2: ADDED
2755 gnutls_session_enable_compatibility_mode: ADDED
2756 gnutls_record_disable_padding: ADDED
2757 gnutls_mac_convert_priority: ADDED
2758 gnutls_compression_convert_priority: ADDED
2759 gnutls_protocol_convert_priority: ADDED
2760 gnutls_kx_convert_priority: ADDED
2761 gnutls_cipher_convert_priority: ADDED
2762 gnutls_certificate_type_convert_priority: ADDED
2763 gnutls_openpgp_key_t: RENAMED to gnutls_openpgp_crt_t
2764 gnutls_openpgp_key_status_t: RENAMED to gnutls_openpgp_crt_status_t
2765 gnutls_openpgp_send_key: RENAMED to gnutls_openpgp_send_cert
2766 gnutls_openpgp_key_init: RENAMED to gnutls_openpgp_crt_init
2767 gnutls_openpgp_key_import: RENAMED to gnutls_openpgp_crt_import
2768 gnutls_openpgp_key_export: RENAMED to gnutls_openpgp_crt_export
2769 gnutls_openpgp_key_check_hostname: RENAMED to gnutls_openpgp_crt_check_hostname
2770 gnutls_openpgp_key_get_creation_time: RENAMED to gnutls_openpgp_crt_get_creation_time
2771 gnutls_openpgp_key_get_expiration_time: RENAMED to gnutls_openpgp_crt_get_expiration_time
2772 gnutls_openpgp_key_get_fingerprint: RENAMED to gnutls_openpgp_crt_get_fingerprint
2773 gnutls_openpgp_key_get_version: RENAMED to gnutls_openpgp_crt_get_version
2774 gnutls_openpgp_key_get_pk_algorithm: RENAMED to gnutls_openpgp_crt_get_pk_algorithm
2775 gnutls_openpgp_key_get_name: RENAMED to gnutls_openpgp_crt_get_name
2776 gnutls_openpgp_key_deinit: RENAMED to gnutls_openpgp_crt_deinit
2777 gnutls_openpgp_key_get_id: RENAMED to gnutls_openpgp_crt_get_id
2778 gnutls_openpgp_key_get_key_usage: RENAMED to gnutls_openpgp_crt_get_key_usage
2779 gnutls_openpgp_key_verify_ring: RENAMED to gnutls_openpgp_crt_verify_ring
2780 gnutls_openpgp_key_verify_self: RENAMED to gnutls_openpgp_crt_verify_self
2782 * Version 2.1.3 (released 2007-10-17)
2784 ** TLS authorization support removed.
2785 This technique may be patented in the future, and it is not of crucial
2786 importance for the Internet community.  After deliberation we have
2787 concluded that the best thing we can do in this situation is to
2788 encourage society not to adopt this technique.  We have decided to
2789 lead the way with our own actions.
2791 ** Re-enabled the 256 bit ciphers in the default priorities.
2793 ** Corrected bugs in openpgp key verification using a keyring (both in
2794 gnutls and opencdk)
2796 ** API and ABI modifications:
2797 gnutls_certificate_set_openpgp_keyserver: REMOVED
2798 gnutls_authz_data_format_type_t,
2799 gnutls_authz_recv_callback_func,
2800 gnutls_authz_send_callback_func,
2801 gnutls_authz_enable,
2802 gnutls_authz_send_x509_attr_cert,
2803 gnutls_authz_send_saml_assertion,
2804 gnutls_authz_send_x509_attr_cert_url,
2805 gnutls_authz_send_saml_assertion_url: REMOVED.
2806 GNUTLS_SUPPLEMENTAL_USER_MAPPING_DATA: ADDED.  To avoid that the
2807     gnutls_supplemental_data_format_type_t enum type becomes empty.
2809 * Version 2.1.2 (released 2007-10-14)
2811 ** Removed all the trustdb code from openpgp authentication.
2812 We now use only the well-specified keyrings.
2814 ** The 256 bit ciphers are not enabled in the default priorities.
2816 ** Added support for DSA2 using libgcrypt 1.3.0.
2818 ** certtool: Fixed data corruption when using --outder.
2820 ** Removed all the xml related stubs and functions.
2822 ** Added capability to set a callback after the client hello is received
2823 by the server in order to adjust parameters before the handshake.
2825 ** SRP was corrected to adhere to the latest draft (published soon as RFC)
2827 ** Corrected bug which did not allow a server to run without supporting
2828 certificates.
2830 ** Updated the DN parser which now prints wrongly decoded values as hex
2831 strings.
2833 ** certtool: Add option --quick-random.
2834 For generating low security test credentials.
2836 ** API and ABI modifications:
2837 gnutls_x509_crt_to_xml: REMOVED
2838 gnutls_openpgp_key_to_xml: REMOVED
2839 gnutls_openpgp_key_verify_trustdb: REMOVED
2840 gnutls_openpgp_trustdb_init: REMOVED
2841 gnutls_openpgp_trustdb_deinit: REMOVED
2842 gnutls_openpgp_trustdb_import: REMOVED
2843 gnutls_certificate_set_openpgp_trustdb: REMOVED
2844 gnutls_srp_client_credentials_function: CHANGED
2845 gnutls_handshake_set_post_client_hello_function: ADDED
2846 gnutls_mac_get_key_size: ADDED
2847 GNUTLS_E_OPENPGP_TRUSTDB_VERSION_UNSUPPORTED: DEPRECATED.
2848 GNUTLS_A_MISSING_SRP_USERNAME: DEPRECATED
2849 GNUTLS_A_UNKNOWN_SRP_USERNAME: DEPRECATED
2851 * Version 2.1.1 (released 2007-09-24)
2853 ** Added support for Camellia cipher, thanks to Yoshisato YANAGISAWA.
2854 Camellia is only enabled in GnuTLS if the installed libgcrypt has been
2855 compiled with Camellia support.  See the libgcrypt documentation on
2856 how to enable it.  Unconditionally disable it using the configure
2857 option --disable-camellia.  Fixes #1.
2859 ** Properly document in the NEWS file the API change in the last release.
2861 ** API and ABI modifications:
2862 No changes since last version.
2864 * Version 2.1.0 (released 2007-09-20)
2866 ** Support for draft-rescorla-tls-opaque-prf-input-00.txt.
2867 The support is disabled by default.  Since no value has been allocated
2868 by the IANA for this extension yet, you will need to provide one
2869 yourself by invoking './configure --enable-opaque-prf-input=42'.
2870 Fixes #2.
2872 ** Example code: Fix compilation flaw under MinGW.
2874 ** API and ABI modifications:
2875 gnutls_oprfi_callback_func: ADD, new typedef function prototype.
2876 gnutls_oprfi_enable_client: ADD, new function.
2877 gnutls_oprfi_enable_server: ADD, new function.
2879 * Version 2.0.4 (released 2007-11-16)
2881 ** Corrected bug in decompression of expanded compression data.           
2883 ** API and ABI modifications:
2884 No changes since last version.
2886 * Version 2.0.3 (released 2007-11-10)
2888 ** This version backports several fixes from the 2.1.x branch.
2890 ** Fixed PKCS #3 parameter export.
2892 ** Added gnutls_record_disable_padding() to allow servers talking to
2893 buggy clients that complain if the TLS 1.0 record protocol padding is
2894 used.
2896 ** Introduced gnutls_session_enable_compatibility_mode() to allow enabling
2897 all supported compatibility options (like disabling padding).
2899 ** Corrected bug which did not allow a server to run without supporting
2900 certificates.
2902 ** API and ABI modifications:
2903 gnutls_session_enable_compatibility_mode: ADDED
2904 gnutls_record_disable_padding: ADDED
2906 * Version 2.0.2 (released 2007-10-17)
2908 ** TLS authorization support removed.
2909 This technique may be patented in the future, and it is not of crucial
2910 importance for the Internet community.  After deliberation we have
2911 concluded that the best thing we can do in this situation is to
2912 encourage society not to adopt this technique.  We have decided to
2913 lead the way with our own actions.
2915 ** certtool: Fixed data corruption when using --outder.
2917 ** Fix configure-time Guile detection.
2919 ** API and ABI modifications:
2920 GNUTLS_SUPPLEMENTAL_USER_MAPPING_DATA: ADDED.  To avoid that the
2921     gnutls_supplemental_data_format_type_t enum type becomes empty.
2923 * Version 2.0.1 (released 2007-09-20)
2925 ** New directory doc/credentials/ with test credentials.
2926 This collects the test credentials from the web page and from src/.
2927 The script gnutls-http-serv has also been moved to that directory.
2929 ** Update SRP extension type and cipher suite with official IANA values.
2930 This breaks backwards compatibility with SRP in older versions of
2931 GnuTLS, but this is intentional to speed up the adoption of the
2932 official values.  The old values we used were incorrect.
2934 ** Guile: Fix `x509-certificate-dn-oid'
2936 ** API and ABI modifications:
2937 No changes since last version.
2939 * Version 2.0.0 (released 2007-09-04)
2941 ** Included copy of Libtasn1 upgraded to version 1.1.
2943 ** Disable building of some examples if anonymous ciphers are disabled.
2945 ** Don't build examples for disabled features.
2947 ** API and ABI modifications:
2948 No changes since last version.
2950 * Version 1.7.19 (released 2007-08-27)
2952 ** Fix gnutls_error_is_fatal so that positive "errors" are non-critical.
2953 This solves connection problems in mutt, see
2954 <http://bugs.debian.org/439640>.
2956 ** Update gnulib files.
2957 In particular, the getpass module -- with its dependencies on getline,
2958 getdelim, fseeko etc -- where moved from the lgl/ (used by the core
2959 library) directory to the gl/ directory (only used by the command line
2960 tools).  The reason is that getpass is now only used by the
2961 command-line tools, and reducing the number of gnulib modules linked
2962 to the core library helps portability and reduces size.
2964 ** Fix warnings.
2966 ** Disable building of PGP examples if PGP is disabled.
2968 ** Included copy of OpenCDK upgraded to version 0.6.4.
2970 ** API and ABI modifications:
2971 No changes since last version.
2973 * Version 1.7.18 (released 2007-08-16)
2975 ** Install images for the info manual.
2976 This has a side effect of renaming the images.  See
2977 <http://thread.gmane.org/gmane.comp.tex.texinfo.bugs/3533> for
2978 discussions on the approach chosen.
2980 ** Fix pointer mix to variables of different size.
2981 Patch extracted from
2982 <http://cvs.fedora.redhat.com/viewcvs/devel/gnutls/gnutls-1.6.3-incompat-pointers.patch?rev=1.1&view=auto>.
2984 ** Fix warnings during build.
2985 Thanks to Andreas Metzler <ametzler@downhill.at.eu.org>.
2987 ** API and ABI modifications:
2988 No changes since last version.
2990 * Version 1.7.17 (released 2007-08-15)
2992 ** New functions to perform external signing.
2993 Set the signing callback function (of the gnutls_sign_func prototype)
2994 using the gnutls_sign_callback_set function.  In the callback, you may
2995 find the new functions gnutls_x509_privkey_sign_hash and
2996 gnutls_openpgp_privkey_sign_hash useful.  A new function
2997 gnutls_sign_callback_get is also added, to retrieve the function
2998 pointer.  Thanks to "Alon Bar-Lev" <alon.barlev@gmail.com> for
2999 comments and testing.
3001 ** New self test of client and server authenticated X.509 TLS sessions.
3002 See tests/x509self.c and tests/x509signself.c.  The latter also tests
3003 the new external signing callback interface.
3005 ** New errors GNUTLS_E_APPLICATION_ERROR_MIN..GNUTLS_E_APPLICATION_ERROR_MAX.
3006 These two actually describe the outer limits of a range of error codes
3007 reserved to the application.  All of the errors are treated as fatal
3008 by the library (it has to since it doesn't know the semantics of the
3009 error codes).  This can be useful in callbacks, to signal some
3010 application-specific error condition, which will usually eventually
3011 cause some gnutls API to return the same error code as the callback,
3012 which then can be inspected by the application.  Note that error codes
3013 are negative.
3015 ** gnutls_set_default_priority now disable TLS 1.2 by default.
3016 The RFC is not released yet, and we're approaching a major release so
3017 let's not enable it just yet.
3019 ** Fix namespace so that gnutls_*_t is used consistently.
3020 Before, many places in the GnuTLS code used the old deprecated type
3021 names without the '_t' suffix.
3023 ** Build fixes for Guile code.
3024 Patch from Ludovic Courtes <ludovic.courtes@laas.fr>.
3026 ** More documentation fixes.
3027 In particular, the section headings were modified for casing.  By
3028 Ludovic Courtes <ludovic.courtes@laas.fr>.
3030 ** Updated Polish and Swedish translations.
3031 Thanks to Jakub Bogusz <qboosh@pld-linux.org> and Daniel Nylander
3032 <po@danielnylander.se>.
3034 ** API and ABI modifications:
3035 gnutls_sign_func: ADD, new type for sign callback.
3036 gnutls_sign_callback_set: ADD, new function to set sign callback.
3037 gnutls_sign_callback_get: ADD, new function to retrieve sign callback.
3038 gnutls_x509_privkey_sign_hash,
3039 gnutls_openpgp_privkey_sign_hash: ADD, new functions useful in sign callback.
3040 GNUTLS_E_APPLICATION_ERROR_MIN,
3041 GNUTLS_E_APPLICATION_ERROR_MAX: ADD, new CPP #defines for error codes.
3043 * Version 1.7.16 (released 2007-08-07)
3045 ** Fix sanity checks and return values in certificate selection.
3046 In some cases, GnuTLS omitted to report suitable error codes when no
3047 suitable certificate was found.
3049 ** Fix gnutls-cli starttls EOF on Mac OS X.
3050 Thanks to Hal Eden <n.mavrogiannopoulos@gmail.com>.
3052 ** Documentation fixes.
3053 In particular, the section headings were modified for casing.  By
3054 Ludovic Courtes <ludovic.courtes@laas.fr>.
3056 ** Update gnulib files.
3058 ** API and ABI modifications:
3059 No changes since last version.
3061 * Version 1.7.15 (released 2007-07-02)
3063 ** Fix self-tests key-id under mingw32.
3065 ** Test that the Guile header files are recent enough to work.
3066 Before we just tested that the command line tool 'guile' was recent
3067 enough, which may not be sufficient if you still have an old
3068 libguile.h header installed.
3070 ** Guile bindings are now installed under $prefix by default.
3071 Use --without-guile-site-dir to install it under $pkgdatadir/site/
3072 where $pkgdatadir is as returned by "guile-config info pkgdatadir".
3073 Use --with-guile-site-dir=/your/own/path to specify the path manually.
3074 The default, --with-guile-site-dir, will install the Guile bindings
3075 under $datadir/guile/site.  There is a new section 'Guile
3076 Preparations' in the manual that discuss these issues.
3078 ** Fix run-time library path ordering in linking the Guile bindings.
3080 ** Improved manual on downloading, installing, getting help, bug reports etc.
3081 Suggested by Ludovic Courtès <ludovic.courtes@laas.fr>.
3083 ** Add Malay message translations.
3084 Thanks to Sharuzzaman Ahmat Raslan <sharuzzaman@myrealbox.com>.
3086 ** API and ABI modifications:
3087 No changes since last version.
3089 * Version 1.7.14 (released 2007-06-26)
3091 ** Don't enable Guile bindings unless we have Guile 1.8 or later.
3092 Patch from Ludovic Courtès <ludovic.courtes@laas.fr>.
3094 ** Fix memory leak during DSA signature verification.
3095 Patch from Ludovic Courtès <ludovic.courtes@laas.fr>.
3097 ** Fix crash in gnutls-cli when TLS handshake fails.
3098 Reported by Marc Haber <mh+debian-bugs@zugschlus.de> and Andreas
3099 Metzler <ametzler@downhill.at.eu.org> via Debian BTS #429183, see
3100 <http://bugs.debian.org/429183>.
3102 ** Minor OpenPGP fixes in stream_to_datum.
3103 Patch from Timo Schulz <twoaday@freakmail.de> and Ludovic Courtès
3104 <ludovic.courtes@laas.fr>.
3106 ** Fix off-by-one in TLS 1.2 handshake.
3107 Patch from Ludovic Courtès <ludovic.courtes@laas.fr>.
3109 ** Minor Guile binding self-test cleanup.
3110 Patch from Ludovic Courtès <ludovic.courtes@laas.fr>.
3112 ** Update gnulib files.
3114 ** API and ABI modifications:
3115 No changes since last version.
3117 * Version 1.7.13 (released 2007-06-11)
3119 ** OpenCDK copy updated to version 0.6.3.
3121 ** Build fixes for GnuTLS Guile bindings.
3122 Patch from Ludovic Courtès <ludovic.courtes@laas.fr>.
3124 ** Build fix for GTK-DOC manual.
3126 ** Update gnulib files.
3128 ** API and ABI modifications:
3129 No changes since last version.
3131 * Version 1.7.12 (released 2007-06-08)
3133 ** Guile bindings for GnuTLS have been included.
3134 Contributed by Ludovic Courtès <ludovic.courtes@laas.fr>.  There is a
3135 new chapter 'Guile Bindings' in the manual.
3137 ** Have PKCS8 parser return better error codes.
3138 Reported by Nate Nielsen <nielsen-list@memberwebs.com>, see
3139 <http://lists.gnupg.org/pipermail/gnutls-dev/2007-May/001653.html> and
3140 <http://lists.gnupg.org/pipermail/gnutls-dev/2007-May/001654.html>.
3142 ** Fix mem leak for sessions with client authentication via certificates.
3143 Reported by Andrew W. Nosenko <andrew.w.nosenko@gmail.com>, see
3144 <http://lists.gnupg.org/pipermail/gnutls-dev/2007-April/001539.html>.
3146 ** Fix mem leaks.
3147 Reported by Dennis Vshivkov <walrus@amur.ru>, see
3148 <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=333050>.  Added
3149 self-test tests/parse_ca.c to test regressions.
3151 ** Fix build failures related to missing images in manual.
3152 Reported by Andreas Metzler <ametzler@downhill.at.eu.org>.
3154 ** Update gnulib files.
3156 ** API and ABI modifications:
3157 No changes since last version.
3159 * Version 1.7.11 (released 2007-05-26)
3161 ** Include opencdk.h in the release.
3162 Reported by Roman Bogorodskiy <novel@FreeBSD.org>.
3164 ** API and ABI modifications:
3165 No changes since last version.
3167 * Version 1.7.10 (released 2007-05-25)
3169 ** New API functions to extract DER encoded X.509 Subject/Issuer DN.
3170 Suggested by Nate Nielsen <nielsen-list@memberwebs.com>.
3172 ** Update of gnulib files.
3174 ** GnuTLS is now developed in GIT instead of CVS.
3175 See <http://repo.or.cz/w/gnutls.git> for a public repository.
3177 ** API and ABI modifications:
3178 gnutls_x509_crt_get_raw_issuer_dn: ADD.
3179 gnutls_x509_crt_get_raw_dn: ADD.
3181 * Version 1.7.9 (released 2007-05-12)
3183 ** X.509 certificates are preferred over OpenPGP keys.
3184 This is a change in the semantics of gnutls_set_default_priority.
3186 ** The included copy of OpenCDK has been updated to 0.6.1.
3187 There has been some API changes in OpenCDK, and the GnuTLS layer have
3188 been modified as well.  Note that while there are API/ABI incompatible
3189 changes in OpenCDK, this does not influence GnuTLS's API/ABI because
3190 its API/ABI have not changed.  From this version on, GnuTLS requires
3191 OpenCDK 0.6.0 or later.
3193 ** Fix build failure caused by missing doc/gnutls-logo.pdf.
3195 ** Change certtool's default serial number from 0 to a time-based value.
3197 ** Fix X.509 signing with RSA-PKCS#1 to set a NULL parameters fields.
3198 Before, we remove the parameters field, which resulted in a slightly
3199 different DER encoding which in turn caused signature verification
3200 failures of GnuTLS-generated RSA certificates in some other
3201 implementations (e.g., GnuPG 2.x's gpgsm).  Depending on which RFCs
3202 you read, this may or may not be correct, but our new behaviour appear
3203 to be consistent with other widely used implementations.
3205 ** Fix mem leaks in gnutls_x509_crt_print.
3207 ** API and ABI modifications:
3208 No changes since last version.
3210 * Version 1.7.8 (released 2007-04-16)
3212 ** Added examples for the authorization extension.
3213 See doc/examples/ex-client-authz.c and doc/examples/ex-serv-authz.c.
3215 ** The examples only use gnutls_set_default_priority().
3216 The exception is when DH_ANON is needed.
3218 ** Improve gnutls_set_default_priority() priorities.
3219 The new approach is for it to try and negotiate all secure and
3220 standard mechanisms available.  Currently, DH_ANON ciphersuites and
3221 LZO compressions are not enabled by default, because they are,
3222 respectively, insecure and non-standardized.  Note that TLS 1.2 will
3223 not be enabled by default in non-experimental release until it has
3224 been approved by the IETF.
3226 ** gnutls-cli and gnutls-serv now uses the library's default priorities.
3227 This means that to get DH_ANON and LZO compression, you'll need to
3228 specify that manually using '--kx anon' or '--comp lzo'.
3230 ** Minor fixes to the human display format of X.509 certificates.
3232 ** New APIs to extract Distinguished Name's from X.509 certificates.
3233 Based on patch from Howard Chu <hyc@symas.com>.
3235 ** Improved library searching for opencdk.
3236 It will now add the appropriate -R or -Wl,-rpath flags as necessary.
3237 The deprecated opencdk.m4 is no longer used.
3239 ** New APIs to list supported algorithms in the library.
3240 The APIs are gnutls_cipher_list, gnutls_mac_list,
3241 gnutls_compression_list, gnutls_protocol_list,
3242 gnutls_certificate_type_list, gnutls_kx_list, and
3243 gnutls_cipher_suite_info.  Suggested by Howard Chu <hyc@symas.com>.
3245 ** The gnutls_x509_crt_get_key_id API now handle non-RSA/DSA keys.
3247 ** New configure option --disable-tls-authorization to disable tls-authz.
3249 ** Fix prototype for `gnutls_psk_set_client_credentials'.
3250 The last parameter was renamed from 'flags' to 'format' and the type
3251 changed from 'unsigned int' to 'gnutls_psk_key_flags' (an enum type),
3252 which shouldn't cause any ABI changes.  Reported by ludo@chbouib.org
3253 (Ludovic Courtès).
3255 ** Fix allocation in gnutls_certificate_set_openpgp_key.
3256 Tiny patch from ludo@chbouib.org (Ludovic Courtès).
3258 ** API and ABI modifications:
3259 gnutls_x509_dn_t: ADD.
3260 gnutls_x509_ava_st: ADD.
3261 gnutls_x509_crt_get_subject,
3262 gnutls_x509_crt_get_issuer: ADD.
3263 gnutls_x509_dn_get_rdn_ava: ADD.
3264 gnutls_cipher_list: ADD.
3265 gnutls_mac_list: ADD.
3266 gnutls_compression_list: ADD.
3267 gnutls_protocol_list: ADD.
3268 gnutls_certificate_type_list: ADD.
3269 gnutls_kx_list: ADD.
3270 gnutls_cipher_suite_info: ADD.
3272 * Version 1.7.7 (released 2007-02-22)
3274 ** Support for supplemental handshake messages and authorization data.
3275 Supplemental data is described in RFC 4680 and the authorization
3276 extensions in draft-housley-tls-authz-extns-07.
3278 ** Support for authorization data in gnutls-cli and gnutls-serv.
3279 New parameters --authz-x509-attr-cert and --authz-saml-assertion.
3281 ** Fix for gnutls_x509_crt_check_hostname.
3282 Before it would have reported that the certificate matched a hostname
3283 when it did not have any dNSName or any CN field.  Report and tiny
3284 patch from "Richard W.M. Jones" <rjones@redhat.com>.
3286 ** New self test for RFC 2818 comparison in gnutls_x509_crt_check_hostname.
3287 Tests regressions of the bug, and several other features.
3289 ** GnuTLS now matches URI's with IP Addresses against iPAddress SAN's.
3290 Before there were no support for iPAddress SAN's during comparison.
3292 ** New API to print information about CRL's.
3293 The function is gnutls_x509_crl_print.
3295 ** New API to extract signature value from CRL's.
3296 The function is gnutls_x509_crl_get_signature.
3298 ** Support for directoryName Subject Alternative Name's.
3299 The gnutls_x509_crt_get_subject_alt_name function returns the DN as a
3300 string in the provided buffer.
3302 ** Internal improvements to certtool.
3303 It uses gnutls_x509_crl_print to print CRL information.  It uses some
3304 more gnulib modules to simplify error handling.
3306 ** API and ABI modifications:
3307 GNUTLS_HANDSHAKE_SUPPLEMENTAL: ADD, new gnutls_handshake_description_t element.
3308 gnutls_supplemental_data_format_type_t: ADD.
3309 gnutls_authz_data_format_type_t: ADD.
3310 gnutls_supplemental_get_name: ADD.
3311 gnutls_authz_recv_callback_func,
3312 gnutls_authz_send_callback_func: ADD, callback prototypes.
3313 gnutls_authz_enable: ADD.
3314 gnutls_authz_send_x509_attr_cert,
3315 gnutls_authz_send_saml_assertion,
3316 gnutls_authz_send_x509_attr_cert_url,
3317 gnutls_authz_send_saml_assertion_url: ADD.
3318 GNUTLS_SAN_DN: ADD, new gnutls_x509_subject_alt_name_t element.
3319 gnutls_x509_crl_print: ADD.
3320 gnutls_x509_crl_get_signature: ADD.
3322 * Version 1.7.6 (released 2007-02-12)
3324 ** Support for 'otherName' Subject Alternative Names.
3325 The existing API gnutls_x509_crt_get_subject_alt_name may now return
3326 the new type GNUTLS_SAN_OTHERNAME together with the otherName value.
3327 To find out the otherName OID (necessary for proper parsing of the
3328 value), use the new API gnutls_x509_crt_get_subject_alt_othername_oid.
3329 For known OIDs, gnutls_x509_crt_get_subject_alt_othername_oid will
3330 return "virtual" SAN values, e.g., GNUTLS_SAN_OTHERNAME_XMPP to
3331 simplify OID matching.  Suggested by Matthias Wimmer <m@tthias.eu>.
3333 ** Certtool can print otherName SAN values for certificates.
3334 For known otherName OIDs (currently only id-on-xmppAddr as defined by
3335 RFC 3920), it will also print the name.
3337 ** Fix TLS 1.2 RSA signing in servers.
3338 Before it used the old-style MD5+SHA1 signature, but the TLS
3339 signatures should be normal PKCS#1 signatures.  FYI, we use and
3340 require that DigestInfo parameters are present and NULL for TLS 1.2.
3342 ** Add APIs to access X.509 extensions sequentially.
3343 The existing APIs gnutls_x509_crt_get_extension_oid() and
3344 gnutls_x509_crt_get_extension_by_oid() does not permit callers to
3345 inspect the extensions in the order defined by the certificate.
3347 ** Add API to extract signature value from X.509 certificates.
3348 The function is gnutls_x509_crt_get_signature.
3350 ** Fix crash when generating proxy certificates in batch mode.
3351 If you don't specify a proxy policy in batch mode, it will use
3352 id-ppl-inheritALL.
3354 ** Add API to print information about X.509 certificates.
3355 The function is gnutls_x509_crt_print.
3357 ** Certtool uses the new API gnutls_x509_crt_print to print certificate info.
3358 One consequence of this is that the output syntax has changed
3359 slightly.  Some more fields are printed.
3361 ** Doc fixes.
3363 ** API and ABI modifications:
3364 gnutls_x509_crt_print: ADD
3365 gnutls_certificate_print_formats_t: ADD, new enum.
3366 gnutls_x509_crt_get_signature: ADD.
3367 gnutls_x509_crt_get_extension_data: ADD.
3368 gnutls_x509_crt_get_extension_info: ADD.
3369 gnutls_x509_crt_get_subject_alt_othername_oid: ADD.
3370 GNUTLS_SAN_OTHERNAME: ADD, new gnutls_x509_subject_alt_name_t element.
3371 GNUTLS_SAN_OTHERNAME_XMPP: ADD, new gnutls_x509_subject_alt_name_t element.
3373 * Version 1.7.5 (released 2007-02-06)
3375 ** Servers won't negotiate SRP RSA/DSS cipher suites if no SRP credential
3376 ** is set.
3378 ** Default behaviour for the gnutls-cli and gnutls-serv tools improved.
3380 ** Fix --list output for gnutls-cli and gnutls-serv.
3381 Mention TLS1.2, SHA512 etc.
3383 ** Manual contains new section on setting up a test HTTP server.
3384 A server set up following those descriptions are available online via
3385 <http://www.gnutls.org/server.html>.
3387 ** Update of gnulib files.
3389 ** API and ABI modifications:
3390 No changes since last version.
3392 * Version 1.7.4 (released 2007-02-05)
3394 ** Support for RSA signing using SHA-256/384/512.
3395 A new self test "sha2" tries to build a long X.509 certificate chain
3396 testing all new hashes.
3398 ** The gnutls-serv tool now use static DH parameters if none are supplied.
3400 ** Discuss proxy certificates in the manual.
3402 ** Improve bibliographical citations in the manual.
3404 ** Update of gnulib files.
3406 ** Fix certtool template handling of pathLenConstraints.
3407 It now defaults to -1 instead of 0, which causes the field to be
3408 missing unless the template specify it.
3410 ** API and ABI modifications:
3411 GNUTLS_MAC_SHA256,
3412 GNUTLS_MAC_SHA384,
3413 GNUTLS_MAC_SHA512: New gnutls_mac_algorithm_t values.
3414 GNUTLS_DIG_SHA256,
3415 GNUTLS_DIG_SHA384,
3416 GNUTLS_DIG_SHA512: New gnutls_digest_algorithm_t values.
3417 GNUTLS_SIGN_RSA_SHA256,
3418 GNUTLS_SIGN_RSA_SHA384,
3419 GNUTLS_SIGN_RSA_SHA512: New gnutls_sign_algorithm_t values.
3421 * Version 1.7.3 (released 2007-02-01)
3423 ** New option to certtool: --generate-proxy.
3424 This will generate a Proxy Certificate from an end entity certificate.
3425 Proxy Certificates are documented in RFC 3820.  You will need to
3426 specify the proxy certificate's private key with --load-privkey, the
3427 user certificate with --load-certificate and the private key used to
3428 sign the new proxy certificate with --load-ca-privkey.  Certtool will
3429 query for proxy path length and the policy language OID.  Currently
3430 only OIDs that have an empty policy are supported (which includes the
3431 two OIDs defined by RFC 3820).
3433 ** Certtool --certificate-info now prints information for Proxy Certificates.
3434 Before the proxy extension was just printed as DER encoded data.
3436 ** New APIs to set proxy subject names and get/set proxy cert extension.
3438 ** Fix parsing of pathLenConstraints in BasicConstraints with missing cA.
3440 ** Added self-test to test for regressions of pathLenConstraint bug.
3441 Incidentally, this also test (some) other regressions or changes in
3442 the output from certtool --certificate-info.
3444 ** When certtool generates CA certificates, pressing enter on the path
3445 ** length constraint query will now remove the field.
3446 Before it set the path length constraint to 0, which is a rather poor
3447 default.
3449 ** Certtool now print times in UTC when printing certificate/CRL info.
3451 ** Add better fix to work around C++ compiler bug on Mac OS X.
3452 Reported and tiny patch provided by Matthias Scheler <tron@NetBSD.org>.
3454 ** Fix import of ASCII armored OpenPGP keys.
3455 Patch by ludovic.courtes@laas.fr (Ludovic Courtès).
3457 ** Update of gnulib files.
3459 ** API and ABI modifications:
3460 gnutls_x509_crt_set_proxy_dn: ADD.
3461 gnutls_x509_crt_set_proxy: ADD.
3462 gnutls_x509_crt_get_proxy: ADD.
3464 * Version 1.7.2 (released 2007-01-14)
3466 ** Certtool now print the value of the pathLenConstraints field for certs.
3468 ** Certtool now query for path length constraints when generating CA certs.
3469 For batch uses, the certtool configuration name is "path_len".
3470 Suggested by Sascha Ziemann <sascha.ziemann@secunet.com>.
3472 ** Add new API to get/set pathLenConstraint in the Basic Constraints.
3473 The new functions gnutls_x509_crt_get_basic_constraints and
3474 gnutls_x509_crt_set_basic_constraints provide a superset of the
3475 functionality in the old gnutls_x509_crt_get_ca_status and
3476 gnutls_x509_crt_set_ca_status (respectively), but the old functions
3477 will continue to be supported.
3479 ** Add new API in OpenCDK to extract public/secret OpenPGP key to S-expr.
3480 The functions are cdk_pubkey_to_sexp and cdk_seckey_to_sexp.  A proper
3481 OpenCDK release with this patch will be made soon, which should bump
3482 the OpenCDK version number.  Patch by Mario Lenz <mario.lenz@gmx.net>.
3484 ** Certtool --to-p12 can now store more than one certificate in the blob.
3485 Before it could only store one certificate, but now it will read and
3486 store as many certificate there are from the --load-certificate file.
3487 Suggested by Sascha Ziemann <sascha.ziemann@secunet.com>.
3489 ** Clean up separation of gnutls and gnutls-extra for OpenPGP.
3490 In particular, the OpenPGP function variables are no longer part of
3491 the exported libgnutls interface, and no header files from
3492 libgnutls-extra (GPL) are needed by libgnutls (LGPL).  The variables
3493 were never intended for non-internal purposes, and thus this does not
3494 imply a change in the external API/ABI.
3496 ** Print URL to gaa when missing, and fix srcdir!=builddir for GAA files.
3497 Reported by ludovic.courtes@laas.fr (Ludovic Courtès).
3499 ** GnuTLS no longer uses -mms-bitfields --enable-runtime-pseudo-reloc.
3500 Before these parameters were set to make GnuTLS build under mingw32,
3501 however, they appear to no longer be necessary.
3503 ** A minor fix to the C++ library to make it build.
3504 Reported by Pavlov Konstantin <thresh@altlinux.ru>.
3506 ** Update of gnulib files.
3508 ** API and ABI modifications:
3509 gnutls_x509_crt_get_basic_constraints: ADD.
3510 gnutls_x509_crt_set_basic_constraints: ADD.
3511 cdk_pubkey_to_sexp: ADD (in opencdk).
3512 cdk_seckey_to_sexp: ADD (in opencdk).
3514 * Version 1.7.1 (released 2006-12-28)
3516 ** TLS 1.2 server side fix.
3517 The Certificate Request sent did not contain the list of supported
3518 hashes field, thus violating the protocol.  It will now contain an
3519 empty list.  Reported by ludovic.courtes@laas.fr (Ludovic Courtès).
3521 ** TLS 1.2 DSA signature verification fix.
3522 Reported by ludovic.courtes@laas.fr (Ludovic Courtès).
3524 ** Fix the list of trusted CAs that server's send to clients.
3525 Before, the list contained issuer DN's instead of subject DN's of the
3526 trusted CAs.  Reported by Max Kellermann <max@duempel.org>.
3528 ** Fix gnutls_certificate_set_x509_crl to initialize the CRL before using it.
3529 Also added a self-test in tests/certificate_set_x509_crl.c to test the
3530 function.  Reported by Max Kellermann <max@duempel.org>.
3532 ** Encode UID fields in DN's as DirectoryString.
3533 Before GnuTLS encoded and parsed UID fields as IA5String.  This was
3534 incorrect, it should have used DirectoryString.  Now it will use
3535 DirectoryString for the UID field, but for backwards compatibility it
3536 will also accept IA5String UID's.  Reported by Max Kellermann
3537 <max@duempel.org>.
3539 ** Improve out-of-sourcedir builds from CVS.
3540 Reported by ludovic.courtes@laas.fr (Ludovic Courtès).
3542 ** Bootstrap tools changed.
3543 We now require autoconf 2.61, automake 1.10, and gettext 0.16, when
3544 building GnuTLS from CVS.  Libtool 1.5.22 is used.
3546 ** Fixed a syntax error in lib/gnutls.asn.
3547 Reported by Paul Millar <p.millar@physics.gla.ac.uk>.
3549 ** Added German translation of GnuTLS messages.
3551 ** Update of gnulib files.
3553 ** API and ABI modifications:
3554 No changes since last version.
3556 * Version 1.7.0 (released 2006-11-29)
3558 ** The default protocol priority try TLS 1.1 and TLS 1.2 too.
3559 The details is that the protocol priority set by
3560 `gnutls_set_default_priority' has been changed from TLS 1.0 and SSL
3561 3.0 to TLS 1.2, TLS 1.1, TLS 1.0 and SSL 3.0.
3563 ** Preliminary support for TLS 1.2.
3564 The client has been successfully tested against
3565 https://www.mikestoolbox.org:4433/.
3567 ** Anonself test now print a lot of debugging info, including TLS version.
3569 ** Doc fixes in OpenCDK, to avoid some gtk-doc warnings.
3571 ** Update of gnulib files.
3573 ** API and ABI modifications:
3574 GNUTLS_TLS1_2: New gnutls_protocol_t enum member.
3576 *** Pulled up from stable 1.6.x branch:
3578 ** Fix ./configure failure with non-GCC compilers.
3579 This fixes the following error message:
3580 configure: error: conditional "HAVE_LD_OUTPUT_DEF" was never defined.
3581 Reported by "Michael C. Vergallen" <mvergall@telenet.be>.
3583 * Version 1.6.3 (released 2007-05-26)
3585 ** New API functions to extract DER encoded X.509 Subject/Issuer DN.
3586 Suggested by Nate Nielsen <nielsen-list@memberwebs.com>.  Backported
3587 from the 1.7.x branch, see
3588 <http://lists.gnu.org/archive/html/help-gnutls/2007-05/msg00029.html>.
3590 ** Have PKCS8 parser return better error codes.
3591 Reported by Nate Nielsen <nielsen-list@memberwebs.com>, see
3592 <http://lists.gnupg.org/pipermail/gnutls-dev/2007-May/001653.html> and
3593 <http://lists.gnupg.org/pipermail/gnutls-dev/2007-May/001654.html>.
3595 ** Fix mem leak for sessions with client authentication via certificates.
3596 Reported by Andrew W. Nosenko <andrew.w.nosenko@gmail.com>, see
3597 <http://lists.gnupg.org/pipermail/gnutls-dev/2007-April/001539.html>.
3599 ** Fix building of 'tlsia' self test.
3600 Earlier some gcc are known to build tlsia linking to
3601 $prefix/lib/libgnutls-extra.so rather than the libgnutls-extra.so in
3602 the build directory, even though command line parameters look OK.
3603 Changing order of some parameters fixes it.
3605 ** API and ABI modifications:
3606 gnutls_x509_crt_get_raw_issuer_dn: ADD.
3607 gnutls_x509_crt_get_raw_dn: ADD.
3609 * Version 1.6.2 (released 2007-04-18)
3611 ** Fix X.509 signing with RSA-PKCS#1 to set a NULL parameters fields.
3612 Before, we remove the parameters field, which resulted in a slightly
3613 different DER encoding which in turn caused signature verification
3614 failures of GnuTLS-generated RSA certificates in some other
3615 implementations (e.g., GnuPG 2.x's gpgsm).  Depending on which RFCs
3616 you read, this may or may not be correct, but our new behaviour appear
3617 to be consistent with other widely used implementations.
3619 ** Regenerate the PKIX ASN.1 syntax tree.
3620 For some reason, after changing the ASN.1 type of ldap-UID in the last
3621 release, the generated C file built from the ASN.1 schema was not
3622 refreshed.  This can cause problems when reading/writing UID
3623 components inside X.500 Distinguished Names.  Reported by devel
3624 <dev001@pas-world.com>.
3626 ** Updated translations.
3628 ** API and ABI modifications:
3629 No changes since last version.
3631 * Version 1.6.1 (released 2006-12-28)
3633 ** Fix the list of trusted CAs that server's send to clients.
3634 Before, the list contained issuer DN's instead of subject DN's of the
3635 trusted CAs.  Reported by Max Kellermann <max@duempel.org>.
3637 ** Fix gnutls_certificate_set_x509_crl to initialize the CRL before using it.
3638 Reported by Max Kellermann <max@duempel.org>.
3640 ** Encode UID fields in DN's as DirectoryString.
3641 Before GnuTLS encoded and parsed UID fields as IA5String.  This was
3642 incorrect, it should have used DirectoryString.  Now it will use
3643 DirectoryString for the UID field, but for backwards compatibility it
3644 will also accept IA5String UID's.  Reported by Max Kellermann
3645 <max@duempel.org>.
3647 ** Fix ./configure failure with non-GCC compilers.
3648 This fixes the following error message:
3649 configure: error: conditional "HAVE_LD_OUTPUT_DEF" was never defined.
3650 Reported by "Michael C. Vergallen" <mvergall@telenet.be>.
3652 ** API and ABI modifications:
3653 No changes since last version.
3655 * Version 1.6.0 (released 2006-11-17)
3657 ** No changes since 1.5.5.
3658 The major changes compared to the 1.4.x branch are:
3660 *** A GnuTLS C++ library is part of the official distribution.
3661 Currently there are no examples or documentation, but hopefully this
3662 will change.  See gnutlsxx.h for the API.
3664 *** Windows is a supported platform.
3665 There are, however, two know bugs.  One is related to select() in
3666 command line tools (not, nota bene, in the library), the other is a
3667 problem with libgcrypt that causes delays.  Help is needed to resolve
3668 those issues, so we feel we can't delay the release because of this.
3670 *** New APIs for custom push/pull function error reporting.
3671 The new APIs are gnutls_transport_set_errno and
3672 gnutls_transport_set_global_errno.  See the release notes for version
3673 1.5.4 for more information.
3675 *** Self tests are run under valgrind, if available.  See --disable-valgrind.
3677 * Version 1.5.5 (released 2006-11-16)
3679 ** Correctly bump shared library version after adding new APIs.
3680 This was forgotten in the last release.
3682 ** Fix unsigned vs signed problem in ex-x509-info.c example.
3683 Reported by Tim Kosse <tim.kosse@filezilla-project.org>.
3685 ** Fix the rsa-md5-collision self test to work for MinGW+Wine.
3687 ** Update of gnulib files.
3689 ** API and ABI modifications:
3690 No changes since last version.
3692 * Version 1.5.4 (released 2006-11-07)
3694 ** New API functions to set errno in push/pull functions.
3695 Under Windows, setting the errno variable in a push/pull replacement
3696 may end up setting the wrong errno variable, and GnuTLS send/recv
3697 functions become confused about the real errno returned from a failed
3698 push/pull function.  Therefor, we have added two APIs to set the errno
3699 variable used by GnuTLS.  The APIs can also help to keep things
3700 thread-safe, by avoiding potentially global variables.  Typically,
3701 instead of setting errno in your push/pull function, you will call one
3702 of these functions.  It is recommended to use
3703 gnutls_transport_set_errno, but if you don't have the session variable
3704 easily accessible in the push/pull replacement function, you can use
3705 gnutls_transport_set_global_errno.  Suggested by Tim Kosse
3706 <tim.kosse@filezilla-project.org>.
3708 void gnutls_transport_set_errno (gnutls_session_t session, int err);
3709 void gnutls_transport_set_global_errno (int err);
3711 ** When calling `recv' or `send' Windows errors are handled properly.
3712 The Windows recv/send functions doesn't use errno, and GnuTLS now use
3713 WSAGetLastError to access the error condition instead.
3715 ** Several OpenPGP API fixes.
3716 All suggested by ludovic.courtes@laas.fr (Ludovic Courtès).  The most
3717 important fix is to change the return value of
3718 gnutls_openpgp_privkey_get_pk_algorithm and
3719 gnutls_openpgp_key_get_pk_algorithm from 'int' to
3720 'gnutls_pk_algorithm_t', which is an enum type (and thus API/ABI
3721 compatible with 'int').
3723 ** When a GnuTLS server receive a SSLv2 Client Hello for an unknown TLS
3724 ** version, try to negotiate the highest version support by the GnuTLS server,
3725 ** instead of the lowest.
3726 Reported by <Pasi.Eronen@nokia.com>.
3728 ** Replace old constructs with use of gnulib modules.
3729 For example, we can now assume unistd.h, sys/stat.h, sys/socket.h in
3730 the code.  If the headers doesn't exist on the target system, gnulib
3731 will make sure its replacement header files are used instead.
3733 ** Fix SOVERSION computation for *.def files.
3734 This fixes build errors similar to "No rule to make target
3735 `libgnutls-`expr', needed by `all-am'." when building for Windows.
3737 ** gnutls_check-version uses strverscmp from gnulib.
3739 ** Update of gnulib files.
3741 ** API and ABI modifications:
3742 gnutls_transport_set_errno: ADD
3743 gnutls_transport_set_global_errno: ADD
3745 * Version 1.5.3 (released 2006-10-26)
3747 ** Add new self-test of RSA-MD5 signature chains.
3748 Note that we already, since GnuTLS 1.2.9, reject RSA-MD5 signatures
3749 when verifying X.509 chains.  The code is in tests/rsa-md5-collision/
3750 and is based on the work by Marc Stevens et al, see
3751 <http://www.win.tue.nl/hashclash/TargetCollidingCertificates/>.
3753 ** Re-factor self tests.
3755 ** The include copy of Libtasn1 is updated to version 0.3.7.
3757 ** The included copy of OpenCDK is updated to version 0.5.11.
3759 ** Fix the filename of the *.def file on Windows after library version bump.
3761 ** Separated the gnulib directory into one for LGPL modules and one for GPL.
3762 This allows the GPL'd part of GnuTLS to take advantage of the GPL'd
3763 gnulib modules.  Earlier we could only use the LGPL'ed module from
3764 gnulib, because two gnulib directories in the same project didn't
3765 work.
3767 ** API and ABI modifications:
3768 No changes since last version.
3770 * Version 1.5.2 (released 2006-10-03)
3772 ** Decrement the shared library version back to 13 (as in the 1.4.x branch).
3773 Note that if you installed 1.5.0 or 1.5.1, they will have a higher
3774 shared library version than this version, so you'll have to remove
3775 them and possibly relink your applications.  The reason for this is
3776 that no API/ABI changes have been made since the 1.4.x branch, and
3777 that incrementing the shared library version was a mistake.  Reported
3778 by Andreas Metzler <ametzler@downhill.at.eu.org>.
3780 ** Fix off-by-one error when computing length to malloc.
3781 The code is used by gnutls_openpgp_add_keyring_file and
3782 gnutls_openpgp_add_keyring_mem.  Reported by "Adam Langley"
3783 <agl@imperialviolet.org>.
3785 ** Add version script for the GnuTLS C++ library.
3786 Reported by Andreas Metzler <ametzler@downhill.at.eu.org>.
3788 ** Fix the C++ compiler detection logic.
3789 Reported by Andreas Metzler <ametzler@downhill.at.eu.org>.
3791 ** Update of gnulib files.
3793 ** API and ABI modifications:
3794 No changes since last version.
3796 * Version 1.5.1 (released 2006-09-21)
3798 ** Fix PKCS#1 verification to avoid a variant of Bleichenbacher's
3799 ** Crypto 06 rump session attack.
3800 In particular, we check that the digestAlgorithm.parameters field is
3801 missing or empty, to avoid that it can contain "garbage" that may be
3802 used to alter the numeric properties of the signature.  See
3803 <http://www.imc.org/ietf-openpgp/mail-archive/msg14307.html> (which is
3804 not exactly the same as the problem we fix here).  Reported by Yutaka
3805 OIWA <y.oiwa@aist.go.jp>.
3807 See GNUTLS-SA-2006-4 on http://www.gnutls.org/security.html for more
3808 up to date information.
3810 ** Add self test to test for above flaw.
3812 ** Fix gnutls-cli-debug regarding resume support detection.
3813 Earlier, if the session-id from the server had a length of 0, it would
3814 indicate that the server supports resumption, which isn't the case.
3815 Reported by Kataja Kai <kai.kataja@op.fi>.
3817 ** Fix building of examples on FreeBSD by including netinet/in.h.
3818 Reported by Roman Bogorodskiy <novel@FreeBSD.org>.
3820 ** Fix certtool bug that caused the private key to not be loaded when
3821 generating a certificate with --load-request, which in turn triggered
3822 another unrelated bug in gnutls_x509_crt_sign2 (also fixed).  Reported
3823 by Sascha Ziemann <sascha.ziemann@secunet.com>.
3825 ** gnutls-cli and gnutls-serv works on Windows.
3826 The problem was the select() call that doesn't work on file
3827 descriptors (stdin) on Windows.  We borrowed some code from plibc to
3828 solve this.  It appears to be somewhat unreliable though.
3830 ** Autoconf 2.60 is now used.
3832 ** API and ABI modifications:
3833 No changes since last version.
3835 * Version 1.5.0 (released 2006-08-13)
3837 ** Change SRP and Cert-Type extensions to match IANA registry.
3839 ** Fixed bug in OpenPGP authentication handshake.
3841 ** Improvements for building under MinGW.
3842 Provides internal inet_ntop and inet_pton functions and arpa/inet.h
3843 header.  Calls WSAStartup and WSACleanup in gnutls_global_init and
3844 gnutls_global_deinit, respectively.  Loads getaddrinfo and getnameinfo
3845 at run-time from ws2_32.dll, and falls back on a simple replacement if
3846 it is not available.  Builds the library with -mms-bitfields
3847 -Wl,--enable-runtime-pseudo-reloc.  Links with --output-def, to
3848 create *.def files, which are installed.
3850 ** The examples now (conditionally) include config.h and link to gnulib.
3851 No other source changes were necessary, so the examples should
3852 continue to be possible to use stand-alone without any autoconf or
3853 gnulib stuff.
3855 ** Added C++ header "gnutlsxx.h" and library "libgnutlsxx".
3856 You may unconditionally disable it with --disable-cxx.  See
3857 includes/gnutls/gnutlsxx.h and lib/gnutlsxx.cpp for the
3858 implementation.
3860 ** Made command line tool '--version' behave according to GNU Standards.
3861 This enables 'make distcheck' to succeed.
3863 ** OpenCDK updated to 0.5.9 to fix some problems with OpenPGP support.
3865 ** Make --without-included-libtasn1 work.
3866 Reported by Daniel Black <dragonheart@gentoo.org>.
3868 ** Fix a crash (strcmp() on a NULL value) in the certificate verification logic.
3869 See http://www.gnu.org/software/gnutls/security.html regardging
3870 GNUTLS-SA-2006-2 for more up to date information.  Reported by
3871 satyakumar <satyam_kkd@hyd.hellosoft.com>.
3873 ** API and ABI modifications:
3874 No changes since last version.
3876 * Version 1.4.5 (released 2006-11-06)
3878 ** When a GnuTLS server receive a SSLv2 Client Hello for an unknown TLS
3879 ** version, try to negotiate the highest version support by the GnuTLS server,
3880 ** instead of the lowest.
3881 Reported by <Pasi.Eronen@nokia.com>.
3883 ** Fix typo in doc/examples/ex-serv-pgp.c.
3884 Reported by Adam Langley" <agl@imperialviolet.org>.
3886 ** API and ABI modifications:
3887 No changes since last version.
3889 * Version 1.4.4 (released 2006-09-12)
3891 ** Relax the test that caught signatures that exploit the variant of
3892 ** Bleichenbacher's Crypto 06 rump session attack on our
3893 ** verification logic flaw.
3894 In particular, we now permit the digestAlgorithm.parameters field to
3895 be present but empty, whereas in 1.4.3 we actually checked that the
3896 field was absent.
3898 ** Revert the removal of debug information for the GNUTLS-SA-2006-3 problem.
3899 The messages are only printed in debug mode, which is not recommended
3900 for normal use, and thus logging this situation cannot be abused as an
3901 oracle in typical recommended situations.
3903 ** API and ABI modifications:
3904 No changes since last version.
3906 * Version 1.4.3 (released 2006-09-08)
3908 ** Fix PKCS#1 verification to avoid a variant of Bleichenbacher's
3909 ** Crypto 06 rump session attack.
3910 In particular, we check that the digestAlgorithm.parameters field is
3911 empty, to avoid that it can contain "garbage" that may be used to
3912 alter the numeric properties of the signature.  See
3913 <http://www.imc.org/ietf-openpgp/mail-archive/msg14307.html> (which is
3914 not exactly the same as the problem we fix here).  Reported by Yutaka
3915 OIWA <y.oiwa@aist.go.jp>.
3917 See GNUTLS-SA-2006-4 on http://www.gnutls.org/security.html for more
3918 up to date information.
3920 ** Fix PKCS#1 decryption to avoid Bleichenbacher's Crypto 98 attack.
3921 See <http://www.bell-labs.com/user/bleichen/papers/pkcs.ps.gz>.
3922 Reported by Werner Koch <wk@gnupg.org>.
3924 See GNUTLS-SA-2006-3 on http://www.gnutls.org/security.html for more
3925 up to date information.
3927 ** Fix crash in gnutls_x509_crt_sign2 if passed a NULL issuer_key.
3929 ** API and ABI modifications:
3930 No changes since last version.
3932 * Version 1.4.2 (released 2006-08-12)
3934 ** Fix a crash (strcmp() on a NULL value) in the certificate verification logic.
3935 This can happen if you call gnutls_certificate_verify_peers2 and have
3936 a certain mix of local CA certificates and the peer send special
3937 certificates, that together trigger certain behaviour.  It is not
3938 known at this point whether the crash can be triggered without the
3939 special local CA certificate, and thus turn this into a remote crash
3940 of clients that verify server certificates when they talk to a server
3941 with the special server certificate.  See GNUTLS-SA-2006-2 on
3942 http://www.gnu.org/software/gnutls/security.html for more up to date
3943 information.  Reported by satyakumar <satyam_kkd@hyd.hellosoft.com>.
3945 ** Change SRP and Cert-Type extensions to match IANA registry.
3947 ** OpenCDK updated to 0.5.9 to fix some problems with OpenPGP support.
3949 ** Make --without-included-libtasn1 work.
3950 Reported by Daniel Black <dragonheart@gentoo.org>.
3952 ** API and ABI modifications:
3953 No changes since last version.
3955 * Version 1.4.1 (released 2006-06-14)
3957 ** Replaced inactive ifdefs to enable openpgp support in test programs.
3959 ** Fixed bug in OpenPGP authentication handshake.
3961 ** Fixed typographical in man pages.
3963 ** Build fixes of the manual.
3965 ** Added Swedish translation.
3967 ** API and ABI modifications:
3968 No changes since last version.
3970 * Version 1.4.0 (released 2006-05-15)
3972 ** Remove GnuTLS 0.8.x compatibility functions.
3974 ** The libgcrypt RNG is initialized in gnutls_global_init().
3976 ** TLS/IA API changes from Emile van Bergen.
3977 A dummy credential structure is not needed now, if you wish to use the
3978 low-level TLS/IA API, simply call gnutls_ia_enable to enable TLS/IA on
3979 a session.
3981 ** The self-tests are now run under valgrind, if it is installed.
3983 ** Libtasn1 is updated to 0.3.4, and that version is now required.
3985 ** The command line tools now use getaddrinfo and support IPv6.
3987 ** API and ABI modifications:
3988 _gnutls_x509_get_raw_crt_activation_time,
3989 _gnutls_x509_get_raw_crt_expiration_time: Removed.
3990 gnutls_ia_require_inner_phase: Removed, replaced by gnutls_ia_enable.
3991 gnutls_ia_enable: Added.
3993 * Version 1.3.5 (released 2006-03-08)
3995 ** Error messages are now translated using GNU Gettext.
3997 ** The function gnutls_x509_crt_to_xml now return an internal error.
3998 This means that the code to convert X.509 certificates to XML format
3999 does not work any more.  The reason is that the function called
4000 libtasn1 internal functions.  It seems unclean for libtasn1 to export
4001 the APIs needed here.  Instead it would be better to implement XML
4002 support inside libtasn1 properly.  If you need this functionality
4003 strongly, please consider looking into implementing this suggested
4004 approach instead.  As a workaround, you may also modify lib/x509/xml.c
4005 (change '#if 1' to '#if 0') and build using --with-included-libtasn1.
4007 ** Libraries are now built with libtool's -no-undefined.
4008 This helps producing libraries for Windows using mingw32.
4010 ** Doc fixes to explain that gnutls_record_send can block.
4012 ** Libtasn1 0.3.1 or later is now required.
4013 The include copy has been updated too.
4015 ** gnutls-cli can now recognize services and port numbers with the -p option.
4017 ** API and ABI modifications:
4018 No changes since last version.
4020 * Version 1.3.4 (released 2006-02-09)
4022 ** Fix read of out bounds bug in DER parser.
4023 Reported by Evgeny Legerov <admin@gleg.net>, and debugging help from
4024 Protover SSL.  Libtasn1 0.2.18 is now required, which contains the
4025 previous bug fix.  The included libtasn1 version in GnuTLS has been
4026 updated.
4028 ** Fixed bug in non-blocking gnutls_bye(). gnutls_record_send() will no 
4029 longer invalidate a session if the underlying send fails, but it will 
4030 prevent future writes. That is to allow reading the already received data.
4031 Patches and bug reports by Yoann Vandoorselaere <yoann@prelude-ids.org>
4033 ** Corrected bugs in gnutls_certificate_set_x509_crl() and
4034 gnutls_certificate_set_x509_trust(), that caused memory corruption if 
4035 more than one certificates were added. Report and patch by Max Kellermann.
4037 ** Fix build problems of OpenCDK on AIX.
4038 Thanks to "Heiden, John" <JHeiden@UTNet.UToledo.Edu>.
4040 ** API and ABI modifications:
4041 No changes since last version.
4043 * Version 1.3.3 (released 2006-01-12)
4045 ** New API to access the TLS master secret.
4046 When possible, you should use the TLS PRF functions instead.
4047 Suggested by Jouni Malinen <jkmaline@cc.hut.fi>.
4049 ** Improved handling when multiple libraries use GnuTLS at the same time.
4050 Now gnutls_global_init() can be called multiple times, and
4051 gnutls_global_deinit() will only deallocate the structure when it has
4052 been called as many times as gnutls_global_init() was called.
4054 ** Added a self test of TLS resume functionality.
4056 ** Fix crash in TLS resume code, caused by TLS/IA changes.
4058 ** Documentation fixes about thread unsafety, prompted by
4059 ** discussion with bryanh@giraffe-data.com (Bryan Henderson).
4060 In particular, gnutls_global_init() and gnutls_global_deinit() are not
4061 thread safe.  Careful callers may want to protect the call using a
4062 mutex.  The problem could also be ignored, which would cause a memory
4063 leak under rare conditions when two threads invoke the function
4064 roughly at the same time.
4066 ** Add 'const' keywords in various places, from Frediano ZIGLIO.
4068 ** The code was indented again, including the external header files.
4070 ** API and ABI modifications:
4071 New functions to retrieve the master secret value:
4072   gnutls_session_get_master_secret
4074 Add a 'const' keyword to existing API:
4075   gnutls_x509_crq_get_challenge_password
4077 * Version 1.3.2 (released 2005-12-15)
4079 ** GnuTLS now support TLS Inner application (TLS/IA).
4080 This is per draft-funk-tls-inner-application-extension-01.  This
4081 functionality is added to libgnutls-extra, so it is licensed under the
4082 GNU General Public License.
4084 ** New APIs to access the TLS Pseudo-Random-Function (PRF).
4085 The PRF is used by some protocols building on TLS, such as EAP-PEAP
4086 and EAP-TTLS.  One function to access the raw PRF and one to access
4087 the PRF seeded with the client/server random fields are provided.
4088 Suggested by Jouni Malinen <jkmaline@cc.hut.fi>.
4090 ** New APIs to acceess the client and server random fields in a session.
4091 These fields can be useful by protocols using TLS.  Note that these
4092 fields are typically used as input to the TLS PRF, and if this is your
4093 intended use, you should use the TLS PRF API that use the
4094 client/server random field directly.  Suggested by Jouni Malinen
4095 <jkmaline@cc.hut.fi>.
4097 ** Internal type cleanups.
4098 The uint8, uint16, uint32 types have been replaced by uint8_t,
4099 uint16_t, uint32_t.  Gnulib is used to guarantee the presence of
4100 correct types on platforms that lack them.  The uint type have been
4101 replaced by unsigned.
4103 ** API and ABI modifications:
4104 New functions to invoke the TLS Pseudo-Random-Function (PRF):
4105   gnutls_prf
4106   gnutls_prf_raw
4108 New functions to retrieve the session's client and server random values:
4109   gnutls_session_get_server_random
4110   gnutls_session_get_client_random
4112 New function, to perform TLS/IA handshake:
4113   gnutls_ia_handshake
4115 New function to decide whether to do a TLS/IA handshake:
4116   gnutls_ia_handshake_p
4118 New functions to allocate a TLS/IA credential:
4119   gnutls_ia_allocate_client_credentials
4120   gnutls_ia_free_client_credentials
4121   gnutls_ia_allocate_server_credentials
4122   gnutls_ia_free_server_credentials
4124 New functions to handle the AVP callback:
4125   gnutls_ia_set_client_avp_function
4126   gnutls_ia_set_client_avp_ptr
4127   gnutls_ia_get_client_avp_ptr
4128   gnutls_ia_set_server_avp_function
4129   gnutls_ia_set_server_avp_ptr
4130   gnutls_ia_get_server_avp_ptr
4132 New functions, to toggle TLS/IA application phases:
4133   gnutls_ia_require_inner_phase
4135 New function to mix session keys with inner secret:
4136   gnutls_ia_permute_inner_secret
4138 Low-level API (used internally by gnutls_ia_handshake):
4139   gnutls_ia_endphase_send
4140   gnutls_ia_send
4141   gnutls_ia_recv
4143 New functions that can be used after successful TLS/IA negotiation:
4144   gnutls_ia_generate_challenge
4145   gnutls_ia_extract_inner_secret
4147 Enum type with TLS/IA modes:
4148   gnutls_ia_mode_t
4150 Enum type with TLS/IA packet types:
4151   gnutls_ia_apptype_t
4153 Enum values for TLS/IA alerts:
4154   GNUTLS_A_INNER_APPLICATION_FAILURE
4155   GNUTLS_A_INNER_APPLICATION_VERIFICATION
4157 New error codes, to signal when an application phase has finished:
4158   GNUTLS_E_WARNING_IA_IPHF_RECEIVED
4159   GNUTLS_E_WARNING_IA_FPHF_RECEIVED
4161 New error code to signal TLS/IA verify failure:
4162   GNUTLS_E_IA_VERIFY_FAILED
4164 * Version 1.3.1 (released 2005-12-08)
4166 ** Support for DHE-PSK cipher suites has been added.
4167 This method offers perfect forward secrecy.
4169 ** Fix gnutls-cli STARTTLS hang when SIGINT is sent too quickly, thanks to
4170 Otto Maddox <ottomaddox@fastmail.fm> and Nozomu Ando <nand@mac.com>.
4172 ** Corrected a bug in certtool for 64 bit machines. Reported
4173 by Max Kellermann <max@duempel.org>.
4175 ** New function to set a X.509 private key and certificate pairs, and/or
4176 CRLs, from an PKCS#12 file, suggested by Emile van Bergen
4177 <emile@e-advies.nl>.
4179 The integrity of the PKCS#12 file is protected through a password
4180 based MAC; public-key based signatures for integrity protection are
4181 not supported.  PKCS#12 bags may be encrypted using password derived
4182 symmetric keys, public-key based encryption is not supported.  The
4183 PKCS#8 keys may be encrypted using passwords.  The API use the same
4184 password for all operations.  We believe that any more flexibility
4185 create too much complexity that would hurt overall security, but may
4186 add more PKCS#12 related APIs if real-world experience indicate
4187 otherwise.
4189 ** gnutls_x509_privkey_import_pkcs8 now accept unencrypted PEM PKCS#8 keys,
4190 reported by Emile van Bergen <emile@e-advies.nl>.
4191 This will enable "certtool -k -8" to parse those keys.
4193 ** Certtool now generate keys in unencrypted PKCS#8 format for empty passwords.
4194 Use "certtool -p -8" and press press enter at the prompt.  Earlier,
4195 certtool would have encrypted the key using an empty password.
4197 ** Certtool now accept --password for --key-info and encrypted PKCS#8 keys.
4198 Earlier it would have prompted the user for it, even if --password was
4199 supplied.
4201 ** Added self test of PKCS#8 parsing.
4202 Unencrypted and encrypted (pbeWithSHAAnd3-KeyTripleDES-CBC and
4203 pbeWithSHAAnd40BitRC2-CBC) formats are tested.  The test is in
4204 tests/pkcs8.
4206 ** API and ABI modifications:
4207 New function to set X.509 credentials from a PKCS#12 file:
4208   gnutls_certificate_set_x509_simple_pkcs12_file
4210 New gnutls_kx_algorithm_t enum type:
4211   GNUTLS_KX_DHE_PSK
4213 New API to return session data (basically same as gnutls_session_get_data):
4214   gnutls_session_get_data2
4216 New API to set PSK Diffie-Hellman parameters:
4217   gnutls_psk_set_server_dh_params
4219 * Version 1.3.0 (2005-11-15)
4221 ** Support for TLS Pre-Shared Key (TLS-PSK) ciphersuites have been added.
4222 This add several new APIs, see below.  Read the updated manual for
4223 more information.  A new self test "pskself" has been added, that will
4224 test this functionality.
4226 ** The session resumption data are now system independent.
4228 ** The code has been re-indented to conform to the GNU coding style.
4230 ** Removed the RIPEMD ciphersuites.
4232 ** Added a discussion of the internals of gnutls in manual.
4234 ** Fixes for Tru64 UNIX 4.0D that lack MAP_FAILED, from Albert Chin.
4236 ** Remove trailing comma in enums, for IBM C v6, from Albert Chin.
4238 ** Make sure config.h is included first in a few files, from Albert Chin.
4240 ** Don't use C++ comments ("//") as they are invalid, from Albert Chin.
4242 ** Don't install SRP programs and man pages if --disable-srp-authentication,
4243 from Albert Chin.
4245 ** API and ABI modifications:
4246 New gnutls_kx_algorithm_t key exchange type: GNUTLS_KX_PSK
4248 New gnutls_credentials_type_t credential type:
4249   GNUTLS_CRD_PSK
4251 New credential types:
4252   gnutls_psk_server_credentials_t
4253   gnutls_psk_client_credentials_t
4255 New functions to allocate PSK credentials:
4256   gnutls_psk_allocate_client_credentials
4257   gnutls_psk_free_client_credentials
4258   gnutls_psk_free_server_credentials
4259   gnutls_psk_allocate_server_credentials
4261 New enum type for PSK key flags:
4262   gnutls_psk_key_flags
4264 New function prototypes for credential callback:
4265   gnutls_psk_client_credentials_function
4266   gnutls_psk_server_credentials_function
4268 New function to set PSK username and key:
4269   gnutls_psk_set_client_credentials
4271 New function to set PSK passwd file:
4272   gnutls_psk_set_server_credentials_file
4274 New function to extract PSK user in server:
4275   gnutls_psk_server_get_username
4277 New functions to set PSK callback:
4278   gnutls_psk_set_server_credentials_function
4279   gnutls_psk_set_client_credentials_function
4281 Use size_t instead of int for output size parameter:
4282   gnutls_srp_base64_encode
4283   gnutls_srp_base64_decode
4285 * Version 1.2.11 (2006-05-11)
4286 - The function gnutls_x509_crt_to_xml is not supported any more, and
4287   return an internal error.  The reason is that the function called
4288   internal libtasn1 functions which are no longer exported from
4289   libtasn1.
4290 - Updated libtasn1 requirement to 0.3.4 and refreshed internal mintiasn1.
4291 - Updated gnulib compatibility files.
4292 - Fixed _gnutls_x509_get_raw_crt_expiration_time and
4293   _gnutls_x509_get_raw_crt_activation_time to return (time_t)-1 on errors.
4294 - API and ABI modifications:
4295   No changes since last version.
4297 * Version 1.2.10 (2006-02-09)
4298 - Fix read out bounds bug in DER parser.  Reported by Evgeny Legerov
4299   <admin@gleg.net>, and debugging help from Protover SSL.
4300 - Libtasn1 0.2.18 is now required (contains the previous bug fix).
4301   The included version has been updated too.
4302 - Fix gnutls-cli STARTTLS hang when SIGINT is sent too quickly, thanks to
4303   Otto Maddox <ottomaddox@fastmail.fm> and Nozomu Ando <nand@mac.com>.
4304 - Corrected a bug in certtool for 64 bit machines. Reported
4305   by Max Kellermann <max@duempel.org>.
4306 - Corrected bugs in gnutls_certificate_set_x509_crl() and
4307   gnutls_certificate_set_x509_trust(), that caused memory corruption if
4308   more than one certificates were added. Report and patch by Max Kellermann.
4309 - Fixed bug in non-blocking gnutls_bye(). gnutls_record_send() will no 
4310   longer invalidate a session if the underlying send fails, but it will 
4311   prevent future writes. That is to allow reading the already received data.
4312   Patches and bug reports by Yoann Vandoorselaere <yoann@prelude-ids.org>
4314 * Version 1.2.9 (2005-11-07)
4315 - Documentation was updated and improved.
4316 - RSA-MD2 is now supported for verifying digital signatures.
4317 - Due to cryptographic advances, verifying untrusted X.509
4318   certificates signed with RSA-MD2 or RSA-MD5 will now fail with a
4319   GNUTLS_CERT_INSECURE_ALGORITHM verification output.  For
4320   applications that must remain interoperable, you can use the
4321   GNUTLS_VERIFY_ALLOW_SIGN_RSA_MD2 or GNUTLS_VERIFY_ALLOW_SIGN_RSA_MD5
4322   flags when verifying certificates.  Naturally, this is not
4323   recommended default behaviour for applications.  To enable the
4324   broken algorithms, call gnutls_certificate_set_verify_flags with the
4325   proper flag, to change the verification mode used by
4326   gnutls_certificate_verify_peers2.
4327 - Make it possible to send empty data through gnutls_record_send,
4328   to align with the send(2) API.
4329 - Some changes in the certificate receiving part of handshake to prevent
4330   some possible errors with non-blocking servers.
4331 - Added numeric version symbols to permit simple CPP-based feature
4332   tests, suggested by Daniel Stenberg <daniel@haxx.se>.
4333 - The (experimental) low-level crypto alternative to libgcrypt used
4334   earlier (Nettle) has been replaced with crypto code from gnulib.
4335   This leads to easier re-use of these components in other projects,
4336   leading to more review and simpler maintenance.  The new configure
4337   parameter --with-builtin-crypto replace the old --with-nettle, and
4338   must be used if you wish to enable this functionality.  See README
4339   under "Experimental" for more information.  Internally, GnuTLS has
4340   been updated to use the new "Generic Crypto" API in gl/gc.h.  The
4341   API is similar to the old crypto/gc.h, because the gnulib code were
4342   based on GnuTLS's gc.h.
4343 - Fix compiler warning in the "anonself" self test.
4344 - API and ABI modifications:
4345 gnutls_x509_crt_list_verify: Added 'const' to prototype in <gnutls/x509.h>.
4346                              This doesn't reflect a change in behaviour,
4347                              so we don't break backwards compatibility.
4348 GNUTLS_MAC_MD2: New gnutls_mac_algorithm_t value.
4349 GNUTLS_DIG_MD2: New gnutls_digest_algorithm_t value.
4350 GNUTLS_VERIFY_ALLOW_SIGN_RSA_MD2,
4351 GNUTLS_VERIFY_ALLOW_SIGN_RSA_MD5: New gnutls_certificate_verify_flags values.
4352                                   Use when calling
4353                                   gnutls_x509_crt_list_verify,
4354                                   gnutls_x509_crt_verify, or
4355                                   gnutls_certificate_set_verify_flags.
4356 GNUTLS_CERT_INSECURE_ALGORITHM: New gnutls_certificate_status_t value,
4357                                 used when broken signature algorithms
4358                                 is used (currently RSA-MD2/MD5).
4359 LIBGNUTLS_VERSION_MAJOR,
4360 LIBGNUTLS_VERSION_MINOR,
4361 LIBGNUTLS_VERSION_PATCH,
4362 LIBGNUTLS_VERSION_NUMBER: New CPP symbols, indicating the GnuTLS
4363                           version number, can be used for feature existence
4364                           tests.
4366 * Version 1.2.8 (2005-10-07)
4367 - Libgcrypt 1.2.2 is required to fix a bug for forking GnuTLS servers.
4368 - Don't install the auxilliary libexamples library used by the
4369   examples in doc/examples/ on "make install", report and tiny patch
4370   from Thomas Klausner <tk@giga.or.at>.
4371 - If you pass a X.509 CA or PGP trust database to the command line
4372   tool, it will now abort the connection if the server certificate
4373   validation fails.  Use the parameter --insecure to continue even
4374   after certificate validation failures.  Inspired from discussion
4375   with Alexander Kotelnikov <sacha@myxomop.com>.
4376 - The test for socklen_t has been moved to gnulib.
4377 - Link failures for duplicate or missing "program_name" symbol has been fixed,
4378   patch from Martin Lambers <marlam@marlam.de>.
4379 - The command line tool and the examples no longer uses mmap or bzero,
4380   to make them more portable, patch from Martin Lambers
4381   <marlam@marlam.de>.
4382 - Made the PKCS #12 API handle null passwords. Based on patch by
4383   Anton Altaparmakov <aia21@cam.ac.uk>.
4384 - The GTK-DOC manual should build with current released tools.
4385   (But a copy of the output is included, so the tools are not required.)
4386 - The inet_ntop function is now used through gnulib.
4387 - API and ABI modifications:
4388   No changes since last version.
4390 * Version 1.2.7 (2005-09-09)
4391 - The GNUTLS and GNUTLS-EXTRA libraries are now built with versioned symbols.
4392 - Certtool now complains when reading out-of-range X.509 serial
4393   numbers, suggested by Fran <e_agf@yahoo.es>.
4394 - Certtool now uses the readline library (when available) when reading
4395   X.509 serial numbers.
4396 - Fixed build problems in getpass on uClibc and Mingw32 platforms.
4397 - Fixed compile warning regarding socklen_t on Mingw32, reported by
4398   Martin Lambers <marlam@marlam.de>.
4399 - Fixed examples in doc/examples/, suggested by Fran <e_agf@yahoo.es>.
4400 - Gnulib is now used for the core library, enabling future code cleanups.
4401 - The gnutls-cli tool now use gnutls_certificate_verify_peers2,
4402   suggested by Daniel Stenberg <daniel@haxx.se>.
4403 - Doc fixes for gnutls_transport_set_push and gnutls_transport_set_pull.
4404 - Minilibtasn1 is now 0.2.17 (removed optional use of C99 macros).
4405 - Disable zlib support if zlib.h is not present.
4406 - A number of internal cleanups.
4407 - API and ABI modifications:
4408   No changes since last version.
4410 * Version 1.2.6 (2005-07-16)
4411 - MiniLZO updated to version 2.01 and moved to separate directory.
4412 - Collision between system LZO header files and MiniLZO header file
4413   fixed, reported by Matthias Urlichs <smurf@smurf.noris.de>.
4414 - Will now test for liblzo functionality in liblzo2 too, reported by
4415   Thomas Klausner <tk@giga.or.at>.
4416 - Minilibtasn1 is now 0.2.14 (no code changes).
4417 - Some code changes to avoid GTK-DOC warnings.
4418 - API and ABI modifications:
4419   No changes since last version.
4421 * Version 1.2.5 (2005-07-03)
4422 - More builddir != srcdir fixes, reported by Mike Castle
4423   <dalgoda@ix.netcom.com>.
4424 - Fixed off-by-one bug in the size parameter of gnutls_x509_crt_get*_dn,
4425   reported by Adam Langley <alangley@gmail.com>.
4426 - Corrected some stuff in minilzo detection. Pointed out by 
4427   Sergey Lipnevich.
4428 - MiniLZO updated to version 2.00.
4429 - gnutls_x509_crt_list_import now accept a DER formatted CRL.
4430 - API and ABI modifications:
4431   No changes since last version.
4433 * Version 1.2.4 (2005-05-28)
4434 - Corrected some bugs that could affect 64 bit systems.
4435 - Some corrections in the header files to include the prototype
4436   of memmem properly (affected 64 bit systems). Report and patch
4437   by Yoann Vandoorselaere <yoann@prelude-ids.org>.
4438 - Introduced the --fix-key option to certtool, which can be used to
4439   regenerate the (optional) parameters in a private key. It should
4440   be used together with --key-info.
4441 - Corrected a bug in certificate chain verification that could lead
4442   to marking a trusted chain as non trusted, if the last certificate in
4443   the chain was a self signed one.
4444 - Gnulib portability files were updated.
4445 - License were updated to reflect new FSF address.
4446 - API and ABI modifications:
4447   No changes since last version.
4449 * Version 1.2.3 (2005-04-28)
4450 - Corrected bug in record packet parsing that could lead
4451   to a denial of service attack.
4452 - Corrected bug in RSA key export. Previously exported keys
4453   can be fixed using certtool. Use certtool -k <infile >outfile
4454 - API and ABI modifications:
4455     gnutls_x509_privkey_fix(): Add.
4457 * Version 1.2.2 (2005-04-25)
4458 - gnutls_error_to_alert() now considers
4459   GNUTLS_E_UNEXPECTED_HANDSHAKE_PACKET.
4460 - Fixed error in session resuming that could cause a crash in a session.
4461 - Fixed pkcs12 friendly name and local key identifier decoding.
4462 - Internal cleanups, removed duplicate typedef/struct definitions,
4463   and made source code include external include file, to check
4464   function prototypes during compile time.
4465 - API and ABI modifications:
4466   No changes since last version.  At least not intentional, but due
4467   to the include header changes, there may be inadvertant changes,
4468   please let us know if you find any.
4470 * Version 1.2.1 (2005-04-04)
4471 - gnutls_bye() will no longer fail when RDWR is used and application
4472   data are available for reading.
4473 - Added more strict checks for the SRP parameters (g,n), when they
4474   are not in the included list.
4475 - Added warning to certtool when MD5 is being used for digital
4476   signatures.
4477 - Optimizations ("-O2 -finline-functions") are not enabled by default,
4478   instead the standard autoconf defaults are used.  Use `./configure
4479   CFLAGS="-O2 -finline-functions"' to get the old optimizations.
4480 - Added the option --get-dh-params to certtool, in order to get the
4481   parameters included in the library primes and generators.
4482 - Improved the semantics of GNUTLS_VERIFY_ALLOW_X509_V1_CA_CRT, to
4483   allow only trusted Version 1 CAs and introduced
4484   GNUTLS_VERIFY_ALLOW_ANY_X509_V1_CA_CRT which has the old semantics.
4485 - Nettle self tests now build properly, reported by Pierre
4486   <pierre42d@9online.fr>.
4487 - Eliminated some memory leaks in DHE and RSA-EXPORT cipher suites.
4488   Reported by Yoann Vandoorselaere <yoann@prelude-ids.org>.
4489 - If the library has been compiled with features disabled, a warning is 
4490   issued during the compilation of any program.
4491 - API and ABI modifications:
4492     gnutls_x509_crt_list_import(): Add
4493     gnutls_x509_crq_get_attribute_by_oid(): Add.
4494     gnutls_x509_crq_set_attribute_by_oid(): Add
4495     gnutls_x509_crt_set_extension_by_oid(): Add.
4496     GNUTLS_VERIFY_ALLOW_X509_V1_CA_CRT: Modify semantics.
4497     GNUTLS_VERIFY_ALLOW_ANY_X509_V1_CA_CRT: Add, old behaviour.
4499 * Version 1.2.0 (2005-01-27)
4500 - Added the definitions and OIDs for the RIPEMD-160 hash algorithm.
4501 - Introduced gnutls_x509_crt_sign2(), gnutls_x509_crq_sign2() and 
4502   gnutls_x509_crl_sign2().
4503 - Fixed license header in source code files.
4505 * Version 1.1.23 (2005-01-18)
4506 - It is now possible to generate PKCS#12 structures without private
4507   keys using "certtool --to-p12", suggested by Fabian Fagerholm
4508   <fabbe@paniq.net>.
4509 - Certtool now prints information for the RSA and DSA parameters of
4510   certificates and private keys.
4511 - Corrected the write of CRL distribution points.
4512 - The certificate chain verification function now checks certificates
4513   in the reverse order to minimize the spent resources.
4514 - Corrected several bugs found by Marcin Garski <mgarski@post.pl>
4515 - The functions gnutls_x509_crl_get_issuer_dn, gnutls_x509_crq_get_dn,
4516   gnutls_x509_crt_get_issuer_dn, gnutls_x509_crt_get_dn, and
4517   gnutls_x509_rdn_get now set *sizeof_buf to the buffer length that is
4518   required, instead of the string length.  That is, the value has been
4519   incremented by 1 to account for the terminating zero. Reported by
4520   Martin Lambers <marlam@web.de>.
4521 - Debug output shouldn't crash on platforms that doesn't handle NULL
4522   printf %s values.  Reported by Michael.Ringe@aachen.utimaco.de.
4523 - Sync included copy of libtasn1 with version 0.2.13.
4524 - Client X.509 authenticated connections via gnutls-cli should now work again.
4526 * Version 1.1.22 (2004-11-04)
4527 - Replace GNU LD version script with Libtool -export-symbols-regex,
4528   from Joe Orton <joe@manyfish.co.uk>.
4529 - Documentation improvements.
4530 - Code indented using 'indent -i4 -kr'.
4531 - The API manual is included in Devhelp format.  (Was in last release too,
4532   but the NEWS entry was forgotten.)
4533 - The OpenSSL compatibility code now use the internal crypto interface.
4534 - Added simple self test of OpenSSL compatibility library.
4535 - Internally, libtool convenience libraries are used.
4536 - Cleanups to configure.ac.
4538 * Version 1.1.21 (2004-10-27)
4539 - Print DN of certificates with unknown characters in them, but in hexform
4540   only.
4541 - Added second precision to the X.509 parsing and generation functions.
4542 - Corrected bug in _gnutls_x509_get_dn_oid(), and returns the
4543   actual OID.
4544 - Add parameter --la-file to libgnutls-config and libgnutls-extra-config,
4545   tiny patch contributed by Joe Orton <joe@manyfish.co.uk>.
4546 - Add pkg-config meta files, suggested by Stéphane LOEUILLET
4547   <stephane.loeuillet@tiscali.fr>.
4548 - Fix memory initializaion bug in gnutls_certificate_set_x509_trust,
4549   tiny patch by Aleix Conchillo Flaque <aleix@member.fsf.org>.
4550 - Add self test of PKCS#12 functionality in "certtool", based on test
4551   vectors from Joe Orton <joe@manyfish.co.uk>.
4552 - Fix library order in libgnutls*-config --libs output, to permit
4553   static linking, reported by Yoann Vandoorselaere
4554   <yoann@prelude-ids.org>.
4556 * Version 1.1.20 (2004-10-12)
4557 - Fix compile problem in gl/getpass.c on some systems.
4559 * Version 1.1.19 (2004-10-07)
4560 - Fix memory leak in gnutls_certificate_verify_peers and
4561   gnutls_certificate_free_credentials, report and patch by Simon
4562   Posnjak <simon.posnjak@cetrtapot.si>.
4563 - Fix crash in `certtool --to-p12 --load-privkey foo', i.e. exporting
4564   a key and no certificate to PKCS#12.
4565 - Fix objdir != srcdir builds, reported by "Gerrit P. Haase"
4566   <gp@familiehaase.de>.
4567 - Fixes faulty getpass implementation in libextra/opencdk/, reported
4568   by Yoann Vandoorselaere <yoann@prelude-ids.org>.
4569 - Uses memmem instead of strnstr in lib/.
4570 - Using more GNULib portability files, although not yet inside lib/.
4571 - Added gnutls_certificate_verify_peers to gnutls/compat.h.
4572   Nikos deprecated gnutls_certificate_verify_peers in favor of
4573   gnutls_certificate_verify_peers2 earlier in the 1.1 branch.
4574 - Improvements to the manual.
4575 - Add new example "ex-rfc2818" for certificate verification, from Nikos.
4576 - Known bug: the library require snprintf.  This has not yet been
4577   fixed, but will be handled via GNULib later on.
4579 * Version 1.1.18 (2004-08-24)
4580 - Corrected handling of certificate with dates after year 2038.
4581 - Corrected DER decoder which could incorrectly treat input as BER and fail.
4582 - Correct certtool --smime-to-p7 end of line character handling.
4583 - Added example client and server for anonymous authentication.
4584 - Added self test that tests anonymous TLS client and server.
4585 - Added self tests of Nettle and generic crypto layer.
4586 - Added API reference manual in HTML format in doc/reference/ using GTK-DOC.
4587   Online version at <http://www.gnu.org/software/gnutls/reference/>.
4588 - Assume C89 or better; removed checks for size_t, ptrdiff_t and time_t.
4589 - Man pages for API functions are included.
4591 * Version 1.1.17 (2004-08-18)
4592 - Bug fix of padding string in RSA PKCS#1 v1.5 type 2 encryption,
4593   reported by Robey Pointer <robey@danger.com>.
4594 - Generic crypto interface for secret key ciphers, hashes and randomness added.
4595   See section "Experimental" within section "COMPILATION ISSUES" in README.
4596 - Removed length limit on passwords read by 'certtool'.
4597 - Documentation fixes.
4599 * Version 1.1.16 (2004-08-15)
4600 - Fix missing gnulib linker parameter when building certtool.
4601 - Add gnulib module 'progname', needed by module 'error'.
4602 - Improve building with srcdir != objdir.
4604 * Version 1.1.15 (2004-08-15)
4605 - Certtool has simplistic --smime-to-p7 to translate RFC 2633 messages into
4606   PKCS #7 format.
4607 - Ported to Mac OS X / Darwin.
4608 - Ported to FreeBSD.
4610 * Version 1.1.14 (2004-08-09)
4611 - Documentation converted to Texinfo format.
4612 - Bug fix of test suite.
4613 - Configure now print build information, used by Autobuild.
4615 * Version 1.1.13 (2004-08-05)
4616 - Added simple self test suite.
4618 * Version 1.1.12 (2004-08-02)
4619 - Updated the SRP authentication to conform to the
4620   latest (yet unreleased) draft. Unfortunately this breaks
4621   compatibility with previous versions.
4622 - Changed the makefiles to be more portable.
4623 - SRP ciphersuites were moved to the gnutls library.
4624 - Added some default limits in the verification of certificate
4625   chains, to avoid denial of service attacks. Also added 
4626   gnutls_certificate_set_verify_limits() to override them.
4627   Issue pointed out by Patrik Hornik <patrik@hornik.sk>.
4628 - Added gnutls_certificate_verify_peers2().
4630 * Version 1.1.11 (2004-07-16)
4631 - Added the '_t' suffix to all exported symbols.
4632 - Fixed bug in RSA encryption, report and patch by Martijn Koster 
4633   <mak@greenhills.co.uk>.
4634 - Corrected a bug in certificate verification. Pointed out by
4635   Yoann Vandoorselaere <yoann@prelude-ids.org>
4636 - Added the GNUTLS_VERIFY_DO_NOT_ALLOW_SAME flags to the
4637   verification functions.
4638 - The ephemeral DH and RSA parameters are no longer stored in the
4639   session resume DB.
4640 - Do not free the SRP (prime and generator) parameters obtained from the 
4641   callback if they are the static ones defined in extra.h
4642 - Eliminated some memory leaks. Reported by Yoann Vandoorselaere.
4644 * Version 1.1.10 (2004-06-12)
4645 - Added gnutls_sign_algorithm_get_name() and gnutls_pk_algorithm_get_name()
4646 - Corrected bug in TLS renegotiation.
4647 - Corrected bug in OpenPGP key loading using a callback.
4648 - gnutls-srpcrypt was renamed to srptool
4649 - Allow handshake requests by the client.
4650 - Automatically disable certificate types that do not have corresponding
4651   certificates.
4652 - Added gnutls_auth_client_get_type() and gnutls_auth_server_get_type()
4653 - Opencdk library is being included if not found.
4654 - certtool can now add ip address SAN extension.
4655 - certtool has now support for more X.520 DN attribute types.
4656 - Better handling of EOF in gnutls_record_recv().
4657 - _gnutls_deinit() is no longer used. Sessions are not
4658   automatically removed any more, on abnormal termination.
4659 - Corrected session resuming in SRP ciphersuites.
4660 - Updated to conform to the latest srp draft (draft-ietf-tls-srp-07)
4661 - Added new functions to allow access to the ephemeral
4662   Diffie Hellman parameters.
4663 - Added the functions gnutls_x509_crt_get_pk_rsa_raw() and
4664   gnutls_x509_crt_get_pk_dsa_raw() to retrieve parameters from certificates.
4665 - Added the functions gnutls_dh_get_group(), gnutls_dh_get_pubkey() and
4666   gnutls_rsa_export_get_pubkey() to retrieve parameters of the DH or
4667   RSA-EXPORT key exchange.
4668 - Some fixes in the session resuming code.
4669 - Added gnutls_openpgp_keyring_check_id().
4671 * Version 1.1.9 (2004-04-14)
4672 - Added support for authority key identifier and the extended key usage
4673   X.509 extension fields. The certtoool was updated to support them.
4674 - The RC2 cipher is no more included. The one in libgcrypt is now used.
4675 - Added batch support to certtool. Now it can use templates.
4677 * Version 1.1.8 (2004-04-07)
4678 - Implemented all the tests for the SRP group parameters in
4679   client side. This may lead to incompatibility with very
4680   old gnutls servers.
4681 - Corrected bug in RSA parameters handling which could cause
4682   unexpected crashes.
4683 - Optimized the copying of rsa_params.
4685 * Version 1.1.7 (2004-03-29)
4686 - Added gnutls_certificate_set_params_function() and 
4687   gnutls_anon_set_params_function() that set the RSA or DH
4688   parameters using a callback.
4689 - Added functions gnutls_rsa_params_cpy(), gnutls_dh_params_cpy()
4690   and gnutls_x509_privkey_cpy().
4691 - Corrected a compilation issue when opencdk was installed in a
4692   non standard directory.
4693 - Deprecated: gnutls_srp_server_set_select_function(), 
4694   gnutls_certificate_client_set_select_function(), gnutls_srp_server_set_select_function().
4696 * Version 1.1.6 (2004-02-24)
4697 - Several bug fixes, by Arne Thomassen.
4698 - Fixed a bug where 'server name' extension was always sent.
4700 * Version 1.1.5 (2004-01-06)
4701 - Added the gnutls_sign_algorithm type.
4703 * Version 1.1.4 (2004-01-04)
4704 - Improved gnutls-cli's SRP behaviour in SRP ciphersuites.
4705   If they are of highest priority then the abbreviated handshake
4706   is used.
4707 - Removed all references of missing files.
4708 - Changed handshake behaviour to send the lowest TLS version
4709   when an unsupported version was advertized. The current behaviour
4710   is to send the maximum version we support.
4711 - Corrected problem printing the DC attributes in a DN.
4713 * Version 1.1.3 (2003-12-30)
4714 - Implemented TLS 1.1 (and also obsoleted the TLS 1.0 CBC protection
4715   hack).
4717 * Version 1.1.2 (2003-12-28)
4718 - Added CRL verification functionality to certtool.
4719 - Corrected the CRL distribution point extension handling.
4721 * Version 1.1.1 (2003-12-26)
4722 - Added PKCS #7 support to certtool utility.
4723 - Added support for reading and generating CRL distribution
4724   points extensions in certificates.
4725 - Added support for generating CRLs in the library and the
4726   certtool utility.
4727 - Added support for the Subject Key ID PKIX extension.
4729 * Version 1.1.0 (2003-12-21)
4730 - The error codes GNUTLS_E_NO_TEMPORARY_DH_PARAMS and GNUTLS_E_NO_TEMPORARY_RSA_PARAMS
4731   are no longer returned by the handshake function. Ciphersuites that
4732   require temporary parameters are removed when such parameters do not exist.
4733 - Added the callbacks gnutls_certificate_client_retrieve_function() and
4734   gnutls_certificate_server_retrieve_function(), to allow a client or a server
4735   to specify certificates for the handshake without storing them to the
4736   credentials structure.
4737 - Added support for generating and exporting DSA private keys.
4738 - Added gnutls_x509_crt_set_key_usage() and certtool can now set the
4739   certificate's key usage.
4740 - Added gnutls_openpgp_key_get_key_usage().
4742 * Version 1.0.25 (2005-04-27)
4743 - Corrected bug in record packet parsing that could lead
4744   to a denial of service attack.
4745 - Corrected bug in RSA key export.
4747 * Version 1.0.24 (2005-01-18)
4748 - Corrected several bugs found by Marcin Garski <mgarski@post.pl>
4750 * Version 1.0.23 (2004-11-13)
4751 - Replace GNU LD version script with Libtool -export-symbols-regex,
4752   from Joe Orton <joe@manyfish.co.uk>.
4753 - Copy libtasn1 has been updated to version 0.2.11.
4754 - Corrected the write of CRL distribution points.
4755 - It is now possible to generate PKCS#12 structures without private
4756   keys using "certtool --to-p12", suggested by Fabian Fagerholm
4757   <fabbe@paniq.net>.
4759 * Version 1.0.22 (2004-10-28)
4760 - Print DN of certificates with unknown characters in them, but in hexform
4761   only.
4762 - Corrected bug in _gnutls_x509_get_dn_oid(), and returns the
4763   actual OID.
4764 - Added second precision to the X.509 parsing functions.
4765 - Add parameter --la-file to libgnutls-config and libgnutls-extra-config,
4766   tiny patch contributed by Joe Orton <joe@manyfish.co.uk>.
4767 - Add pkg-config meta files, suggested by Stéphane LOEUILLET
4768   <stephane.loeuillet@tiscali.fr>.
4769 - Fix memory initializaion bug in gnutls_certificate_set_x509_trust,
4770   tiny patch by Aleix Conchillo Flaque <aleix@member.fsf.org>.
4771 - Fix certtool --password for PKCS #12, back ported from 1.1.x branch.
4772 - Fix library order in libgnutls*-config --libs output, to permit
4773   static linking, reported by Yoann Vandoorselaere
4774   <yoann@prelude-ids.org>.
4776 * Version 1.0.21 (2004-10-07)
4777 - Fix memory leak in gnutls_certificate_verify_peers and
4778   gnutls_certificate_free_credentials, report and patch by Simon
4779   Posnjak <simon.posnjak@cetrtapot.si>.
4780 - Fix crash in `certtool --to-p12 --load-privkey foo', i.e. exporting
4781   a key and no certificate to PKCS#12.
4782 - Fix objdir != srcdir builds, reported by "Gerrit P. Haase"
4783   <gp@familiehaase.de>.
4784 - Avoid redefining getpass if system already has it, reported by
4785   Yoann Vandoorselaere <yoann@prelude-ids.org>.
4786 - Add new example "ex-rfc2818" for certificate verification, from Nikos.
4787 - Known bug: the library require snprintf.
4789 * Version 1.0.20 (2004-08-18)
4790 - Bug fix of padding string in RSA PKCS#1 v1.5 type 2 encryption,
4791   reported by Robey Pointer <robey@danger.com>.
4793 * Version 1.0.19 (2004-08-09)
4794 - Bug fix of test suite.
4796 * Version 1.0.18 (2004-08-05)
4797 - Added simple self test suite.
4799 * Version 1.0.17 (2004-08-02)
4800 - Updated the SRP authentication to conform to the
4801   latest (yet unreleased) draft. Unfortunately this breaks
4802   compatibility with previous versions.
4803 - Changed the makefiles to be more portable.
4804 - Added some default limits in the verification of certificate
4805   chains, to avoid denial of service attacks. Also added 
4806   gnutls_certificate_set_verify_limits() to override them.
4807   Issue pointed out by Patrik Hornik <patrik@hornik.sk>.
4808 - Added gnutls_certificate_verify_peers2().
4810 * Version 1.0.16 (2004-07-10)
4811 - Do not free the SRP (prime and generator) parameters obtained from the 
4812   callback if they are the static ones defined in extra.h.
4813 - Eliminated some memory leaks. Reported by Yoann Vandoorselaere.
4814 - Some fixes in the makefiles.
4816 * Version 1.0.15 (2004-06-29)
4817 - Fixed bug in RSA encryption, report and patch by Martijn Koster 
4818   <mak@greenhills.co.uk>.
4819 - Corrected a bug in certificate verification. Pointed out by
4820   Yoann Vandoorselaere <yoann@prelude-ids.org>.
4822 * Version 1.0.14 (2004-06-12)
4823 - Automatically disable certificate types that do not have corresponding
4824   certificates.
4825 - Updates in the documentation.
4826 - certtool can now add ip address SAN extension.
4827 - certtool has now support for more X.520 DN attribute types.
4828 - Opencdk library is being included if not found.
4829 - Added gnutls_openpgp_keyring_check_id().
4830 - Corrected a serious bug in the included libtasn1 library.
4831 - Corrected session resuming in SRP ciphersuites.
4832 - Updated to conform to the latest srp draft (draft-ietf-tls-srp-07)
4833 - Added the functions gnutls_x509_crt_get_pk_rsa_raw() and
4834   gnutls_x509_crt_get_pk_dsa_raw() to retrieve parameters from certificates.
4835 - Some fixes in the session resuming code.
4837 * Version 1.0.13 (2004-04-29)
4838 - Some complilation fixes.
4839 - Added the --xml parameter to the certtool utility.
4841 * Version 1.0.12 (2004-04-23)
4842 - Corrected bug in OpenPGP key loading using a callback.
4843 - Renamed gnutls-srpcrypt to srptool
4844 - Allow handshake requests by the client.
4845 * Things backported from the development branch:
4846 - Added support for authority key identifier and the extended key usage
4847   X.509 extension fields. The certtoool was updated to support them.
4848 - Added batch support to certtool. Now it can use templates.
4849 - The RC2 cipher is no more included. The one in libgcrypt is now used.
4851 * Version 1.0.11 (2004-04-17)
4852 - Added gnutls_sign_algorithm_get_name() and gnutls_pk_algorithm_get_name()
4853 - Corrected bug in TLS renegotiation.
4855 * Version 1.0.10 (2004-04-03)
4856 - Corrected bug in RSA parameters handling which could cause
4857   unexpected crashes.
4858 - Corrected bug in SSL 3.0 authentication.
4860 * Version 1.0.9 (2004-03-29)
4861 - Added gnutls_certificate_set_params_function() and 
4862   gnutls_anon_set_params_function() that set the RSA or DH
4863   parameters using a callback.
4864 - Added functions gnutls_rsa_params_cpy(), gnutls_dh_params_cpy()
4865   and gnutls_x509_privkey_cpy().
4866 - Corrected a compilation issue when opencdk was installed in a
4867   non standard directory.
4868 - Documented the changes need in multi-threaded application due
4869   to the new libgcrypt.
4871 * Version 1.0.8 (2004-02-28)
4872 - Corrected bug in mutual certificate authentication in SSL 3.0.
4874 * Version 1.0.7 (2004-02-25)
4875 - Implemented TLS 1.1 (and also obsoleted the TLS 1.0 CBC protection
4876   hack).
4877 - Some updates in the documentation.
4879 * Version 1.0.6 (2004-02-12)
4880 * Backported things from the development branch (while maintaining
4881   backwards compatibility):
4882 - Improved gnutls-cli's SRP behaviour in SRP ciphersuites.
4883   If they are of highest priority then the abbreviated handshake
4884   is used.
4885 - The error codes GNUTLS_E_NO_TEMPORARY_DH_PARAMS and GNUTLS_E_NO_TEMPORARY_RSA_PARAMS
4886   are no longer returned by the handshake function. Ciphersuites that
4887   require temporary parameters are removed when such parameters do not exist.
4888 - Added the callbacks gnutls_certificate_client_retrieve_function() and
4889   gnutls_certificate_server_retrieve_function(), to allow a client or a server
4890   to specify certificates for the handshake without storing them to the
4891   credentials structure.
4892 - Added support for generating and exporting DSA private keys.
4894 * Version 1.0.5 (2004-02-11)
4895 - Fixed a bug where 'server name' extension was always sent.
4896 * Backported things from the development branch:
4897 - Added CRL verification functionality to certtool.
4898 - Corrected the CRL distribution point extension handling.
4899 - Added PKCS #7 support to certtool utility.
4900 - Added support for reading and generating CRL distribution
4901   points extensions in certificates.
4902 - Added support for generating CRLs in the library and the
4903   certtool utility.
4904 - Added support for the Subject Key ID PKIX extension.
4905 - Added the gnutls_sign_algorithm type.
4907 * Version 1.0.4 (2004-01-04)
4908 - Changed handshake behaviour to send the lowest TLS version
4909   when an unsupported version was advertized. The current behaviour
4910   is to send the maximum version we support.
4911 - certtool no longer asks the password in unencrypted private
4912   keys.
4913 - The source is now compiled to use the reentrant libc functions.
4915 * Version 1.0.3 (2003-12-21)
4916 - Corrected bug in gnutls_bye() which made it return an error code
4917   of INVALID_REQUEST instead of success.
4918 - Corrected a bug in the GNUTLS_KEY key usage definitions.
4920 * Version 1.0.2 (2003-12-18)
4921 - Corrected a bug in the RSA key generation. This was
4922   generating unusable RSA keys.
4924 * Version 1.0.1 (2003-12-10)
4925 - Some minor fixes in the makefiles. They now include CFLAGS
4926   from libgcrypt or opencdk if installed in a non standard directory.
4927 - Fixed the SRP detection test in gnutls-cli-debug.
4928 - Added gnutls_rsa_params_export_pkcs1() and gnutls_rsa_params_import_pkcs1().
4930 * Version 1.0.0 (2003-12-04)
4931 - Exported the static SRP group parameters.
4932 - Some fixes in the certificate authenticated SRP ciphersuites.
4933 - Improved the support for draft-ietf-tls-srp-05. The two-phase
4934   handshake is now fully supported without any interaction with
4935   the application layer (except for a callback).
4937 * Version 0.9.99 (2003-11-28)
4938 - Some fixes in the gnutls.h header for the gnutls_server_name_set()
4939   and gnutls_server_name_get() prototypes.
4940 - Exported the gnutls_x509_privkey_sign_data(), gnutls_x509_privkey_verify_data() 
4941   and gnutls_x509_crt_verify_data().
4942 - Some fixes in the openpgp authentication.
4943 - Removed the Twofish cipher.
4945 * Version 0.9.98 (2003-11-16)
4946 - The openssl compatibility layer was moved to gnutls-openssl
4947   library instead of being included in the gnutls-extra library.
4948 - Added the RIPEMD ciphersuites defined in draft-ietf-tls-openpgp-keys-04.
4949 - Building with openpgp support is now mandatory.
4950 - gnutls4 compatibility header is no longer included by default in
4951   gnutls.h.
4952 - gnutls8 function usage yelds a deprecation warning in gcc3.
4953 - gnutls_x509_*_set_dn_by_oid() and gnutls_x509_*_get_*_dn_by_oid()
4954   functions have a raw_flag parameter added.
4955 - Added gnutls_x509_*_get_dn_oid() and gnutls_x509_crt_get_extension_oid()
4956   functions which return the available OIDs.
4958 * Version 0.9.97 (2003-11-11)
4959 - The certtool utility can now generate PKCS #12 structures
4960   without specifying a certificate.
4961 - Added capability to read CRLs to certtool.
4962 - Corrected some functions which return GNUTLS_E_SHORT_MEMORY_BUFFER
4963   to properly set the required buffer size.
4964 - Corrected a bug in libgcrypt detection.
4966 * Version 0.9.96 (2003-11-09)
4967 - Some changes to allow compilation with mingw32.
4968 - Several code cleanups.
4970 * Version 0.9.95 (2003-11-02)
4971 - Improved the verification functions. Added new verification
4972   output flags and removed the unused and redundant ones.
4973 - Improved the OpenPGP key support.
4974 - The prime utility was removed, and its functionality was moved
4975   to certtool.
4977 * Version 0.9.94 (2003-10-30)
4978 - Added manpages for the included programs.
4979 - Documented and improved the certtool utility. 
4980 - Added PKCS #12 support to certtool utility.
4982 * Version 0.9.93 (2003-10-26)
4983 - Corrected some compilation issues.
4984 - Improved the certtool command line utility.
4986 * Version 0.9.92 (2003-10-25)
4987 - The RFC2818 hostname verification is now case insensitive.
4988 - Added support for generating X.509 certificates.
4989 - Added the certtool, a tool for generating X.509 certificates
4991 * Version 0.9.91 (2003-10-17)
4992 - Fixed a compilation issue in the openpgp authentication part.
4994 * Version 0.9.90 (2003-10-08)
4995 - Updated the openpgp key API (depends on the unreleased new
4996   opencdk).
4998 * Version 0.9.8 (2003-10-02)
4999 - Updated the SRP implementation to follow the latest draft
5000   (draft-ietf-tls-srp-05).
5001 - Improved the gnutls-cli behaviour in error handling,
5002   and added a check for the peer's hostname.
5003 - Use versioned symbols in the library (where available).
5004 - RIJNDAEL ciphersuites were renamed to AES.
5006 * Version 0.9.7 (2003-08-25)
5007 - The tex files are now included in the distribution.
5008 - The library can now decrypt PKCS #12 files encrypted with
5009   the RC2-40 cipher.
5010 - The missing rfc2818_hostname object is now included.
5011 - Several corrections and bug fixes in the library by 
5012   Arne Thomassen <arne@arne-thomassen.de>.
5013 - CR is now allowed in the base64 decoder.
5015 * Version 0.9.6 (2003-06-28)
5016 - Added gnutls_x509_privkey_get_key_id() and gnutls_x509_crt_get_key_id()
5017   functions which return a unique (per public key) ID. These can
5018   be used to check if the private key corresponds to a given certificate.
5019 - Corrections in the TLS layer openpgp certificate packet parser.
5020 - Corrected a bug in the record layer buffering, which affected
5021   the case where external pull function was used. Report and patch
5022   by Sergey Poznyakoff <gray@Mirddin.farlep.net>.
5023 - Corrected a bug in gnutls-srpcrypt where a non allocated variable
5024   was freed.
5025 - SRP programs are now built by default.
5026 - Added API to read and write to PKCS #12 structures. Prototypes
5027   in gnutls/pkcs12.h.
5028 - The gnutls_transport_ptr type was changed to a pointer type (void*).
5030 * Version 0.9.5 (2003-04-06)
5031 - Several improvements in the PKCS #7 handling
5032 - Eliminated several hard coded constants in MPI parameters.
5034 * Version 0.9.4 (2003-03-28)
5035 - Corrected a parsing error in the Certificate request message.
5036 - Corrected behaviour when a certificate request message is received.
5037   Now a certificate packet is always sent, and in SSL 3.0 cipher suites
5038   a no_certificate alert is sent instead.
5039 - Added functionality to generate PKCS #7 structures (with certificates).
5041 * Version 0.9.3 (2003-03-24)
5042 - Support for MD2 was dropped. 
5043 - Improved the error logging functions, by adding a level, and
5044   by allowing debugging messages just by increasing the level.
5045 - The diffie Hellman ciphersuites are now of higher priority than
5046   the plain RSA.
5047 - The RSA premaster secret version check can no longer be disabled.
5048 - Implemented the counter measure discussed in the paper "Attacking
5049   RSA-based Sessions in SSL/TLS", against the attack described in the
5050   same paper.
5051 - Added the functions: gnutls_handshake_get_last_in(), 
5052   gnutls_handshake_get_last_out().
5053 - The gnutls_certificate_set_rsa_params() was renamed to 
5054   gnutls_certificate_set_rsa_export_params().
5055 - Added the new functions: gnutls_certificate_set_x509_key()
5056   gnutls_certificate_set_x509_trust(), gnutls_certificate_set_x509_crl(),
5057   gnutls_x509_crt_export(), gnutls_x509_crl_export().
5058 - Added support for encoding and decoding PKCS #8 2.0 encrypted 
5059   RSA private keys.
5061 * Version 0.9.2 (2003-03-15)
5062 - Some corrections in the memory mapping code (file is unmapped after 
5063   it is read).
5064 - Added support for PKCS#10 certificate requests generation.
5066 * Version 0.9.1 (2003-03-12)
5067 - Corrected a bug in 64 bit architectures, which affected the
5068   serial number calculation in the record layer.
5069 - Added gnutls_certificate_free_keys() which deletes all the
5070   private keys and certificates from the credentials structure.
5071 - Corrected a broken buffer check in _gnutls_io_read_buffered(),
5072   which caused some unexpected packet length errors. Report and patch
5073   by Ian Peters <itp@ximian.com>.
5074 - Added ability to generate RSA keys.
5075 - Increased the maximum parameter size in order to read some large keys
5076   by some CAs. Patch by Ian Peters <itp@ximian.com>.
5077 - Added an strnstr() function and the requirement in some functions to
5078   use null terminated PEM structures is no more.
5079 - Use mmap() if available to read files.
5080 - Fixed a memory leak in SRP code reported by Rupert Kittinger 
5081   <r.kittinger@efkon.com>.
5083 * Version 0.9.0 (2003-03-03)
5084 - This version is not binary compatible with the previous ones.
5085 - The library notifies the application on empty and illegal SRP usernames, 
5086   so that proper notification (via an alert) is sent to the peer.
5087 - Added ability to send some messages back to the application using
5088   the gnutls_global_set_log_function().
5089 - gnutls_dh_params_generate() and gnutls_rsa_params_generate() now use 
5090   gnutls_malloc() to allocate the output parameters.
5091 - Added support for MD2 algorithm in certificate signature verification.
5092 - The RSA and DH parameter generation interface was changed. Added
5093   ability to import and export from and to PKCS3 structures. This 
5094   was needed to read parameters generated using the openssl dhparam tool.
5095 - Several changes in the temporary (DH/RSA) parameter codebase. No DH 
5096   parameters are now included in the library. Also the credentials structure 
5097   can now hold only one temporary parameter of a kind.
5098 - Added a new Certificate, CRL, Private key and PKCS7 structures handling 
5099   API, defined in gnutls/x509.h
5100 - Added gnutls_certificate_set_verify_flags() function to allow setting the 
5101   verification flags in the credentials structure. They will be used in the
5102   *verify_peers functions.
5103 - Added protection against the new TLS 1.0 record layer timing attack.
5104 - Added support for Certificate revocation lists. Functions defined
5105   in gnutls/x509.h
5106 - The only functions that were removed are:
5107   gnutls_x509_certificate_to_xml()
5108   gnutls_x509_extract_dn_string()
5109 - Ported to libtasn1 0.2.x
5111 * Version 0.8.1 (2003-01-22)
5112 - Improved the SRP support, to prevent attackers guessing the
5113   available usernames by brute force.
5114 - Improved the SRP detection in gnutls-cli-debug
5115 - Some fixes which now allow compilation.
5117 * Version 0.8.0 (2003-01-20)
5118 - Added gnutls_x509_extract_dn_string() which returns a 
5119   distinguished name in a single string.
5120 - Added gnutls_openpgp_extract_key_name_string() which returns
5121   an openpgp user ID in a single string.
5122 - Added gnutls_x509_extract_certificate_ca_status() which returns
5123   the CA status of the given certificate.
5124 - Added SRP-6 support. Follows draft-ietf-tls-srp-04.
5125 - If libtasn1 is not present in the system, it is included in 
5126   the main gnutls library.
5127 - If liblzo is present in the system, then the included minilzo
5128   will not be used, and libgnutls-extra will depend on liblzo.
5129 - GNUTLS_E_PARSING_ERROR error code was replaced by GNUTLS_E_BASE64_DECODING_ERROR, 
5130   and GNUTLS_E_SRP_PWD_PARSING_ERROR. GNUTLS_E_ASCII_ARMOR_ERROR was also 
5131   replaced by GNUTLS_E_BASE64_DECODING_ERROR.
5133 * Version 0.6.0 (2002-12-08)
5134 - Added "gnutls/compat4.h" header. This is included in gnutls.h
5135   to emulate the old 0.4.x API.
5136 - Example programs are now stored in doc/examples/
5137 - Several improvements and updates in the documentation.
5138 - Added the certificate authenticated SRP cipher suites.
5139 - gnutls_x509_extract_certificate_dn_string() was updated to return
5140   an RFC2253 conforming string.
5141 - Added the SRP related functions:
5142    gnutls_srp_verifier()
5143    gnutls_srp_base64_encode()
5144    gnutls_srp_base64_decode()
5145 - Added the function gnutls_srp_set_server_credentials_function()
5146   to allow retrieving SRP parameters from an external backend - other
5147   than password files.
5148 - Added the function gnutls_openpgp_set_recv_key_function()
5149   which can be used to set a callback, to get OpenPGP keys.
5150 - Exported the functions:
5151    gnutls_malloc()
5152    gnutls_free()
5153   which should be used by callback functions.
5154 - Changed the semantics of gnutls_pem_base64_encode_alloc()
5155   and gnutls_pem_base64_decode_alloc(). In the default case
5156   were the gnutls library is used with malloc/realloc/free,
5157   these are binary compatible.
5159 * Version 0.5.11 (2002-11-05)
5160 - Some fixes in 'gnutls-cli' client program to prevent some segmentation 
5161   faults at exit.
5162 - Example programs found in the documentation can now be generated by
5163   running "make examples" in doc/tex directory.
5164 - Added more descriptive error strings, to gnutls_strerror().
5165 - Documented error codes, and the function reference list is now sorted.
5166 - Optimized buffering code.
5167 - gnutls_x509_extract_certificate_dn_string() was rewritten.
5168 - Added GNUTLS_E_SHORT_MEMORY_BUFFER error code, which is returned in the
5169   case where the memory buffer provided is not long enough.
5170 - Depends on the new OpenCDK 0.3.2.
5172 * Version 0.5.10 (2002-10-13)
5173 - Updated documentation.
5174 - Added server name extension. This allows clients to specify the
5175   name of the server they connect to. Useful to HTTPS.
5176 - Several corrections in the code base, mostly in signed/unsigned,
5177   checkings.
5179 * Version 0.5.9 (2002-10-10)
5180 - Corrected some code which worked fine in gcc 3.2, but not with any
5181   other compiler.
5182 - Updated 'gnutls-cli' with the '--starttls' option, to allow testing
5183   starttls implementations.
5184 - Added gnutls_x509_extract_key_pk_algorithm() function which extracts
5185   the private key type, of a DER encoded key.
5186 - Added gnutls_x509_extract_certificate_dn_string() which returns the 
5187   certificate's distinguished name in a single string.
5188 - Added gnutls_set_default_priority() and gnutls_set_default_export_priority()
5189   functions, to avoid calling all the *_priority() functions if the defaults
5190   are acceptable.
5191 - Added int gnutls_x509_check_certificates_hostname() which check whether
5192   the given hostname matches the owner of the given X.509 certificate.
5194 * Version 0.5.8 (2002-09-25)
5195 - Updated documentation.
5196 - Added gnutls_record_get_direction() which replaces the obsolete
5197   gnutls_handshake_get_direction().
5198 - Added function to convert error codes to alert descriptions
5199 - Added LZO compression
5201 * Version 0.5.7 (2002-09-11)
5202 - Some fixes in the memory allocation functions (realloc).
5203 - Improved the string functions used in XML certificate generation.
5204 - Removed dependency on libgdbm.
5205 - Corrected bug in gnutls_dh_params_set() which affected
5206   gnutls_dh_params_deinit().
5207 - Corrected bug in session resuming code in server side.
5209 * Version 0.5.6 (2002-09-06)
5210 - Corrected bugs in SRP implementation, which prevented gnutls 
5211   to interoperate with other implementations. (interoperability testing
5212   was done by David Taylor)
5213 - Corrected bug in cert_type extension.
5214 - Corrected extension type checks which used an 8 bit extension size,
5215   instead of 16 bits.
5216 - Added versioning in the XML output of certificate functions.
5217 - Removed the X.509 test suite.
5219 * Version 0.5.5 (2002-09-03)
5220 - Updated the SRP implementation to the latest draft. The blowfish
5221   crypt implementation was removed, since the new draft does not allow
5222   other hash algorithms except for the srpsha. 
5223 - Renamed all the constructed types in order to have more consistent
5224   names. 
5225 - Improved the certificate and key read functions. Now they can read 
5226   the certificate and the private key from the same file.
5227 - Updated and corrected documentation.
5229 * Version 0.5.4 (2002-08-27)
5230 - Fixes in TLS 1.0 PRF and SSL3 random functions.
5231 - gnutls_handshake_set_exportable_detection() was obsoleted.
5232 - Added gnutls_openpgp_extract_key_id() which returns the key ID.
5233 - Corrected bug in DHE key exchange
5234 - Added support for temporary RSA keys which are needed for the
5235   export cipher suites.
5236 - Added the TLS_RSA_EXPORT_ARCFOUR_40_MD5 ciphersuite.
5238 * Version 0.5.3 (2002-08-23)
5239 - No changes. Replaces the tarball of 0.5.2 which accidentally contained
5240   code from the unstable branch.
5242 * Version 0.5.2 (2002-08-22)
5243 - Added an error code that is returned in clients which connect
5244   to export only servers. This must be enabled using the
5245   gnutls_handshake_set_exportable_detection() function.
5246 - Updated openssl compatibility layer.
5247 - Added gnutls_handshake_get_direction() function which returns
5248   the state of the handshake when interrupted.
5250 * Version 0.5.1 (2002-07-17)
5251 - Corrected the m4 macros which used <gnutls.h> instead of
5252   <gnutls/gnutls.h>
5253 - Documentation fixes
5254 - Added gnutls_transport_set_ptr2() function, which accepts two
5255   different pointers, to be used while receiving, and 
5256   while sending data.
5257 - Semantic changes in gnutls_record_set_max_size(). The requested
5258   size is now immediately enforced at the output buffers.
5259 - gnutls_global_init_extra() now fails if the library versions do
5260   not match.
5261 - Fixes in client and server example programs. Null encryption can
5262   be used in these programs, to assist in debuging.
5263 - Fixes in zlib compression code.
5265 * Version 0.5.0 (2002-07-06)
5266 - Added X.509 certificate tests in tests/ directory
5267 - Removed stubs for SRP and Anonymous authentication. They served
5268   no purpose since they are always included, unless it was requested
5269   not to do so.
5270 - Added gnutls_handshake_set_private_extensions() function. This
5271   function can be used to enable private (gnutls specific) cipher suites
5272   and compression algorithms.
5273 - Added check for C99 macro support by the compiler.
5274 - Added functions gnutls_b64_encode_fmt2() and gnutls_b64_decode_fmt2()
5275 - Added the new libtasn1 library.
5276 - Removed the gdbm backend. Applications are now responsible for the
5277   session resuming backend. The gnutls-serv application contains an
5278   simple example on how to use gdbm for resuming.
5279 - Headers for the gnutls library are now installed in $(includedir)/gnutls
5280 - Added an OpenSSL compatible interface (with some limitations).
5281 - Added functions to convert DER encoded certificates to XML format.
5283 * Version 0.4.4 (2002-06-24)
5284 - Corrected bug in PKCS-1 RSA encryption which prevented gnutls to encrypt
5285   using keys of some specific size.
5287 * Version 0.4.3 (2002-05-23)
5288 - The gnutls-extra library now compiles fine, if the opencdk library is
5289   not present.
5290 - Several bug fixes.
5291 - Added gnutls_global_set_mem_func() function, to set the memory allocation
5292   functions, if other than the defaults are to be used.
5293 - The default memory allocation functions are now the ones in libc.
5295 * Version 0.4.2 (2002-05-21)
5296 - Separated ASN.1 structures parser documentation and TLS library
5297   documentation.
5298 - Added gnutls_handshake_set_rsa_pms() function, which disables the
5299   version check in RSA premaster secret.
5300 - Added gnutls_session_is_resumed() function, which reports if a session
5301   is a resumed one.
5302 - Added gnutls_state_set_ptr() and gnutls_state_get_ptr() functions, to
5303   assist in callback functions.
5304 - Replaced the included 1024 bit prime for Diffie Hellman, with a new
5305   random one.
5306 - Relicensed the library under the GNU Lesser General Public License
5307 - Added gnutls-extra library which contains the GPL covered code of gnutls.
5309 * Version 0.4.1 (2002-04-07)
5310 - Now uses alloca() for temporary variables
5311 - Optimized RSA signing
5312 - Added functions to return the peer's certificate activation and
5313   expiration time.
5314 - Corrected time function's behaviour (the time value returned no longer
5315   relate to local timezone).
5317 * Version 0.4.0 (2002-04-01)
5318 - Added support for RFC2630 (PKCS7) X.509 certificate sets
5319 - Added new functions: gnutls_x509_extract_certificate_pk_algorithm(),
5320   gnutls_openpgp_extract_key_pk_algorithm().
5321 - Several optimizations in the Handshake protocol
5322 - Several optimizations in RSA algorithm
5323 - Unified the return values because of small buffers.
5325 * Version 0.3.92 (2002-03-23)
5326 - Updated documentation
5327 - Combined error codes of ASN.1 parser and gnutls
5328 - Removed GNUTLS_CERT_TRUSTED from the CertificateStatus enumeration
5329 - Added protection against CBC chosen plaintext attack (disabled by default)
5330 - Improved and optimized compression support
5332 * Version 0.3.91 (2002-03-03)
5333 - Added gnutls-cli-debug program
5334 - Corrections in session resumption
5335 - Rehandshake can now handle negotiation of different authentication
5336   type.
5337 - gnutls-cli, gnutls-serv, gnutls-srpcrypt and gnutls-cli-debug are 
5338   now being installed.
5340 * Version 0.3.90 (2002-02-24)
5341 - Handshake messages are not kept in memory any more. Now we use 
5342   less memory during a handshake
5343 - Added support for certificates with DSA parameters
5344 - Added DHE_DSS cipher suites
5345 - Key exchange methods changed so they do not depend on the 
5346   certificate type. Added certificate type negotiation TLS extension.
5347 - Added openpgp key support (EXPERIMENTAL)
5348 - Improved Diffie Hellman key exchange support.
5349 - Bug fixes in the RSA key exchange.
5350 - Added check for the requested TLS extensions
5351 - TLS extensions now use a 16 bit type field.
5352 - Added a minimal string library to assist in ASN.1 parsing
5353 - Changes in ASN.1 parser to work with the new bison
5354 - Added gnutls_x509_extract_subject_alt_name(), which deprecates 
5355   gnutls_x509_extract_subject_dns_name()
5356 - gnutls_x509_set_trust_(file/mem) can now be called multiple times
5357 - gnutls_srp_server_set_cred_file() can now be called multiple times
5359 * Version 0.3.5 (2002-01-25)
5360 - Corrected the RSA key exchange method, to avoid attacks against
5361   PKCS-1 formating.
5363 * Version 0.3.4 (2002-01-20)
5364 - Corrected bugs in DHE_RSA key exchange method
5366 * Version 0.3.3 (2002-01-19)
5367 - Added gnutls_x509pki_verify_certificate()
5368 - Added gnutls_x509pki_set_trust_mem() and gnutls_x509pki_set_key_mem()
5369 - Bug fixes in srpcrypt (based on patch by Marc Huber)
5370 - Bug fixes in the Handshake protocol (based on patch by Guillaume Morin)
5371 - Corrected library versioning
5373 * Version 0.3.2 (2002-01-05)
5374 - Corrected bug which did not allow a client to accept multiple CA names
5375 - Added gnutls_fingerprint()
5376 - Added gnutls_x509pki_extract_certificate_serial()
5377 - Added gnutls_b64_encode_fmt() and gnutls_b64_decode_fmt()
5378 - Corrected behaviour in version advertizing
5379 - Updated documentation
5380 - Prefixed all types in gnutls.h with 'GNUTLS_' to avoid namespace collisions
5382 * Version 0.3.1 (2001-12-21)
5383 - Corrections in the configuration files
5384 - Fixes a bug in anonymous authentication
5386 * Version 0.3.0 (2001-12-17)
5387 - Corrected bug in new integer formatting (now we use the old format again)
5388 - Several corrections and usual cleanups
5390 * Version 0.2.91 (2001-12-10)
5391 - Fixes in MPI handling (fixes possible bug with signed integers)
5392 - Removed name indication extension
5393 - Added gnutls_transport_get_ptr() and gnutls_db_get_ptr()
5394 - Optimizations in server certificate callback.
5395 - Fixes in anonymous authentication
5396 - Corrections in client ciphersuite selection
5398 * Version 0.2.90 (2001-12-07)
5399 - gnutls_handshake(), gnutls_read() etc. functions no longer require
5400   the 'SOCKET cd' argument. This argument is set using the function
5401   gnutls_set_transport_ptr().
5402 - introduced gnutls_x509pki_get_peer_certificate_list(). This function returns
5403   a list containing peer's certificate and issuers DER encoded.
5404 - Updated X.509 certificate handling API
5405 - Added callback to select the server certificate
5406 - More consistent function naming (changes in several function names)
5407 - Buffer overflow checking in ASN.1 structures parser
5408 - Updated documentation
5410 * Version 0.2.11 (2001-11-16)
5411 - Changed the meaning of GNUTLS_E_REHANDSHAKE value. If this value
5412   is returned, then the caller should perform a handshake or send
5413   an alert to the peer.
5414 - Made receive buffer dynamic. Normally if no large chunks are received
5415   it occupies less space.
5416 - Added max_record_size extension
5417 - Bugfixes in session handling
5418 - Improved non blocking IO support in the Handshake Protocol
5419 - Usual bugfixes and cleanups
5420 - Documentation updated (includes ASN.1 documentation)
5422 * Version 0.2.10 (2001-11-05)
5423 - Corrected bugs and improved non blocking IO
5424 - Added hooks to use external database to store sessions
5425 - Usual cleanups
5427 * Version 0.2.9 (2001-10-27)
5428 - AUTH_INFO types and structures were moved to library internals
5429 - AUTH_FAILED is no longer returned in SRP authentication
5430   (any fatal error in SRP means auth failed)
5431 - Introduced GNUTLS_E_INTERRUPTED
5432 - Added support for non blocking IO
5433 - gnutls_recv() and gnutls_send() are now obsolete
5434 - Changed semantics of gnutls_rehandshake()
5436 * Version 0.2.4 (2001-10-12)
5437 - Better handling of X.509 certificate extensions
5438 - Added DHE_RSA ciphersuites
5439 - Updated the Name Indication (dnsname) extension
5440 - Improvements in Diffie Hellman primes handling
5442 * Version 0.2.3 (2001-09-19)
5443 - Memory optimizations in gnutls_recv()
5444 - Fixed several memory leaks
5445 - Added ability to specify callback for x509 client certificate selection
5446 - Better documentation
5448 * Version 0.2.2 (2001-08-21)
5449 - Several bugfixes (library and documentation)
5451 * Version 0.2.1 (2001-08-07)
5452 - SRP fixes
5454 * Version 0.2.0 (2001-08-07)
5455 - Partial support for X.509v3 Certificate extensions.
5456 - Added Internal memory handlers
5457 - Removed gnutls_x509_set_cn()
5458 - Added X.509 client authentication
5459 - Several bug fixes and protocol fixes
5461 * Version 0.1.9 (2001-07-30)
5462 - Corrected bug(s) in ChangeCipherSpec packet (fixes renegotiate)
5463 - SRP is updated to conform to the newest draft.
5464 - Added support for DNSNAME extension.
5465 - Reentracy fixes in ASN.1 Parsing.
5466 - Optimizations in hash/hmac functions
5467 - (Error) message handling has changed
5468 - Better Protocol Version handling
5469 - Added X.509 Certificate Verification
5470 - gnutls_read() semantics are now closer to read(2) - added EOF
5471 - Documented some part of gnutls in doc/tex/ using Latex
5473 * Version 0.1.4 (2001-06-22)
5474 - Corrected (srp) base64 encoding.
5475 - Changed bcrypt algorithm to include username.
5476 - Added RSA Ciphersuites (no certificate checking).
5477 - Fixes in SSL 2.0 client hello parsing.
5478 - Added ASN.1 and DER parsers.
5479 - Bugfixes in session resuming
5480 - Updated Ciphersuite selection algorithm
5481 - Added internal representation of X.509 structures.
5482 - Added global state
5484 * Version 0.1.3 (2001-06-01)
5485 - Updated API (and the way it is documented - we use inline documentation)
5486 - Added function to access alert messages.
5487 - Added support for renegotiating parameters.
5488 - Better and Faster Resume Database handling.
5489 - Several bugfixes
5491 * Version 0.1.2 (2001-05-14)
5492 - Updated API
5493 - Fixes in extension handling
5495 * Version 0.1.1 (2001-05-13)
5496 - Added compatibility with Stanford's libsrp library
5498 * Version 0.1.0 (2001-05-09)
5499 - Added SSL 2.0 client hello support
5500 - GNUTLS is a gnu library
5501 - Added support for TLS extensions.
5502 - Added support for SRP
5504 * Version 0.0.7 (2001-01-11)
5505 - Added server side session resuming (using gdbm)
5506 - Added twofish algorithm
5508 * Version 0.0.6 (2000-12-20)
5509 - Added client side session resuming
5510 - Better documentation (check doc/API)
5511 - Better socket handling (gnutls can be used with select())
5512 - Some primitive support for non blocking IO and socket options has been added.
5514 * Version 0.0.5 (2000-12-07)
5515 - Added Compression (using ZLIB)
5516 - Added SSL 3.0 support
5518 ----------------------------------------------------------------------
5519 Copying and distribution of this file, with or without modification,
5520 are permitted in any medium without royalty provided the copyright
5521 notice and this notice are preserved.