Export new ABIs. Doc fixes for new APIs.
[gnutls.git] / NEWS
blob0a392e90df7d391c5d180361010a9486fef62424
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: Time verification extended to trusted certificate list,
9 unless GNUTLS_VERIFY_DISABLE_TRUSTED_TIME_CHECKS flag is specified.
11 ** certtool: Display postalCode and Name X.509 DN attributes correctly.
12 Based on patch by Pavan Konjarla.
14 ** libgnutls: Added Steve Dispensa's patch for safe renegotiation (RFC 5746)
15 Solves the issue discussed in:
16 <http://www.ietf.org/mail-archive/web/tls/current/msg03928.html> and
17 <http://www.ietf.org/mail-archive/web/tls/current/msg03948.html>.
18 Note that to allow connecting to unpatched servers the full protection
19 is only enabled if the priority string %SAFE_RENEGOTIATION is
20 specified. You can check whether protection is in place by querying
21 gnutls_safe_renegotiation_status().
23 ** libgnutls: When checking openpgp self signature also check the signatures
24 ** of all subkeys.
25 Ilari Liusvaara noticed and reported the issue and provided test
26 vectors as well.
28 ** libgnutls: Added cryptodev support (/dev/crypto).
29 Tested with http://www.logix.cz/michal/devel/cryptodev/.  Added
30 benchmark utility for AES.  Exported API to access encryption and hash
31 algorithms.
33 ** libgnutls: Added gnutls_certificate_set_verify_function() to allow
34 verification of certificate upon receipt rather than waiting until the
35 end of the handshake.
37 ** certtool: Corrected two issues that affected certificate request generation.
38 (1) Null padding is added on integers (found thanks to Wilankar Trupti),
39 (2) In optional SignatureAlgorithm parameters field for DSA keys the DSA
40 parameters were added. Those were rejected by Verisign. Gnutls no longer adds 
41 those parameters there since other implementations don't do either and having 
42 them does not seem to offer anything (anyway you need the signer's certificate
43 to verify thus public key will be available). Found thanks to Boyan Kasarov.
44 This however has the side-effect that public key IDs shown by certtool are
45 now different than previous gnutls releases.
46 (3) the option --pgp-certificate-info will verify self signatures
48 ** certtool: Allow exporting of Certificate requests on DER format.
50 ** certtool: New option --no-crq-extensions to avoid extensions in CSRs.
52 ** gnutls-cli: Handle reading binary data from server.
53 Reported by and tiny patch from Vitaly Mayatskikh
54 <v.mayatskih@gmail.com> in
55 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/4096>.
57 ** minitasn1: Upgraded to libtasn1 version 2.5.
59 ** i18n: Updated Czech, Dutch, French, Polish, Swedish translation.
60 ** Added Italian and Simplified Chinese translation.
61 Thanks to Petr Pisar, Erwin Poeze, Nicolas Provost, Jakub Bogusz,
62 Daniel Nylander, Sergio Zanchetta, Tao Wei, and Aron Xu.
64 ** doc: The GTK-DOC manual is significantly improved.
66 ** API and ABI modifications:
67 gnutls_certificate_set_verify_function: ADDED.
68 gnutls_cipher_decrypt: ADDED.
69 gnutls_cipher_deinit: ADDED.
70 gnutls_cipher_encrypt: ADDED.
71 gnutls_cipher_get_block_size: ADDED.
72 gnutls_cipher_init: ADDED.
73 gnutls_hash: ADDED.
74 gnutls_hash_deinit: ADDED.
75 gnutls_hash_fast: ADDED.
76 gnutls_hash_get_len: ADDED.
77 gnutls_hash_init: ADDED.
78 gnutls_hash_output: ADDED.
79 gnutls_hmac: ADDED.
80 gnutls_hmac_deinit: ADDED.
81 gnutls_hmac_fast: ADDED.
82 gnutls_hmac_get_len: ADDED.
83 gnutls_hmac_init: ADDED.
84 gnutls_hmac_output: ADDED.
85 gnutls_safe_negotiation_set_initial: ADDED.
86 gnutls_safe_renegotiation_set: ADDED.
87 gnutls_safe_renegotiation_status: ADDED.
88 %UNSAFE_RENEGOTIATION: Added to priority strings
89 %INITIAL_SAFE_RENEGOTIATION: Added to priority strings
90 %DISABLE_SAFE_RENEGOTIATION: Added to priority strings (do not use)
91 GNUTLS_VERSION_MAX: Added.
93 * Version 2.9.9 (released 2009-11-09)
95 ** libgnutls: Cleanups and several bug fixes.
96 Found by Steve Grubb and Tomas Mraz.
98 ** Link libgcrypt explicitly to certtool, gnutls-cli, gnutls-serv.
100 ** Fix --disable-valgrind-tests.
101 Reported by Ingmar Vanhassel in
102 <https://savannah.gnu.org/support/?107029>.
104 ** API and ABI modifications:
105 No changes since last version.
107 * Version 2.9.8 (released 2009-11-05)
109 ** libgnutls: Fix for memory leaks on interrupted handshake.
110 Reported by Tang Tong.
112 ** libgnutls: Addition of support for TLS 1.2 signature algorithms
113 ** extension and certificate verify field.
114 This requires changes for TLS 1.2 servers and clients that use
115 callbacks for certificate retrieval.  They are now required to check
116 with gnutls_sign_algorithm_get_requested() whether the certificate
117 they send complies with the peer's preferences in signature
118 algorithms.
120 ** libgnutls: In server side when resuming a session do not overwrite the 
121 ** initial session data with the resumed session data.
123 ** libgnutls: Added support for AES-128, AES-192 and AES-256 in PKCS #8
124 ** encryption.
125 This affects also PKCS #12 encoded files.  This adds the following new
126 enums: GNUTLS_CIPHER_AES_192_CBC, GNUTLS_PKCS_USE_PBES2_AES_128,
127 GNUTLS_PKCS_USE_PBES2_AES_192, GNUTLS_PKCS_USE_PBES2_AES_256.
129 ** libgnutls: Fix PKCS#12 encoding.
130 The error you would get was "The OID is not supported.".  Problem
131 introduced for the v2.8.x branch in 2.7.6.
133 ** certtool: Added the --pkcs-cipher option.
134 To explicitely specify the encryption algorithm to use.
136 ** tests: Added "pkcs12_encode" self-test to check PKCS#12 functions.
138 ** tests: Fix time bomb in chainverify self-test.
139 Reported by Andreas Metzler <ametzler@downhill.at.eu.org> in
140 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3925>.
142 ** tests: Fix expired cert in chainverify self-test.
144 ** i18n: Vietnamese translation updated.
145 Thanks to Clytie Siddall.
147 ** API and ABI modifications:
148 GNUTLS_CIPHER_AES_192_CBC: ADDED to gnutls/gnutls.h.
149 GNUTLS_PKCS_USE_PBES2_AES_128: ADDED to gnutls/x509.h.
150 GNUTLS_PKCS_USE_PBES2_AES_192: ADDED to gnutls/x509.h.
151 GNUTLS_PKCS_USE_PBES2_AES_256: ADDED to gnutls/x509.h.
152 GNUTLS_BAG_SECRET: ADDED to gnutls/pkcs12.h.
153 GNUTLS_DIG_UNKNOWN: ADDED to gnutls/gnutls.h.
154 gnutls_sign_algorithm_get_requested: ADDED.
156 * Version 2.9.7 (released 2009-10-06)
158 ** libgnutls: TLS 1.2 server mode fixes.
159 Now interoperates against Opera.  Contributed by Daiki Ueno.
161 ** libgnutlsxx: Fix link problems.
162 Tiny patch from Boyan Kasarov <bkasarov@gmail.com>.
164 ** guile: Compatibility with guile 2.x.
165 By Ludovic Courtes <ludovic.courtes@laas.fr>.
167 ** API and ABI modifications:
168 No changes since last version.
170 * Version 2.9.6 (released 2009-09-22)
172 ** libgnutls: Enable Camellia ciphers by default.
174 ** API and ABI modifications:
175 No changes since last version.
177 * Version 2.9.5 (released 2009-09-10)
179 ** libgnutls: Add new functions to extract X.509 Issuer Alternative Names.
180 The new functions are gnutls_x509_crt_get_issuer_alt_name2,
181 gnutls_x509_crt_get_issuer_alt_name, and
182 gnutls_x509_crt_get_issuer_alt_othername_oid.  Contributed by Brad
183 Hards <bradh@frogmouth.net>.
185 ** API and ABI modifications:
186 gnutls_x509_crt_get_issuer_alt_name2: ADDED.
187 gnutls_x509_crt_get_issuer_alt_name: ADDED.
188 gnutls_x509_crt_get_issuer_alt_othername_oid: ADDED.
190 * Version 2.9.4 (released 2009-09-03)
192 ** libgnutls: Client-side TLS 1.2 and SHA-256 ciphersuites now works.
193 The new supported ciphersuites are AES-128/256 in CBC mode with
194 ANON-DH/RSA/DHE-DSS/DHE-RSA.  Contributed by Daiki Ueno.  Further,
195 SHA-256 is now the preferred default MAC (however it is only used with
196 TLS 1.2).
198 ** libgnutls: Make OpenPGP hostname checking work again.
199 The patch to resolve the X.509 CN/SAN issue accidentally broken
200 OpenPGP hostname comparison.
202 ** libgnutls: When printing X.509 certificates, handle XMPP SANs better.
203 Reported by Howard Chu <hyc@symas.com> in
204 <https://savannah.gnu.org/support/?106975>.
206 ** Fix use of deprecated types internally.
207 Use of deprecated types in GnuTLS from now on will lead to a compile
208 error, to prevent this from happening again.
210 ** API and ABI modifications:
211 No changes since last version.
213 * Version 2.9.3 (released 2009-08-19)
215 ** libgnutls: Support for TLS tickets was contributed by Daiki Ueno.
216 The new APIs are gnutls_session_ticket_enable_client,
217 gnutls_session_ticket_enable_server, and
218 gnutls_session_ticket_key_generate.
220 ** gnutls-cli, gnutls-serv: New parameter --noticket to disable TLS tickets.
222 ** API and ABI modifications:
223 gnutls_session_ticket_key_generate: ADDED.
224 gnutls_session_ticket_enable_client: ADDED.
225 gnutls_session_ticket_enable_server: ADDED.
227 * Version 2.9.2 (released 2009-08-14)
229 ** libgnutls: Fix problem with NUL bytes in X.509 CN and SAN fields.
230 By using a NUL byte in CN/SAN fields, it was possible to fool GnuTLS
231 into 1) not printing the entire CN/SAN field value when printing a
232 certificate and 2) cause incorrect positive matches when matching a
233 hostname against a certificate.  Some CAs apparently have poor
234 checking of CN/SAN values and issue these (arguable invalid)
235 certificates.  Combined, this can be used by attackers to become a
236 MITM on server-authenticated TLS sessions.  The problem is mitigated
237 since attackers needs to get one certificate per site they want to
238 attack, and the attacker reveals his tracks by applying for a
239 certificate at the CA.  It does not apply to client authenticated TLS
240 sessions.  Research presented independently by Dan Kaminsky and Moxie
241 Marlinspike at BlackHat09.  Thanks to Tomas Hoger <thoger@redhat.com>
242 for providing one part of the patch.  [GNUTLS-SA-2009-4] [CVE-2009-2730].
244 ** libgnutls: Fix rare failure in gnutls_x509_crt_import.
245 The function may fail incorrectly when an earlier certificate was
246 imported to the same gnutls_x509_crt_t structure.
248 ** minitasn1: Internal copy updated to libtasn1 v2.3.
250 ** libgnutls: Fix return value of gnutls_certificate_client_get_request_status.
251 Before it always returned false.  Reported by Peter Hendrickson
252 <pdh@wiredyne.com> in
253 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3668>.
255 ** libgnutls: Fix off-by-one size computation error in unknown DN printing.
256 The error resulted in truncated strings when printing unknown OIDs in
257 X.509 certificate DNs.  Reported by Tim Kosse
258 <tim.kosse@filezilla-project.org> in
259 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3651>.
261 ** libgnutls: Fix PKCS#12 decryption from password.
262 The encryption key derived from the password was incorrect for (on
263 average) 1 in every 128 input for random inputs.  Reported by "Kukosa,
264 Tomas" <tomas.kukosa@siemens-enterprise.com> in
265 <http://permalink.gmane.org/gmane.network.gnutls.general/1663>.
267 ** libgnutls: Return correct bit lengths of some MPIs.
268 gnutls_dh_get_prime_bits, gnutls_rsa_export_get_modulus_bits, and
269 gnutls_dh_get_peers_public_bits.  Before the reported value was
270 overestimated.  Reported by Peter Hendrickson <pdh@wiredyne.com> in
271 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3607>.
273 ** libgnutls: Avoid internal error when invoked after GNUTLS_E_AGAIN.
274 Report and patch by Tim Kosse <tim.kosse@filezilla-project.org> in
275 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3671>
277 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3670>.
279 ** libgnutls: Relax checking of required libtasn1/libgcrypt versions.
280 Before we required that the runtime library used the same (or more
281 recent) libgcrypt/libtasn1 as it was compiled with.  Now we just check
282 that the runtime usage is above the minimum required.  Reported by
283 Marco d'Itri <md@linux.it> via Andreas Metzler
284 <ametzler@downhill.at.eu.org> in <http://bugs.debian.org/540449>.
286 ** tests: Added new self-test pkcs12_s2k_pem to detect MPI bit length error.
288 ** tests: Improved test vectors in self-test pkcs12_s2k.
290 ** tests: Added new self-test dn2 to detect off-by-one size error.
292 ** tests: Fix failure in "chainverify" because a certificate have expired.
294 ** API and ABI modifications:
295 No changes since last version.
297 * Version 2.9.1 (released 2009-06-08)
299 ** libgnutls: Fix crash in gnutls_global_init after earlier init/deinit cycle.
300 Forwarded by Martin von Gagern <Martin.vGagern@gmx.net> from
301 <http://bugs.gentoo.org/272388>.
303 ** tests: Added new self-tests init_roundtrip.c to detect previous problem.
305 ** Reduce stack usage for some CRQ functions.
307 ** Doc fixes for CRQ functions.
309 ** API and ABI modifications:
310 No changes since last version.
312 * Version 2.9.0 (released 2009-05-28)
314 ** Doc fixes.
316 ** API and ABI modifications:
317 No changes since last version.
319 * Version 2.8.3 (released 2009-08-13)
321 ** libgnutls: Fix patch for NUL in CN/SAN in last release.
322 Code intended to be removed would lead to an read-out-bound error in
323 some situations.  Reported by Tomas Hoger <thoger@redhat.com>.  A CVE
324 code have been allocated for the vulnerability: [CVE-2009-2730].
326 ** libgnutls: Fix rare failure in gnutls_x509_crt_import.
327 The function may fail incorrectly when an earlier certificate was
328 imported to the same gnutls_x509_crt_t structure.
330 ** libgnutls-extra, libgnutls-openssl: Fix MinGW cross-compiling build error.
332 ** tests: Made self-test mini-eagain take less time.
334 ** doc: Typo fixes.
336 ** API and ABI modifications:
337 No changes since last version.
339 * Version 2.8.2 (released 2009-08-10)
341 ** libgnutls: Fix problem with NUL bytes in X.509 CN and SAN fields.
342 By using a NUL byte in CN/SAN fields, it was possible to fool GnuTLS
343 into 1) not printing the entire CN/SAN field value when printing a
344 certificate and 2) cause incorrect positive matches when matching a
345 hostname against a certificate.  Some CAs apparently have poor
346 checking of CN/SAN values and issue these (arguable invalid)
347 certificates.  Combined, this can be used by attackers to become a
348 MITM on server-authenticated TLS sessions.  The problem is mitigated
349 since attackers needs to get one certificate per site they want to
350 attack, and the attacker reveals his tracks by applying for a
351 certificate at the CA.  It does not apply to client authenticated TLS
352 sessions.  Research presented independently by Dan Kaminsky and Moxie
353 Marlinspike at BlackHat09.  Thanks to Tomas Hoger <thoger@redhat.com>
354 for providing one part of the patch.  [GNUTLS-SA-2009-4].
356 ** libgnutls: Fix return value of gnutls_certificate_client_get_request_status.
357 Before it always returned false.  Reported by Peter Hendrickson
358 <pdh@wiredyne.com> in
359 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3668>.
361 ** libgnutls: Fix off-by-one size computation error in unknown DN printing.
362 The error resulted in truncated strings when printing unknown OIDs in
363 X.509 certificate DNs.  Reported by Tim Kosse
364 <tim.kosse@filezilla-project.org> in
365 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3651>.
367 ** libgnutls: Return correct bit lengths of some MPIs.
368 gnutls_dh_get_prime_bits, gnutls_rsa_export_get_modulus_bits, and
369 gnutls_dh_get_peers_public_bits.  Before the reported value was
370 overestimated.  Reported by Peter Hendrickson <pdh@wiredyne.com> in
371 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3607>.
373 ** libgnutls: Avoid internal error when invoked after GNUTLS_E_AGAIN.
374 Report and patch by Tim Kosse <tim.kosse@filezilla-project.org> in
375 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3671>
377 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3670>.
379 ** libgnutls: Relax checking of required libtasn1/libgcrypt versions.
380 Before we required that the runtime library used the same (or more
381 recent) libgcrypt/libtasn1 as it was compiled with.  Now we just check
382 that the runtime usage is above the minimum required.  Reported by
383 Marco d'Itri <md@linux.it> via Andreas Metzler
384 <ametzler@downhill.at.eu.org> in <http://bugs.debian.org/540449>.
386 ** minitasn1: Internal copy updated to libtasn1 v2.3.
388 ** tests: Fix failure in "chainverify" because a certificate have expired.
390 ** API and ABI modifications:
391 No changes since last version.
393 * Version 2.8.1 (released 2009-06-10)
395 ** libgnutls: Fix crash in gnutls_global_init after earlier init/deinit cycle.
396 Forwarded by Martin von Gagern <Martin.vGagern@gmx.net> from
397 <http://bugs.gentoo.org/272388>.
399 ** libgnutls: Fix PKCS#12 decryption from password.
400 The encryption key derived from the password was incorrect for (on
401 average) 1 in every 128 input for random inputs.  Reported by "Kukosa,
402 Tomas" <tomas.kukosa@siemens-enterprise.com> in
403 <http://permalink.gmane.org/gmane.network.gnutls.general/1663>.
405 ** API and ABI modifications:
406 No changes since last version.
408 * Version 2.8.0 (released 2009-05-27)
410 ** doc: Fix gnutls_dh_get_prime_bits.  Fix error codes and algorithm lists.
412 ** Major changes compared to the v2.4 branch:
414 *** lib: Linker version scripts reduces number of exported symbols.
416 *** lib: Limit exported symbols on systems without LD linker scripts.
418 *** libgnutls: Fix namespace issue with version symbols.
420 *** libgnutls: Add functions to verify a hash against a certificate.
421 gnutls_x509_crt_verify_hash: ADDED
422 gnutls_x509_crt_get_verify_algorithm: ADDED
424 *** gnutls-serv: Listen on all interfaces, including both IPv4 and IPv6.
426 *** i18n: The GnuTLS gettext domain is now 'libgnutls' instead of 'gnutls'.
428 *** certtool: Query for multiple dnsName subjectAltName in interactive mode.
430 *** gnutls-cli: No longer accepts V1 CAs by default during X.509 chain verify.
432 *** gnutls-serv: No longer disable MAC padding by default.
434 *** gnutls-cli: Certificate information output format changed.
436 *** libgnutls: New priority strings %VERIFY_ALLOW_SIGN_RSA_MD5
437 *** and %VERIFY_ALLOW_X509_V1_CA_CRT.
439 *** libgnutls: gnutls_x509_crt_print prints signature algorithm in oneline mode.
441 *** libgnutls: gnutls_openpgp_crt_print supports oneline mode.
443 *** libgnutls: gnutls_handshake when sending client hello during a
444 rehandshake, will not offer a version number larger than the current.
446 *** libgnutls: New interface to get key id for certificate requests.
447 gnutls_x509_crq_get_key_id: ADDED.
449 *** libgnutls: gnutls_x509_crq_print will now also print public key id.
451 *** certtool: --verify-chain now prints results of using library verification.
453 *** libgnutls: Libgcrypt initialization changed.
455 *** libgnutls: Small byte reads via gnutls_record_recv() optimized.
457 *** gnutls-cli: Return non-zero exit code on error conditions.
459 *** gnutls-cli: Corrected bug which caused a rehandshake request to be ignored.
461 *** certtool: allow setting arbitrary key purpose object identifiers.
463 *** libgnutls: Change detection of when to use a linker version script.
464 Use --enable-ld-version-script or --disable-ld-version-script to
465 override auto-detection logic.
467 *** Fix warnings and build GnuTLS with more warnings enabled.
469 *** New API to set X.509 credentials from PKCS#12 memory structure.
470 gnutls_certificate_set_x509_simple_pkcs12_mem: ADDED
472 *** Old libgnutls.m4 and libgnutls-config scripts removed.
473 Please use pkg-config instead.
475 *** libgnutls: Added functions to handle CRL extensions.
476 gnutls_x509_crl_get_authority_key_id: ADDED
477 gnutls_x509_crl_get_number: ADDED
478 gnutls_x509_crl_get_extension_oid: ADDED
479 gnutls_x509_crl_get_extension_info: ADDED
480 gnutls_x509_crl_get_extension_data: ADDED
481 gnutls_x509_crl_set_authority_key_id: ADDED
482 gnutls_x509_crl_set_number: ADDED
484 *** libgnutls: Added functions to handle X.509 extensions in Certificate
485 Requests.
486 gnutls_x509_crq_get_key_rsa_raw: ADDED
487 gnutls_x509_crq_get_attribute_info: ADDED
488 gnutls_x509_crq_get_attribute_data: ADDED
489 gnutls_x509_crq_get_extension_info: ADDED
490 gnutls_x509_crq_get_extension_data: ADDED
491 gnutls_x509_crq_get_key_usage: ADDED
492 gnutls_x509_crq_get_basic_constraints: ADDED
493 gnutls_x509_crq_get_subject_alt_name: ADDED
494 gnutls_x509_crq_get_subject_alt_othername_oid: ADDED
495 gnutls_x509_crq_get_extension_by_oid: ADDED
496 gnutls_x509_crq_set_subject_alt_name: ADDED
497 gnutls_x509_crq_set_basic_constraints: ADDED
498 gnutls_x509_crq_set_key_usage: ADDED
499 gnutls_x509_crq_get_key_purpose_oid: ADDED
500 gnutls_x509_crq_set_key_purpose_oid: ADDED
501 gnutls_x509_crq_print: ADDED
502 gnutls_x509_crt_set_crq_extensions: ADDED
504 *** certtool: Print and set CRL and CRQ extensions.
506 *** minitasn1: Internal copy updated to libtasn1 v2.1.
508 *** examples: Now released into the public domain.
510 *** The Texinfo and GTK-DOC manuals were improved.
512 *** Several self-tests were added and others improved.
514 *** API/ABI changes in GnuTLS 2.8 compared to GnuTLS 2.6.x
515 No offically supported interfaces have been modified or removed.  The
516 library should be completely backwards compatible on both the source
517 and binary level.
519 The shared library no longer exports some symbols that have never been
520 officially supported, i.e., not mentioned in any of the header files.
521 The symbols are:
523   _gnutls*
524   gnutls_asn1_tab
525   
526 Normally when symbols are removed, the shared library version has to
527 be incremented.  This leads to a significant cost for everyone using
528 the library.  Because none of the above symbols have ever been
529 intended for use by well-behaved applications, we decided that the it
530 would be better for those applications to pay the price rather than
531 incurring problems on the majority of applications.
533 If it turns out that applications have been using unofficial
534 interfaces, we will need to release a follow-on release on the v2.8
535 branch to exports additional interfaces.  However, initial testing
536 suggests that few if any applications have been using any of the
537 internal symbols.
539 Although not a new change compared to 2.6.x, we'd like to remind you
540 interfaces have been modified so that X.509 chain verification now
541 also checks activation/expiration times on certificates.  The affected
542 functions are:
544 gnutls_x509_crt_list_verify: CHANGED, checks activation/expiration times.
545 gnutls_certificate_verify_peers: Likewise.
546 gnutls_certificate_verify_peers2: Likewise.
547 GNUTLS_CERT_NOT_ACTIVATED: ADDED.
548 GNUTLS_CERT_EXPIRED: ADDED.
549 GNUTLS_VERIFY_DISABLE_TIME_CHECKS: ADDED.
551 This change in behaviour was made during the GnuTLS 2.6.x cycle, and
552 we gave our rationale for it in earlier release notes.
554 The following symbols have been added to the library:
556 gnutls_certificate_set_x509_simple_pkcs12_mem: ADDED
557 gnutls_x509_crl_get_authority_key_id: ADDED
558 gnutls_x509_crl_get_extension_data: ADDED
559 gnutls_x509_crl_get_extension_info: ADDED
560 gnutls_x509_crl_get_extension_oid: ADDED
561 gnutls_x509_crl_get_number: ADDED
562 gnutls_x509_crl_set_authority_key_id: ADDED
563 gnutls_x509_crl_set_number: ADDED
564 gnutls_x509_crq_get_attribute_data: ADDED
565 gnutls_x509_crq_get_attribute_info: ADDED
566 gnutls_x509_crq_get_basic_constraints: ADDED
567 gnutls_x509_crq_get_extension_by_oid: ADDED
568 gnutls_x509_crq_get_extension_data: ADDED
569 gnutls_x509_crq_get_extension_info: ADDED
570 gnutls_x509_crq_get_key_id: ADDED.
571 gnutls_x509_crq_get_key_purpose_oid: ADDED
572 gnutls_x509_crq_get_key_rsa_raw: ADDED
573 gnutls_x509_crq_get_key_usage: ADDED
574 gnutls_x509_crq_get_subject_alt_name: ADDED
575 gnutls_x509_crq_get_subject_alt_othername_oid: ADDED
576 gnutls_x509_crq_print: ADDED
577 gnutls_x509_crq_set_basic_constraints: ADDED
578 gnutls_x509_crq_set_key_purpose_oid: ADDED
579 gnutls_x509_crq_set_key_usage: ADDED
580 gnutls_x509_crq_set_subject_alt_name: ADDED
581 gnutls_x509_crt_get_verify_algorithm: ADDED
582 gnutls_x509_crt_set_crq_extensions: ADDED
583 gnutls_x509_crt_verify_hash: ADDED
585 The following interfaces have been added to the header files:
587 GNUTLS_VERSION: ADDED, replaces LIBGNUTLS_VERSION.
588 GNUTLS_VERSION_MAJOR: ADDED, replaces LIBGNUTLS_VERSION_MAJOR.
589 GNUTLS_VERSION_MINOR: ADDED, replaces LIBGNUTLS_VERSION_MINOR.
590 GNUTLS_VERSION_PATCH: ADDED, replaces LIBGNUTLS_VERSION_PATCH.
591 GNUTLS_VERSION_NUMBER: ADDED, replaces LIBGNUTLS_VERSION_NUMBER.
592 GNUTLS_EXTRA_VERSION: ADDED, replaces LIBGNUTLS_EXTRA_VERSION.
594 The following interfaces have been deprecated:
596 LIBGNUTLS_VERSION: DEPRECATED.
597 LIBGNUTLS_VERSION_MAJOR: DEPRECATED.
598 LIBGNUTLS_VERSION_MINOR: DEPRECATED.
599 LIBGNUTLS_VERSION_PATCH: DEPRECATED.
600 LIBGNUTLS_VERSION_NUMBER: DEPRECATED.
601 LIBGNUTLS_EXTRA_VERSION: DEPRECATED.
603 * Version 2.7.14 (released 2009-05-26)
605 ** libgnutls: Fix namespace issue with version symbol for libgnutls-extra.
606 The symbol LIBGNUTLS_EXTRA_VERSION were renamed to
607 GNUTLS_EXTRA_VERSION.  The old symbol will continue to work but is
608 deprecated.
610 ** Doc: Several typo fixes in documentation.
611 Reported by Peter Hendrickson <pdh@wiredyne.com>.
613 ** API and ABI modifications:
614 GNUTLS_VERSION: ADDED, replaces LIBGNUTLS_EXTRA_VERSION.
615 LIBGNUTLS_EXTRA_VERSION: DEPRECATED.
617 * Version 2.7.13 (released 2009-05-25)
619 ** libgnutls: Fix version of some exported symbols in the shared library.
620 Reported by Andreas Metzler <ametzler@downhill.at.eu.org> in
621 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3576>.
623 ** tests: Handle recently expired certificates in chainverify self-test.
624 Reported by Andreas Metzler <ametzler@downhill.at.eu.org> in
625 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3580>.
627 ** API and ABI modifications:
628 No changes since last version.
630 * Version 2.7.12 (released 2009-05-20)
632 ** gnutls-serv, gnutls-cli-debug: Make them work on Windows.
634 ** tests/crq_key_id: Don't read entropy from /dev/random in self-test.
635 Reported by Andreas Metzler <ametzler@downhill.at.eu.org> in
636 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3570>.
638 ** Fix build failures.
639 Missing sa_family_t and vsnprintf on IRIX.  Reported by "Tom
640 G. Christensen" <tgc@jupiterrise.com> in
641 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3571>.
643 ** minitasn1: Internal copy updated to libtasn1 v2.2.
644 GnuTLS should work fine with libtasn1 v1.x and that is still
645 supported.
647 ** API and ABI modifications:
648 No changes since last version.
650 * Version 2.7.11 (released 2009-05-18)
652 ** minitasn1: Fix build failure when using internal libtasn1.
653 Reported by "Tom G. Christensen" <tgc@jupiterrise.com> in
654 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3548>.
656 ** libgnutls: Fix build failure with --disable-cxx.
657 Reported by Andreas Metzler <ametzler@downhill.at.eu.org> in
658 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3557>.
660 ** gnutls-serv: Fix build failure for unportable NI_MAXHOST/NI_MAXSERV.
661 Reported by "Tom G. Christensen" <tgc@jupiterrise.com> in
662 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3560>
664 ** Building with many warning flags now requires --enable-gcc-warnings.
665 This avoids crying wolf for normal compiles.
667 ** API and ABI modifications:
668 No changes since last version.
670 * Version 2.7.10 (released 2009-05-13)
672 ** examples: Now released into the public domain.
673 This makes the license of the example code compatible with more
674 licenses, including the (L)GPL.
676 ** minitasn1: Internal copy updated to libtasn1 v2.1.
677 GnuTLS should work fine with libtasn1 v1.x and that is still
678 supported.
680 ** libgnutls: Fix crash in signature verification
681 The fix for the CVE-2009-1415 problem wasn't merged completely.
683 ** doc: Fixes for GTK-DOC output.
685 ** API and ABI modifications:
686 No changes since last version.
688 * Version 2.7.9 (released 2009-05-11)
690 ** doc: Fix strings in man page of gnutls_priority_init.
692 ** doc: Fix tables of error codes and supported algorithms.
694 ** Fix build failure when cross-compiled using MinGW.
696 ** Fix build failure when LZO is enabled.
697 Reported by Arfrever Frehtes Taifersar Arahesis
698 <arfrever.fta@gmail.com> in
699 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3522>.
701 ** Fix build failure on systems without AF_INET6, e.g., Solaris 2.6.
702 Reported by "Tom G. Christensen" <tgc@jupiterrise.com> in
703 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3524>.
705 ** Fix warnings in self-tests.
707 ** API and ABI modifications:
708 No changes since last version.
710 * Version 2.7.8 (released 2009-05-03)
712 ** libgnutls: Fix DSA key generation.
713 Merged from stable branch.  [GNUTLS-SA-2009-2] [CVE-2009-1416]
715 ** libgnutls: Check expiration/activation time on untrusted certificates.
716 Merged from stable branch.  Reported by Romain Francoise
717 <romain@orebokech.com>.  This changes the semantics of
718 gnutls_x509_crt_list_verify, which in turn is used by
719 gnutls_certificate_verify_peers and gnutls_certificate_verify_peers2.
720 We add two new gnutls_certificate_status_t codes for reporting the new
721 error condition, GNUTLS_CERT_NOT_ACTIVATED and GNUTLS_CERT_EXPIRED.
722 We also add a new gnutls_certificate_verify_flags flag,
723 GNUTLS_VERIFY_DISABLE_TIME_CHECKS, that can be used to disable the new
724 behaviour.  [GNUTLS-SA-2009-3] [CVE-2009-1417]
726 ** lib: Linker version scripts reduces number of exported symbols.
727 The linker version script now lists all exported ABIs explicitly, to
728 avoid accidentally exporting unintended functions.  Compared to
729 before, most symbols beginning with _gnutls* are no longer exported.
730 These functions have never been intended for use by applications, and
731 there were no prototypes for these function in the public header
732 files.  Thus we believe it is possible to do this without incrementing
733 the library ABI version which normally has to be done when removing an
734 interface.
736 ** lib: Limit exported symbols on systems without LD linker scripts.
737 Before all symbols were exported.  Now we limit the exported symbols
738 to (for libgnutls and libgnutls-extra) gnutls* and (for libgnutls)
739 _gnutls*.  This is a superset of the actual supported ABI, but still
740 an improvement compared to before.  This is implemented using Libtool
741 -export-symbols-regex.  It is more portable than linker version
742 scripts.
744 ** libgnutls: Incremented CURRENT/AGE libtool version to reflect new symbols.
745 This should have been done in the last release.
747 ** gnutls-serv: Listen on all interfaces, including both IPv4 and IPv6.
748 Reported by Peter Hendrickson <pdh@wiredyne.com> in
749 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3476>.
751 ** doc: Improved sections for the info manual.
752 We now follow the advice given by the texinfo manual on which
753 directory categories to use.  In particular, libgnutls moved from the
754 'GNU Libraries' section to the 'Software libraries' and the command
755 line tools moved from 'Network Applications' to 'System
756 Administration'.
758 ** API and ABI modifications:
759 gnutls_x509_crt_list_verify: CHANGED, checks activation/expiration times.
760 gnutls_certificate_verify_peers: Likewise.
761 gnutls_certificate_verify_peers2: Likewise.
762 GNUTLS_CERT_NOT_ACTIVATED: ADDED.
763 GNUTLS_CERT_EXPIRED: ADDED.
764 GNUTLS_VERIFY_DISABLE_TIME_CHECKS: ADDED.
766 * Version 2.7.7 (released 2009-04-20)
768 ** libgnutls: Applied patch by Cedric Bail to add functions
769 gnutls_x509_crt_verify_hash() and gnutls_x509_crt_get_verify_algorithm().
771 ** gnutls.pc: Add -ltasn1 to 'pkg-config --libs --static gnutls' output.
772 Reported by Andreas Metzler <ametzler@downhill.at.eu.org> in
773 <http://article.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3467>.
775 ** minitasn1: Internal copy updated to libtasn1 v1.8.
776 GnuTLS is also internally ready to be used with libtasn1 v2.0.
778 ** doc: Fix build failure of errcodes/printlist.
779 Reported by Roman Bogorodskiy <novel@FreeBSD.org> in
780 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3435>.
782 ** i18n: The GnuTLS gettext domain is now 'libgnutls' instead of 'gnutls'.
783 It is currently only used by the core library.  This will enable a new
784 domain 'gnutls' for translations of the command line tools.
786 ** Corrected possible memory corruption on signature verification failure. 
787 Reported by Miroslav Kratochvil <exa.exa@gmail.com>
789 ** API and ABI modifications:
790 gnutls_x509_crt_verify_hash: ADDED
791 gnutls_x509_crt_get_verify_algorithm: ADDED
793 * Version 2.7.6 (released 2009-02-27)
795 ** certtool: Query for multiple dnsName subjectAltName in interactive mode.
796 This applies both to generating certificates and certificate requests.
798 ** pkix.asn: Removed unneeded definitions to reduce memory usage.
800 ** gnutls-cli: No longer accepts V1 CAs by default during X.509 chain verify.
801 Use --priority NORMAL:%VERIFY_ALLOW_X509_V1_CA_CRT to permit V1 CAs to
802 be used for chain verification.
804 ** gnutls-serv: No longer disable MAC padding by default.
805 Use --priority NORMAL:%COMPAT to disable MAC padding again.
807 ** gnutls-cli: Certificate information output format changed.
808 The tool now uses libgnutls' functions to print certificate
809 information.  This avoids code duplication.
811 ** libgnutls: New priority strings %VERIFY_ALLOW_SIGN_RSA_MD5
812 ** and %VERIFY_ALLOW_X509_V1_CA_CRT.
813 They can be used to override the default certificate chain validation
814 behaviour.
816 ** libgnutls: Added %SSL3_RECORD_VERSION priority string that allows to 
817 specify the client hello message record version. Used to overcome buggy 
818 TLS servers. Report by Martin von Gagern.
820 ** libgnutls: gnutls_x509_crt_print prints signature algorithm in oneline mode.
822 ** libgnutls: gnutls_openpgp_crt_print supports oneline mode.
824 ** doc: Update gnutls-cli and gnutls-serv --help output descriptions.
826 ** API and ABI modifications:
827 No changes since last version.
829 * Version 2.7.5 (released 2009-02-06)
831 ** libgnutls: Accept chains where intermediary certs are trusted.
832 Before GnuTLS needed to validate the entire chain back to a
833 self-signed certificate.  GnuTLS will now stop looking when it has
834 found an intermediary trusted certificate.  The new behaviour is
835 useful when chains, for example, contains a top-level CA, an
836 intermediary CA signed using RSA-MD5, and an end-entity certificate.
837 To avoid chain validation errors due to the RSA-MD5 cert, you can
838 explicitly add the intermediary RSA-MD5 cert to your trusted certs.
839 The signature on trusted certificates are not checked, so the chain
840 has a chance to validate correctly.  Reported by "Douglas E. Engert"
841 <deengert@anl.gov> in
842 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3351>.
844 ** libgnutls: result_size in gnutls_hex_encode now holds
845 the size of the result. Report by John Brooks <special@dereferenced.net>.
847 ** libgnutls: gnutls_handshake when sending client hello during a
848 rehandshake, will not offer a version number larger than the current.
849 Reported by Tristan Hill <stan@saticed.me.uk>.
851 ** libgnutls: Permit V1 Certificate Authorities properly.
852 Before they were mistakenly rejected even though
853 GNUTLS_VERIFY_ALLOW_ANY_X509_V1_CA_CRT and/or
854 GNUTLS_VERIFY_ALLOW_X509_V1_CA_CRT were supplied.  Reported by
855 "Douglas E. Engert" <deengert@anl.gov> in
856 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3351>.
858 ** API and ABI modifications:
859 No changes since last version.
861 * Version 2.7.4 (released 2009-01-07)
863 ** libgnutls: deprecate X.509 validation chains using MD5 and MD2 signatures.
864 This is a bugfix -- the previous attempt to do this from internal x509
865 certificate verification procedures did not return the correct value
866 for certificates using a weak hash.  Reported by Daniel Kahn Gillmor
867 <dkg@fifthhorseman.net> in
868 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3332>,
869 debugged and patch by Tomas Mraz <tmraz@redhat.com> and Daniel Kahn
870 Gillmor <dkg@fifthhorseman.net>.
872 ** libgnutls: New interface to get key id for certificate requests.
873 Patch from David Marín Carreño <davefx@gmail.com> in
874 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3321>.
876 ** libgnutls: gnutls_x509_crq_print will now also print public key id.
878 ** certtool: --verify-chain now prints results of using library verification.
879 Earlier, certtool --verify-chain used its own validation algorithm
880 which wasn't guaranteed to give the same result as the libgnutls
881 internal validation algorithm.  Now this command print a new final
882 line with header 'Chain verification output:' that contains the result
883 from using the internal verification algorithm on the same chain.
885 ** tests: Add crq_key_id self-test of gnutls_x509_crq_get_key_id.
887 ** API and ABI modifications:
888 gnutls_x509_crq_get_key_id: ADDED.
890 * Version 2.7.3 (released 2008-12-10)
892 ** libgnutls: Fix chain verification for chains that ends with RSA-MD2 CAs.
893 Reported by Michael Kiefer <Michael-Kiefer@web.de> in
894 <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=507633> forwarded by
895 Andreas Metzler <ametzler@downhill.at.eu.org> in
896 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3309>.
898 ** libgnutls: Libgcrypt initialization changed.
899 If libgcrypt has not already been initialized, GnuTLS will now
900 initialize libgcrypt with disabled secure memory.  Initialize
901 libgcrypt explicitly in your application if you want to enable secure
902 memory.  Before GnuTLS initialized libgcrypt to use GnuTLS's memory
903 allocation functions, which doesn't use secure memory, so there is no
904 real change in behaviour.
906 ** libgnutls: Fix memory leak in PSK authentication.
907 Reported by Michael Weiser <michael@weiser.dinsnail.net> in
908 <http://permalink.gmane.org/gmane.network.gnutls.general/1465>.
910 ** libgnutls: Small byte reads via gnutls_record_recv() optimized.
912 ** certtool: Move gcry_control(GCRYCTL_ENABLE_QUICK_RANDOM, 0) call earlier.
913 It needs to be invoked before libgcrypt is initialized.
915 ** gnutls-cli: Return non-zero exit code on error conditions.
917 ** gnutls-cli: Corrected bug which caused a rehandshake request to be ignored.
919 ** tests: Added chainverify self-test that tests X.509 chain verifications.
921 ** API and ABI modifications:
922 No changes since last version.
924 * Version 2.7.2 (released 2008-11-18)
926 ** libgnutls: Fix X.509 certificate chain validation error. [GNUTLS-SA-2008-3]
927 The flaw makes it possible for man in the middle attackers (i.e.,
928 active attackers) to assume any name and trick GNU TLS clients into
929 trusting that name.  Thanks for report and analysis from Martin von
930 Gagern <Martin.vGagern@gmx.net>.  [CVE-2008-4989]
932 Any updates with more details about this vulnerability will be added
933 to <http://www.gnu.org/software/gnutls/security.html>
935 ** libgnutls: Fix namespace issue with version symbols.
936 The symbols LIBGNUTLS_VERSION, LIBGNUTLS_VERSION_MAJOR,
937 LIBGNUTLS_VERSION_MINOR, LIBGNUTLS_VERSION_PATCH, and
938 LIBGNUTLS_VERSION_NUMBER were renamed to GNUTLS_VERSION_NUMBER,
939 GNUTLS_VERSION_MAJOR, GNUTLS_VERSION_MINOR, GNUTLS_VERSION_PATCH, and
940 GNUTLS_VERSION_NUMBER respectively.  The old symbols will continue to
941 work but are deprecated.
943 ** certtool: allow setting arbitrary key purpose object identifiers.
945 ** libgnutls: Fix detection of C99 macros, to make debug logging work again.
947 ** libgnutls: Add missing prototype for gnutls_srp_set_prime_bits.
948 Reported by Kevin Quick <quick@sparq.org> in
949 <https://savannah.gnu.org/support/index.php?106454>.
951 ** libgnutls-extra: Make building with LZO compression work again.
952 Build failure reported by Arfrever Frehtes Taifersar Arahesis
953 <arfrever.fta@gmail.com> in
954 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3194>.
956 ** libgnutls: Change detection of when to use a linker version script.
957 Use --enable-ld-version-script or --disable-ld-version-script to
958 override auto-detection logic.
960 ** doc: Change license on the manual to GFDLv1.3+.
962 ** doc: GTK-DOC fixes for new splitted configuration system.
964 ** doc: Texinfo stylesheet uses white background.
966 ** tests: Add cve-2008-4989.c self-test.
967 Tests regressions of the GNUTLS-SA-2008-3 security problem, and the
968 follow-on problem with crashes on length 1 certificate chains.
970 ** gnulib: Deprecated modules removed.
971 Modules include memchr and memcmp.
973 ** Fix warnings and build GnuTLS with more warnings enabled.
975 ** minitasn1: Internal copy updated to libtasn1 v1.7.
977 ** API and ABI modifications:
978 gnutls_certificate_set_x509_simple_pkcs12_mem: ADDED
979 GNUTLS_VERSION: ADDED, replaces LIBGNUTLS_VERSION.
980 GNUTLS_VERSION_MAJOR: ADDED, replaces LIBGNUTLS_VERSION_MAJOR.
981 GNUTLS_VERSION_MINOR: ADDED, replaces LIBGNUTLS_VERSION_MINOR.
982 GNUTLS_VERSION_PATCH: ADDED, replaces LIBGNUTLS_VERSION_PATCH.
983 GNUTLS_VERSION_NUMBER: ADDED, replaces LIBGNUTLS_VERSION_NUMBER.
984 LIBGNUTLS_VERSION: DEPRECATED.
985 LIBGNUTLS_VERSION_MAJOR: DEPRECATED.
986 LIBGNUTLS_VERSION_MINOR: DEPRECATED.
987 LIBGNUTLS_VERSION_PATCH: DEPRECATED.
988 LIBGNUTLS_VERSION_NUMBER: DEPRECATED.
990 * Version 2.7.1 (released 2008-10-31)
992 ** certtool: print a PKCS #8 key even if it is not encrypted.
994 ** Old libgnutls.m4 and libgnutls-config scripts removed.
995 Please use pkg-config instead.
997 ** Configuration system modified.
998 There is now a configure script in lib/ and libextra/ as well, because
999 gnulib works better with a config.h per gnulib directory.
1001 ** API and ABI modifications:
1002 No changes since last version.
1004 * Version 2.7.0 (released 2008-10-16)
1006 ** libgnutls: Added functions to handle CRL extensions.
1008 ** libgnutls: Added functions to handle X.509 extensions in Certificate
1009 Requests.
1011 ** libgnutls: Improved error string for GNUTLS_E_AGAIN.
1012 Suggested by "Lavrentiev, Anton (NIH/NLM/NCBI) [C]" <lavr@ncbi.nlm.nih.gov>.
1014 ** certtool: Print and set CRL and CRQ extensions.
1016 ** libgnutls-extra: Protect internal symbols with static.
1017 Fixes problem when linking certtool statically.  Tiny patch from Aaron
1018 Ucko <ucko@ncbi.nlm.nih.gov>.
1020 ** libgnutls-openssl: fix out of bounds access.
1021 Problem in X509_get_subject_name and X509_get_issuer_name.  Tiny patch
1022 from Thomas Viehmann <tv@beamnet.de>.
1024 ** libgnutlsxx: Define server_session::get_srp_username even if no SRP.
1026 ** tests: Make tests compile when using internal libtasn1.
1027 Patch by ludo@gnu.org (Ludovic Courtès).
1029 ** Changed detection of libtasn1 and libgcrypt to avoid depending on *-config.
1030 We now require a libgcrypt that has Camellia constants declared in
1031 gcrypt.h, which means v1.3.0 or later.
1033 ** API and ABI modifications:
1034 gnutls_x509_crl_get_authority_key_id: ADDED
1035 gnutls_x509_crl_get_number: ADDED
1036 gnutls_x509_crl_get_extension_oid: ADDED
1037 gnutls_x509_crl_get_extension_info: ADDED
1038 gnutls_x509_crl_get_extension_data: ADDED
1039 gnutls_x509_crl_set_authority_key_id: ADDED
1040 gnutls_x509_crl_set_number: ADDED
1041 gnutls_x509_crq_get_key_rsa_raw: ADDED
1042 gnutls_x509_crq_get_attribute_info: ADDED
1043 gnutls_x509_crq_get_attribute_data: ADDED
1044 gnutls_x509_crq_get_extension_info: ADDED
1045 gnutls_x509_crq_get_extension_data: ADDED
1046 gnutls_x509_crq_get_key_usage: ADDED
1047 gnutls_x509_crq_get_basic_constraints: ADDED
1048 gnutls_x509_crq_get_subject_alt_name: ADDED
1049 gnutls_x509_crq_get_subject_alt_othername_oid: ADDED
1050 gnutls_x509_crq_get_extension_by_oid: ADDED
1051 gnutls_x509_crq_set_subject_alt_name: ADDED
1052 gnutls_x509_crq_set_basic_constraints: ADDED
1053 gnutls_x509_crq_set_key_usage: ADDED
1054 gnutls_x509_crq_get_key_purpose_oid: ADDED
1055 gnutls_x509_crq_set_key_purpose_oid: ADDED
1056 gnutls_x509_crq_print: ADDED
1057 gnutls_x509_crt_set_crq_extensions: ADDED
1059 * Version 2.6.6 (released 2009-04-30)
1061 ** libgnutls: Corrected double free on signature verification failure.
1062 Reported by Miroslav Kratochvil <exa.exa@gmail.com>.  See the advisory
1063 for more details.  [GNUTLS-SA-2009-1] [CVE-2009-1415]
1065 ** libgnutls: Fix DSA key generation.
1066 Noticed when investigating the previous GNUTLS-SA-2009-1 problem.  All
1067 DSA keys generated using GnuTLS 2.6.x are corrupt.  See the advisory
1068 for more details.  [GNUTLS-SA-2009-2] [CVE-2009-1416]
1070 ** libgnutls: Check expiration/activation time on untrusted certificates.
1071 Reported by Romain Francoise <romain@orebokech.com>.  Before the
1072 library did not check activation/expiration times on certificates, and
1073 was documented as not doing so.  We have realized that many
1074 applications that use libgnutls, including gnutls-cli, fail to perform
1075 proper checks.  Implementing similar logic in all applications leads
1076 to code duplication.  Hence, we decided to check whether the current
1077 time (as reported by the time function) is within the
1078 activation/expiration period of certificates when verifying untrusted
1079 certificates.
1081 This changes the semantics of gnutls_x509_crt_list_verify, which in
1082 turn is used by gnutls_certificate_verify_peers and
1083 gnutls_certificate_verify_peers2.  We add two new
1084 gnutls_certificate_status_t codes for reporting the new error
1085 condition, GNUTLS_CERT_NOT_ACTIVATED and GNUTLS_CERT_EXPIRED.  We also
1086 add a new gnutls_certificate_verify_flags flag,
1087 GNUTLS_VERIFY_DISABLE_TIME_CHECKS, that can be used to disable the new
1088 behaviour.
1090 More details about the vulnerabilities will be posted at
1091 <http://www.gnu.org/software/gnutls/security.html>.
1093 ** gnutls-cli, gnutls-cli-debug: Fix AIX build problem.
1094 Reported by LAUPRETRE François (P) <francois.laupretre@ratp.fr> in
1095 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3468>.
1097 ** tests: Fix linking of tests/openpgp/keyring self-test.
1098 Reported by Daniel Black in <https://savannah.gnu.org/support/?106543>.
1100 ** API and ABI modifications:
1101 gnutls_x509_crt_list_verify: CHANGED, checks activation/expiration times.
1102 gnutls_certificate_verify_peers: Likewise.
1103 gnutls_certificate_verify_peers2: Likewise.
1104 GNUTLS_CERT_NOT_ACTIVATED: ADDED.
1105 GNUTLS_CERT_EXPIRED: ADDED.
1106 GNUTLS_VERIFY_DISABLE_TIME_CHECKS: ADDED.
1108 * Version 2.6.5 (released 2009-04-11)
1110 ** libgnutls: Added %SSL3_RECORD_VERSION priority string that allows to
1111 specify the client hello message record version. Used to overcome buggy
1112 TLS servers. Report by Martin von Gagern.
1114 ** GnuTLS no longer uses the libtasn1-config script to find libtasn1.
1115 Libtasn1 0.3.4 or later is required.  This is to align with the
1116 upcoming libtasn1 v2.0 release that doesn't have a libtasn1-script.
1118 ** API and ABI modifications:
1119 No changes since last version.
1121 * Version 2.6.4 (released 2009-02-06)
1123 ** libgnutls: Accept chains where intermediary certs are trusted.
1124 Before GnuTLS needed to validate the entire chain back to a
1125 self-signed certificate.  GnuTLS will now stop looking when it has
1126 found an intermediary trusted certificate.  The new behaviour is
1127 useful when chains, for example, contains a top-level CA, an
1128 intermediary CA signed using RSA-MD5, and an end-entity certificate.
1129 To avoid chain validation errors due to the RSA-MD5 cert, you can
1130 explicitly add the intermediary RSA-MD5 cert to your trusted certs.
1131 The signature on trusted certificates are not checked, so the chain
1132 has a chance to validate correctly.  Reported by "Douglas E. Engert"
1133 <deengert@anl.gov> in
1134 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3351>.
1136 ** libgnutls: result_size in gnutls_hex_encode now holds
1137 the size of the result. Report by John Brooks <special@dereferenced.net>.
1139 ** libgnutls: gnutls_handshake when sending client hello during a
1140 rehandshake, will not offer a version number larger than the current.
1141 Reported by Tristan Hill <stan@saticed.me.uk>.
1143 ** libgnutls: Permit V1 Certificate Authorities properly.
1144 Before they were mistakenly rejected even though
1145 GNUTLS_VERIFY_ALLOW_ANY_X509_V1_CA_CRT and/or
1146 GNUTLS_VERIFY_ALLOW_X509_V1_CA_CRT were supplied.  Reported by
1147 "Douglas E. Engert" <deengert@anl.gov> in
1148 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3351>.
1150 ** libgnutls: deprecate X.509 validation chains using MD5 and MD2 signatures.
1151 This is a bugfix -- the previous attempt to do this from internal x509
1152 certificate verification procedures did not return the correct value
1153 for certificates using a weak hash.  Reported by Daniel Kahn Gillmor
1154 <dkg@fifthhorseman.net> in
1155 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3332>,
1156 debugged and patch by Tomas Mraz <tmraz@redhat.com> and Daniel Kahn
1157 Gillmor <dkg@fifthhorseman.net>.
1159 ** libgnutls: Fix compile error with Sun CC.
1160 Reported by Jeff Cai <jeff.cai@sun.com> in
1161 <https://savannah.gnu.org/support/?106549>.
1163 ** API and ABI modifications:
1164 No changes since last version.
1166 * Version 2.6.3 (released 2008-12-12)
1168 ** libgnutls: Fix chain verification for chains that ends with RSA-MD2 CAs.
1169 Reported by Michael Kiefer <Michael-Kiefer@web.de> in
1170 <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=507633> forwarded by
1171 Andreas Metzler <ametzler@downhill.at.eu.org> in
1172 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3309>.
1174 ** libgnutls: Fix memory leak in PSK authentication.
1175 Reported by Michael Weiser <michael@weiser.dinsnail.net> in
1176 <http://permalink.gmane.org/gmane.network.gnutls.general/1465>.
1178 ** certtool: Move gcry_control(GCRYCTL_ENABLE_QUICK_RANDOM, 0) call earlier.
1179 It needs to be invoked before libgcrypt is initialized.
1181 ** gnutls-cli: Return non-zero exit code on error conditions.
1183 ** gnutls-cli: Corrected bug which caused a rehandshake request to be ignored.
1185 ** API and ABI modifications:
1186 No changes since last version.
1188 * Version 2.6.2 (released 2008-11-12)
1190 ** libgnutls: Fix crash in X.509 validation code for self-signed certificates.
1191 The patch to fix the security problem GNUTLS-SA-2008-3 introduced a
1192 problem for certificate chains that contained just one self-signed
1193 certificate.  Reported by Michael Meskes <meskes@debian.org> in
1194 <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=505279>.
1196 ** API and ABI modifications:
1197 No changes since last version.
1199 * Version 2.6.1 (released 2008-11-10)
1201 ** libgnutls: Fix X.509 certificate chain validation error. [GNUTLS-SA-2008-3]
1202 The flaw makes it possible for man in the middle attackers (i.e.,
1203 active attackers) to assume any name and trick GNU TLS clients into
1204 trusting that name.  Thanks for report and analysis from Martin von
1205 Gagern <Martin.vGagern@gmx.net>.  [CVE-2008-4989]
1207 Any updates with more details about this vulnerability will be added
1208 to <http://www.gnu.org/software/gnutls/security.html>
1210 ** libgnutls: Add missing prototype for gnutls_srp_set_prime_bits.
1211 Reported by Kevin Quick <quick@sparq.org> in
1212 <https://savannah.gnu.org/support/index.php?106454>.
1214 ** libgnutls-extra: Protect internal symbols with static.
1215 Fixes problem when linking certtool statically.  Tiny patch from Aaron
1216 Ucko <ucko@ncbi.nlm.nih.gov>.
1218 ** libgnutls-openssl: Fix patch against X509_get_issuer_name.
1219 It incorrectly returned the subject DN instead of issuer DN in v2.6.0.
1220 Thanks to Thomas Viehmann <tv@beamnet.de> for report.
1222 ** certtool: Print a PKCS #8 key even if it is not encrypted.
1224 ** tests: Make tests compile when using internal libtasn1.
1225 Patch by ludo@gnu.org (Ludovic Courtès).
1227 ** API and ABI modifications:
1228 No changes since last version.
1230 * Version 2.6.0 (released 2008-10-06)
1232 ** libgnutls: Correct printing and parsing of IPv6 addresses.
1234 ** libgnutls-openssl: fix out of bounds access.
1235 Problem in X509_get_subject_name and X509_get_issuer_name.  Tiny patch
1236 from Thomas Viehmann <tv@beamnet.de>.
1238 ** certtool: Use inet_pton for parsing IPv6 addresses.
1240 ** Major changes compared to the v2.4 branch:
1242 *** Added API to replace and update the crypto backend.
1244 *** certtool: can add several subject alternative names via template file.
1246 *** opencdk: Parse (but not decrypt) encrypted secret keys.
1248 *** libgnutls: gnutls_x509_crt_set_subject_alt_name() was added that can
1249 either set or append alternative names. It can also handle binary structures
1250 such as IP addresses.
1252 *** libgnutls: New function to set minimum acceptable SRP bits.
1253 The function is gnutls_srp_set_prime_bits.
1255 *** libgnutls: Add interface to deal with public key and signature algorithms.
1256 The functions are called gnutls_pk_list, gnutls_pk_get_id,
1257 gnutls_sign_list, and gnutls_sign_get_id.
1259 *** libgnutls: New interfaces to get name of public key and signing algorithms.
1260 The functions are gnutls_sign_get_name and gnutls_pk_get_name.
1262 *** libgnutls: New API to get a string corresponding to a error symbol.
1263 The function is gnutls_strerror_name.
1265 *** libgnutls: New API to set the public parameters in a certificate request
1266 *** from a private key.
1267 The function is gnutls_x509_crq_set_key_rsa_raw.
1269 *** libgnutls: New API to set a callback to extract TLS Finished data.
1270 The function to register is gnutls_session_set_finished_function and
1271 it takes a callback of the gnutls_finished_callback_func type.
1273 *** libgnutls: Fix namespace problem with TLS_MASTER_SIZE and TLS_RANDOM_SIZE.
1275 *** libgnutls: New interface to register a new TLS extension handler.
1276 The new function gnutls_ext_register can be used to register handlers
1277 for specific TLS extension types.  The callback functions have the new
1278 types gnutls_ext_recv_func and gnutls_ext_send_func.  A type to
1279 classify TLS extensions, gnutls_ext_parse_type_t, has been added as
1280 well.
1282 *** libgnutls-extra: Add function to work with Libgcrypt in FIPS mode.
1283 The function is gnutls_register_md5_handler.  When libgcrypt is in
1284 FIPS mode, MD5 is disabled, but TLS normally requires use of MD5 in
1285 the PRF.
1287 *** API/ABI changes in GnuTLS 2.6
1288 No functions have been removed or modified.  The library should be
1289 fully backwards compatible on both the source and binary level.
1291 A new header file <gnutls/crypto.h> have been added.  It contains
1292 definitions related to replacing the internal crypto functionality.
1293 All definitions and the header itself is experimental but supported.
1295 We have realized that the symbols TLS_MASTER_SIZE and TLS_RANDOM_SIZE
1296 does not use the normal namespace.  We have added GNUTLS_MASTER_SIZE
1297 and GNUTLS_RANDOM_SIZE, but the old symbols are still defined.
1299 The following functions have been added to libgnutls:
1301 GNUTLS_MASTER_SIZE
1302 GNUTLS_RANDOM_SIZE
1303 gnutls_crypto_bigint_register2
1304 gnutls_crypto_cipher_register2
1305 gnutls_crypto_digest_register2
1306 gnutls_crypto_mac_register2
1307 gnutls_crypto_pk_register2
1308 gnutls_crypto_rnd_register2
1309 gnutls_crypto_single_cipher_register2
1310 gnutls_crypto_single_digest_register2
1311 gnutls_crypto_single_mac_register2
1312 gnutls_ext_register
1313 gnutls_pk_get_id
1314 gnutls_pk_get_name
1315 gnutls_pk_list
1316 gnutls_session_set_finished_function
1317 gnutls_sign_get_id
1318 gnutls_sign_get_name
1319 gnutls_sign_list
1320 gnutls_srp_set_prime_bits:
1321 gnutls_strerror_name
1322 gnutls_x509_crq_set_key_rsa_raw
1323 gnutls_x509_crt_set_crl_dist_points2
1324 gnutls_x509_crt_set_subject_alt_name
1326 The following functions have been added to libgnutls-extra:
1328 gnutls_register_md5_handler
1330 ** API and ABI modifications:
1331 No changes since last version.
1333 * Version 2.5.9 (released 2008-09-29)
1335 ** libgnutls: Fix several memory leaks.
1336 Reported by Sam Varshavchik <mrsam@courier-mta.com>.
1338 ** libgnutls: Fix buffer overrun in gnutls_x509_crt_list_import.
1339 Report and patch by Jonathan Manktelow.
1341 ** libgnutls: crypto.h gnutls_pk_params_st changes allocation strategy.
1342 The parameters are now allocated in the structure itself.
1344 ** doc: Texinfo HTML manual uses a stylesheet to improve readability.
1346 ** tests: Scripts now use EXEEXT properly.
1347 Modern libtool doesn't create wrapper script, so the self tests need
1348 to invoke certtool.exe under MinGW32+Wine.
1350 ** Uses autoconf 2.63, automake 1.10.1, libtool 2.2.6a.
1351 Automake warnings are now also enabled.
1353 ** API and ABI modifications:
1354 gnutls_pk_params_st: MODIFIED
1356 * Version 2.5.8 (released 2008-09-21)
1358 ** certtool: updated so it can add several subject alternative names using
1359 the template file.
1361 ** libgnutls: gnutls_x509_crt_set_subject_alt_name() was added that can
1362 either set or append alternative names. It can also handle binary structures
1363 such as IP addresses.
1365 ** libgnutls: Fix crash in hashing code when using non-libgcrypt handlers.
1367 ** libgnutls: New function to set minimum acceptable SRP bits.
1368 The function is gnutls_srp_set_prime_bits.  Tiny patch by Kevin Quick
1369 <quick@sparq.org> in <https://savannah.gnu.org/support/index.php?106454>.
1371 ** libgnutls: Check for overflows in gnutls_calloc and gnutls_secure_calloc.
1372 Also fix overflows in calls to those functions.  Reported by Werner
1373 Koch <wk@gnupg.org>.
1375 ** libgnutls-extra: Add function to work with Libgcrypt in FIPS mode.
1376 The function is gnutls_register_md5_handler.  When libgcrypt is in
1377 FIPS mode, MD5 is disabled, but TLS normally requires use of MD5 in
1378 the PRF.
1380 ** Opencdk: Add calls to gnutls_assert to ease debugging.
1382 ** Indent code.
1384 ** API and ABI modifications:
1385 gnutls_srp_set_prime_bits: ADDED
1386 gnutls_register_md5_handler: ADDED
1387 gnutls_x509_crt_set_crl_dist_points2: ADDED
1388 gnutls_x509_crt_set_subject_alt_name: ADDED
1390 * Version 2.5.7 (released 2008-09-16)
1392 ** libgnutls: New interfaces to get name of public key and signing algorithms.
1393 The functions are gnutls_sign_get_name and gnutls_pk_get_name.
1395 ** libgnutls: Don't crash when gnutls_credentials_set is called twice.
1397 ** libgnutls: Fix libgnutls shared library version.
1398 It wasn't properly incremented after adding symbols in the last
1399 release.
1401 ** manual: Now mention supported public key and public key signing algorithms.
1403 ** tests/openssl: initialize gnutls before use.
1405 ** tests/setcredcrash: New test to catch regressions of gnutls_credentials_set.
1407 ** GTK-DOC manual: mention new symbols in 2.6.x.  Mention crypto.h functions.
1409 ** API and ABI modifications:
1410 gnutls_sign_get_name: ADDED
1411 gnutls_pk_get_name: ADDED
1413 * Version 2.5.6 (released 2008-09-08)
1415 ** libgnutls: Add interface to deal with public key and signature algorithms.
1416 The functions are called gnutls_pk_list, gnutls_pk_get_id,
1417 gnutls_sign_list, and gnutls_sign_get_id.  Suggested by Sam
1418 Varshavchik <mrsam@courier-mta.com>.
1420 ** libgnutls: Refactor and clean up some code.
1422 ** libgnutls: Fix compile error with Sun CC.
1424 ** gnutls-cli: Improve --list output to include public key and signature algs.
1426 ** gnutls-cli, gnutls-serv: Remove --copyright parameter.
1427 Use standard --version to get license info.
1429 ** gnutls-cli.1: Document all new parameters.
1430 Thanks to James Westby <jw+debian@jameswestby.net>.
1432 ** tests: New self-test pgps2kgnu to test parsing of encrypted secrets.
1433 Contributed by Daniel Kahn Gillmor <dkg-debian.org@fifthhorseman.net>.
1435 ** API and ABI modifications:
1436 gnutls_pk_list: ADDED
1437 gnutls_pk_get_id: ADDED
1438 gnutls_sign_list: ADDED
1439 gnutls_sign_get_id: ADDED
1441 * Version 2.5.5 (released 2008-08-29)
1443 ** libgnutls: New API to get a string corresponding to a error symbol.
1444 The function is gnutls_strerror_name.
1446 ** libgnutls: Fix include paths so that building with internal libtasn1 works.
1447 Reported by "jth.net ApS" <info@jth.net>.
1449 ** libgnutls: Fix segmentation fault when generating private keys.
1450 Reported by Daniel Kahn Gillmor <dkg-debian.org@fifthhorseman.net>.
1452 ** libgnutls: Remove code to import certificate chains in PKCS#7 format.
1453 The code has not worked since v0.9.0 and apparently nobody has missed
1454 it, so we decided to remove the code rather than fix it.  If you have
1455 old certificate chains stored in PKCS#7 format, you can convert them
1456 to a list of PEM certificates by using 'certtool --p7-info'.  Reported
1457 by Christian Grothoff <christian@grothoff.org>.
1459 ** opencdk: Parse (but not decrypt) encrypted secret keys.
1460 Contributed by Daniel Kahn Gillmor <dkg-debian.org@fifthhorseman.net>.
1462 ** libgnutls: Fix many warnings.
1464 ** Included copy of libtasn1 is upgraded to version 1.5.
1466 ** Add French translation, thanks to Nicolas Provost.
1468 ** API and ABI modifications:
1469 gnutls_strerror_name: ADDED
1471 * Version 2.5.4 (released 2008-08-19)
1473 ** Fix secure memory initialization of libgcrypt.
1474 Reported by Joe Orton <joe@manyfish.co.uk> in
1475 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/2992>.
1477 ** Doc fixes.
1478 Reference to NIST SP 800-57 in the manual on key size recommendations.
1479 Added 'Since:' tags to new APIs for gtk-doc.
1481 ** API and ABI modifications:
1482 No changes since last version.
1484 * Version 2.5.3 (released 2008-08-14)
1486 ** libgnutls: New API to set the public parameters in a certificate request
1487 ** from a private key.
1488 The function is gnutls_x509_crq_set_key_rsa_raw.  Inspired by
1489 discussion with "Zach C." <fxchip@gmail.com>.
1491 ** libgnutls: New API to set a callback to extract TLS Finished data.
1492 The function to register is gnutls_session_set_finished_function and
1493 it takes a callback of the gnutls_finished_callback_func type.
1495 ** libgnutls: Drop final comma after GNUTLS_CRT_PRINT_UNSIGNED_FULL in enum.
1496 Reported in <https://savannah.gnu.org/support/?106453>.
1498 ** libgnutls: Fix namespace problem with TLS_MASTER_SIZE and TLS_RANDOM_SIZE.
1499 The new names are GNUTLS_MASTER_SIZE and GNUTLS_RANDOM_SIZE.  The old
1500 names are mapped to the new names in compat.h.  These mappings will
1501 likely be removed more quickly than other mappings in that file due to
1502 the namespace violation.
1504 ** libgnutlsxx: Make it build when SRP is disabled.
1506 ** doc: Add doxygen files in doc/doxygen/.
1508 ** API and ABI modifications:
1509 gnutls_x509_crq_set_key_rsa_raw: ADDED
1510 gnutls_session_set_finished_function: ADDED
1511 gnutls_finished_callback_func: ADDED
1512 GNUTLS_MASTER_SIZE: ADDED
1513 GNUTLS_RANDOM_SIZE: ADDED
1514 TLS_MASTER_SIZE: DEPRECATED
1515 TLS_RANDOM_SIZE: DEPRECATED
1517 * Version 2.5.2 (released 2008-07-08)
1519 ** libgnutls: Fix bug in gnutls_dh_params_generate2.
1520 The prime and generator was swapped.
1522 ** libgnutls: New interface to register a new TLS extension handler.
1523 The new function gnutls_ext_register can be used to register handlers
1524 for specific TLS extension types.  The callback functions have the new
1525 types gnutls_ext_recv_func and gnutls_ext_send_func.  A type to
1526 classify TLS extensions, gnutls_ext_parse_type_t, has been added as
1527 well.
1529 ** Move more code for TLS/IA extension from libgnutls to libgnutls-extra.
1530 This was made possible by using the new gnutls_ext_register interface.
1531 The TLS/IA functionality has only been supported through the
1532 libgnutls-extra library, so it makes sense for the code to belong
1533 there too.
1535 ** API and ABI modifications:
1536 gnutls_ext_recv_func: ADDED
1537 gnutls_ext_send_func: ADDED
1538 gnutls_ext_parse_type_t: ADDED
1539 gnutls_ext_register: ADDED
1541 * Version 2.5.1 (released 2008-07-02)
1543 ** Indent code.
1545 ** API and ABI modifications:
1546 No changes since last version.
1548 * Version 2.5.0 (released 2008-07-02)
1550 ** Port fixes from v2.4.1 release, see below.
1552 ** Added API to replace and update the crypto backend.
1553 The header gnutls/crypto.h is now officially supported, and declares
1554 the symbols below.
1556 ** Rewritten opencdk crypto backend, to use the gnutls internal one.
1558 ** Update gnulib and translations.
1559 The gnulib gc crypto code has been removed since it was never finished
1560 and is no longer even used.  An internal non-libgcrypt crypto
1561 implementation may be added in the future, but we'll decide that later
1564 ** API and ABI modifications:
1565 gnutls_crypto_bigint_register2: ADDED.
1566 gnutls_crypto_cipher_register2: ADDED.
1567 gnutls_crypto_digest_register2: ADDED.
1568 gnutls_crypto_mac_register2: ADDED.
1569 gnutls_crypto_pk_register2: ADDED.
1570 gnutls_crypto_rnd_register2: ADDED.
1571 gnutls_crypto_single_cipher_register2: ADDED.
1572 gnutls_crypto_single_digest_register2: ADDED.
1573 gnutls_crypto_single_mac_register2: ADDED.
1575 * Version 2.4.3 (released 2009-02-06)
1577 ** libgnutls: Accept chains where intermediary certs are trusted.
1578 Before GnuTLS needed to validate the entire chain back to a
1579 self-signed certificate.  GnuTLS will now stop looking when it has
1580 found an intermediary trusted certificate.  The new behaviour is
1581 useful when chains, for example, contains a top-level CA, an
1582 intermediary CA signed using RSA-MD5, and an end-entity certificate.
1583 To avoid chain validation errors due to the RSA-MD5 cert, you can
1584 explicitly add the intermediary RSA-MD5 cert to your trusted certs.
1585 The signature on trusted certificates are not checked, so the chain
1586 has a chance to validate correctly.  Reported by "Douglas E. Engert"
1587 <deengert@anl.gov> in
1588 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3351>.
1590 ** libgnutls: Permit V1 Certificate Authorities properly.
1591 Before they were mistakenly rejected even though
1592 GNUTLS_VERIFY_ALLOW_ANY_X509_V1_CA_CRT and/or
1593 GNUTLS_VERIFY_ALLOW_X509_V1_CA_CRT were supplied.  Reported by
1594 "Douglas E. Engert" <deengert@anl.gov> in
1595 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3351>.
1597 ** libgnutls: deprecate X.509 validation chains using MD5 and MD2 signatures.
1598 This is a bugfix -- the previous attempt to do this from internal x509
1599 certificate verification procedures did not return the correct value
1600 for certificates using a weak hash.  Reported by Daniel Kahn Gillmor
1601 <dkg@fifthhorseman.net> in
1602 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3332>,
1603 debugged and patch by Tomas Mraz <tmraz@redhat.com> and Daniel Kahn
1604 Gillmor <dkg@fifthhorseman.net>.
1606 ** libgnutls: Fix chain verification for chains that ends with RSA-MD2 CAs.
1607 Reported by Michael Kiefer <Michael-Kiefer@web.de> in
1608 <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=507633> forwarded by
1609 Andreas Metzler <ametzler@downhill.at.eu.org> in
1610 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3309>.
1612 ** libgnutls: Fix crash in X.509 validation code for self-signed certificates.
1613 The patch to fix the security problem GNUTLS-SA-2008-3 introduced a
1614 problem for certificate chains that contained just one self-signed
1615 certificate.  Reported by Michael Meskes <meskes@debian.org> in
1616 <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=505279>.
1618 ** libgnutls: Fix X.509 certificate chain validation error. [GNUTLS-SA-2008-3]
1619 The flaw makes it possible for man in the middle attackers (i.e.,
1620 active attackers) to assume any name and trick GNU TLS clients into
1621 trusting that name.  Thanks for report and analysis from Martin von
1622 Gagern <Martin.vGagern@gmx.net>.  [CVE-2008-4989]
1624 Any updates with more details about this vulnerability will be added
1625 to <http://www.gnu.org/software/gnutls/security.html>
1627 ** libgnutls: Fix buffer overrun in gnutls_x509_crt_list_import.
1628 Report and patch by Jonathan Manktelow.
1630 ** libgnutls: Avoid use of non-thread safe strerror.
1632 ** API and ABI modifications:
1633 No changes since last version.
1635 * Version 2.4.2 (released 2008-09-15)
1637 ** libgnutls: Don't crash when gnutls_credentials_set is called twice.
1639 ** libgnutls: Corrected memory leak in X.509 functions.
1640 Thanks to Colin Leroy <colin@colino.net>.
1642 ** libgnutls: Fix compile error with Sun CC.
1644 ** gnutls-cli.1: Document all new parameters.
1645 Thanks to James Westby <jw+debian@jameswestby.net>.
1647 ** tests/openssl: initialize gnutls before use.
1648 Fixes crash with libgcrypt 1.4.2.  Reported by Ludovic Courtes
1649 <ludovic.courtes@laas.fr>.
1651 ** doc/: Fix texinfo markup for old texinfo versions.
1653 ** Included copy of libtasn1 is upgraded to version 1.5.
1655 ** API and ABI modifications:
1656 No changes since last version.
1658 * Version 2.4.1 (released 2008-06-30)
1660 ** libgnutls: Fix local crash in gnutls_handshake.  [GNUTLS-SA-2008-2]
1661 If the gnutls_handshake function is called for a normal session, which
1662 can happen for re-handshakes, the library would crash because it tried
1663 to hash some data using a libgcrypt handle that had been deallocated.
1664 Report and tiny patch from Tomas Mraz <tmraz@redhat.com>.  Any updates
1665 with more details about this vulnerability will be added to
1666 <http://www.gnu.org/software/gnutls/security.html>
1668 ** libgnutls: Fix memory leaks when doing a re-handshake.
1669 Reported by Sam Varshavchik <mrsam@courier-mta.com> in
1670 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/2928>.
1672 ** Fix compiler warnings.
1673 Reported by Massimo Gaspari <massimo.gaspari@alice.it> in
1674 <http://thread.gmane.org/gmane.network.gnutls.general/1281>.
1676 ** Fix ordering of -I's to avoid opencdk.h conflict with system headers.
1677 Reported by Roman Bogorodskiy <novel@FreeBSD.org> in
1678 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/2930>.
1680 ** srptool: Fix a problem where --verify check does not succeed.
1681 Report and tiny patch by Matthias Koenig <mkoenig@suse.de> in
1682 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/2944>.
1684 ** API and ABI modifications:
1685 No changes since last version.
1687 * Version 2.4.0 (released 2008-06-19)
1689 ** Major changes compared to the v2.2 branch:
1691 *** The OpenPGP sub-system has been improved and now supports subkeys.
1693 *** The PSK sub-system has been improved and now supports password
1694 *** derivation and PSK identity hints.
1695 The password derivation algorithms support is documented in
1696 draft-ietf-netconf-tls-02.txt.
1698 *** The certtool --inder and --outder has been replaced by --inraw and --outraw.
1699 This aligns terminology with OpenPGP, which doesn't use DER encoding.
1700 The old parameters will continue to work for some time.
1702 *** Certtool now confirm passwords and changes permissions of private key files.
1704 *** The default handshake size limit has been increased to 48kb.
1705 It appears as if some valid handshakes are large due to sending many
1706 CA certificates.  (The earlier limit was 16kb.)
1708 *** LZO compression is now disabled by default.
1709 The main reason is that LZO compression in TLS is not standardized,
1710 but license compatiblity issues with minilzo triggered us to make this
1711 decision now.
1713 *** Improvements for cross-compilation to Windows and OpenWRT.
1715 *** The look of the GTK-DOC manual has been improved.
1716 Major developer visible changes compared to the v2.2 branch:
1718 *** Full OpenPGP support is part of libgnutls, licensed under the LGPL.
1720 *** New APIs to access the raw X.509 Subject and Issuer DN's and
1721 *** elements from the certificate credentials structure.
1722 Thanks to Joe Orton.
1724 *** New APIs to improve working with username/passwords and PSK.
1726 *** Names of constants to affect certificate printing changed.
1727 The constants are used for OpenPGP too, which the names didn't
1728 reflect, so the following name change has been made:
1730             Old name                         New name
1731      GNUTLS_X509_CRT_FULL            GNUTLS_CRT_PRINT_FULL
1732      GNUTLS_X509_CRT_ONELINE         GNUTLS_CRT_PRINT_ONELINE
1733      GNUTLS_X509_CRT_UNSIGNED_FULL   GNUTLS_CRT_PRINT_UNSIGNED_FULL
1735 The old names will be mapped to the new names for some time.
1737 *** The function gnutls_openpgp_privkey_get_id has been renamed to
1738 *** gnutls_openpgp_privkey_get_key_id.
1739 A compatibility mapping exists to avoid breaking API backwards
1740 compatibility.
1742 *** Replaced all uses of alloca with malloc and free.
1744 *** We no longer build with -D_REENTRANT -D_THREAD_SAFE.
1745 We have been unable to find a documented rationale for this practice.
1747 *** Of course, many smaller fixes have been made, see the ChangeLog file.
1749 *** API/ABI changes in GnuTLS 2.4
1750 All OpenPGP related functions have been moved from libgnutls-extra to
1751 libgnutls, and several new functions have been added (see below).
1752 Before making the release, we discussed whether moving functions from
1753 libgnutls-extra to libgnutls would require us to increment the ABI
1754 version, but the general opinion was that this would not be required.
1755 All older functions continue to work the same.  We are open to the
1756 possibility that this decision will lead to problem on some platform,
1757 and if it turns out that the Right Thing should have been to increment
1758 the shared library version, we would need to release an update within
1759 the 2.4.x branch that increments the shared library version.
1761 This release adds the following functions:
1763   gnutls_psk_client_get_hint
1764   gnutls_psk_set_server_credentials_hint
1765   gnutls_psk_netconf_derive_key
1767     Used to get/set the PSK identity hint, and derive PSK keys from
1768     passwords a'la netconf.
1770   gnutls_x509_dn_deinit
1771   gnutls_x509_dn_export
1772   gnutls_x509_dn_import
1773   gnutls_x509_dn_init
1775     Used to handle X.509 Certificate DN's directly.
1777   gnutls_hex2bin
1779     Converts a data buffer to hex.  Useful for handling PSK/SRP shared
1780     secrets.
1782   gnutls_certificate_get_x509_cas
1783   gnutls_certificate_get_x509_crls
1784   gnutls_certificate_get_openpgp_keyring
1786     Functions for direct access to credential elements.
1788   gnutls_openpgp_crt_get_auth_subkey
1789   gnutls_openpgp_crt_get_key_id
1790   gnutls_openpgp_crt_get_pk_dsa_raw
1791   gnutls_openpgp_crt_get_pk_rsa_raw
1792   gnutls_openpgp_crt_get_preferred_key_id
1793   gnutls_openpgp_crt_get_revoked_status
1794   gnutls_openpgp_crt_get_subkey_count
1795   gnutls_openpgp_crt_get_subkey_creation_time
1796   gnutls_openpgp_crt_get_subkey_expiration_time
1797   gnutls_openpgp_crt_get_subkey_fingerprint
1798   gnutls_openpgp_crt_get_subkey_id
1799   gnutls_openpgp_crt_get_subkey_idx
1800   gnutls_openpgp_crt_get_subkey_pk_algorithm
1801   gnutls_openpgp_crt_get_subkey_pk_dsa_raw
1802   gnutls_openpgp_crt_get_subkey_pk_rsa_raw
1803   gnutls_openpgp_crt_get_subkey_revoked_status
1804   gnutls_openpgp_crt_get_subkey_usage
1805   gnutls_openpgp_crt_print
1806   gnutls_openpgp_crt_set_preferred_key_id
1807   gnutls_openpgp_keyring_get_crt
1808   gnutls_openpgp_keyring_get_crt_count
1809   gnutls_openpgp_privkey_export
1810   gnutls_openpgp_privkey_export_dsa_raw
1811   gnutls_openpgp_privkey_export_rsa_raw
1812   gnutls_openpgp_privkey_export_subkey_dsa_raw
1813   gnutls_openpgp_privkey_export_subkey_rsa_raw
1814   gnutls_openpgp_privkey_get_fingerprint
1815   gnutls_openpgp_privkey_get_key_id
1816   gnutls_openpgp_privkey_get_pk_algorithm
1817   gnutls_openpgp_privkey_get_preferred_key_id
1818   gnutls_openpgp_privkey_get_revoked_status
1819   gnutls_openpgp_privkey_get_subkey_count
1820   gnutls_openpgp_privkey_get_subkey_creation_time
1821   gnutls_openpgp_privkey_get_subkey_expiration_time
1822   gnutls_openpgp_privkey_get_subkey_fingerprint
1823   gnutls_openpgp_privkey_get_subkey_id
1824   gnutls_openpgp_privkey_get_subkey_idx
1825   gnutls_openpgp_privkey_get_subkey_pk_algorithm
1826   gnutls_openpgp_privkey_get_subkey_revoked_status
1827   gnutls_openpgp_privkey_set_preferred_key_id
1829     New OpenPGP related functions.
1831     The function gnutls_openpgp_crt_get_key_id is the same as the old
1832     from gnutls_openpgp_crt_get_id, see above.
1834 The release also adds a new header file 'gnutls/crypto.h', however it
1835 is currently not used.
1837 ** libgnutls [OpenPGP]: New APIs to retrieve fingerprint from OpenPGP subkeys.
1838 Contributed by Daniel Kahn Gillmor <dkg-debian.org@fifthhorseman.net>.
1840 ** API and ABI modifications:
1841 gnutls_openpgp_crt_get_subkey_fingerprint: ADDED.
1842 gnutls_openpgp_privkey_get_subkey_fingerprint: ADDED.
1844 * Version 2.3.15 (released 2008-06-15)
1846 ** Disable the openpgp-certs self-tests.
1847 It results in failure under Wine and doesn't work on Debian buildds.
1849 ** API and ABI modifications:
1850 No changes since last version.
1852 * Version 2.3.14 (released 2008-06-11)
1854 ** libgnutls [OpenPGP]: Changed OpenPGP verification behaviour.
1855 An OpenPGP certificate is now only considered verified if all the user
1856 IDs are verified.
1858 ** Examples: Make C++ example compile.
1859 Earlier it may have failed with an unresolved reference to strlen.
1861 ** Documentation: Doc fix for gnutls_x509_crt_get_extension_oid.
1862 Reported by Sam Varshavchik <mrsam@courier-mta.com>.
1864 ** API and ABI modifications:
1865 No changes since last version.
1867 * Version 2.3.13 (released 2008-06-07)
1869 ** libgnutls [OpenPGP]: Make OpenPGP handshakes work again.
1871 ** doc/: Add psktool to info index.  Some minor cleanups.
1873 ** tests/: Added non-forking TLS handshake test, see tests/mini.c.
1875 ** tests/: Added libgcrypt.supp which can be used with valgrind.
1876 The file suppresses the known libgcrypt memory leaks, so they aren't
1877 printed when you run valgrind on the gnutls self-tests.  Use it as
1878 follows: valgrind --suppressions=libgcrypt.supp ./x509self or add
1879 '--suppressions=/home/you/src/gnutls/tests/libgcrypt.supp' to your
1880 ~/.valgrindrc file.
1882 ** tests/: Reduce amount of debugging output by default.
1883 Use --verbose for each test to get the full output.
1885 ** tests/: Fix memory leaks in several self-tests.
1886 None of the self tests should be leaking memory when running valgrind
1887 or similar tools.  (Known exceptions are dhepskself, pskself, and
1888 set_pkcs12_cred, which appear likely to be due to memory leaks in the
1889 library.)
1891 ** API and ABI modifications:
1892 No changes since last version.
1894 * Version 2.3.12 (released 2008-06-04)
1896 ** Merge gnutls_with_netconf branch.
1898 *** libgnutls [PSK]: New API to retrieve PSK identity hint in client.
1899 The function is gnutls_psk_client_get_hint.
1901 *** libgnutls [PSK]: New API to set PSK identity hint in server.
1902 The function is gnutls_psk_set_server_credentials_hint.
1904 *** libgnutls [PSK]: Support server key exchange with PSK identity hint.
1905 In the client, the message is parsed and the application can use
1906 gnutls_psk_client_get_hint to retrieve the hint.  In the server, the
1907 message is sent if the application has specified a PSK identity hint
1908 using gnutls_psk_set_server_credentials_hint.
1910 *** libgnutls [PSK]: Support Netconf PSK key derivation.
1911 The function gnutls_psk_netconf_derive_key supports the PSK key
1912 derivation as specified in draft-ietf-netconf-tls-02.txt.  New self
1913 test netconf-psk.c.
1915 *** psktool: Support new --netconf-hint to generate PSK key from password.
1916 Uses the Netconf algorithm to derive PSK key from password.
1918 *** gnutls-serv: Support new --pskhint parameter to set PSK identity hint.
1920 *** gnutls-cli: Always support PSK modes, through a callback.
1921 The callback will derive a PSK key using Netconf algorithm.  It will
1922 print the PSK identity hint to help the user.
1924 *** New PSK example client and server.
1925 See doc/examples/ex-client-psk.c and doc/examples/ex-serv-psk.c.
1927 ** libgnutls: Fix gnutls_x509_crl_set_version on arm platforms.
1928 The code didn't work properly on platforms where 'char' is unsigned,
1929 when you set version 0.  Reported by Laurence Withers
1930 <l@lwithers.me.uk> in
1931 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/2825>.
1933 ** libgnutls-openssl: added RAND_pseudo_bytes API.
1934 Patch from Robert Millan <rmh@aybabtu.com>.
1936 ** API and ABI modifications:
1937 RAND_pseudo_bytes: ADDED to libgnutls-openssl.
1938 gnutls_psk_client_get_hint: ADDED.
1939 gnutls_psk_set_server_credentials_hint: ADDED.
1940 gnutls_psk_netconf_derive_key: ADDED
1942 * Version 2.3.11 (released 2008-05-20)
1944 ** Fix flaw in fix for GNUTLS-SA-2008-1-3.
1945 The flaw would result in incorrectly terminated sessions with the
1946 error "Decryption has failed" when the server sends a small packet
1947 (typically when the session is closed).  Reported by Andreas Metzler
1948 <ametzler@downhill.at.eu.org> in
1949 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/2807>.
1951 ** Don't use gnulib headers when building C++ library.
1952 Fixes builds under Windows.
1954 ** Make umask a requirement.
1955 We don't know of any system that lacks it, even GNU CoreUtils use it
1956 unconditionally.
1958 ** Update gnulib files.
1959 Fixes a problem where it pulled in a replacement for memcmp under
1960 MinGW, which caused the C++ example to fail to build.
1962 ** API and ABI modifications:
1963 No changes since last version.
1965 * Version 2.3.10 (released 2008-05-19)
1967 ** Added wide wildcard hostname matching.
1968 Tiny patch by Jean-Philippe Garcia Ballester.
1970 ** Fix three security vulnerabilities.  [GNUTLS-SA-2008-1]
1971 Thanks to CERT-FI for finding the bugs and providing detailed reports,
1972 which allowed the bugs to be reproduced and fixed easily.  Patches
1973 developed by Simon Josefsson and Nikos Mavrogiannopoulos.  Any updates
1974 with more details about these vulnerabilities will be added to
1975 <http://www.gnu.org/software/gnutls/security.html>
1977 *** [GNUTLS-SA-2008-1-1]
1978 *** libgnutls: Fix crash when sending invalid server name.
1979 The crash can be triggered remotely before authentication, which can
1980 lead to a Daniel of Service attack to disable the server.  The bug
1981 cause gnutls to store more session resumption data than what was
1982 allocated for, thus overwriting unallocated memory.
1984 *** [GNUTLS-SA-2008-1-2]
1985 *** libgnutls: Fix crash when sending repeated client hellos.
1986 The crash can be triggered remotely before authentication, which can
1987 lead to a Daniel of Service attack to disable the server.  The bug
1988 triggers a null-pointer dereference.
1990 *** [GNUTLS-SA-2008-1-3]
1991 *** libgnutls: Fix crash in cipher padding decoding for invalid record lengths.
1992 The crash can be triggered remotely before authentication, which can
1993 lead to a Daniel of Service attack to disable the server.  The bug
1994 cause gnutls to read memory beyond the end of the received record.
1996 ** libgnutlsxx: Updated API according to patches from Eduardo 
1997 Villanueva Che (discussion at
1998 <http://lists.gnu.org/archive/html/gnutls-devel/2007-02/msg00017.html>)
2000 ** Use umask to restrict permissions to owner before creating a file.
2002 ** API and ABI modifications:
2003 No changes since last version.
2005 * Version 2.3.9 (released 2008-05-16)
2007 ** libgnutls: Fix build failures if SRP/OpenPGP is disabled.
2008 Based on report and tiny patches from
2009 <jared.jennings.ctr@eglin.af.mil>, see
2010 <https://savannah.gnu.org/support/index.php?106342>.
2012 ** libgnutls: Translation fixes.
2014 ** gnutls-cli: Fix so that PSK authentication works.
2015 Also improve manual to give example for gnutls-cli PSK authentication.
2017 ** certtool: Encrypting a private key now require a confirmed password.
2018 Before './certtool -k -8' would merely ask for a password once.
2019 Reported by Daniel 'NebuchadnezzaR' Dehennin
2020 <nebuchadnezzar@asgardr.info> see
2021 <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=364287>.
2023 ** certtool: When writing private keys to files, change permissions of file.
2024 Now the file which the private key is saved to is chmod'ed 0600.
2025 Reported by martin f krafft <madduck@debian.org> see
2026 <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=373169>.
2028 ** guile: Fix -fgnu89-inline test.
2030 ** Removed --enable-profile-mode.
2031 The code linked gnutls with the libfc project (Function Check) which
2032 appears to have been stalled since around 2002.
2034 ** Clean up header file checks by ./configure.
2036 ** Update of gnulib files.
2038 ** API and ABI modifications:
2039 No changes since last version.
2041 * Version 2.3.8 (released 2008-04-29)
2043 ** libgnutls: Increase default handshake packet size limit to 48kb.
2044 The old limit was 16kb and some servers send huge list of trusted CAs,
2045 thus running into the limit.  FYI, applications can further increase
2046 this limit using gnutls_handshake_set_max_packet_length.  Thanks to
2047 Marc Haber <mh+debian-bugs@zugschlus.de> and "Marc F. Clemente"
2048 <marc@mclemente.net> for reporting and providing test servers.
2050 ** libgnutls: Add new error code: GNUTLS_E_HANDSHAKE_TOO_LARGE
2051 Returned when the handshake data size is too large.  Before
2052 GNUTLS_E_MEMORY_ERROR was used, which could be confused with other
2053 error situations.
2055 ** libgnutls: Hide definitions in crypto.h.
2056 We have decided that the APIs defined in crypto.h are not stable
2057 enough for v2.4, so don't use any of those functions.
2059 ** gnutls-cli: exit when hostname doesn't match certificate.
2060 Use --insecure to avoid hostname comparison.
2062 ** certtool: --inder and --outder replaced by --inraw and --outraw.
2063 The reason is to align terminology with OpenPGP, which doesn't use
2064 DER.  The old parameters will continue to work for some time.
2066 ** doc: Add section 'Index of new symbols in 2.4.0' to the GTK-DOC manual.
2068 ** doc: Many cosmetic fixes, to silence (most) gtk-doc warnings.
2070 ** Mingw32: Revert libgcrypt vasprintf work-around added in last release.
2071 Use libgcrypt 1.4.1 or later when building on MinGW32, it removes the
2072 vasprintf symbol from the libgcrypt library which caused problems.
2074 ** Update of gnulib files.
2076 ** tests: New self-test of crypto.h RNG code tests/crypto_rng.
2078 ** API and ABI modifications:
2079 GNUTLS_E_HANDSHAKE_TOO_LARGE: ADDED.
2081 * Version 2.3.7 (released 2008-04-21)
2083 ** opencdk now properly sets the key usage bits into openpgp keys.
2085 ** gnutls-cli: Fix crash on TLS handshake failures.
2086 Reported by "Marc F. Clemente" <marc@mclemente.net> in Debian BTS #466477.
2087 This is similar to <http://bugs.debian.org/429183>.
2089 ** certtool: with --generate-request and newly generated keys, print the key.
2091 ** Build fixes for MinGW.
2092 Missing rpl_fseeko symbol in lib/opencdk/.  Better checks for linking
2093 with -lws2_32 when needed.  Use ASCII only isprint() when printing
2094 X.509 certificate information, to avoid non-ASCII but printable
2095 characters.  Thanks to Massimo Gaspari <massimo.gaspari@alice.it> for
2096 reports.
2098 ** Update internal copy of libtasn1 to version 1.4.
2100 ** API and ABI modifications:
2101 No changes since last version.
2103 * Version 2.3.6 (released 2008-04-17)
2105 ** Make gnutls_x509_crq_sign2 set certificate request version if not set.
2106 ** Improve documentation for gnutls_x509_crq_sign2.
2107 Based on report from "John Brooks" <aspecialj@gmail.com> in
2108 <http://permalink.gmane.org/gmane.network.gnutls.general/1154>.
2110 ** tests/pathlen: run diff without parameters to improve portability.
2111 Based on HPUX build hints in
2112 <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>.
2114 ** Don't use %e specifier with strftime, it doesn't work under Windows.
2115 Reported by Massimo Gaspari <massimo.gaspari@alice.it> in
2116 <http://permalink.gmane.org/gmane.network.gnutls.general/1170>.
2118 ** Remove all uses of gnutls_alloca/gnutls_afree.
2119 Use normal gnutls_malloc instead.  One reason is increased portability
2120 to Windows, the other is that several of the uses may be unsafe
2121 because the size of data allocated could be large.  Reported by
2122 Massimo Gaspari <massimo.gaspari@alice.it> in
2123 <http://permalink.gmane.org/gmane.network.gnutls.general/1170>.
2125 ** Build Guile code with -fgnu89-inline only when supported.
2126 Reported by Kris Karas <ktk@enterprise.bidmc.harvard.edu> in
2127 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/2708>.
2129 ** Several GTK-DOC related fixes.
2131 ** Clean up OpenCDK related code.
2132 GnuTLS now requires its internal OpenCDK code rather than the external
2133 GPL library OpenCDK.  Unfortunately, we don't have resources to
2134 maintain an external library (help welcome).
2136 ** API and ABI modifications:
2137 No changes since last version.
2139 * Version 2.3.5 (released 2008-04-14)
2141 ** Build fix for MinGW and --disable-shared.
2142 Reported by Massimo Gaspari <massimo.gaspari@alice.it> in
2143 <http://permalink.gmane.org/gmane.network.gnutls.general/1145>.
2145 ** Document how to generate CRLs.
2146 Suggested by "Rainer Gerhards" <rgerhards@gmail.com>.
2148 ** Documented the --priority option to gnutls-cli and gnutls-serv.
2150 ** Several minor fixes in the OpenPGP interface.
2151 Thanks to Daniel Kahn Gillmor.
2153 ** Fix fopen file descriptor leak in PSK server code.
2154 Thanks to Laurence Withers <l@lwithers.me.uk>, see
2155 <http://lists.gnu.org/archive/html/gnutls-devel/2008-04/msg00002.html>.
2157 ** Translations files not stored directly in git to avoid merge conflicts.
2159 ** New APIs to let applications replace the RNG used.
2160 Update all RNG callers in the code to use the new interface.
2162 ** Guile code now built with -fgnu89-inline to fix inline semantic problem.
2164 ** Update gnulib files.
2166 ** API and ABI modifications:
2167 gnutls_crypto_rnd_register: ADDED
2168 gnutls_rnd_level_t: ADDED
2169 GNUTLS_RND_KEY: ADDED, gnutls_rnd_level_t member
2170 GNUTLS_RND_RANDOM: ADDED, gnutls_rnd_level_t member
2171 GNUTLS_RND_NONCE: ADDED, gnutls_rnd_level_t member
2172 gnutls_crypto_rnd_st: ADDED
2173 GNUTLS_DIG_SHA224: ADDED
2174 GNUTLS_SIGN_RSA_SHA224: ADDED
2175 gnutls_openpgp_crt_get_auth_subkey: MODIFIED
2177 * Version 2.3.4 (released 2008-03-19)
2179 ** Finish renaming of gnutls_certificate_export_x509_cas etc.
2180 They weren't renamed in the public header file.
2182 ** Added functions to register a cipher/mac/digest. This allows to 
2183 override the included ones.
2185 ** Fix a bunch of compiler warnings.
2187 ** API and ABI modifications:
2188 gnutls_crypto_cipher_st: ADDED
2189 gnutls_crypto_mac_st: ADDED
2190 gnutls_crypto_digest_st: ADDED
2191 gnutls_crypto_cipher_register: ADDED
2192 gnutls_crypto_mac_register: ADDED
2193 gnutls_crypto_digest_register: ADDED
2194 GNUTLS_E_CRYPTO_ALREADY_REGISTERED: ADDED
2196 * Version 2.3.3 (released 2008-03-10)
2198 ** Fix build failure in libextra/gnutls_extra.c that needed opencdk.h.
2199 Reported by Roman Bogorodskiy <novel@FreeBSD.org>.
2201 ** No longer compiled using -D_REENTRANT -D_THREAD_SAFE.
2202 We could not find any modern justification for enabling these flags by
2203 default.  If you know of some platform that needs one of the flags to
2204 work properly, please let us know.  (Actually introduced in v2.3.0 but
2205 not documented until now.)
2207 ** Importing many CA certificates are now considerably faster.
2208 This affect gnutls_certificate_set_x509_trust_mem,
2209 gnutls_certificate_set_x509_trust, and
2210 gnutls_certificate_set_x509_trust_file.  The complexity was reduced
2211 from O(2*n^2) to O(n).  When adding 206 files containing 408
2212 certificates, using gnutls_certificate_set_x509_trust_file, the time
2213 dropped from 40 seconds to 0.3 seconds.  Thanks to Edgar Fuß for code
2214 to trigger the problem.  See also
2215 <http://blog.josefsson.org/2008/02/27/real-world-performance-tuning-with-callgrind/>.
2217 ** Clarify documentation for gnutls_x509_crt_set_subject_alternative_name
2218 ** to be explicit that it takes zero terminated data.
2220 ** gnutls-cli --print-cert now print PKCS#3 format Diffie-Hellman parameters.
2222 ** Documentation fixes for the GTK-DOC manual.
2224 ** Fix compilation error related to __FUNCTION__ on some systems.
2225 Reported by Tim Mooney, see
2226 <https://savannah.gnu.org/support/?106267>.
2228 ** Updated translations.
2230 ** Update gnulib files.
2232 ** API and ABI modifications:
2233 gnutls_hex2bin: MODIFIED, uses size_t instead of int for string length,
2234                 and char* instead of void* for output buffer.
2236 * Version 2.3.2 (released 2008-02-26)
2238 ** Fix srcdir!=objdir failure in openpgpself test.
2240 ** Improved API documentation output from GTK-DOC.
2242 ** Added gnutls_x509_dn_export(). Patch by Joe Orton.
2244 ** Renamed gnutls_certificate_export_x509_cas and friends.
2245 See <http://lists.gnu.org/archive/html/gnutls-devel/2008-02/msg00043.html>.
2247 ** Internal header files cleanup.
2249 ** API and ABI modifications:
2250 gnutls_certificate_export_x509_cas: RENAMED to gnutls_certificate_get_x509_cas
2251 gnutls_certificate_export_x509_crls: RENAMED to gnutls_certificate_get_x509_crls
2252 gnutls_certificate_export_openpgp_keyring: RENAMED to gnutls_certificate_get_openpgp_keyring
2253 gnutls_x509_dn_export: ADDED
2255 * Version 2.3.1 (released 2008-02-21)
2257 ** OpenPGP support merged into libgnutls and is now licensed under LGPL.
2258 The included copy of OpenCDK has been stripped down and re-licensed
2259 under the LGPL.
2261 ** Cipher priority string handling now handle strings that starts with NULL.
2262 Thanks to Laurence Withers <l@lwithers.me.uk>.
2264 ** gnutls-cli: When -d is used, also prints RNG information from libgcrypt.
2266 ** Corrected memory leaks in session resuming and DHE ciphersuites. Reported
2267 by Daniel Stenberg.
2269 ** Increased the default certificate verification chain limits and allowed
2270 for checks without limitation.
2272 ** Corrected the behaviour of gnutls_x509_crt_get_subject_alt_name()
2273 and gnutls_x509_crt_get_subject_alt_name() to not null terminate binary
2274 strings and return the proper size.
2276 ** Add section 'On Record Padding' to the manual.
2277 This collects all problems related to record padding with
2278 Nokia/Sony-Ericsson phones that we know about.
2280 ** Several improvements in the OpenPGP authentication.
2281 Now subkeys can be used for authentication, according to
2282 draft-mavrogiannopoulos-rfc5081bis-00.txt.
2284 ** certtool can print information on OpenPGP certificates and keys.
2286 ** Added gnutls_x509_dn_import/init/deinit() to access raw DER DN.
2287 Patch by Joe Orton.
2289 ** Added gnutls_certificate_export_x509_cas and other functions to
2290 export elements from the certificate credentials structure.  Based on
2291 suggestion from Joe Orton.
2293 ** Doc fixes.
2294 Clarify that srp_base64 is not the same as normal base64.
2296 ** Fix non-portable use of brace expansion in makefiles.
2298 ** API and ABI modifications:
2299 gnutls_certificate_export_x509_cas: ADDED
2300 gnutls_certificate_export_x509_crls: ADDED
2301 gnutls_certificate_export_openpgp_keyring: ADDED
2302 gnutls_openpgp_keyid_t: ADDED, instead of hard-coded 'unsigned char[8]'.
2303 gnutls_openpgp_crt_get_key_id: ADDED, obsoletes gnutls_openpgp_crt_get_id.
2304 gnutls_openpgp_crt_get_revoked_status: ADDED
2305 gnutls_openpgp_crt_get_subkey_count: ADDED
2306 gnutls_openpgp_crt_get_subkey_idx: ADDED
2307 gnutls_openpgp_crt_get_subkey_revoked_status: ADDED
2308 gnutls_openpgp_crt_get_subkey_pk_algorithm: ADDED
2309 gnutls_openpgp_crt_get_subkey_creation_time: ADDED
2310 gnutls_openpgp_crt_get_subkey_expiration_time: ADDED
2311 gnutls_openpgp_crt_get_subkey_id: ADDED
2312 gnutls_openpgp_crt_get_subkey_usage: ADDED
2313 gnutls_openpgp_privkey_get_fingerprint: ADDED
2314 gnutls_openpgp_privkey_get_key_id: ADDED
2315 gnutls_openpgp_privkey_get_subkey_count: ADDED
2316 gnutls_openpgp_privkey_get_subkey_idx: ADDED
2317 gnutls_openpgp_privkey_get_subkey_revoked_status: ADDED
2318 gnutls_openpgp_privkey_get_revoked_status: ADDED
2319 gnutls_openpgp_privkey_get_subkey_pk_algorithm: ADDED
2320 gnutls_openpgp_privkey_get_subkey_expiration_time: ADDED
2321 gnutls_openpgp_privkey_get_subkey_id: ADDED
2322 gnutls_openpgp_privkey_get_subkey_creation_time: ADDED
2323 gnutls_openpgp_crt_get_subkey_pk_dsa_raw: ADDED
2324 gnutls_openpgp_crt_get_subkey_pk_rsa_raw: ADDED
2325 gnutls_openpgp_crt_get_pk_dsa_raw: ADDED
2326 gnutls_openpgp_crt_get_pk_rsa_raw: ADDED
2327 gnutls_openpgp_privkey_export_subkey_dsa_raw: ADDED
2328 gnutls_openpgp_privkey_export_subkey_rsa_raw: ADDED
2329 gnutls_openpgp_privkey_export_dsa_raw: ADDED
2330 gnutls_openpgp_privkey_export_rsa_raw: ADDED
2331 gnutls_openpgp_privkey_export: ADDED
2332 gnutls_certificate_set_openpgp_key_file2: ADDED
2333 gnutls_certificate_set_openpgp_key_mem2: ADDED
2334 gnutls_x509_dn_init: ADDED
2335 gnutls_x509_dn_import: ADDED
2336 gnutls_x509_dn_deinit: ADDED
2337 GNUTLS_E_OPENPGP_SUBKEY_ERROR: ADDED
2338 gnutls_hex2bin: ADDED
2339 GNUTLS_CRT_PRINT_FULL: ADDED, same as old GNUTLS_X509_CRT_FULL.
2340 GNUTLS_CRT_PRINT_ONELINE: ADDED, same as old GNUTLS_X509_CRT_ONELINE.
2341 GNUTLS_CRT_PRINT_UNSIGNED_FULL: ADDED, same as
2342                                 old GNUTLS_X509_CRT_UNSIGNED_FULL.
2344 * Version 2.3.0 (released 2008-01-08)
2346 ** LZO compression is now disabled by default.
2347 The reason is that LZO compression is not standardized in TLS.  If you
2348 wish to experiment with it, you will have to supply --with-lzo when
2349 invoking ./configure.  The internal copy of minilzo is no longer
2350 included with GnuTLS, so you will need to install liblzo or liblzo2 on
2351 your system to have --with-lzo to be effective.
2353 ** More than one server name field is now sent to the server properly.
2354 Thanks to mark.phillips@virgin.net.
2356 ** Fixes the post_client_hello_function(). The extensions are now parsed
2357 in a callback friendly way.
2359 ** Fix for certificate selection in servers with certificate callbacks.
2361 ** Updated translations.
2363 ** Update gnulib files.
2365 ** API and ABI modifications:
2366 No changes since last version.
2368 * Version 2.2.5 (released 2008-05-19)
2370 ** Fix flaw in fix for GNUTLS-SA-2008-1-3.
2371 The flaw would result in incorrectly terminated sessions with the
2372 error "Decryption has failed" when the server sends a small packet
2373 (typically when the session is closed).  Reported by Andreas Metzler
2374 <ametzler@downhill.at.eu.org> in
2375 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/2807>.
2377 ** API and ABI modifications:
2378 No changes since last version.
2380 * Version 2.2.4 (released 2008-05-19)
2382 ** Fix three security vulnerabilities.  [GNUTLS-SA-2008-1]
2383 Thanks to CERT-FI for finding the bugs and providing detailed reports,
2384 which allowed the bugs to be reproduced and fixed easily.  Patches
2385 developed by Simon Josefsson and Nikos Mavrogiannopoulos.  Any updates
2386 with more details about these vulnerabilities will be added to
2387 <http://www.gnu.org/software/gnutls/security.html>
2389 *** [GNUTLS-SA-2008-1-1]
2390 *** libgnutls: Fix crash when sending invalid server name.
2391 The crash can be triggered remotely before authentication, which can
2392 lead to a Daniel of Service attack to disable the server.  The bug
2393 cause gnutls to store more session resumption data than what was
2394 allocated for, thus overwriting unallocated memory.
2396 *** [GNUTLS-SA-2008-1-2]
2397 *** libgnutls: Fix crash when sending repeated client hellos.
2398 The crash can be triggered remotely before authentication, which can
2399 lead to a Daniel of Service attack to disable the server.  The bug
2400 triggers a null-pointer dereference.
2402 *** [GNUTLS-SA-2008-1-3]
2403 *** libgnutls: Fix crash in cipher padding decoding for invalid record lengths.
2404 The crash can be triggered remotely before authentication, which can
2405 lead to a Daniel of Service attack to disable the server.  The bug
2406 cause gnutls to read memory beyond the end of the received record.
2408 ** API and ABI modifications:
2409 No changes since last version.
2411 * Version 2.2.3 (released 2008-05-06)
2413 ** Increase default handshake packet size limit to 48kb.
2414 The old limit was 16kb and some servers send huge list of trusted CAs,
2415 thus running into the limit.  FYI, applications can further increase
2416 this limit using gnutls_handshake_set_max_packet_length.  Thanks to
2417 Marc Haber <mh+debian-bugs@zugschlus.de> and "Marc F. Clemente"
2418 <marc@mclemente.net> for reporting and providing test servers.
2420 ** Fix compilation error related to __FUNCTION__ on some systems.
2421 Reported by Tim Mooney, see
2422 <https://savannah.gnu.org/support/?106267>.
2424 ** Documented the --priority option to gnutls-cli and gnutls-serv.
2426 ** Fix fopen file descriptor leak in PSK server code.
2427 Thanks to Laurence Withers <l@lwithers.me.uk>, see
2428 <http://lists.gnu.org/archive/html/gnutls-devel/2008-04/msg00002.html>.
2430 ** Build Guile code with -fgnu89-inline only when supported.
2431 Reported by Kris Karas <ktk@enterprise.bidmc.harvard.edu> in
2432 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/2708>.
2434 ** Make Camellia encryption work.
2435 Reported by Yoshisato YANAGISAWA <yanagisawa@csg.is.titech.ac.jp> in
2436 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/2746>.
2438 ** API and ABI modifications:
2439 No changes since last version.
2441 * Version 2.2.2 (released 2008-02-21)
2443 ** Cipher priority string handling now handle strings that starts with NULL.
2444 Thanks to Laurence Withers <l@lwithers.me.uk>.
2446 ** Corrected memory leaks in session resuming and DHE ciphersuites. Reported
2447 by Daniel Stenberg.
2449 ** Increased the default certificate verification chain limits and allowed
2450 for checks without limitation.
2452 ** Corrected the behaviour of gnutls_x509_crt_get_subject_alt_name()
2453 and gnutls_x509_crt_get_subject_alt_name() to not null terminate binary
2454 strings and return the proper size.
2456 ** API and ABI modifications:
2457 No changes since last version.
2459 * Version 2.2.1 (released 2008-01-17)
2461 ** Prevent linking libextra against previously installed libgnutls.
2462 Tiny patch from "Alon Bar-Lev" <alon.barlev@gmail.com>, see
2463 <http://bugs.gentoo.org/show_bug.cgi?id=202269>.
2465 ** Fixes the post_client_hello_function(). The extensions are now parsed
2466 in a callback friendly way.
2468 ** Fix for certificate selection in servers with certificate callbacks.
2470 ** API and ABI modifications:
2471 No changes since last version.
2473 * Version 2.2.0 (released 2007-12-14)
2475 ** Update internal copy of libtasn1 to version 1.2.
2477 ** Certtool --verify-chain now handle inputs larger than 64kb.
2478 This fixes the self-test "rsa-md5-collision" under MinGW+Wine with
2479 recent versions of libgcrypt.  The problem was that Wine with the
2480 libgcrypt RNG generates huge amounts of debugging output.
2482 ** Translation updates.
2483 Added Dutch translation.  Updated Polish and Swedish translation.
2485 ** Major changes compared to the v2.0 branch:
2487 *** SRP support aligned with newly published RFC 5054.
2489 *** OpenPGP support aligned with newly published RFC 5081.
2491 *** Support for DSA2 keys.
2493 *** Support for Camellia cipher.
2495 *** Support for Opaque PRF Input extension.
2497 *** PKCS#8 parser now handle DSA keys.
2499 *** Change from GPLv2 to GPLv3 for command-line tools, libgnutls-extra, etc.
2500 Notice that liblzo2 2.02 is licensed under GPLv2 only.  Earlier
2501 versions, such as 2.01 which is included with GnuTLS, is available
2502 under GPLv2 or later.  If this incompatibility causes problems, we
2503 recommend you to disable LZO using --without-lzo.  LZO compression is
2504 not a standard TLS compression algorithm, so the impact should be
2505 minimal.
2507 *** Functions for disabling record protocol padding.
2508 Works around bugs on Nokia/Ericsson phones.
2510 *** New functions gnutls_priority_set() for setting cipher priorities easily.
2511 Priorities like "COMPAT" also enables other work arounds, such as
2512 disabling padding.
2514 *** Other minor improvements and bug fixes.
2516 ** Backwards incompatible API/ABI changes in GnuTLS 2.2
2517 To adapt to changes in the TLS extension specifications for OpenPGP
2518 and SRP, the GnuTLS API had to be modified.  This means breaking the
2519 API and ABI backwards compatibility.  That is something we try to
2520 avoid unless it is necessary.  We decided to also remove the already
2521 deprecated stub functions for X.509 to XML conversion and TLS
2522 authorization (see below) when we had the opportunity.
2524 Generally, most applications does not need to be modified.  Just
2525 re-compile them against the latest GnuTLS release, and it should work
2526 fine.
2528 Applications that use the OpenPGP or SRP features needs to be
2529 modified.  Below is a list of the modified APIs and discussion of what
2530 the minimal things you need to modify in your application to make it
2531 work with GnuTLS 2.2.
2533 Note that GnuTLS 2.2 also introduces new APIs -- such as
2534 gnutls_set_priority() that is superior to
2535 gnutls_set_default_priority() -- that you may want to start using.
2536 However, using those new APIs is not required to use GnuTLS 2.2 since
2537 the old functions continue are still supported.  This text only
2538 discuss what you minimally have to modify.
2540 *** XML related changes
2541 The function `gnutls_x509_crt_to_xml' has been removed.  It has been
2542 deprecated and only returned an error code since GnuTLS version
2543 1.2.11.  Nobody has complained, so users doesn't seem to miss the
2544 functionality.  We don't know of any other library to convert X.509
2545 certificates into XML format, but we decided (long ago) that GnuTLS
2546 isn't the right place for this kind of functionality.  If you want
2547 help to find some other library to use here, please explain and
2548 discuss your use case on help-gnutls@gnu.org.
2550 *** TLS Authorization related changes
2551 Everything related to TLS authorizations have been removed, they were
2552 only stub functions that returned an error code:
2554  GNUTLS_SUPPLEMENTAL_AUTHZ_DATA
2555  gnutls_authz_data_format_type_t
2556  gnutls_authz_recv_callback_func
2557  gnutls_authz_send_callback_func
2558  gnutls_authz_enable
2559  gnutls_authz_send_x509_attr_cert
2560  gnutls_authz_send_saml_assertion
2561  gnutls_authz_send_x509_attr_cert_url
2562  gnutls_authz_send_saml_assertion_url
2564 *** SRP related changes
2565 The callback gnutls_srp_client_credentials_function has a new
2566 prototype, and its semantic has changed.  You need to rewrite the
2567 callback, see the updated function documentation and SRP example code
2568 (doc/examples/ex-client-srp.c and doc/examples/ex-serv-srp.c) for more
2569 information.
2571 The alert codes GNUTLS_A_MISSING_SRP_USERNAME and
2572 GNUTLS_A_UNKNOWN_SRP_USERNAME are no longer used by the SRP
2573 specification, instead the GNUTLS_A_UNKNOWN_PSK_IDENTITY alert is
2574 used.  There are #define's to map the old names to the new.  You may
2575 run into problems if you have a switch-case with cases for both SRP
2576 alerts, since they are now mapped to the same value.  The solution is
2577 to drop the SRP alerts from such switch cases, as they are now
2578 deprecated in favor of GNUTLS_A_UNKNOWN_PSK_IDENTITY.
2580 *** OpenPGP related changes
2581 The function `gnutls_certificate_set_openpgp_keyserver' have been
2582 removed.  There is no replacement functionality inside GnuTLS.  If you
2583 need keyserver functionality, consider using the GnuPG tools.
2585 All functions, types, and error codes related to OpenPGP trustdb
2586 format have been removed.  The trustdb format is a non-standard
2587 GnuPG-specific format, and we recommend you to use key rings instead.
2588 The following have been removed:
2590  gnutls_certificate_set_openpgp_trustdb
2591  gnutls_openpgp_trustdb_init
2592  gnutls_openpgp_trustdb_deinit
2593  gnutls_openpgp_trustdb_import
2594  gnutls_openpgp_key_verify_trustdb
2595  gnutls_openpgp_trustdb_t
2596  GNUTLS_E_OPENPGP_TRUSTDB_VERSION_UNSUPPORTED
2598 The following functions has an added parameter of the (new) type
2599 `gnutls_openpgp_crt_fmt_t'.  The type specify the format of the data
2600 (binary or base64).  The functions are:
2601  gnutls_certificate_set_openpgp_key_file
2602  gnutls_certificate_set_openpgp_key_mem
2603  gnutls_certificate_set_openpgp_keyring_mem
2604  gnutls_certificate_set_openpgp_keyring_file
2606 To improve terminology and align with the X.509 interface, some
2607 functions have been renamed.  Compatibility mappings exists.  The old
2608 and new names of the affected functions and types are:
2610         Old name                                New name
2611  gnutls_openpgp_key_t                    gnutls_openpgp_crt_t
2612  gnutls_openpgp_key_fmt_t                gnutls_openpgp_crt_fmt_t
2613  gnutls_openpgp_key_status_t             gnutls_openpgp_crt_status_t
2614  GNUTLS_OPENPGP_KEY                      GNUTLS_OPENPGP_CERT
2615  GNUTLS_OPENPGP_KEY_FINGERPRINT          GNUTLS_OPENPGP_CERT_FINGERPRINT
2616  gnutls_openpgp_key_init                 gnutls_openpgp_crt_init
2617  gnutls_openpgp_key_deinit               gnutls_openpgp_crt_deinit
2618  gnutls_openpgp_key_import               gnutls_openpgp_crt_import
2619  gnutls_openpgp_key_export               gnutls_openpgp_crt_export
2620  gnutls_openpgp_key_get_key_usage        gnutls_openpgp_crt_get_key_usage
2621  gnutls_openpgp_key_get_fingerprint      gnutls_openpgp_crt_get_fingerprint
2622  gnutls_openpgp_key_get_pk_algorithm     gnutls_openpgp_crt_get_pk_algorithm
2623  gnutls_openpgp_key_get_name             gnutls_openpgp_crt_get_name
2624  gnutls_openpgp_key_get_version          gnutls_openpgp_crt_get_version
2625  gnutls_openpgp_key_get_creation_time    gnutls_openpgp_crt_get_creation_time
2626  gnutls_openpgp_key_get_expiration_time  gnutls_openpgp_crt_get_expiration_time
2627  gnutls_openpgp_key_get_id               gnutls_openpgp_crt_get_id
2628  gnutls_openpgp_key_check_hostname       gnutls_openpgp_crt_check_hostname
2629  gnutls_openpgp_send_key                 gnutls_openpgp_send_cert
2631 ** API and ABI modifications:
2632 No changes since last version.
2634 * Version 2.1.8 (released 2007-12-10)
2636 ** The GPL version has been changed from version 2 to version 3.
2637 This affects the self-tests, command-line tools, the libgnutls-extra
2638 library, the relevant guile parts, and the build environment.
2640 ** Added gnutls_x509_crt_get_subject_alt_name2().
2642 ** Corrected a segfault when setting an empty gnutls_priority_t
2643 at gnutls_priority_set().
2645 ** Use gettext 0.17 which updates m4/lib-*.m4 macros.
2646 Fixes a problem with spurious -L/usr/lib additions.
2648 ** API and ABI modifications:
2649 gnutls_x509_crt_get_subject_alt_name2: ADD.
2651 * Version 2.1.7 (released 2007-11-29)
2653 ** PKCS #8 parser can now encode/decode DSA keys.
2655 ** Updated gnutls_set_default_priority2() now renamed to
2656 gnutls_priority_set() and gnutls_priority_set_direct() which
2657 accept a string to indicate preferences of ciphersuite parameters.
2659 ** gnutls-cli and gnutls-serv now have a --priority option to set
2660 the priority string.
2662 ** The gnutls_*_convert_priority() functions were deprecated by
2663 the gnutls_priority_set() and gnutls_priority_set_direct().
2665 ** Internal copy of OpenCDK upgraded to version 0.6.6.
2667 ** API and ABI modifications:
2668 gnutls_priority_init: ADD.
2669 gnutls_priority_deinit: ADD.
2670 gnutls_priority_set: ADD.
2671 gnutls_priority_set_direct: ADD.
2672 gnutls_set_default_priority2: RENAMED to gnutls_priority_set_direct()
2673 gnutls_mac_convert_priority: REMOVED
2674 gnutls_compression_convert_priority: REMOVED
2675 gnutls_protocol_convert_priority: REMOVED
2676 gnutls_kx_convert_priority: REMOVED
2677 gnutls_cipher_convert_priority: REMOVED
2678 gnutls_certificate_type_convert_priority: REMOVED
2679 gnutls_set_default_priority: UNDEPRECATED
2680 gnutls_set_default_priority_export: UNDEPRECATED
2682 ** Undocumented API and ABI modifications earlier in the 2.1.x series:
2683 GNUTLS_CIPHER_UNKNOWN: ADD.
2684 GNUTLS_CIPHER_CAMELLIA_128_CBC: ADD.
2685 GNUTLS_CIPHER_CAMELLIA_256_CBC: ADD.
2686 GNUTLS_KX_UNKNOWN: ADD.
2687 GNUTLS_COMP_UNKNOWN: ADD.
2688 GNUTLS_CRT_UNKNOWN: ADD.
2689 gnutls_mac_get_id: ADD.
2690 gnutls_compression_get_id: ADD.
2691 gnutls_cipher_get_id: ADD.
2692 gnutls_kx_get_id: ADD.
2693 gnutls_protocol_get_id: ADD.
2694 gnutls_certificate_type_get_id: ADD.
2695 gnutls_handshake_post_client_hello_func: ADD.
2696 gnutls_certificate_send_x509_rdn_sequence: ADD prototype to gnutls.h.in.
2698 * Version 2.1.6 (released 2007-11-15)
2700 ** Corrected bug in decompression of expanded compression data.
2702 ** Added the --to-p8 option to certtool to convert private keys
2703 to PKCS #8 keys.
2705 ** Introduced the GNUTLS_E_BASE64_UNEXPECTED_HEADER_ERROR error code.
2707 ** gnutls_certificate_set_x509_key_* can now read PKCS #8 unencrypted
2708 private keys.
2710 ** Fixed GNUTLS_E_UNKNOWN_ALGORITHM vs GNUTLS_E_UNKNOWN_HASH_ALGORITHM.
2711 During the 2.1.x series the GNUTLS_E_UNKNOWN_HASH_ALGORITHM error code
2712 was renamed to GNUTLS_E_UNKNOWN_ALGORITHM, unfortunately without being
2713 documented.  This caused some problems (e.g., debian #450854).  To
2714 avoid backwards compatibility problems, this release revert this
2715 change, so that GNUTLS_E_UNKNOWN_HASH_ALGORITHM works just like it has
2716 done in GnuTLS 2.0.x and earlier, and add a new error code
2717 GNUTLS_E_UNKNOWN_ALGORITHM.
2719 ** Fixes several gtk-doc warnings.
2721 ** API and ABI modifications:
2722 GNUTLS_E_UNKNOWN_ALGORITHM: CHANGED.
2723 GNUTLS_E_UNKNOWN_HASH_ALGORITHM: CHANGED.
2724 GNUTLS_E_BASE64_UNEXPECTED_HEADER_ERROR: ADD.
2726 * Version 2.1.5 (released 2007-11-01)
2728 ** Fix PKCS#3 parameter export problem.
2730 ** Improve certtool queries, they now print the default value.
2732 ** Fix ABI version.
2734 ** Update gnulib files.
2736 ** API and ABI modifications:
2737 No changes since last version.
2739 * Version 2.1.4 (released 2007-10-27)
2741 ** Added the --v1 option to certtool, to allow generating X.509
2742 version 1 certificates. 
2744 ** certtool: Add option --disable-quick-random to enable the old behaviour
2745 of using /dev/random to generate keys.
2747 ** Added priority functions that accept strings.
2749 ** Added gnutls_set_default_priority2() which accepts a flag to indicate
2750 priorities preferences.
2752 ** Added gnutls_record_disable_padding() to allow servers talking to 
2753 buggy clients that complain if the TLS 1.0 record protocol padding is
2754 used.
2756 ** Introduced gnutls_session_enable_compatibility_mode() to allow enabling
2757 all supported compatibility options (like disabling padding).
2759 ** The gnutls_certificate_set_openpgp_* functions were modified to include
2760 the format. This makes the interface consistent with the x509 functions.
2762 ** Internal copy of OpenCDK upgraded to version 0.6.5.
2764 ** Update gnulib files.
2766 ** API and ABI modifications:
2767 gnutls_certificate_set_openpgp_key_mem: MODIFIED
2768 gnutls_certificate_set_openpgp_key_file: MODIFIED
2769 gnutls_certificate_set_openpgp_keyring_mem: MODIFIED
2770 gnutls_certificate_set_openpgp_keyring_file: MODIFIED
2771 gnutls_set_default_priority: DEPRECATED
2772 gnutls_set_default_priority_export: DEPRECATED
2773 gnutls_set_default_priority2: ADDED
2774 gnutls_session_enable_compatibility_mode: ADDED
2775 gnutls_record_disable_padding: ADDED
2776 gnutls_mac_convert_priority: ADDED
2777 gnutls_compression_convert_priority: ADDED
2778 gnutls_protocol_convert_priority: ADDED
2779 gnutls_kx_convert_priority: ADDED
2780 gnutls_cipher_convert_priority: ADDED
2781 gnutls_certificate_type_convert_priority: ADDED
2782 gnutls_openpgp_key_t: RENAMED to gnutls_openpgp_crt_t
2783 gnutls_openpgp_key_status_t: RENAMED to gnutls_openpgp_crt_status_t
2784 gnutls_openpgp_send_key: RENAMED to gnutls_openpgp_send_cert
2785 gnutls_openpgp_key_init: RENAMED to gnutls_openpgp_crt_init
2786 gnutls_openpgp_key_import: RENAMED to gnutls_openpgp_crt_import
2787 gnutls_openpgp_key_export: RENAMED to gnutls_openpgp_crt_export
2788 gnutls_openpgp_key_check_hostname: RENAMED to gnutls_openpgp_crt_check_hostname
2789 gnutls_openpgp_key_get_creation_time: RENAMED to gnutls_openpgp_crt_get_creation_time
2790 gnutls_openpgp_key_get_expiration_time: RENAMED to gnutls_openpgp_crt_get_expiration_time
2791 gnutls_openpgp_key_get_fingerprint: RENAMED to gnutls_openpgp_crt_get_fingerprint
2792 gnutls_openpgp_key_get_version: RENAMED to gnutls_openpgp_crt_get_version
2793 gnutls_openpgp_key_get_pk_algorithm: RENAMED to gnutls_openpgp_crt_get_pk_algorithm
2794 gnutls_openpgp_key_get_name: RENAMED to gnutls_openpgp_crt_get_name
2795 gnutls_openpgp_key_deinit: RENAMED to gnutls_openpgp_crt_deinit
2796 gnutls_openpgp_key_get_id: RENAMED to gnutls_openpgp_crt_get_id
2797 gnutls_openpgp_key_get_key_usage: RENAMED to gnutls_openpgp_crt_get_key_usage
2798 gnutls_openpgp_key_verify_ring: RENAMED to gnutls_openpgp_crt_verify_ring
2799 gnutls_openpgp_key_verify_self: RENAMED to gnutls_openpgp_crt_verify_self
2801 * Version 2.1.3 (released 2007-10-17)
2803 ** TLS authorization support removed.
2804 This technique may be patented in the future, and it is not of crucial
2805 importance for the Internet community.  After deliberation we have
2806 concluded that the best thing we can do in this situation is to
2807 encourage society not to adopt this technique.  We have decided to
2808 lead the way with our own actions.
2810 ** Re-enabled the 256 bit ciphers in the default priorities.
2812 ** Corrected bugs in openpgp key verification using a keyring (both in
2813 gnutls and opencdk)
2815 ** API and ABI modifications:
2816 gnutls_certificate_set_openpgp_keyserver: REMOVED
2817 gnutls_authz_data_format_type_t,
2818 gnutls_authz_recv_callback_func,
2819 gnutls_authz_send_callback_func,
2820 gnutls_authz_enable,
2821 gnutls_authz_send_x509_attr_cert,
2822 gnutls_authz_send_saml_assertion,
2823 gnutls_authz_send_x509_attr_cert_url,
2824 gnutls_authz_send_saml_assertion_url: REMOVED.
2825 GNUTLS_SUPPLEMENTAL_USER_MAPPING_DATA: ADDED.  To avoid that the
2826     gnutls_supplemental_data_format_type_t enum type becomes empty.
2828 * Version 2.1.2 (released 2007-10-14)
2830 ** Removed all the trustdb code from openpgp authentication.
2831 We now use only the well-specified keyrings.
2833 ** The 256 bit ciphers are not enabled in the default priorities.
2835 ** Added support for DSA2 using libgcrypt 1.3.0.
2837 ** certtool: Fixed data corruption when using --outder.
2839 ** Removed all the xml related stubs and functions.
2841 ** Added capability to set a callback after the client hello is received
2842 by the server in order to adjust parameters before the handshake.
2844 ** SRP was corrected to adhere to the latest draft (published soon as RFC)
2846 ** Corrected bug which did not allow a server to run without supporting
2847 certificates.
2849 ** Updated the DN parser which now prints wrongly decoded values as hex
2850 strings.
2852 ** certtool: Add option --quick-random.
2853 For generating low security test credentials.
2855 ** API and ABI modifications:
2856 gnutls_x509_crt_to_xml: REMOVED
2857 gnutls_openpgp_key_to_xml: REMOVED
2858 gnutls_openpgp_key_verify_trustdb: REMOVED
2859 gnutls_openpgp_trustdb_init: REMOVED
2860 gnutls_openpgp_trustdb_deinit: REMOVED
2861 gnutls_openpgp_trustdb_import: REMOVED
2862 gnutls_certificate_set_openpgp_trustdb: REMOVED
2863 gnutls_srp_client_credentials_function: CHANGED
2864 gnutls_handshake_set_post_client_hello_function: ADDED
2865 gnutls_mac_get_key_size: ADDED
2866 GNUTLS_E_OPENPGP_TRUSTDB_VERSION_UNSUPPORTED: DEPRECATED.
2867 GNUTLS_A_MISSING_SRP_USERNAME: DEPRECATED
2868 GNUTLS_A_UNKNOWN_SRP_USERNAME: DEPRECATED
2870 * Version 2.1.1 (released 2007-09-24)
2872 ** Added support for Camellia cipher, thanks to Yoshisato YANAGISAWA.
2873 Camellia is only enabled in GnuTLS if the installed libgcrypt has been
2874 compiled with Camellia support.  See the libgcrypt documentation on
2875 how to enable it.  Unconditionally disable it using the configure
2876 option --disable-camellia.  Fixes #1.
2878 ** Properly document in the NEWS file the API change in the last release.
2880 ** API and ABI modifications:
2881 No changes since last version.
2883 * Version 2.1.0 (released 2007-09-20)
2885 ** Support for draft-rescorla-tls-opaque-prf-input-00.txt.
2886 The support is disabled by default.  Since no value has been allocated
2887 by the IANA for this extension yet, you will need to provide one
2888 yourself by invoking './configure --enable-opaque-prf-input=42'.
2889 Fixes #2.
2891 ** Example code: Fix compilation flaw under MinGW.
2893 ** API and ABI modifications:
2894 gnutls_oprfi_callback_func: ADD, new typedef function prototype.
2895 gnutls_oprfi_enable_client: ADD, new function.
2896 gnutls_oprfi_enable_server: ADD, new function.
2898 * Version 2.0.4 (released 2007-11-16)
2900 ** Corrected bug in decompression of expanded compression data.           
2902 ** API and ABI modifications:
2903 No changes since last version.
2905 * Version 2.0.3 (released 2007-11-10)
2907 ** This version backports several fixes from the 2.1.x branch.
2909 ** Fixed PKCS #3 parameter export.
2911 ** Added gnutls_record_disable_padding() to allow servers talking to
2912 buggy clients that complain if the TLS 1.0 record protocol padding is
2913 used.
2915 ** Introduced gnutls_session_enable_compatibility_mode() to allow enabling
2916 all supported compatibility options (like disabling padding).
2918 ** Corrected bug which did not allow a server to run without supporting
2919 certificates.
2921 ** API and ABI modifications:
2922 gnutls_session_enable_compatibility_mode: ADDED
2923 gnutls_record_disable_padding: ADDED
2925 * Version 2.0.2 (released 2007-10-17)
2927 ** TLS authorization support removed.
2928 This technique may be patented in the future, and it is not of crucial
2929 importance for the Internet community.  After deliberation we have
2930 concluded that the best thing we can do in this situation is to
2931 encourage society not to adopt this technique.  We have decided to
2932 lead the way with our own actions.
2934 ** certtool: Fixed data corruption when using --outder.
2936 ** Fix configure-time Guile detection.
2938 ** API and ABI modifications:
2939 GNUTLS_SUPPLEMENTAL_USER_MAPPING_DATA: ADDED.  To avoid that the
2940     gnutls_supplemental_data_format_type_t enum type becomes empty.
2942 * Version 2.0.1 (released 2007-09-20)
2944 ** New directory doc/credentials/ with test credentials.
2945 This collects the test credentials from the web page and from src/.
2946 The script gnutls-http-serv has also been moved to that directory.
2948 ** Update SRP extension type and cipher suite with official IANA values.
2949 This breaks backwards compatibility with SRP in older versions of
2950 GnuTLS, but this is intentional to speed up the adoption of the
2951 official values.  The old values we used were incorrect.
2953 ** Guile: Fix `x509-certificate-dn-oid'
2955 ** API and ABI modifications:
2956 No changes since last version.
2958 * Version 2.0.0 (released 2007-09-04)
2960 ** Included copy of Libtasn1 upgraded to version 1.1.
2962 ** Disable building of some examples if anonymous ciphers are disabled.
2964 ** Don't build examples for disabled features.
2966 ** API and ABI modifications:
2967 No changes since last version.
2969 * Version 1.7.19 (released 2007-08-27)
2971 ** Fix gnutls_error_is_fatal so that positive "errors" are non-critical.
2972 This solves connection problems in mutt, see
2973 <http://bugs.debian.org/439640>.
2975 ** Update gnulib files.
2976 In particular, the getpass module -- with its dependencies on getline,
2977 getdelim, fseeko etc -- where moved from the lgl/ (used by the core
2978 library) directory to the gl/ directory (only used by the command line
2979 tools).  The reason is that getpass is now only used by the
2980 command-line tools, and reducing the number of gnulib modules linked
2981 to the core library helps portability and reduces size.
2983 ** Fix warnings.
2985 ** Disable building of PGP examples if PGP is disabled.
2987 ** Included copy of OpenCDK upgraded to version 0.6.4.
2989 ** API and ABI modifications:
2990 No changes since last version.
2992 * Version 1.7.18 (released 2007-08-16)
2994 ** Install images for the info manual.
2995 This has a side effect of renaming the images.  See
2996 <http://thread.gmane.org/gmane.comp.tex.texinfo.bugs/3533> for
2997 discussions on the approach chosen.
2999 ** Fix pointer mix to variables of different size.
3000 Patch extracted from
3001 <http://cvs.fedora.redhat.com/viewcvs/devel/gnutls/gnutls-1.6.3-incompat-pointers.patch?rev=1.1&view=auto>.
3003 ** Fix warnings during build.
3004 Thanks to Andreas Metzler <ametzler@downhill.at.eu.org>.
3006 ** API and ABI modifications:
3007 No changes since last version.
3009 * Version 1.7.17 (released 2007-08-15)
3011 ** New functions to perform external signing.
3012 Set the signing callback function (of the gnutls_sign_func prototype)
3013 using the gnutls_sign_callback_set function.  In the callback, you may
3014 find the new functions gnutls_x509_privkey_sign_hash and
3015 gnutls_openpgp_privkey_sign_hash useful.  A new function
3016 gnutls_sign_callback_get is also added, to retrieve the function
3017 pointer.  Thanks to "Alon Bar-Lev" <alon.barlev@gmail.com> for
3018 comments and testing.
3020 ** New self test of client and server authenticated X.509 TLS sessions.
3021 See tests/x509self.c and tests/x509signself.c.  The latter also tests
3022 the new external signing callback interface.
3024 ** New errors GNUTLS_E_APPLICATION_ERROR_MIN..GNUTLS_E_APPLICATION_ERROR_MAX.
3025 These two actually describe the outer limits of a range of error codes
3026 reserved to the application.  All of the errors are treated as fatal
3027 by the library (it has to since it doesn't know the semantics of the
3028 error codes).  This can be useful in callbacks, to signal some
3029 application-specific error condition, which will usually eventually
3030 cause some gnutls API to return the same error code as the callback,
3031 which then can be inspected by the application.  Note that error codes
3032 are negative.
3034 ** gnutls_set_default_priority now disable TLS 1.2 by default.
3035 The RFC is not released yet, and we're approaching a major release so
3036 let's not enable it just yet.
3038 ** Fix namespace so that gnutls_*_t is used consistently.
3039 Before, many places in the GnuTLS code used the old deprecated type
3040 names without the '_t' suffix.
3042 ** Build fixes for Guile code.
3043 Patch from Ludovic Courtes <ludovic.courtes@laas.fr>.
3045 ** More documentation fixes.
3046 In particular, the section headings were modified for casing.  By
3047 Ludovic Courtes <ludovic.courtes@laas.fr>.
3049 ** Updated Polish and Swedish translations.
3050 Thanks to Jakub Bogusz <qboosh@pld-linux.org> and Daniel Nylander
3051 <po@danielnylander.se>.
3053 ** API and ABI modifications:
3054 gnutls_sign_func: ADD, new type for sign callback.
3055 gnutls_sign_callback_set: ADD, new function to set sign callback.
3056 gnutls_sign_callback_get: ADD, new function to retrieve sign callback.
3057 gnutls_x509_privkey_sign_hash,
3058 gnutls_openpgp_privkey_sign_hash: ADD, new functions useful in sign callback.
3059 GNUTLS_E_APPLICATION_ERROR_MIN,
3060 GNUTLS_E_APPLICATION_ERROR_MAX: ADD, new CPP #defines for error codes.
3062 * Version 1.7.16 (released 2007-08-07)
3064 ** Fix sanity checks and return values in certificate selection.
3065 In some cases, GnuTLS omitted to report suitable error codes when no
3066 suitable certificate was found.
3068 ** Fix gnutls-cli starttls EOF on Mac OS X.
3069 Thanks to Hal Eden <n.mavrogiannopoulos@gmail.com>.
3071 ** Documentation fixes.
3072 In particular, the section headings were modified for casing.  By
3073 Ludovic Courtes <ludovic.courtes@laas.fr>.
3075 ** Update gnulib files.
3077 ** API and ABI modifications:
3078 No changes since last version.
3080 * Version 1.7.15 (released 2007-07-02)
3082 ** Fix self-tests key-id under mingw32.
3084 ** Test that the Guile header files are recent enough to work.
3085 Before we just tested that the command line tool 'guile' was recent
3086 enough, which may not be sufficient if you still have an old
3087 libguile.h header installed.
3089 ** Guile bindings are now installed under $prefix by default.
3090 Use --without-guile-site-dir to install it under $pkgdatadir/site/
3091 where $pkgdatadir is as returned by "guile-config info pkgdatadir".
3092 Use --with-guile-site-dir=/your/own/path to specify the path manually.
3093 The default, --with-guile-site-dir, will install the Guile bindings
3094 under $datadir/guile/site.  There is a new section 'Guile
3095 Preparations' in the manual that discuss these issues.
3097 ** Fix run-time library path ordering in linking the Guile bindings.
3099 ** Improved manual on downloading, installing, getting help, bug reports etc.
3100 Suggested by Ludovic Courtès <ludovic.courtes@laas.fr>.
3102 ** Add Malay message translations.
3103 Thanks to Sharuzzaman Ahmat Raslan <sharuzzaman@myrealbox.com>.
3105 ** API and ABI modifications:
3106 No changes since last version.
3108 * Version 1.7.14 (released 2007-06-26)
3110 ** Don't enable Guile bindings unless we have Guile 1.8 or later.
3111 Patch from Ludovic Courtès <ludovic.courtes@laas.fr>.
3113 ** Fix memory leak during DSA signature verification.
3114 Patch from Ludovic Courtès <ludovic.courtes@laas.fr>.
3116 ** Fix crash in gnutls-cli when TLS handshake fails.
3117 Reported by Marc Haber <mh+debian-bugs@zugschlus.de> and Andreas
3118 Metzler <ametzler@downhill.at.eu.org> via Debian BTS #429183, see
3119 <http://bugs.debian.org/429183>.
3121 ** Minor OpenPGP fixes in stream_to_datum.
3122 Patch from Timo Schulz <twoaday@freakmail.de> and Ludovic Courtès
3123 <ludovic.courtes@laas.fr>.
3125 ** Fix off-by-one in TLS 1.2 handshake.
3126 Patch from Ludovic Courtès <ludovic.courtes@laas.fr>.
3128 ** Minor Guile binding self-test cleanup.
3129 Patch from Ludovic Courtès <ludovic.courtes@laas.fr>.
3131 ** Update gnulib files.
3133 ** API and ABI modifications:
3134 No changes since last version.
3136 * Version 1.7.13 (released 2007-06-11)
3138 ** OpenCDK copy updated to version 0.6.3.
3140 ** Build fixes for GnuTLS Guile bindings.
3141 Patch from Ludovic Courtès <ludovic.courtes@laas.fr>.
3143 ** Build fix for GTK-DOC manual.
3145 ** Update gnulib files.
3147 ** API and ABI modifications:
3148 No changes since last version.
3150 * Version 1.7.12 (released 2007-06-08)
3152 ** Guile bindings for GnuTLS have been included.
3153 Contributed by Ludovic Courtès <ludovic.courtes@laas.fr>.  There is a
3154 new chapter 'Guile Bindings' in the manual.
3156 ** Have PKCS8 parser return better error codes.
3157 Reported by Nate Nielsen <nielsen-list@memberwebs.com>, see
3158 <http://lists.gnupg.org/pipermail/gnutls-dev/2007-May/001653.html> and
3159 <http://lists.gnupg.org/pipermail/gnutls-dev/2007-May/001654.html>.
3161 ** Fix mem leak for sessions with client authentication via certificates.
3162 Reported by Andrew W. Nosenko <andrew.w.nosenko@gmail.com>, see
3163 <http://lists.gnupg.org/pipermail/gnutls-dev/2007-April/001539.html>.
3165 ** Fix mem leaks.
3166 Reported by Dennis Vshivkov <walrus@amur.ru>, see
3167 <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=333050>.  Added
3168 self-test tests/parse_ca.c to test regressions.
3170 ** Fix build failures related to missing images in manual.
3171 Reported by Andreas Metzler <ametzler@downhill.at.eu.org>.
3173 ** Update gnulib files.
3175 ** API and ABI modifications:
3176 No changes since last version.
3178 * Version 1.7.11 (released 2007-05-26)
3180 ** Include opencdk.h in the release.
3181 Reported by Roman Bogorodskiy <novel@FreeBSD.org>.
3183 ** API and ABI modifications:
3184 No changes since last version.
3186 * Version 1.7.10 (released 2007-05-25)
3188 ** New API functions to extract DER encoded X.509 Subject/Issuer DN.
3189 Suggested by Nate Nielsen <nielsen-list@memberwebs.com>.
3191 ** Update of gnulib files.
3193 ** GnuTLS is now developed in GIT instead of CVS.
3194 See <http://repo.or.cz/w/gnutls.git> for a public repository.
3196 ** API and ABI modifications:
3197 gnutls_x509_crt_get_raw_issuer_dn: ADD.
3198 gnutls_x509_crt_get_raw_dn: ADD.
3200 * Version 1.7.9 (released 2007-05-12)
3202 ** X.509 certificates are preferred over OpenPGP keys.
3203 This is a change in the semantics of gnutls_set_default_priority.
3205 ** The included copy of OpenCDK has been updated to 0.6.1.
3206 There has been some API changes in OpenCDK, and the GnuTLS layer have
3207 been modified as well.  Note that while there are API/ABI incompatible
3208 changes in OpenCDK, this does not influence GnuTLS's API/ABI because
3209 its API/ABI have not changed.  From this version on, GnuTLS requires
3210 OpenCDK 0.6.0 or later.
3212 ** Fix build failure caused by missing doc/gnutls-logo.pdf.
3214 ** Change certtool's default serial number from 0 to a time-based value.
3216 ** Fix X.509 signing with RSA-PKCS#1 to set a NULL parameters fields.
3217 Before, we remove the parameters field, which resulted in a slightly
3218 different DER encoding which in turn caused signature verification
3219 failures of GnuTLS-generated RSA certificates in some other
3220 implementations (e.g., GnuPG 2.x's gpgsm).  Depending on which RFCs
3221 you read, this may or may not be correct, but our new behaviour appear
3222 to be consistent with other widely used implementations.
3224 ** Fix mem leaks in gnutls_x509_crt_print.
3226 ** API and ABI modifications:
3227 No changes since last version.
3229 * Version 1.7.8 (released 2007-04-16)
3231 ** Added examples for the authorization extension.
3232 See doc/examples/ex-client-authz.c and doc/examples/ex-serv-authz.c.
3234 ** The examples only use gnutls_set_default_priority().
3235 The exception is when DH_ANON is needed.
3237 ** Improve gnutls_set_default_priority() priorities.
3238 The new approach is for it to try and negotiate all secure and
3239 standard mechanisms available.  Currently, DH_ANON ciphersuites and
3240 LZO compressions are not enabled by default, because they are,
3241 respectively, insecure and non-standardized.  Note that TLS 1.2 will
3242 not be enabled by default in non-experimental release until it has
3243 been approved by the IETF.
3245 ** gnutls-cli and gnutls-serv now uses the library's default priorities.
3246 This means that to get DH_ANON and LZO compression, you'll need to
3247 specify that manually using '--kx anon' or '--comp lzo'.
3249 ** Minor fixes to the human display format of X.509 certificates.
3251 ** New APIs to extract Distinguished Name's from X.509 certificates.
3252 Based on patch from Howard Chu <hyc@symas.com>.
3254 ** Improved library searching for opencdk.
3255 It will now add the appropriate -R or -Wl,-rpath flags as necessary.
3256 The deprecated opencdk.m4 is no longer used.
3258 ** New APIs to list supported algorithms in the library.
3259 The APIs are gnutls_cipher_list, gnutls_mac_list,
3260 gnutls_compression_list, gnutls_protocol_list,
3261 gnutls_certificate_type_list, gnutls_kx_list, and
3262 gnutls_cipher_suite_info.  Suggested by Howard Chu <hyc@symas.com>.
3264 ** The gnutls_x509_crt_get_key_id API now handle non-RSA/DSA keys.
3266 ** New configure option --disable-tls-authorization to disable tls-authz.
3268 ** Fix prototype for `gnutls_psk_set_client_credentials'.
3269 The last parameter was renamed from 'flags' to 'format' and the type
3270 changed from 'unsigned int' to 'gnutls_psk_key_flags' (an enum type),
3271 which shouldn't cause any ABI changes.  Reported by ludo@chbouib.org
3272 (Ludovic Courtès).
3274 ** Fix allocation in gnutls_certificate_set_openpgp_key.
3275 Tiny patch from ludo@chbouib.org (Ludovic Courtès).
3277 ** API and ABI modifications:
3278 gnutls_x509_dn_t: ADD.
3279 gnutls_x509_ava_st: ADD.
3280 gnutls_x509_crt_get_subject,
3281 gnutls_x509_crt_get_issuer: ADD.
3282 gnutls_x509_dn_get_rdn_ava: ADD.
3283 gnutls_cipher_list: ADD.
3284 gnutls_mac_list: ADD.
3285 gnutls_compression_list: ADD.
3286 gnutls_protocol_list: ADD.
3287 gnutls_certificate_type_list: ADD.
3288 gnutls_kx_list: ADD.
3289 gnutls_cipher_suite_info: ADD.
3291 * Version 1.7.7 (released 2007-02-22)
3293 ** Support for supplemental handshake messages and authorization data.
3294 Supplemental data is described in RFC 4680 and the authorization
3295 extensions in draft-housley-tls-authz-extns-07.
3297 ** Support for authorization data in gnutls-cli and gnutls-serv.
3298 New parameters --authz-x509-attr-cert and --authz-saml-assertion.
3300 ** Fix for gnutls_x509_crt_check_hostname.
3301 Before it would have reported that the certificate matched a hostname
3302 when it did not have any dNSName or any CN field.  Report and tiny
3303 patch from "Richard W.M. Jones" <rjones@redhat.com>.
3305 ** New self test for RFC 2818 comparison in gnutls_x509_crt_check_hostname.
3306 Tests regressions of the bug, and several other features.
3308 ** GnuTLS now matches URI's with IP Addresses against iPAddress SAN's.
3309 Before there were no support for iPAddress SAN's during comparison.
3311 ** New API to print information about CRL's.
3312 The function is gnutls_x509_crl_print.
3314 ** New API to extract signature value from CRL's.
3315 The function is gnutls_x509_crl_get_signature.
3317 ** Support for directoryName Subject Alternative Name's.
3318 The gnutls_x509_crt_get_subject_alt_name function returns the DN as a
3319 string in the provided buffer.
3321 ** Internal improvements to certtool.
3322 It uses gnutls_x509_crl_print to print CRL information.  It uses some
3323 more gnulib modules to simplify error handling.
3325 ** API and ABI modifications:
3326 GNUTLS_HANDSHAKE_SUPPLEMENTAL: ADD, new gnutls_handshake_description_t element.
3327 gnutls_supplemental_data_format_type_t: ADD.
3328 gnutls_authz_data_format_type_t: ADD.
3329 gnutls_supplemental_get_name: ADD.
3330 gnutls_authz_recv_callback_func,
3331 gnutls_authz_send_callback_func: ADD, callback prototypes.
3332 gnutls_authz_enable: ADD.
3333 gnutls_authz_send_x509_attr_cert,
3334 gnutls_authz_send_saml_assertion,
3335 gnutls_authz_send_x509_attr_cert_url,
3336 gnutls_authz_send_saml_assertion_url: ADD.
3337 GNUTLS_SAN_DN: ADD, new gnutls_x509_subject_alt_name_t element.
3338 gnutls_x509_crl_print: ADD.
3339 gnutls_x509_crl_get_signature: ADD.
3341 * Version 1.7.6 (released 2007-02-12)
3343 ** Support for 'otherName' Subject Alternative Names.
3344 The existing API gnutls_x509_crt_get_subject_alt_name may now return
3345 the new type GNUTLS_SAN_OTHERNAME together with the otherName value.
3346 To find out the otherName OID (necessary for proper parsing of the
3347 value), use the new API gnutls_x509_crt_get_subject_alt_othername_oid.
3348 For known OIDs, gnutls_x509_crt_get_subject_alt_othername_oid will
3349 return "virtual" SAN values, e.g., GNUTLS_SAN_OTHERNAME_XMPP to
3350 simplify OID matching.  Suggested by Matthias Wimmer <m@tthias.eu>.
3352 ** Certtool can print otherName SAN values for certificates.
3353 For known otherName OIDs (currently only id-on-xmppAddr as defined by
3354 RFC 3920), it will also print the name.
3356 ** Fix TLS 1.2 RSA signing in servers.
3357 Before it used the old-style MD5+SHA1 signature, but the TLS
3358 signatures should be normal PKCS#1 signatures.  FYI, we use and
3359 require that DigestInfo parameters are present and NULL for TLS 1.2.
3361 ** Add APIs to access X.509 extensions sequentially.
3362 The existing APIs gnutls_x509_crt_get_extension_oid() and
3363 gnutls_x509_crt_get_extension_by_oid() does not permit callers to
3364 inspect the extensions in the order defined by the certificate.
3366 ** Add API to extract signature value from X.509 certificates.
3367 The function is gnutls_x509_crt_get_signature.
3369 ** Fix crash when generating proxy certificates in batch mode.
3370 If you don't specify a proxy policy in batch mode, it will use
3371 id-ppl-inheritALL.
3373 ** Add API to print information about X.509 certificates.
3374 The function is gnutls_x509_crt_print.
3376 ** Certtool uses the new API gnutls_x509_crt_print to print certificate info.
3377 One consequence of this is that the output syntax has changed
3378 slightly.  Some more fields are printed.
3380 ** Doc fixes.
3382 ** API and ABI modifications:
3383 gnutls_x509_crt_print: ADD
3384 gnutls_certificate_print_formats_t: ADD, new enum.
3385 gnutls_x509_crt_get_signature: ADD.
3386 gnutls_x509_crt_get_extension_data: ADD.
3387 gnutls_x509_crt_get_extension_info: ADD.
3388 gnutls_x509_crt_get_subject_alt_othername_oid: ADD.
3389 GNUTLS_SAN_OTHERNAME: ADD, new gnutls_x509_subject_alt_name_t element.
3390 GNUTLS_SAN_OTHERNAME_XMPP: ADD, new gnutls_x509_subject_alt_name_t element.
3392 * Version 1.7.5 (released 2007-02-06)
3394 ** Servers won't negotiate SRP RSA/DSS cipher suites if no SRP credential
3395 ** is set.
3397 ** Default behaviour for the gnutls-cli and gnutls-serv tools improved.
3399 ** Fix --list output for gnutls-cli and gnutls-serv.
3400 Mention TLS1.2, SHA512 etc.
3402 ** Manual contains new section on setting up a test HTTP server.
3403 A server set up following those descriptions are available online via
3404 <http://www.gnutls.org/server.html>.
3406 ** Update of gnulib files.
3408 ** API and ABI modifications:
3409 No changes since last version.
3411 * Version 1.7.4 (released 2007-02-05)
3413 ** Support for RSA signing using SHA-256/384/512.
3414 A new self test "sha2" tries to build a long X.509 certificate chain
3415 testing all new hashes.
3417 ** The gnutls-serv tool now use static DH parameters if none are supplied.
3419 ** Discuss proxy certificates in the manual.
3421 ** Improve bibliographical citations in the manual.
3423 ** Update of gnulib files.
3425 ** Fix certtool template handling of pathLenConstraints.
3426 It now defaults to -1 instead of 0, which causes the field to be
3427 missing unless the template specify it.
3429 ** API and ABI modifications:
3430 GNUTLS_MAC_SHA256,
3431 GNUTLS_MAC_SHA384,
3432 GNUTLS_MAC_SHA512: New gnutls_mac_algorithm_t values.
3433 GNUTLS_DIG_SHA256,
3434 GNUTLS_DIG_SHA384,
3435 GNUTLS_DIG_SHA512: New gnutls_digest_algorithm_t values.
3436 GNUTLS_SIGN_RSA_SHA256,
3437 GNUTLS_SIGN_RSA_SHA384,
3438 GNUTLS_SIGN_RSA_SHA512: New gnutls_sign_algorithm_t values.
3440 * Version 1.7.3 (released 2007-02-01)
3442 ** New option to certtool: --generate-proxy.
3443 This will generate a Proxy Certificate from an end entity certificate.
3444 Proxy Certificates are documented in RFC 3820.  You will need to
3445 specify the proxy certificate's private key with --load-privkey, the
3446 user certificate with --load-certificate and the private key used to
3447 sign the new proxy certificate with --load-ca-privkey.  Certtool will
3448 query for proxy path length and the policy language OID.  Currently
3449 only OIDs that have an empty policy are supported (which includes the
3450 two OIDs defined by RFC 3820).
3452 ** Certtool --certificate-info now prints information for Proxy Certificates.
3453 Before the proxy extension was just printed as DER encoded data.
3455 ** New APIs to set proxy subject names and get/set proxy cert extension.
3457 ** Fix parsing of pathLenConstraints in BasicConstraints with missing cA.
3459 ** Added self-test to test for regressions of pathLenConstraint bug.
3460 Incidentally, this also test (some) other regressions or changes in
3461 the output from certtool --certificate-info.
3463 ** When certtool generates CA certificates, pressing enter on the path
3464 ** length constraint query will now remove the field.
3465 Before it set the path length constraint to 0, which is a rather poor
3466 default.
3468 ** Certtool now print times in UTC when printing certificate/CRL info.
3470 ** Add better fix to work around C++ compiler bug on Mac OS X.
3471 Reported and tiny patch provided by Matthias Scheler <tron@NetBSD.org>.
3473 ** Fix import of ASCII armored OpenPGP keys.
3474 Patch by ludovic.courtes@laas.fr (Ludovic Courtès).
3476 ** Update of gnulib files.
3478 ** API and ABI modifications:
3479 gnutls_x509_crt_set_proxy_dn: ADD.
3480 gnutls_x509_crt_set_proxy: ADD.
3481 gnutls_x509_crt_get_proxy: ADD.
3483 * Version 1.7.2 (released 2007-01-14)
3485 ** Certtool now print the value of the pathLenConstraints field for certs.
3487 ** Certtool now query for path length constraints when generating CA certs.
3488 For batch uses, the certtool configuration name is "path_len".
3489 Suggested by Sascha Ziemann <sascha.ziemann@secunet.com>.
3491 ** Add new API to get/set pathLenConstraint in the Basic Constraints.
3492 The new functions gnutls_x509_crt_get_basic_constraints and
3493 gnutls_x509_crt_set_basic_constraints provide a superset of the
3494 functionality in the old gnutls_x509_crt_get_ca_status and
3495 gnutls_x509_crt_set_ca_status (respectively), but the old functions
3496 will continue to be supported.
3498 ** Add new API in OpenCDK to extract public/secret OpenPGP key to S-expr.
3499 The functions are cdk_pubkey_to_sexp and cdk_seckey_to_sexp.  A proper
3500 OpenCDK release with this patch will be made soon, which should bump
3501 the OpenCDK version number.  Patch by Mario Lenz <mario.lenz@gmx.net>.
3503 ** Certtool --to-p12 can now store more than one certificate in the blob.
3504 Before it could only store one certificate, but now it will read and
3505 store as many certificate there are from the --load-certificate file.
3506 Suggested by Sascha Ziemann <sascha.ziemann@secunet.com>.
3508 ** Clean up separation of gnutls and gnutls-extra for OpenPGP.
3509 In particular, the OpenPGP function variables are no longer part of
3510 the exported libgnutls interface, and no header files from
3511 libgnutls-extra (GPL) are needed by libgnutls (LGPL).  The variables
3512 were never intended for non-internal purposes, and thus this does not
3513 imply a change in the external API/ABI.
3515 ** Print URL to gaa when missing, and fix srcdir!=builddir for GAA files.
3516 Reported by ludovic.courtes@laas.fr (Ludovic Courtès).
3518 ** GnuTLS no longer uses -mms-bitfields --enable-runtime-pseudo-reloc.
3519 Before these parameters were set to make GnuTLS build under mingw32,
3520 however, they appear to no longer be necessary.
3522 ** A minor fix to the C++ library to make it build.
3523 Reported by Pavlov Konstantin <thresh@altlinux.ru>.
3525 ** Update of gnulib files.
3527 ** API and ABI modifications:
3528 gnutls_x509_crt_get_basic_constraints: ADD.
3529 gnutls_x509_crt_set_basic_constraints: ADD.
3530 cdk_pubkey_to_sexp: ADD (in opencdk).
3531 cdk_seckey_to_sexp: ADD (in opencdk).
3533 * Version 1.7.1 (released 2006-12-28)
3535 ** TLS 1.2 server side fix.
3536 The Certificate Request sent did not contain the list of supported
3537 hashes field, thus violating the protocol.  It will now contain an
3538 empty list.  Reported by ludovic.courtes@laas.fr (Ludovic Courtès).
3540 ** TLS 1.2 DSA signature verification fix.
3541 Reported by ludovic.courtes@laas.fr (Ludovic Courtès).
3543 ** Fix the list of trusted CAs that server's send to clients.
3544 Before, the list contained issuer DN's instead of subject DN's of the
3545 trusted CAs.  Reported by Max Kellermann <max@duempel.org>.
3547 ** Fix gnutls_certificate_set_x509_crl to initialize the CRL before using it.
3548 Also added a self-test in tests/certificate_set_x509_crl.c to test the
3549 function.  Reported by Max Kellermann <max@duempel.org>.
3551 ** Encode UID fields in DN's as DirectoryString.
3552 Before GnuTLS encoded and parsed UID fields as IA5String.  This was
3553 incorrect, it should have used DirectoryString.  Now it will use
3554 DirectoryString for the UID field, but for backwards compatibility it
3555 will also accept IA5String UID's.  Reported by Max Kellermann
3556 <max@duempel.org>.
3558 ** Improve out-of-sourcedir builds from CVS.
3559 Reported by ludovic.courtes@laas.fr (Ludovic Courtès).
3561 ** Bootstrap tools changed.
3562 We now require autoconf 2.61, automake 1.10, and gettext 0.16, when
3563 building GnuTLS from CVS.  Libtool 1.5.22 is used.
3565 ** Fixed a syntax error in lib/gnutls.asn.
3566 Reported by Paul Millar <p.millar@physics.gla.ac.uk>.
3568 ** Added German translation of GnuTLS messages.
3570 ** Update of gnulib files.
3572 ** API and ABI modifications:
3573 No changes since last version.
3575 * Version 1.7.0 (released 2006-11-29)
3577 ** The default protocol priority try TLS 1.1 and TLS 1.2 too.
3578 The details is that the protocol priority set by
3579 `gnutls_set_default_priority' has been changed from TLS 1.0 and SSL
3580 3.0 to TLS 1.2, TLS 1.1, TLS 1.0 and SSL 3.0.
3582 ** Preliminary support for TLS 1.2.
3583 The client has been successfully tested against
3584 https://www.mikestoolbox.org:4433/.
3586 ** Anonself test now print a lot of debugging info, including TLS version.
3588 ** Doc fixes in OpenCDK, to avoid some gtk-doc warnings.
3590 ** Update of gnulib files.
3592 ** API and ABI modifications:
3593 GNUTLS_TLS1_2: New gnutls_protocol_t enum member.
3595 *** Pulled up from stable 1.6.x branch:
3597 ** Fix ./configure failure with non-GCC compilers.
3598 This fixes the following error message:
3599 configure: error: conditional "HAVE_LD_OUTPUT_DEF" was never defined.
3600 Reported by "Michael C. Vergallen" <mvergall@telenet.be>.
3602 * Version 1.6.3 (released 2007-05-26)
3604 ** New API functions to extract DER encoded X.509 Subject/Issuer DN.
3605 Suggested by Nate Nielsen <nielsen-list@memberwebs.com>.  Backported
3606 from the 1.7.x branch, see
3607 <http://lists.gnu.org/archive/html/help-gnutls/2007-05/msg00029.html>.
3609 ** Have PKCS8 parser return better error codes.
3610 Reported by Nate Nielsen <nielsen-list@memberwebs.com>, see
3611 <http://lists.gnupg.org/pipermail/gnutls-dev/2007-May/001653.html> and
3612 <http://lists.gnupg.org/pipermail/gnutls-dev/2007-May/001654.html>.
3614 ** Fix mem leak for sessions with client authentication via certificates.
3615 Reported by Andrew W. Nosenko <andrew.w.nosenko@gmail.com>, see
3616 <http://lists.gnupg.org/pipermail/gnutls-dev/2007-April/001539.html>.
3618 ** Fix building of 'tlsia' self test.
3619 Earlier some gcc are known to build tlsia linking to
3620 $prefix/lib/libgnutls-extra.so rather than the libgnutls-extra.so in
3621 the build directory, even though command line parameters look OK.
3622 Changing order of some parameters fixes it.
3624 ** API and ABI modifications:
3625 gnutls_x509_crt_get_raw_issuer_dn: ADD.
3626 gnutls_x509_crt_get_raw_dn: ADD.
3628 * Version 1.6.2 (released 2007-04-18)
3630 ** Fix X.509 signing with RSA-PKCS#1 to set a NULL parameters fields.
3631 Before, we remove the parameters field, which resulted in a slightly
3632 different DER encoding which in turn caused signature verification
3633 failures of GnuTLS-generated RSA certificates in some other
3634 implementations (e.g., GnuPG 2.x's gpgsm).  Depending on which RFCs
3635 you read, this may or may not be correct, but our new behaviour appear
3636 to be consistent with other widely used implementations.
3638 ** Regenerate the PKIX ASN.1 syntax tree.
3639 For some reason, after changing the ASN.1 type of ldap-UID in the last
3640 release, the generated C file built from the ASN.1 schema was not
3641 refreshed.  This can cause problems when reading/writing UID
3642 components inside X.500 Distinguished Names.  Reported by devel
3643 <dev001@pas-world.com>.
3645 ** Updated translations.
3647 ** API and ABI modifications:
3648 No changes since last version.
3650 * Version 1.6.1 (released 2006-12-28)
3652 ** Fix the list of trusted CAs that server's send to clients.
3653 Before, the list contained issuer DN's instead of subject DN's of the
3654 trusted CAs.  Reported by Max Kellermann <max@duempel.org>.
3656 ** Fix gnutls_certificate_set_x509_crl to initialize the CRL before using it.
3657 Reported by Max Kellermann <max@duempel.org>.
3659 ** Encode UID fields in DN's as DirectoryString.
3660 Before GnuTLS encoded and parsed UID fields as IA5String.  This was
3661 incorrect, it should have used DirectoryString.  Now it will use
3662 DirectoryString for the UID field, but for backwards compatibility it
3663 will also accept IA5String UID's.  Reported by Max Kellermann
3664 <max@duempel.org>.
3666 ** Fix ./configure failure with non-GCC compilers.
3667 This fixes the following error message:
3668 configure: error: conditional "HAVE_LD_OUTPUT_DEF" was never defined.
3669 Reported by "Michael C. Vergallen" <mvergall@telenet.be>.
3671 ** API and ABI modifications:
3672 No changes since last version.
3674 * Version 1.6.0 (released 2006-11-17)
3676 ** No changes since 1.5.5.
3677 The major changes compared to the 1.4.x branch are:
3679 *** A GnuTLS C++ library is part of the official distribution.
3680 Currently there are no examples or documentation, but hopefully this
3681 will change.  See gnutlsxx.h for the API.
3683 *** Windows is a supported platform.
3684 There are, however, two know bugs.  One is related to select() in
3685 command line tools (not, nota bene, in the library), the other is a
3686 problem with libgcrypt that causes delays.  Help is needed to resolve
3687 those issues, so we feel we can't delay the release because of this.
3689 *** New APIs for custom push/pull function error reporting.
3690 The new APIs are gnutls_transport_set_errno and
3691 gnutls_transport_set_global_errno.  See the release notes for version
3692 1.5.4 for more information.
3694 *** Self tests are run under valgrind, if available.  See --disable-valgrind.
3696 * Version 1.5.5 (released 2006-11-16)
3698 ** Correctly bump shared library version after adding new APIs.
3699 This was forgotten in the last release.
3701 ** Fix unsigned vs signed problem in ex-x509-info.c example.
3702 Reported by Tim Kosse <tim.kosse@filezilla-project.org>.
3704 ** Fix the rsa-md5-collision self test to work for MinGW+Wine.
3706 ** Update of gnulib files.
3708 ** API and ABI modifications:
3709 No changes since last version.
3711 * Version 1.5.4 (released 2006-11-07)
3713 ** New API functions to set errno in push/pull functions.
3714 Under Windows, setting the errno variable in a push/pull replacement
3715 may end up setting the wrong errno variable, and GnuTLS send/recv
3716 functions become confused about the real errno returned from a failed
3717 push/pull function.  Therefor, we have added two APIs to set the errno
3718 variable used by GnuTLS.  The APIs can also help to keep things
3719 thread-safe, by avoiding potentially global variables.  Typically,
3720 instead of setting errno in your push/pull function, you will call one
3721 of these functions.  It is recommended to use
3722 gnutls_transport_set_errno, but if you don't have the session variable
3723 easily accessible in the push/pull replacement function, you can use
3724 gnutls_transport_set_global_errno.  Suggested by Tim Kosse
3725 <tim.kosse@filezilla-project.org>.
3727 void gnutls_transport_set_errno (gnutls_session_t session, int err);
3728 void gnutls_transport_set_global_errno (int err);
3730 ** When calling `recv' or `send' Windows errors are handled properly.
3731 The Windows recv/send functions doesn't use errno, and GnuTLS now use
3732 WSAGetLastError to access the error condition instead.
3734 ** Several OpenPGP API fixes.
3735 All suggested by ludovic.courtes@laas.fr (Ludovic Courtès).  The most
3736 important fix is to change the return value of
3737 gnutls_openpgp_privkey_get_pk_algorithm and
3738 gnutls_openpgp_key_get_pk_algorithm from 'int' to
3739 'gnutls_pk_algorithm_t', which is an enum type (and thus API/ABI
3740 compatible with 'int').
3742 ** When a GnuTLS server receive a SSLv2 Client Hello for an unknown TLS
3743 ** version, try to negotiate the highest version support by the GnuTLS server,
3744 ** instead of the lowest.
3745 Reported by <Pasi.Eronen@nokia.com>.
3747 ** Replace old constructs with use of gnulib modules.
3748 For example, we can now assume unistd.h, sys/stat.h, sys/socket.h in
3749 the code.  If the headers doesn't exist on the target system, gnulib
3750 will make sure its replacement header files are used instead.
3752 ** Fix SOVERSION computation for *.def files.
3753 This fixes build errors similar to "No rule to make target
3754 `libgnutls-`expr', needed by `all-am'." when building for Windows.
3756 ** gnutls_check-version uses strverscmp from gnulib.
3758 ** Update of gnulib files.
3760 ** API and ABI modifications:
3761 gnutls_transport_set_errno: ADD
3762 gnutls_transport_set_global_errno: ADD
3764 * Version 1.5.3 (released 2006-10-26)
3766 ** Add new self-test of RSA-MD5 signature chains.
3767 Note that we already, since GnuTLS 1.2.9, reject RSA-MD5 signatures
3768 when verifying X.509 chains.  The code is in tests/rsa-md5-collision/
3769 and is based on the work by Marc Stevens et al, see
3770 <http://www.win.tue.nl/hashclash/TargetCollidingCertificates/>.
3772 ** Re-factor self tests.
3774 ** The include copy of Libtasn1 is updated to version 0.3.7.
3776 ** The included copy of OpenCDK is updated to version 0.5.11.
3778 ** Fix the filename of the *.def file on Windows after library version bump.
3780 ** Separated the gnulib directory into one for LGPL modules and one for GPL.
3781 This allows the GPL'd part of GnuTLS to take advantage of the GPL'd
3782 gnulib modules.  Earlier we could only use the LGPL'ed module from
3783 gnulib, because two gnulib directories in the same project didn't
3784 work.
3786 ** API and ABI modifications:
3787 No changes since last version.
3789 * Version 1.5.2 (released 2006-10-03)
3791 ** Decrement the shared library version back to 13 (as in the 1.4.x branch).
3792 Note that if you installed 1.5.0 or 1.5.1, they will have a higher
3793 shared library version than this version, so you'll have to remove
3794 them and possibly relink your applications.  The reason for this is
3795 that no API/ABI changes have been made since the 1.4.x branch, and
3796 that incrementing the shared library version was a mistake.  Reported
3797 by Andreas Metzler <ametzler@downhill.at.eu.org>.
3799 ** Fix off-by-one error when computing length to malloc.
3800 The code is used by gnutls_openpgp_add_keyring_file and
3801 gnutls_openpgp_add_keyring_mem.  Reported by "Adam Langley"
3802 <agl@imperialviolet.org>.
3804 ** Add version script for the GnuTLS C++ library.
3805 Reported by Andreas Metzler <ametzler@downhill.at.eu.org>.
3807 ** Fix the C++ compiler detection logic.
3808 Reported by Andreas Metzler <ametzler@downhill.at.eu.org>.
3810 ** Update of gnulib files.
3812 ** API and ABI modifications:
3813 No changes since last version.
3815 * Version 1.5.1 (released 2006-09-21)
3817 ** Fix PKCS#1 verification to avoid a variant of Bleichenbacher's
3818 ** Crypto 06 rump session attack.
3819 In particular, we check that the digestAlgorithm.parameters field is
3820 missing or empty, to avoid that it can contain "garbage" that may be
3821 used to alter the numeric properties of the signature.  See
3822 <http://www.imc.org/ietf-openpgp/mail-archive/msg14307.html> (which is
3823 not exactly the same as the problem we fix here).  Reported by Yutaka
3824 OIWA <y.oiwa@aist.go.jp>.
3826 See GNUTLS-SA-2006-4 on http://www.gnutls.org/security.html for more
3827 up to date information.
3829 ** Add self test to test for above flaw.
3831 ** Fix gnutls-cli-debug regarding resume support detection.
3832 Earlier, if the session-id from the server had a length of 0, it would
3833 indicate that the server supports resumption, which isn't the case.
3834 Reported by Kataja Kai <kai.kataja@op.fi>.
3836 ** Fix building of examples on FreeBSD by including netinet/in.h.
3837 Reported by Roman Bogorodskiy <novel@FreeBSD.org>.
3839 ** Fix certtool bug that caused the private key to not be loaded when
3840 generating a certificate with --load-request, which in turn triggered
3841 another unrelated bug in gnutls_x509_crt_sign2 (also fixed).  Reported
3842 by Sascha Ziemann <sascha.ziemann@secunet.com>.
3844 ** gnutls-cli and gnutls-serv works on Windows.
3845 The problem was the select() call that doesn't work on file
3846 descriptors (stdin) on Windows.  We borrowed some code from plibc to
3847 solve this.  It appears to be somewhat unreliable though.
3849 ** Autoconf 2.60 is now used.
3851 ** API and ABI modifications:
3852 No changes since last version.
3854 * Version 1.5.0 (released 2006-08-13)
3856 ** Change SRP and Cert-Type extensions to match IANA registry.
3858 ** Fixed bug in OpenPGP authentication handshake.
3860 ** Improvements for building under MinGW.
3861 Provides internal inet_ntop and inet_pton functions and arpa/inet.h
3862 header.  Calls WSAStartup and WSACleanup in gnutls_global_init and
3863 gnutls_global_deinit, respectively.  Loads getaddrinfo and getnameinfo
3864 at run-time from ws2_32.dll, and falls back on a simple replacement if
3865 it is not available.  Builds the library with -mms-bitfields
3866 -Wl,--enable-runtime-pseudo-reloc.  Links with --output-def, to
3867 create *.def files, which are installed.
3869 ** The examples now (conditionally) include config.h and link to gnulib.
3870 No other source changes were necessary, so the examples should
3871 continue to be possible to use stand-alone without any autoconf or
3872 gnulib stuff.
3874 ** Added C++ header "gnutlsxx.h" and library "libgnutlsxx".
3875 You may unconditionally disable it with --disable-cxx.  See
3876 includes/gnutls/gnutlsxx.h and lib/gnutlsxx.cpp for the
3877 implementation.
3879 ** Made command line tool '--version' behave according to GNU Standards.
3880 This enables 'make distcheck' to succeed.
3882 ** OpenCDK updated to 0.5.9 to fix some problems with OpenPGP support.
3884 ** Make --without-included-libtasn1 work.
3885 Reported by Daniel Black <dragonheart@gentoo.org>.
3887 ** Fix a crash (strcmp() on a NULL value) in the certificate verification logic.
3888 See http://www.gnu.org/software/gnutls/security.html regardging
3889 GNUTLS-SA-2006-2 for more up to date information.  Reported by
3890 satyakumar <satyam_kkd@hyd.hellosoft.com>.
3892 ** API and ABI modifications:
3893 No changes since last version.
3895 * Version 1.4.5 (released 2006-11-06)
3897 ** When a GnuTLS server receive a SSLv2 Client Hello for an unknown TLS
3898 ** version, try to negotiate the highest version support by the GnuTLS server,
3899 ** instead of the lowest.
3900 Reported by <Pasi.Eronen@nokia.com>.
3902 ** Fix typo in doc/examples/ex-serv-pgp.c.
3903 Reported by Adam Langley" <agl@imperialviolet.org>.
3905 ** API and ABI modifications:
3906 No changes since last version.
3908 * Version 1.4.4 (released 2006-09-12)
3910 ** Relax the test that caught signatures that exploit the variant of
3911 ** Bleichenbacher's Crypto 06 rump session attack on our
3912 ** verification logic flaw.
3913 In particular, we now permit the digestAlgorithm.parameters field to
3914 be present but empty, whereas in 1.4.3 we actually checked that the
3915 field was absent.
3917 ** Revert the removal of debug information for the GNUTLS-SA-2006-3 problem.
3918 The messages are only printed in debug mode, which is not recommended
3919 for normal use, and thus logging this situation cannot be abused as an
3920 oracle in typical recommended situations.
3922 ** API and ABI modifications:
3923 No changes since last version.
3925 * Version 1.4.3 (released 2006-09-08)
3927 ** Fix PKCS#1 verification to avoid a variant of Bleichenbacher's
3928 ** Crypto 06 rump session attack.
3929 In particular, we check that the digestAlgorithm.parameters field is
3930 empty, to avoid that it can contain "garbage" that may be used to
3931 alter the numeric properties of the signature.  See
3932 <http://www.imc.org/ietf-openpgp/mail-archive/msg14307.html> (which is
3933 not exactly the same as the problem we fix here).  Reported by Yutaka
3934 OIWA <y.oiwa@aist.go.jp>.
3936 See GNUTLS-SA-2006-4 on http://www.gnutls.org/security.html for more
3937 up to date information.
3939 ** Fix PKCS#1 decryption to avoid Bleichenbacher's Crypto 98 attack.
3940 See <http://www.bell-labs.com/user/bleichen/papers/pkcs.ps.gz>.
3941 Reported by Werner Koch <wk@gnupg.org>.
3943 See GNUTLS-SA-2006-3 on http://www.gnutls.org/security.html for more
3944 up to date information.
3946 ** Fix crash in gnutls_x509_crt_sign2 if passed a NULL issuer_key.
3948 ** API and ABI modifications:
3949 No changes since last version.
3951 * Version 1.4.2 (released 2006-08-12)
3953 ** Fix a crash (strcmp() on a NULL value) in the certificate verification logic.
3954 This can happen if you call gnutls_certificate_verify_peers2 and have
3955 a certain mix of local CA certificates and the peer send special
3956 certificates, that together trigger certain behaviour.  It is not
3957 known at this point whether the crash can be triggered without the
3958 special local CA certificate, and thus turn this into a remote crash
3959 of clients that verify server certificates when they talk to a server
3960 with the special server certificate.  See GNUTLS-SA-2006-2 on
3961 http://www.gnu.org/software/gnutls/security.html for more up to date
3962 information.  Reported by satyakumar <satyam_kkd@hyd.hellosoft.com>.
3964 ** Change SRP and Cert-Type extensions to match IANA registry.
3966 ** OpenCDK updated to 0.5.9 to fix some problems with OpenPGP support.
3968 ** Make --without-included-libtasn1 work.
3969 Reported by Daniel Black <dragonheart@gentoo.org>.
3971 ** API and ABI modifications:
3972 No changes since last version.
3974 * Version 1.4.1 (released 2006-06-14)
3976 ** Replaced inactive ifdefs to enable openpgp support in test programs.
3978 ** Fixed bug in OpenPGP authentication handshake.
3980 ** Fixed typographical in man pages.
3982 ** Build fixes of the manual.
3984 ** Added Swedish translation.
3986 ** API and ABI modifications:
3987 No changes since last version.
3989 * Version 1.4.0 (released 2006-05-15)
3991 ** Remove GnuTLS 0.8.x compatibility functions.
3993 ** The libgcrypt RNG is initialized in gnutls_global_init().
3995 ** TLS/IA API changes from Emile van Bergen.
3996 A dummy credential structure is not needed now, if you wish to use the
3997 low-level TLS/IA API, simply call gnutls_ia_enable to enable TLS/IA on
3998 a session.
4000 ** The self-tests are now run under valgrind, if it is installed.
4002 ** Libtasn1 is updated to 0.3.4, and that version is now required.
4004 ** The command line tools now use getaddrinfo and support IPv6.
4006 ** API and ABI modifications:
4007 _gnutls_x509_get_raw_crt_activation_time,
4008 _gnutls_x509_get_raw_crt_expiration_time: Removed.
4009 gnutls_ia_require_inner_phase: Removed, replaced by gnutls_ia_enable.
4010 gnutls_ia_enable: Added.
4012 * Version 1.3.5 (released 2006-03-08)
4014 ** Error messages are now translated using GNU Gettext.
4016 ** The function gnutls_x509_crt_to_xml now return an internal error.
4017 This means that the code to convert X.509 certificates to XML format
4018 does not work any more.  The reason is that the function called
4019 libtasn1 internal functions.  It seems unclean for libtasn1 to export
4020 the APIs needed here.  Instead it would be better to implement XML
4021 support inside libtasn1 properly.  If you need this functionality
4022 strongly, please consider looking into implementing this suggested
4023 approach instead.  As a workaround, you may also modify lib/x509/xml.c
4024 (change '#if 1' to '#if 0') and build using --with-included-libtasn1.
4026 ** Libraries are now built with libtool's -no-undefined.
4027 This helps producing libraries for Windows using mingw32.
4029 ** Doc fixes to explain that gnutls_record_send can block.
4031 ** Libtasn1 0.3.1 or later is now required.
4032 The include copy has been updated too.
4034 ** gnutls-cli can now recognize services and port numbers with the -p option.
4036 ** API and ABI modifications:
4037 No changes since last version.
4039 * Version 1.3.4 (released 2006-02-09)
4041 ** Fix read of out bounds bug in DER parser.
4042 Reported by Evgeny Legerov <admin@gleg.net>, and debugging help from
4043 Protover SSL.  Libtasn1 0.2.18 is now required, which contains the
4044 previous bug fix.  The included libtasn1 version in GnuTLS has been
4045 updated.
4047 ** Fixed bug in non-blocking gnutls_bye(). gnutls_record_send() will no 
4048 longer invalidate a session if the underlying send fails, but it will 
4049 prevent future writes. That is to allow reading the already received data.
4050 Patches and bug reports by Yoann Vandoorselaere <yoann@prelude-ids.org>
4052 ** Corrected bugs in gnutls_certificate_set_x509_crl() and
4053 gnutls_certificate_set_x509_trust(), that caused memory corruption if 
4054 more than one certificates were added. Report and patch by Max Kellermann.
4056 ** Fix build problems of OpenCDK on AIX.
4057 Thanks to "Heiden, John" <JHeiden@UTNet.UToledo.Edu>.
4059 ** API and ABI modifications:
4060 No changes since last version.
4062 * Version 1.3.3 (released 2006-01-12)
4064 ** New API to access the TLS master secret.
4065 When possible, you should use the TLS PRF functions instead.
4066 Suggested by Jouni Malinen <jkmaline@cc.hut.fi>.
4068 ** Improved handling when multiple libraries use GnuTLS at the same time.
4069 Now gnutls_global_init() can be called multiple times, and
4070 gnutls_global_deinit() will only deallocate the structure when it has
4071 been called as many times as gnutls_global_init() was called.
4073 ** Added a self test of TLS resume functionality.
4075 ** Fix crash in TLS resume code, caused by TLS/IA changes.
4077 ** Documentation fixes about thread unsafety, prompted by
4078 ** discussion with bryanh@giraffe-data.com (Bryan Henderson).
4079 In particular, gnutls_global_init() and gnutls_global_deinit() are not
4080 thread safe.  Careful callers may want to protect the call using a
4081 mutex.  The problem could also be ignored, which would cause a memory
4082 leak under rare conditions when two threads invoke the function
4083 roughly at the same time.
4085 ** Add 'const' keywords in various places, from Frediano ZIGLIO.
4087 ** The code was indented again, including the external header files.
4089 ** API and ABI modifications:
4090 New functions to retrieve the master secret value:
4091   gnutls_session_get_master_secret
4093 Add a 'const' keyword to existing API:
4094   gnutls_x509_crq_get_challenge_password
4096 * Version 1.3.2 (released 2005-12-15)
4098 ** GnuTLS now support TLS Inner application (TLS/IA).
4099 This is per draft-funk-tls-inner-application-extension-01.  This
4100 functionality is added to libgnutls-extra, so it is licensed under the
4101 GNU General Public License.
4103 ** New APIs to access the TLS Pseudo-Random-Function (PRF).
4104 The PRF is used by some protocols building on TLS, such as EAP-PEAP
4105 and EAP-TTLS.  One function to access the raw PRF and one to access
4106 the PRF seeded with the client/server random fields are provided.
4107 Suggested by Jouni Malinen <jkmaline@cc.hut.fi>.
4109 ** New APIs to acceess the client and server random fields in a session.
4110 These fields can be useful by protocols using TLS.  Note that these
4111 fields are typically used as input to the TLS PRF, and if this is your
4112 intended use, you should use the TLS PRF API that use the
4113 client/server random field directly.  Suggested by Jouni Malinen
4114 <jkmaline@cc.hut.fi>.
4116 ** Internal type cleanups.
4117 The uint8, uint16, uint32 types have been replaced by uint8_t,
4118 uint16_t, uint32_t.  Gnulib is used to guarantee the presence of
4119 correct types on platforms that lack them.  The uint type have been
4120 replaced by unsigned.
4122 ** API and ABI modifications:
4123 New functions to invoke the TLS Pseudo-Random-Function (PRF):
4124   gnutls_prf
4125   gnutls_prf_raw
4127 New functions to retrieve the session's client and server random values:
4128   gnutls_session_get_server_random
4129   gnutls_session_get_client_random
4131 New function, to perform TLS/IA handshake:
4132   gnutls_ia_handshake
4134 New function to decide whether to do a TLS/IA handshake:
4135   gnutls_ia_handshake_p
4137 New functions to allocate a TLS/IA credential:
4138   gnutls_ia_allocate_client_credentials
4139   gnutls_ia_free_client_credentials
4140   gnutls_ia_allocate_server_credentials
4141   gnutls_ia_free_server_credentials
4143 New functions to handle the AVP callback:
4144   gnutls_ia_set_client_avp_function
4145   gnutls_ia_set_client_avp_ptr
4146   gnutls_ia_get_client_avp_ptr
4147   gnutls_ia_set_server_avp_function
4148   gnutls_ia_set_server_avp_ptr
4149   gnutls_ia_get_server_avp_ptr
4151 New functions, to toggle TLS/IA application phases:
4152   gnutls_ia_require_inner_phase
4154 New function to mix session keys with inner secret:
4155   gnutls_ia_permute_inner_secret
4157 Low-level API (used internally by gnutls_ia_handshake):
4158   gnutls_ia_endphase_send
4159   gnutls_ia_send
4160   gnutls_ia_recv
4162 New functions that can be used after successful TLS/IA negotiation:
4163   gnutls_ia_generate_challenge
4164   gnutls_ia_extract_inner_secret
4166 Enum type with TLS/IA modes:
4167   gnutls_ia_mode_t
4169 Enum type with TLS/IA packet types:
4170   gnutls_ia_apptype_t
4172 Enum values for TLS/IA alerts:
4173   GNUTLS_A_INNER_APPLICATION_FAILURE
4174   GNUTLS_A_INNER_APPLICATION_VERIFICATION
4176 New error codes, to signal when an application phase has finished:
4177   GNUTLS_E_WARNING_IA_IPHF_RECEIVED
4178   GNUTLS_E_WARNING_IA_FPHF_RECEIVED
4180 New error code to signal TLS/IA verify failure:
4181   GNUTLS_E_IA_VERIFY_FAILED
4183 * Version 1.3.1 (released 2005-12-08)
4185 ** Support for DHE-PSK cipher suites has been added.
4186 This method offers perfect forward secrecy.
4188 ** Fix gnutls-cli STARTTLS hang when SIGINT is sent too quickly, thanks to
4189 Otto Maddox <ottomaddox@fastmail.fm> and Nozomu Ando <nand@mac.com>.
4191 ** Corrected a bug in certtool for 64 bit machines. Reported
4192 by Max Kellermann <max@duempel.org>.
4194 ** New function to set a X.509 private key and certificate pairs, and/or
4195 CRLs, from an PKCS#12 file, suggested by Emile van Bergen
4196 <emile@e-advies.nl>.
4198 The integrity of the PKCS#12 file is protected through a password
4199 based MAC; public-key based signatures for integrity protection are
4200 not supported.  PKCS#12 bags may be encrypted using password derived
4201 symmetric keys, public-key based encryption is not supported.  The
4202 PKCS#8 keys may be encrypted using passwords.  The API use the same
4203 password for all operations.  We believe that any more flexibility
4204 create too much complexity that would hurt overall security, but may
4205 add more PKCS#12 related APIs if real-world experience indicate
4206 otherwise.
4208 ** gnutls_x509_privkey_import_pkcs8 now accept unencrypted PEM PKCS#8 keys,
4209 reported by Emile van Bergen <emile@e-advies.nl>.
4210 This will enable "certtool -k -8" to parse those keys.
4212 ** Certtool now generate keys in unencrypted PKCS#8 format for empty passwords.
4213 Use "certtool -p -8" and press press enter at the prompt.  Earlier,
4214 certtool would have encrypted the key using an empty password.
4216 ** Certtool now accept --password for --key-info and encrypted PKCS#8 keys.
4217 Earlier it would have prompted the user for it, even if --password was
4218 supplied.
4220 ** Added self test of PKCS#8 parsing.
4221 Unencrypted and encrypted (pbeWithSHAAnd3-KeyTripleDES-CBC and
4222 pbeWithSHAAnd40BitRC2-CBC) formats are tested.  The test is in
4223 tests/pkcs8.
4225 ** API and ABI modifications:
4226 New function to set X.509 credentials from a PKCS#12 file:
4227   gnutls_certificate_set_x509_simple_pkcs12_file
4229 New gnutls_kx_algorithm_t enum type:
4230   GNUTLS_KX_DHE_PSK
4232 New API to return session data (basically same as gnutls_session_get_data):
4233   gnutls_session_get_data2
4235 New API to set PSK Diffie-Hellman parameters:
4236   gnutls_psk_set_server_dh_params
4238 * Version 1.3.0 (2005-11-15)
4240 ** Support for TLS Pre-Shared Key (TLS-PSK) ciphersuites have been added.
4241 This add several new APIs, see below.  Read the updated manual for
4242 more information.  A new self test "pskself" has been added, that will
4243 test this functionality.
4245 ** The session resumption data are now system independent.
4247 ** The code has been re-indented to conform to the GNU coding style.
4249 ** Removed the RIPEMD ciphersuites.
4251 ** Added a discussion of the internals of gnutls in manual.
4253 ** Fixes for Tru64 UNIX 4.0D that lack MAP_FAILED, from Albert Chin.
4255 ** Remove trailing comma in enums, for IBM C v6, from Albert Chin.
4257 ** Make sure config.h is included first in a few files, from Albert Chin.
4259 ** Don't use C++ comments ("//") as they are invalid, from Albert Chin.
4261 ** Don't install SRP programs and man pages if --disable-srp-authentication,
4262 from Albert Chin.
4264 ** API and ABI modifications:
4265 New gnutls_kx_algorithm_t key exchange type: GNUTLS_KX_PSK
4267 New gnutls_credentials_type_t credential type:
4268   GNUTLS_CRD_PSK
4270 New credential types:
4271   gnutls_psk_server_credentials_t
4272   gnutls_psk_client_credentials_t
4274 New functions to allocate PSK credentials:
4275   gnutls_psk_allocate_client_credentials
4276   gnutls_psk_free_client_credentials
4277   gnutls_psk_free_server_credentials
4278   gnutls_psk_allocate_server_credentials
4280 New enum type for PSK key flags:
4281   gnutls_psk_key_flags
4283 New function prototypes for credential callback:
4284   gnutls_psk_client_credentials_function
4285   gnutls_psk_server_credentials_function
4287 New function to set PSK username and key:
4288   gnutls_psk_set_client_credentials
4290 New function to set PSK passwd file:
4291   gnutls_psk_set_server_credentials_file
4293 New function to extract PSK user in server:
4294   gnutls_psk_server_get_username
4296 New functions to set PSK callback:
4297   gnutls_psk_set_server_credentials_function
4298   gnutls_psk_set_client_credentials_function
4300 Use size_t instead of int for output size parameter:
4301   gnutls_srp_base64_encode
4302   gnutls_srp_base64_decode
4304 * Version 1.2.11 (2006-05-11)
4305 - The function gnutls_x509_crt_to_xml is not supported any more, and
4306   return an internal error.  The reason is that the function called
4307   internal libtasn1 functions which are no longer exported from
4308   libtasn1.
4309 - Updated libtasn1 requirement to 0.3.4 and refreshed internal mintiasn1.
4310 - Updated gnulib compatibility files.
4311 - Fixed _gnutls_x509_get_raw_crt_expiration_time and
4312   _gnutls_x509_get_raw_crt_activation_time to return (time_t)-1 on errors.
4313 - API and ABI modifications:
4314   No changes since last version.
4316 * Version 1.2.10 (2006-02-09)
4317 - Fix read out bounds bug in DER parser.  Reported by Evgeny Legerov
4318   <admin@gleg.net>, and debugging help from Protover SSL.
4319 - Libtasn1 0.2.18 is now required (contains the previous bug fix).
4320   The included version has been updated too.
4321 - Fix gnutls-cli STARTTLS hang when SIGINT is sent too quickly, thanks to
4322   Otto Maddox <ottomaddox@fastmail.fm> and Nozomu Ando <nand@mac.com>.
4323 - Corrected a bug in certtool for 64 bit machines. Reported
4324   by Max Kellermann <max@duempel.org>.
4325 - Corrected bugs in gnutls_certificate_set_x509_crl() and
4326   gnutls_certificate_set_x509_trust(), that caused memory corruption if
4327   more than one certificates were added. Report and patch by Max Kellermann.
4328 - Fixed bug in non-blocking gnutls_bye(). gnutls_record_send() will no 
4329   longer invalidate a session if the underlying send fails, but it will 
4330   prevent future writes. That is to allow reading the already received data.
4331   Patches and bug reports by Yoann Vandoorselaere <yoann@prelude-ids.org>
4333 * Version 1.2.9 (2005-11-07)
4334 - Documentation was updated and improved.
4335 - RSA-MD2 is now supported for verifying digital signatures.
4336 - Due to cryptographic advances, verifying untrusted X.509
4337   certificates signed with RSA-MD2 or RSA-MD5 will now fail with a
4338   GNUTLS_CERT_INSECURE_ALGORITHM verification output.  For
4339   applications that must remain interoperable, you can use the
4340   GNUTLS_VERIFY_ALLOW_SIGN_RSA_MD2 or GNUTLS_VERIFY_ALLOW_SIGN_RSA_MD5
4341   flags when verifying certificates.  Naturally, this is not
4342   recommended default behaviour for applications.  To enable the
4343   broken algorithms, call gnutls_certificate_set_verify_flags with the
4344   proper flag, to change the verification mode used by
4345   gnutls_certificate_verify_peers2.
4346 - Make it possible to send empty data through gnutls_record_send,
4347   to align with the send(2) API.
4348 - Some changes in the certificate receiving part of handshake to prevent
4349   some possible errors with non-blocking servers.
4350 - Added numeric version symbols to permit simple CPP-based feature
4351   tests, suggested by Daniel Stenberg <daniel@haxx.se>.
4352 - The (experimental) low-level crypto alternative to libgcrypt used
4353   earlier (Nettle) has been replaced with crypto code from gnulib.
4354   This leads to easier re-use of these components in other projects,
4355   leading to more review and simpler maintenance.  The new configure
4356   parameter --with-builtin-crypto replace the old --with-nettle, and
4357   must be used if you wish to enable this functionality.  See README
4358   under "Experimental" for more information.  Internally, GnuTLS has
4359   been updated to use the new "Generic Crypto" API in gl/gc.h.  The
4360   API is similar to the old crypto/gc.h, because the gnulib code were
4361   based on GnuTLS's gc.h.
4362 - Fix compiler warning in the "anonself" self test.
4363 - API and ABI modifications:
4364 gnutls_x509_crt_list_verify: Added 'const' to prototype in <gnutls/x509.h>.
4365                              This doesn't reflect a change in behaviour,
4366                              so we don't break backwards compatibility.
4367 GNUTLS_MAC_MD2: New gnutls_mac_algorithm_t value.
4368 GNUTLS_DIG_MD2: New gnutls_digest_algorithm_t value.
4369 GNUTLS_VERIFY_ALLOW_SIGN_RSA_MD2,
4370 GNUTLS_VERIFY_ALLOW_SIGN_RSA_MD5: New gnutls_certificate_verify_flags values.
4371                                   Use when calling
4372                                   gnutls_x509_crt_list_verify,
4373                                   gnutls_x509_crt_verify, or
4374                                   gnutls_certificate_set_verify_flags.
4375 GNUTLS_CERT_INSECURE_ALGORITHM: New gnutls_certificate_status_t value,
4376                                 used when broken signature algorithms
4377                                 is used (currently RSA-MD2/MD5).
4378 LIBGNUTLS_VERSION_MAJOR,
4379 LIBGNUTLS_VERSION_MINOR,
4380 LIBGNUTLS_VERSION_PATCH,
4381 LIBGNUTLS_VERSION_NUMBER: New CPP symbols, indicating the GnuTLS
4382                           version number, can be used for feature existence
4383                           tests.
4385 * Version 1.2.8 (2005-10-07)
4386 - Libgcrypt 1.2.2 is required to fix a bug for forking GnuTLS servers.
4387 - Don't install the auxilliary libexamples library used by the
4388   examples in doc/examples/ on "make install", report and tiny patch
4389   from Thomas Klausner <tk@giga.or.at>.
4390 - If you pass a X.509 CA or PGP trust database to the command line
4391   tool, it will now abort the connection if the server certificate
4392   validation fails.  Use the parameter --insecure to continue even
4393   after certificate validation failures.  Inspired from discussion
4394   with Alexander Kotelnikov <sacha@myxomop.com>.
4395 - The test for socklen_t has been moved to gnulib.
4396 - Link failures for duplicate or missing "program_name" symbol has been fixed,
4397   patch from Martin Lambers <marlam@marlam.de>.
4398 - The command line tool and the examples no longer uses mmap or bzero,
4399   to make them more portable, patch from Martin Lambers
4400   <marlam@marlam.de>.
4401 - Made the PKCS #12 API handle null passwords. Based on patch by
4402   Anton Altaparmakov <aia21@cam.ac.uk>.
4403 - The GTK-DOC manual should build with current released tools.
4404   (But a copy of the output is included, so the tools are not required.)
4405 - The inet_ntop function is now used through gnulib.
4406 - API and ABI modifications:
4407   No changes since last version.
4409 * Version 1.2.7 (2005-09-09)
4410 - The GNUTLS and GNUTLS-EXTRA libraries are now built with versioned symbols.
4411 - Certtool now complains when reading out-of-range X.509 serial
4412   numbers, suggested by Fran <e_agf@yahoo.es>.
4413 - Certtool now uses the readline library (when available) when reading
4414   X.509 serial numbers.
4415 - Fixed build problems in getpass on uClibc and Mingw32 platforms.
4416 - Fixed compile warning regarding socklen_t on Mingw32, reported by
4417   Martin Lambers <marlam@marlam.de>.
4418 - Fixed examples in doc/examples/, suggested by Fran <e_agf@yahoo.es>.
4419 - Gnulib is now used for the core library, enabling future code cleanups.
4420 - The gnutls-cli tool now use gnutls_certificate_verify_peers2,
4421   suggested by Daniel Stenberg <daniel@haxx.se>.
4422 - Doc fixes for gnutls_transport_set_push and gnutls_transport_set_pull.
4423 - Minilibtasn1 is now 0.2.17 (removed optional use of C99 macros).
4424 - Disable zlib support if zlib.h is not present.
4425 - A number of internal cleanups.
4426 - API and ABI modifications:
4427   No changes since last version.
4429 * Version 1.2.6 (2005-07-16)
4430 - MiniLZO updated to version 2.01 and moved to separate directory.
4431 - Collision between system LZO header files and MiniLZO header file
4432   fixed, reported by Matthias Urlichs <smurf@smurf.noris.de>.
4433 - Will now test for liblzo functionality in liblzo2 too, reported by
4434   Thomas Klausner <tk@giga.or.at>.
4435 - Minilibtasn1 is now 0.2.14 (no code changes).
4436 - Some code changes to avoid GTK-DOC warnings.
4437 - API and ABI modifications:
4438   No changes since last version.
4440 * Version 1.2.5 (2005-07-03)
4441 - More builddir != srcdir fixes, reported by Mike Castle
4442   <dalgoda@ix.netcom.com>.
4443 - Fixed off-by-one bug in the size parameter of gnutls_x509_crt_get*_dn,
4444   reported by Adam Langley <alangley@gmail.com>.
4445 - Corrected some stuff in minilzo detection. Pointed out by 
4446   Sergey Lipnevich.
4447 - MiniLZO updated to version 2.00.
4448 - gnutls_x509_crt_list_import now accept a DER formatted CRL.
4449 - API and ABI modifications:
4450   No changes since last version.
4452 * Version 1.2.4 (2005-05-28)
4453 - Corrected some bugs that could affect 64 bit systems.
4454 - Some corrections in the header files to include the prototype
4455   of memmem properly (affected 64 bit systems). Report and patch
4456   by Yoann Vandoorselaere <yoann@prelude-ids.org>.
4457 - Introduced the --fix-key option to certtool, which can be used to
4458   regenerate the (optional) parameters in a private key. It should
4459   be used together with --key-info.
4460 - Corrected a bug in certificate chain verification that could lead
4461   to marking a trusted chain as non trusted, if the last certificate in
4462   the chain was a self signed one.
4463 - Gnulib portability files were updated.
4464 - License were updated to reflect new FSF address.
4465 - API and ABI modifications:
4466   No changes since last version.
4468 * Version 1.2.3 (2005-04-28)
4469 - Corrected bug in record packet parsing that could lead
4470   to a denial of service attack.
4471 - Corrected bug in RSA key export. Previously exported keys
4472   can be fixed using certtool. Use certtool -k <infile >outfile
4473 - API and ABI modifications:
4474     gnutls_x509_privkey_fix(): Add.
4476 * Version 1.2.2 (2005-04-25)
4477 - gnutls_error_to_alert() now considers
4478   GNUTLS_E_UNEXPECTED_HANDSHAKE_PACKET.
4479 - Fixed error in session resuming that could cause a crash in a session.
4480 - Fixed pkcs12 friendly name and local key identifier decoding.
4481 - Internal cleanups, removed duplicate typedef/struct definitions,
4482   and made source code include external include file, to check
4483   function prototypes during compile time.
4484 - API and ABI modifications:
4485   No changes since last version.  At least not intentional, but due
4486   to the include header changes, there may be inadvertant changes,
4487   please let us know if you find any.
4489 * Version 1.2.1 (2005-04-04)
4490 - gnutls_bye() will no longer fail when RDWR is used and application
4491   data are available for reading.
4492 - Added more strict checks for the SRP parameters (g,n), when they
4493   are not in the included list.
4494 - Added warning to certtool when MD5 is being used for digital
4495   signatures.
4496 - Optimizations ("-O2 -finline-functions") are not enabled by default,
4497   instead the standard autoconf defaults are used.  Use `./configure
4498   CFLAGS="-O2 -finline-functions"' to get the old optimizations.
4499 - Added the option --get-dh-params to certtool, in order to get the
4500   parameters included in the library primes and generators.
4501 - Improved the semantics of GNUTLS_VERIFY_ALLOW_X509_V1_CA_CRT, to
4502   allow only trusted Version 1 CAs and introduced
4503   GNUTLS_VERIFY_ALLOW_ANY_X509_V1_CA_CRT which has the old semantics.
4504 - Nettle self tests now build properly, reported by Pierre
4505   <pierre42d@9online.fr>.
4506 - Eliminated some memory leaks in DHE and RSA-EXPORT cipher suites.
4507   Reported by Yoann Vandoorselaere <yoann@prelude-ids.org>.
4508 - If the library has been compiled with features disabled, a warning is 
4509   issued during the compilation of any program.
4510 - API and ABI modifications:
4511     gnutls_x509_crt_list_import(): Add
4512     gnutls_x509_crq_get_attribute_by_oid(): Add.
4513     gnutls_x509_crq_set_attribute_by_oid(): Add
4514     gnutls_x509_crt_set_extension_by_oid(): Add.
4515     GNUTLS_VERIFY_ALLOW_X509_V1_CA_CRT: Modify semantics.
4516     GNUTLS_VERIFY_ALLOW_ANY_X509_V1_CA_CRT: Add, old behaviour.
4518 * Version 1.2.0 (2005-01-27)
4519 - Added the definitions and OIDs for the RIPEMD-160 hash algorithm.
4520 - Introduced gnutls_x509_crt_sign2(), gnutls_x509_crq_sign2() and 
4521   gnutls_x509_crl_sign2().
4522 - Fixed license header in source code files.
4524 * Version 1.1.23 (2005-01-18)
4525 - It is now possible to generate PKCS#12 structures without private
4526   keys using "certtool --to-p12", suggested by Fabian Fagerholm
4527   <fabbe@paniq.net>.
4528 - Certtool now prints information for the RSA and DSA parameters of
4529   certificates and private keys.
4530 - Corrected the write of CRL distribution points.
4531 - The certificate chain verification function now checks certificates
4532   in the reverse order to minimize the spent resources.
4533 - Corrected several bugs found by Marcin Garski <mgarski@post.pl>
4534 - The functions gnutls_x509_crl_get_issuer_dn, gnutls_x509_crq_get_dn,
4535   gnutls_x509_crt_get_issuer_dn, gnutls_x509_crt_get_dn, and
4536   gnutls_x509_rdn_get now set *sizeof_buf to the buffer length that is
4537   required, instead of the string length.  That is, the value has been
4538   incremented by 1 to account for the terminating zero. Reported by
4539   Martin Lambers <marlam@web.de>.
4540 - Debug output shouldn't crash on platforms that doesn't handle NULL
4541   printf %s values.  Reported by Michael.Ringe@aachen.utimaco.de.
4542 - Sync included copy of libtasn1 with version 0.2.13.
4543 - Client X.509 authenticated connections via gnutls-cli should now work again.
4545 * Version 1.1.22 (2004-11-04)
4546 - Replace GNU LD version script with Libtool -export-symbols-regex,
4547   from Joe Orton <joe@manyfish.co.uk>.
4548 - Documentation improvements.
4549 - Code indented using 'indent -i4 -kr'.
4550 - The API manual is included in Devhelp format.  (Was in last release too,
4551   but the NEWS entry was forgotten.)
4552 - The OpenSSL compatibility code now use the internal crypto interface.
4553 - Added simple self test of OpenSSL compatibility library.
4554 - Internally, libtool convenience libraries are used.
4555 - Cleanups to configure.ac.
4557 * Version 1.1.21 (2004-10-27)
4558 - Print DN of certificates with unknown characters in them, but in hexform
4559   only.
4560 - Added second precision to the X.509 parsing and generation functions.
4561 - Corrected bug in _gnutls_x509_get_dn_oid(), and returns the
4562   actual OID.
4563 - Add parameter --la-file to libgnutls-config and libgnutls-extra-config,
4564   tiny patch contributed by Joe Orton <joe@manyfish.co.uk>.
4565 - Add pkg-config meta files, suggested by Stéphane LOEUILLET
4566   <stephane.loeuillet@tiscali.fr>.
4567 - Fix memory initializaion bug in gnutls_certificate_set_x509_trust,
4568   tiny patch by Aleix Conchillo Flaque <aleix@member.fsf.org>.
4569 - Add self test of PKCS#12 functionality in "certtool", based on test
4570   vectors from Joe Orton <joe@manyfish.co.uk>.
4571 - Fix library order in libgnutls*-config --libs output, to permit
4572   static linking, reported by Yoann Vandoorselaere
4573   <yoann@prelude-ids.org>.
4575 * Version 1.1.20 (2004-10-12)
4576 - Fix compile problem in gl/getpass.c on some systems.
4578 * Version 1.1.19 (2004-10-07)
4579 - Fix memory leak in gnutls_certificate_verify_peers and
4580   gnutls_certificate_free_credentials, report and patch by Simon
4581   Posnjak <simon.posnjak@cetrtapot.si>.
4582 - Fix crash in `certtool --to-p12 --load-privkey foo', i.e. exporting
4583   a key and no certificate to PKCS#12.
4584 - Fix objdir != srcdir builds, reported by "Gerrit P. Haase"
4585   <gp@familiehaase.de>.
4586 - Fixes faulty getpass implementation in libextra/opencdk/, reported
4587   by Yoann Vandoorselaere <yoann@prelude-ids.org>.
4588 - Uses memmem instead of strnstr in lib/.
4589 - Using more GNULib portability files, although not yet inside lib/.
4590 - Added gnutls_certificate_verify_peers to gnutls/compat.h.
4591   Nikos deprecated gnutls_certificate_verify_peers in favor of
4592   gnutls_certificate_verify_peers2 earlier in the 1.1 branch.
4593 - Improvements to the manual.
4594 - Add new example "ex-rfc2818" for certificate verification, from Nikos.
4595 - Known bug: the library require snprintf.  This has not yet been
4596   fixed, but will be handled via GNULib later on.
4598 * Version 1.1.18 (2004-08-24)
4599 - Corrected handling of certificate with dates after year 2038.
4600 - Corrected DER decoder which could incorrectly treat input as BER and fail.
4601 - Correct certtool --smime-to-p7 end of line character handling.
4602 - Added example client and server for anonymous authentication.
4603 - Added self test that tests anonymous TLS client and server.
4604 - Added self tests of Nettle and generic crypto layer.
4605 - Added API reference manual in HTML format in doc/reference/ using GTK-DOC.
4606   Online version at <http://www.gnu.org/software/gnutls/reference/>.
4607 - Assume C89 or better; removed checks for size_t, ptrdiff_t and time_t.
4608 - Man pages for API functions are included.
4610 * Version 1.1.17 (2004-08-18)
4611 - Bug fix of padding string in RSA PKCS#1 v1.5 type 2 encryption,
4612   reported by Robey Pointer <robey@danger.com>.
4613 - Generic crypto interface for secret key ciphers, hashes and randomness added.
4614   See section "Experimental" within section "COMPILATION ISSUES" in README.
4615 - Removed length limit on passwords read by 'certtool'.
4616 - Documentation fixes.
4618 * Version 1.1.16 (2004-08-15)
4619 - Fix missing gnulib linker parameter when building certtool.
4620 - Add gnulib module 'progname', needed by module 'error'.
4621 - Improve building with srcdir != objdir.
4623 * Version 1.1.15 (2004-08-15)
4624 - Certtool has simplistic --smime-to-p7 to translate RFC 2633 messages into
4625   PKCS #7 format.
4626 - Ported to Mac OS X / Darwin.
4627 - Ported to FreeBSD.
4629 * Version 1.1.14 (2004-08-09)
4630 - Documentation converted to Texinfo format.
4631 - Bug fix of test suite.
4632 - Configure now print build information, used by Autobuild.
4634 * Version 1.1.13 (2004-08-05)
4635 - Added simple self test suite.
4637 * Version 1.1.12 (2004-08-02)
4638 - Updated the SRP authentication to conform to the
4639   latest (yet unreleased) draft. Unfortunately this breaks
4640   compatibility with previous versions.
4641 - Changed the makefiles to be more portable.
4642 - SRP ciphersuites were moved to the gnutls library.
4643 - Added some default limits in the verification of certificate
4644   chains, to avoid denial of service attacks. Also added 
4645   gnutls_certificate_set_verify_limits() to override them.
4646   Issue pointed out by Patrik Hornik <patrik@hornik.sk>.
4647 - Added gnutls_certificate_verify_peers2().
4649 * Version 1.1.11 (2004-07-16)
4650 - Added the '_t' suffix to all exported symbols.
4651 - Fixed bug in RSA encryption, report and patch by Martijn Koster 
4652   <mak@greenhills.co.uk>.
4653 - Corrected a bug in certificate verification. Pointed out by
4654   Yoann Vandoorselaere <yoann@prelude-ids.org>
4655 - Added the GNUTLS_VERIFY_DO_NOT_ALLOW_SAME flags to the
4656   verification functions.
4657 - The ephemeral DH and RSA parameters are no longer stored in the
4658   session resume DB.
4659 - Do not free the SRP (prime and generator) parameters obtained from the 
4660   callback if they are the static ones defined in extra.h
4661 - Eliminated some memory leaks. Reported by Yoann Vandoorselaere.
4663 * Version 1.1.10 (2004-06-12)
4664 - Added gnutls_sign_algorithm_get_name() and gnutls_pk_algorithm_get_name()
4665 - Corrected bug in TLS renegotiation.
4666 - Corrected bug in OpenPGP key loading using a callback.
4667 - gnutls-srpcrypt was renamed to srptool
4668 - Allow handshake requests by the client.
4669 - Automatically disable certificate types that do not have corresponding
4670   certificates.
4671 - Added gnutls_auth_client_get_type() and gnutls_auth_server_get_type()
4672 - Opencdk library is being included if not found.
4673 - certtool can now add ip address SAN extension.
4674 - certtool has now support for more X.520 DN attribute types.
4675 - Better handling of EOF in gnutls_record_recv().
4676 - _gnutls_deinit() is no longer used. Sessions are not
4677   automatically removed any more, on abnormal termination.
4678 - Corrected session resuming in SRP ciphersuites.
4679 - Updated to conform to the latest srp draft (draft-ietf-tls-srp-07)
4680 - Added new functions to allow access to the ephemeral
4681   Diffie Hellman parameters.
4682 - Added the functions gnutls_x509_crt_get_pk_rsa_raw() and
4683   gnutls_x509_crt_get_pk_dsa_raw() to retrieve parameters from certificates.
4684 - Added the functions gnutls_dh_get_group(), gnutls_dh_get_pubkey() and
4685   gnutls_rsa_export_get_pubkey() to retrieve parameters of the DH or
4686   RSA-EXPORT key exchange.
4687 - Some fixes in the session resuming code.
4688 - Added gnutls_openpgp_keyring_check_id().
4690 * Version 1.1.9 (2004-04-14)
4691 - Added support for authority key identifier and the extended key usage
4692   X.509 extension fields. The certtoool was updated to support them.
4693 - The RC2 cipher is no more included. The one in libgcrypt is now used.
4694 - Added batch support to certtool. Now it can use templates.
4696 * Version 1.1.8 (2004-04-07)
4697 - Implemented all the tests for the SRP group parameters in
4698   client side. This may lead to incompatibility with very
4699   old gnutls servers.
4700 - Corrected bug in RSA parameters handling which could cause
4701   unexpected crashes.
4702 - Optimized the copying of rsa_params.
4704 * Version 1.1.7 (2004-03-29)
4705 - Added gnutls_certificate_set_params_function() and 
4706   gnutls_anon_set_params_function() that set the RSA or DH
4707   parameters using a callback.
4708 - Added functions gnutls_rsa_params_cpy(), gnutls_dh_params_cpy()
4709   and gnutls_x509_privkey_cpy().
4710 - Corrected a compilation issue when opencdk was installed in a
4711   non standard directory.
4712 - Deprecated: gnutls_srp_server_set_select_function(), 
4713   gnutls_certificate_client_set_select_function(), gnutls_srp_server_set_select_function().
4715 * Version 1.1.6 (2004-02-24)
4716 - Several bug fixes, by Arne Thomassen.
4717 - Fixed a bug where 'server name' extension was always sent.
4719 * Version 1.1.5 (2004-01-06)
4720 - Added the gnutls_sign_algorithm type.
4722 * Version 1.1.4 (2004-01-04)
4723 - Improved gnutls-cli's SRP behaviour in SRP ciphersuites.
4724   If they are of highest priority then the abbreviated handshake
4725   is used.
4726 - Removed all references of missing files.
4727 - Changed handshake behaviour to send the lowest TLS version
4728   when an unsupported version was advertized. The current behaviour
4729   is to send the maximum version we support.
4730 - Corrected problem printing the DC attributes in a DN.
4732 * Version 1.1.3 (2003-12-30)
4733 - Implemented TLS 1.1 (and also obsoleted the TLS 1.0 CBC protection
4734   hack).
4736 * Version 1.1.2 (2003-12-28)
4737 - Added CRL verification functionality to certtool.
4738 - Corrected the CRL distribution point extension handling.
4740 * Version 1.1.1 (2003-12-26)
4741 - Added PKCS #7 support to certtool utility.
4742 - Added support for reading and generating CRL distribution
4743   points extensions in certificates.
4744 - Added support for generating CRLs in the library and the
4745   certtool utility.
4746 - Added support for the Subject Key ID PKIX extension.
4748 * Version 1.1.0 (2003-12-21)
4749 - The error codes GNUTLS_E_NO_TEMPORARY_DH_PARAMS and GNUTLS_E_NO_TEMPORARY_RSA_PARAMS
4750   are no longer returned by the handshake function. Ciphersuites that
4751   require temporary parameters are removed when such parameters do not exist.
4752 - Added the callbacks gnutls_certificate_client_retrieve_function() and
4753   gnutls_certificate_server_retrieve_function(), to allow a client or a server
4754   to specify certificates for the handshake without storing them to the
4755   credentials structure.
4756 - Added support for generating and exporting DSA private keys.
4757 - Added gnutls_x509_crt_set_key_usage() and certtool can now set the
4758   certificate's key usage.
4759 - Added gnutls_openpgp_key_get_key_usage().
4761 * Version 1.0.25 (2005-04-27)
4762 - Corrected bug in record packet parsing that could lead
4763   to a denial of service attack.
4764 - Corrected bug in RSA key export.
4766 * Version 1.0.24 (2005-01-18)
4767 - Corrected several bugs found by Marcin Garski <mgarski@post.pl>
4769 * Version 1.0.23 (2004-11-13)
4770 - Replace GNU LD version script with Libtool -export-symbols-regex,
4771   from Joe Orton <joe@manyfish.co.uk>.
4772 - Copy libtasn1 has been updated to version 0.2.11.
4773 - Corrected the write of CRL distribution points.
4774 - It is now possible to generate PKCS#12 structures without private
4775   keys using "certtool --to-p12", suggested by Fabian Fagerholm
4776   <fabbe@paniq.net>.
4778 * Version 1.0.22 (2004-10-28)
4779 - Print DN of certificates with unknown characters in them, but in hexform
4780   only.
4781 - Corrected bug in _gnutls_x509_get_dn_oid(), and returns the
4782   actual OID.
4783 - Added second precision to the X.509 parsing functions.
4784 - Add parameter --la-file to libgnutls-config and libgnutls-extra-config,
4785   tiny patch contributed by Joe Orton <joe@manyfish.co.uk>.
4786 - Add pkg-config meta files, suggested by Stéphane LOEUILLET
4787   <stephane.loeuillet@tiscali.fr>.
4788 - Fix memory initializaion bug in gnutls_certificate_set_x509_trust,
4789   tiny patch by Aleix Conchillo Flaque <aleix@member.fsf.org>.
4790 - Fix certtool --password for PKCS #12, back ported from 1.1.x branch.
4791 - Fix library order in libgnutls*-config --libs output, to permit
4792   static linking, reported by Yoann Vandoorselaere
4793   <yoann@prelude-ids.org>.
4795 * Version 1.0.21 (2004-10-07)
4796 - Fix memory leak in gnutls_certificate_verify_peers and
4797   gnutls_certificate_free_credentials, report and patch by Simon
4798   Posnjak <simon.posnjak@cetrtapot.si>.
4799 - Fix crash in `certtool --to-p12 --load-privkey foo', i.e. exporting
4800   a key and no certificate to PKCS#12.
4801 - Fix objdir != srcdir builds, reported by "Gerrit P. Haase"
4802   <gp@familiehaase.de>.
4803 - Avoid redefining getpass if system already has it, reported by
4804   Yoann Vandoorselaere <yoann@prelude-ids.org>.
4805 - Add new example "ex-rfc2818" for certificate verification, from Nikos.
4806 - Known bug: the library require snprintf.
4808 * Version 1.0.20 (2004-08-18)
4809 - Bug fix of padding string in RSA PKCS#1 v1.5 type 2 encryption,
4810   reported by Robey Pointer <robey@danger.com>.
4812 * Version 1.0.19 (2004-08-09)
4813 - Bug fix of test suite.
4815 * Version 1.0.18 (2004-08-05)
4816 - Added simple self test suite.
4818 * Version 1.0.17 (2004-08-02)
4819 - Updated the SRP authentication to conform to the
4820   latest (yet unreleased) draft. Unfortunately this breaks
4821   compatibility with previous versions.
4822 - Changed the makefiles to be more portable.
4823 - Added some default limits in the verification of certificate
4824   chains, to avoid denial of service attacks. Also added 
4825   gnutls_certificate_set_verify_limits() to override them.
4826   Issue pointed out by Patrik Hornik <patrik@hornik.sk>.
4827 - Added gnutls_certificate_verify_peers2().
4829 * Version 1.0.16 (2004-07-10)
4830 - Do not free the SRP (prime and generator) parameters obtained from the 
4831   callback if they are the static ones defined in extra.h.
4832 - Eliminated some memory leaks. Reported by Yoann Vandoorselaere.
4833 - Some fixes in the makefiles.
4835 * Version 1.0.15 (2004-06-29)
4836 - Fixed bug in RSA encryption, report and patch by Martijn Koster 
4837   <mak@greenhills.co.uk>.
4838 - Corrected a bug in certificate verification. Pointed out by
4839   Yoann Vandoorselaere <yoann@prelude-ids.org>.
4841 * Version 1.0.14 (2004-06-12)
4842 - Automatically disable certificate types that do not have corresponding
4843   certificates.
4844 - Updates in the documentation.
4845 - certtool can now add ip address SAN extension.
4846 - certtool has now support for more X.520 DN attribute types.
4847 - Opencdk library is being included if not found.
4848 - Added gnutls_openpgp_keyring_check_id().
4849 - Corrected a serious bug in the included libtasn1 library.
4850 - Corrected session resuming in SRP ciphersuites.
4851 - Updated to conform to the latest srp draft (draft-ietf-tls-srp-07)
4852 - Added the functions gnutls_x509_crt_get_pk_rsa_raw() and
4853   gnutls_x509_crt_get_pk_dsa_raw() to retrieve parameters from certificates.
4854 - Some fixes in the session resuming code.
4856 * Version 1.0.13 (2004-04-29)
4857 - Some complilation fixes.
4858 - Added the --xml parameter to the certtool utility.
4860 * Version 1.0.12 (2004-04-23)
4861 - Corrected bug in OpenPGP key loading using a callback.
4862 - Renamed gnutls-srpcrypt to srptool
4863 - Allow handshake requests by the client.
4864 * Things backported from the development branch:
4865 - Added support for authority key identifier and the extended key usage
4866   X.509 extension fields. The certtoool was updated to support them.
4867 - Added batch support to certtool. Now it can use templates.
4868 - The RC2 cipher is no more included. The one in libgcrypt is now used.
4870 * Version 1.0.11 (2004-04-17)
4871 - Added gnutls_sign_algorithm_get_name() and gnutls_pk_algorithm_get_name()
4872 - Corrected bug in TLS renegotiation.
4874 * Version 1.0.10 (2004-04-03)
4875 - Corrected bug in RSA parameters handling which could cause
4876   unexpected crashes.
4877 - Corrected bug in SSL 3.0 authentication.
4879 * Version 1.0.9 (2004-03-29)
4880 - Added gnutls_certificate_set_params_function() and 
4881   gnutls_anon_set_params_function() that set the RSA or DH
4882   parameters using a callback.
4883 - Added functions gnutls_rsa_params_cpy(), gnutls_dh_params_cpy()
4884   and gnutls_x509_privkey_cpy().
4885 - Corrected a compilation issue when opencdk was installed in a
4886   non standard directory.
4887 - Documented the changes need in multi-threaded application due
4888   to the new libgcrypt.
4890 * Version 1.0.8 (2004-02-28)
4891 - Corrected bug in mutual certificate authentication in SSL 3.0.
4893 * Version 1.0.7 (2004-02-25)
4894 - Implemented TLS 1.1 (and also obsoleted the TLS 1.0 CBC protection
4895   hack).
4896 - Some updates in the documentation.
4898 * Version 1.0.6 (2004-02-12)
4899 * Backported things from the development branch (while maintaining
4900   backwards compatibility):
4901 - Improved gnutls-cli's SRP behaviour in SRP ciphersuites.
4902   If they are of highest priority then the abbreviated handshake
4903   is used.
4904 - The error codes GNUTLS_E_NO_TEMPORARY_DH_PARAMS and GNUTLS_E_NO_TEMPORARY_RSA_PARAMS
4905   are no longer returned by the handshake function. Ciphersuites that
4906   require temporary parameters are removed when such parameters do not exist.
4907 - Added the callbacks gnutls_certificate_client_retrieve_function() and
4908   gnutls_certificate_server_retrieve_function(), to allow a client or a server
4909   to specify certificates for the handshake without storing them to the
4910   credentials structure.
4911 - Added support for generating and exporting DSA private keys.
4913 * Version 1.0.5 (2004-02-11)
4914 - Fixed a bug where 'server name' extension was always sent.
4915 * Backported things from the development branch:
4916 - Added CRL verification functionality to certtool.
4917 - Corrected the CRL distribution point extension handling.
4918 - Added PKCS #7 support to certtool utility.
4919 - Added support for reading and generating CRL distribution
4920   points extensions in certificates.
4921 - Added support for generating CRLs in the library and the
4922   certtool utility.
4923 - Added support for the Subject Key ID PKIX extension.
4924 - Added the gnutls_sign_algorithm type.
4926 * Version 1.0.4 (2004-01-04)
4927 - Changed handshake behaviour to send the lowest TLS version
4928   when an unsupported version was advertized. The current behaviour
4929   is to send the maximum version we support.
4930 - certtool no longer asks the password in unencrypted private
4931   keys.
4932 - The source is now compiled to use the reentrant libc functions.
4934 * Version 1.0.3 (2003-12-21)
4935 - Corrected bug in gnutls_bye() which made it return an error code
4936   of INVALID_REQUEST instead of success.
4937 - Corrected a bug in the GNUTLS_KEY key usage definitions.
4939 * Version 1.0.2 (2003-12-18)
4940 - Corrected a bug in the RSA key generation. This was
4941   generating unusable RSA keys.
4943 * Version 1.0.1 (2003-12-10)
4944 - Some minor fixes in the makefiles. They now include CFLAGS
4945   from libgcrypt or opencdk if installed in a non standard directory.
4946 - Fixed the SRP detection test in gnutls-cli-debug.
4947 - Added gnutls_rsa_params_export_pkcs1() and gnutls_rsa_params_import_pkcs1().
4949 * Version 1.0.0 (2003-12-04)
4950 - Exported the static SRP group parameters.
4951 - Some fixes in the certificate authenticated SRP ciphersuites.
4952 - Improved the support for draft-ietf-tls-srp-05. The two-phase
4953   handshake is now fully supported without any interaction with
4954   the application layer (except for a callback).
4956 * Version 0.9.99 (2003-11-28)
4957 - Some fixes in the gnutls.h header for the gnutls_server_name_set()
4958   and gnutls_server_name_get() prototypes.
4959 - Exported the gnutls_x509_privkey_sign_data(), gnutls_x509_privkey_verify_data() 
4960   and gnutls_x509_crt_verify_data().
4961 - Some fixes in the openpgp authentication.
4962 - Removed the Twofish cipher.
4964 * Version 0.9.98 (2003-11-16)
4965 - The openssl compatibility layer was moved to gnutls-openssl
4966   library instead of being included in the gnutls-extra library.
4967 - Added the RIPEMD ciphersuites defined in draft-ietf-tls-openpgp-keys-04.
4968 - Building with openpgp support is now mandatory.
4969 - gnutls4 compatibility header is no longer included by default in
4970   gnutls.h.
4971 - gnutls8 function usage yelds a deprecation warning in gcc3.
4972 - gnutls_x509_*_set_dn_by_oid() and gnutls_x509_*_get_*_dn_by_oid()
4973   functions have a raw_flag parameter added.
4974 - Added gnutls_x509_*_get_dn_oid() and gnutls_x509_crt_get_extension_oid()
4975   functions which return the available OIDs.
4977 * Version 0.9.97 (2003-11-11)
4978 - The certtool utility can now generate PKCS #12 structures
4979   without specifying a certificate.
4980 - Added capability to read CRLs to certtool.
4981 - Corrected some functions which return GNUTLS_E_SHORT_MEMORY_BUFFER
4982   to properly set the required buffer size.
4983 - Corrected a bug in libgcrypt detection.
4985 * Version 0.9.96 (2003-11-09)
4986 - Some changes to allow compilation with mingw32.
4987 - Several code cleanups.
4989 * Version 0.9.95 (2003-11-02)
4990 - Improved the verification functions. Added new verification
4991   output flags and removed the unused and redundant ones.
4992 - Improved the OpenPGP key support.
4993 - The prime utility was removed, and its functionality was moved
4994   to certtool.
4996 * Version 0.9.94 (2003-10-30)
4997 - Added manpages for the included programs.
4998 - Documented and improved the certtool utility. 
4999 - Added PKCS #12 support to certtool utility.
5001 * Version 0.9.93 (2003-10-26)
5002 - Corrected some compilation issues.
5003 - Improved the certtool command line utility.
5005 * Version 0.9.92 (2003-10-25)
5006 - The RFC2818 hostname verification is now case insensitive.
5007 - Added support for generating X.509 certificates.
5008 - Added the certtool, a tool for generating X.509 certificates
5010 * Version 0.9.91 (2003-10-17)
5011 - Fixed a compilation issue in the openpgp authentication part.
5013 * Version 0.9.90 (2003-10-08)
5014 - Updated the openpgp key API (depends on the unreleased new
5015   opencdk).
5017 * Version 0.9.8 (2003-10-02)
5018 - Updated the SRP implementation to follow the latest draft
5019   (draft-ietf-tls-srp-05).
5020 - Improved the gnutls-cli behaviour in error handling,
5021   and added a check for the peer's hostname.
5022 - Use versioned symbols in the library (where available).
5023 - RIJNDAEL ciphersuites were renamed to AES.
5025 * Version 0.9.7 (2003-08-25)
5026 - The tex files are now included in the distribution.
5027 - The library can now decrypt PKCS #12 files encrypted with
5028   the RC2-40 cipher.
5029 - The missing rfc2818_hostname object is now included.
5030 - Several corrections and bug fixes in the library by 
5031   Arne Thomassen <arne@arne-thomassen.de>.
5032 - CR is now allowed in the base64 decoder.
5034 * Version 0.9.6 (2003-06-28)
5035 - Added gnutls_x509_privkey_get_key_id() and gnutls_x509_crt_get_key_id()
5036   functions which return a unique (per public key) ID. These can
5037   be used to check if the private key corresponds to a given certificate.
5038 - Corrections in the TLS layer openpgp certificate packet parser.
5039 - Corrected a bug in the record layer buffering, which affected
5040   the case where external pull function was used. Report and patch
5041   by Sergey Poznyakoff <gray@Mirddin.farlep.net>.
5042 - Corrected a bug in gnutls-srpcrypt where a non allocated variable
5043   was freed.
5044 - SRP programs are now built by default.
5045 - Added API to read and write to PKCS #12 structures. Prototypes
5046   in gnutls/pkcs12.h.
5047 - The gnutls_transport_ptr type was changed to a pointer type (void*).
5049 * Version 0.9.5 (2003-04-06)
5050 - Several improvements in the PKCS #7 handling
5051 - Eliminated several hard coded constants in MPI parameters.
5053 * Version 0.9.4 (2003-03-28)
5054 - Corrected a parsing error in the Certificate request message.
5055 - Corrected behaviour when a certificate request message is received.
5056   Now a certificate packet is always sent, and in SSL 3.0 cipher suites
5057   a no_certificate alert is sent instead.
5058 - Added functionality to generate PKCS #7 structures (with certificates).
5060 * Version 0.9.3 (2003-03-24)
5061 - Support for MD2 was dropped. 
5062 - Improved the error logging functions, by adding a level, and
5063   by allowing debugging messages just by increasing the level.
5064 - The diffie Hellman ciphersuites are now of higher priority than
5065   the plain RSA.
5066 - The RSA premaster secret version check can no longer be disabled.
5067 - Implemented the counter measure discussed in the paper "Attacking
5068   RSA-based Sessions in SSL/TLS", against the attack described in the
5069   same paper.
5070 - Added the functions: gnutls_handshake_get_last_in(), 
5071   gnutls_handshake_get_last_out().
5072 - The gnutls_certificate_set_rsa_params() was renamed to 
5073   gnutls_certificate_set_rsa_export_params().
5074 - Added the new functions: gnutls_certificate_set_x509_key()
5075   gnutls_certificate_set_x509_trust(), gnutls_certificate_set_x509_crl(),
5076   gnutls_x509_crt_export(), gnutls_x509_crl_export().
5077 - Added support for encoding and decoding PKCS #8 2.0 encrypted 
5078   RSA private keys.
5080 * Version 0.9.2 (2003-03-15)
5081 - Some corrections in the memory mapping code (file is unmapped after 
5082   it is read).
5083 - Added support for PKCS#10 certificate requests generation.
5085 * Version 0.9.1 (2003-03-12)
5086 - Corrected a bug in 64 bit architectures, which affected the
5087   serial number calculation in the record layer.
5088 - Added gnutls_certificate_free_keys() which deletes all the
5089   private keys and certificates from the credentials structure.
5090 - Corrected a broken buffer check in _gnutls_io_read_buffered(),
5091   which caused some unexpected packet length errors. Report and patch
5092   by Ian Peters <itp@ximian.com>.
5093 - Added ability to generate RSA keys.
5094 - Increased the maximum parameter size in order to read some large keys
5095   by some CAs. Patch by Ian Peters <itp@ximian.com>.
5096 - Added an strnstr() function and the requirement in some functions to
5097   use null terminated PEM structures is no more.
5098 - Use mmap() if available to read files.
5099 - Fixed a memory leak in SRP code reported by Rupert Kittinger 
5100   <r.kittinger@efkon.com>.
5102 * Version 0.9.0 (2003-03-03)
5103 - This version is not binary compatible with the previous ones.
5104 - The library notifies the application on empty and illegal SRP usernames, 
5105   so that proper notification (via an alert) is sent to the peer.
5106 - Added ability to send some messages back to the application using
5107   the gnutls_global_set_log_function().
5108 - gnutls_dh_params_generate() and gnutls_rsa_params_generate() now use 
5109   gnutls_malloc() to allocate the output parameters.
5110 - Added support for MD2 algorithm in certificate signature verification.
5111 - The RSA and DH parameter generation interface was changed. Added
5112   ability to import and export from and to PKCS3 structures. This 
5113   was needed to read parameters generated using the openssl dhparam tool.
5114 - Several changes in the temporary (DH/RSA) parameter codebase. No DH 
5115   parameters are now included in the library. Also the credentials structure 
5116   can now hold only one temporary parameter of a kind.
5117 - Added a new Certificate, CRL, Private key and PKCS7 structures handling 
5118   API, defined in gnutls/x509.h
5119 - Added gnutls_certificate_set_verify_flags() function to allow setting the 
5120   verification flags in the credentials structure. They will be used in the
5121   *verify_peers functions.
5122 - Added protection against the new TLS 1.0 record layer timing attack.
5123 - Added support for Certificate revocation lists. Functions defined
5124   in gnutls/x509.h
5125 - The only functions that were removed are:
5126   gnutls_x509_certificate_to_xml()
5127   gnutls_x509_extract_dn_string()
5128 - Ported to libtasn1 0.2.x
5130 * Version 0.8.1 (2003-01-22)
5131 - Improved the SRP support, to prevent attackers guessing the
5132   available usernames by brute force.
5133 - Improved the SRP detection in gnutls-cli-debug
5134 - Some fixes which now allow compilation.
5136 * Version 0.8.0 (2003-01-20)
5137 - Added gnutls_x509_extract_dn_string() which returns a 
5138   distinguished name in a single string.
5139 - Added gnutls_openpgp_extract_key_name_string() which returns
5140   an openpgp user ID in a single string.
5141 - Added gnutls_x509_extract_certificate_ca_status() which returns
5142   the CA status of the given certificate.
5143 - Added SRP-6 support. Follows draft-ietf-tls-srp-04.
5144 - If libtasn1 is not present in the system, it is included in 
5145   the main gnutls library.
5146 - If liblzo is present in the system, then the included minilzo
5147   will not be used, and libgnutls-extra will depend on liblzo.
5148 - GNUTLS_E_PARSING_ERROR error code was replaced by GNUTLS_E_BASE64_DECODING_ERROR, 
5149   and GNUTLS_E_SRP_PWD_PARSING_ERROR. GNUTLS_E_ASCII_ARMOR_ERROR was also 
5150   replaced by GNUTLS_E_BASE64_DECODING_ERROR.
5152 * Version 0.6.0 (2002-12-08)
5153 - Added "gnutls/compat4.h" header. This is included in gnutls.h
5154   to emulate the old 0.4.x API.
5155 - Example programs are now stored in doc/examples/
5156 - Several improvements and updates in the documentation.
5157 - Added the certificate authenticated SRP cipher suites.
5158 - gnutls_x509_extract_certificate_dn_string() was updated to return
5159   an RFC2253 conforming string.
5160 - Added the SRP related functions:
5161    gnutls_srp_verifier()
5162    gnutls_srp_base64_encode()
5163    gnutls_srp_base64_decode()
5164 - Added the function gnutls_srp_set_server_credentials_function()
5165   to allow retrieving SRP parameters from an external backend - other
5166   than password files.
5167 - Added the function gnutls_openpgp_set_recv_key_function()
5168   which can be used to set a callback, to get OpenPGP keys.
5169 - Exported the functions:
5170    gnutls_malloc()
5171    gnutls_free()
5172   which should be used by callback functions.
5173 - Changed the semantics of gnutls_pem_base64_encode_alloc()
5174   and gnutls_pem_base64_decode_alloc(). In the default case
5175   were the gnutls library is used with malloc/realloc/free,
5176   these are binary compatible.
5178 * Version 0.5.11 (2002-11-05)
5179 - Some fixes in 'gnutls-cli' client program to prevent some segmentation 
5180   faults at exit.
5181 - Example programs found in the documentation can now be generated by
5182   running "make examples" in doc/tex directory.
5183 - Added more descriptive error strings, to gnutls_strerror().
5184 - Documented error codes, and the function reference list is now sorted.
5185 - Optimized buffering code.
5186 - gnutls_x509_extract_certificate_dn_string() was rewritten.
5187 - Added GNUTLS_E_SHORT_MEMORY_BUFFER error code, which is returned in the
5188   case where the memory buffer provided is not long enough.
5189 - Depends on the new OpenCDK 0.3.2.
5191 * Version 0.5.10 (2002-10-13)
5192 - Updated documentation.
5193 - Added server name extension. This allows clients to specify the
5194   name of the server they connect to. Useful to HTTPS.
5195 - Several corrections in the code base, mostly in signed/unsigned,
5196   checkings.
5198 * Version 0.5.9 (2002-10-10)
5199 - Corrected some code which worked fine in gcc 3.2, but not with any
5200   other compiler.
5201 - Updated 'gnutls-cli' with the '--starttls' option, to allow testing
5202   starttls implementations.
5203 - Added gnutls_x509_extract_key_pk_algorithm() function which extracts
5204   the private key type, of a DER encoded key.
5205 - Added gnutls_x509_extract_certificate_dn_string() which returns the 
5206   certificate's distinguished name in a single string.
5207 - Added gnutls_set_default_priority() and gnutls_set_default_export_priority()
5208   functions, to avoid calling all the *_priority() functions if the defaults
5209   are acceptable.
5210 - Added int gnutls_x509_check_certificates_hostname() which check whether
5211   the given hostname matches the owner of the given X.509 certificate.
5213 * Version 0.5.8 (2002-09-25)
5214 - Updated documentation.
5215 - Added gnutls_record_get_direction() which replaces the obsolete
5216   gnutls_handshake_get_direction().
5217 - Added function to convert error codes to alert descriptions
5218 - Added LZO compression
5220 * Version 0.5.7 (2002-09-11)
5221 - Some fixes in the memory allocation functions (realloc).
5222 - Improved the string functions used in XML certificate generation.
5223 - Removed dependency on libgdbm.
5224 - Corrected bug in gnutls_dh_params_set() which affected
5225   gnutls_dh_params_deinit().
5226 - Corrected bug in session resuming code in server side.
5228 * Version 0.5.6 (2002-09-06)
5229 - Corrected bugs in SRP implementation, which prevented gnutls 
5230   to interoperate with other implementations. (interoperability testing
5231   was done by David Taylor)
5232 - Corrected bug in cert_type extension.
5233 - Corrected extension type checks which used an 8 bit extension size,
5234   instead of 16 bits.
5235 - Added versioning in the XML output of certificate functions.
5236 - Removed the X.509 test suite.
5238 * Version 0.5.5 (2002-09-03)
5239 - Updated the SRP implementation to the latest draft. The blowfish
5240   crypt implementation was removed, since the new draft does not allow
5241   other hash algorithms except for the srpsha. 
5242 - Renamed all the constructed types in order to have more consistent
5243   names. 
5244 - Improved the certificate and key read functions. Now they can read 
5245   the certificate and the private key from the same file.
5246 - Updated and corrected documentation.
5248 * Version 0.5.4 (2002-08-27)
5249 - Fixes in TLS 1.0 PRF and SSL3 random functions.
5250 - gnutls_handshake_set_exportable_detection() was obsoleted.
5251 - Added gnutls_openpgp_extract_key_id() which returns the key ID.
5252 - Corrected bug in DHE key exchange
5253 - Added support for temporary RSA keys which are needed for the
5254   export cipher suites.
5255 - Added the TLS_RSA_EXPORT_ARCFOUR_40_MD5 ciphersuite.
5257 * Version 0.5.3 (2002-08-23)
5258 - No changes. Replaces the tarball of 0.5.2 which accidentally contained
5259   code from the unstable branch.
5261 * Version 0.5.2 (2002-08-22)
5262 - Added an error code that is returned in clients which connect
5263   to export only servers. This must be enabled using the
5264   gnutls_handshake_set_exportable_detection() function.
5265 - Updated openssl compatibility layer.
5266 - Added gnutls_handshake_get_direction() function which returns
5267   the state of the handshake when interrupted.
5269 * Version 0.5.1 (2002-07-17)
5270 - Corrected the m4 macros which used <gnutls.h> instead of
5271   <gnutls/gnutls.h>
5272 - Documentation fixes
5273 - Added gnutls_transport_set_ptr2() function, which accepts two
5274   different pointers, to be used while receiving, and 
5275   while sending data.
5276 - Semantic changes in gnutls_record_set_max_size(). The requested
5277   size is now immediately enforced at the output buffers.
5278 - gnutls_global_init_extra() now fails if the library versions do
5279   not match.
5280 - Fixes in client and server example programs. Null encryption can
5281   be used in these programs, to assist in debuging.
5282 - Fixes in zlib compression code.
5284 * Version 0.5.0 (2002-07-06)
5285 - Added X.509 certificate tests in tests/ directory
5286 - Removed stubs for SRP and Anonymous authentication. They served
5287   no purpose since they are always included, unless it was requested
5288   not to do so.
5289 - Added gnutls_handshake_set_private_extensions() function. This
5290   function can be used to enable private (gnutls specific) cipher suites
5291   and compression algorithms.
5292 - Added check for C99 macro support by the compiler.
5293 - Added functions gnutls_b64_encode_fmt2() and gnutls_b64_decode_fmt2()
5294 - Added the new libtasn1 library.
5295 - Removed the gdbm backend. Applications are now responsible for the
5296   session resuming backend. The gnutls-serv application contains an
5297   simple example on how to use gdbm for resuming.
5298 - Headers for the gnutls library are now installed in $(includedir)/gnutls
5299 - Added an OpenSSL compatible interface (with some limitations).
5300 - Added functions to convert DER encoded certificates to XML format.
5302 * Version 0.4.4 (2002-06-24)
5303 - Corrected bug in PKCS-1 RSA encryption which prevented gnutls to encrypt
5304   using keys of some specific size.
5306 * Version 0.4.3 (2002-05-23)
5307 - The gnutls-extra library now compiles fine, if the opencdk library is
5308   not present.
5309 - Several bug fixes.
5310 - Added gnutls_global_set_mem_func() function, to set the memory allocation
5311   functions, if other than the defaults are to be used.
5312 - The default memory allocation functions are now the ones in libc.
5314 * Version 0.4.2 (2002-05-21)
5315 - Separated ASN.1 structures parser documentation and TLS library
5316   documentation.
5317 - Added gnutls_handshake_set_rsa_pms() function, which disables the
5318   version check in RSA premaster secret.
5319 - Added gnutls_session_is_resumed() function, which reports if a session
5320   is a resumed one.
5321 - Added gnutls_state_set_ptr() and gnutls_state_get_ptr() functions, to
5322   assist in callback functions.
5323 - Replaced the included 1024 bit prime for Diffie Hellman, with a new
5324   random one.
5325 - Relicensed the library under the GNU Lesser General Public License
5326 - Added gnutls-extra library which contains the GPL covered code of gnutls.
5328 * Version 0.4.1 (2002-04-07)
5329 - Now uses alloca() for temporary variables
5330 - Optimized RSA signing
5331 - Added functions to return the peer's certificate activation and
5332   expiration time.
5333 - Corrected time function's behaviour (the time value returned no longer
5334   relate to local timezone).
5336 * Version 0.4.0 (2002-04-01)
5337 - Added support for RFC2630 (PKCS7) X.509 certificate sets
5338 - Added new functions: gnutls_x509_extract_certificate_pk_algorithm(),
5339   gnutls_openpgp_extract_key_pk_algorithm().
5340 - Several optimizations in the Handshake protocol
5341 - Several optimizations in RSA algorithm
5342 - Unified the return values because of small buffers.
5344 * Version 0.3.92 (2002-03-23)
5345 - Updated documentation
5346 - Combined error codes of ASN.1 parser and gnutls
5347 - Removed GNUTLS_CERT_TRUSTED from the CertificateStatus enumeration
5348 - Added protection against CBC chosen plaintext attack (disabled by default)
5349 - Improved and optimized compression support
5351 * Version 0.3.91 (2002-03-03)
5352 - Added gnutls-cli-debug program
5353 - Corrections in session resumption
5354 - Rehandshake can now handle negotiation of different authentication
5355   type.
5356 - gnutls-cli, gnutls-serv, gnutls-srpcrypt and gnutls-cli-debug are 
5357   now being installed.
5359 * Version 0.3.90 (2002-02-24)
5360 - Handshake messages are not kept in memory any more. Now we use 
5361   less memory during a handshake
5362 - Added support for certificates with DSA parameters
5363 - Added DHE_DSS cipher suites
5364 - Key exchange methods changed so they do not depend on the 
5365   certificate type. Added certificate type negotiation TLS extension.
5366 - Added openpgp key support (EXPERIMENTAL)
5367 - Improved Diffie Hellman key exchange support.
5368 - Bug fixes in the RSA key exchange.
5369 - Added check for the requested TLS extensions
5370 - TLS extensions now use a 16 bit type field.
5371 - Added a minimal string library to assist in ASN.1 parsing
5372 - Changes in ASN.1 parser to work with the new bison
5373 - Added gnutls_x509_extract_subject_alt_name(), which deprecates 
5374   gnutls_x509_extract_subject_dns_name()
5375 - gnutls_x509_set_trust_(file/mem) can now be called multiple times
5376 - gnutls_srp_server_set_cred_file() can now be called multiple times
5378 * Version 0.3.5 (2002-01-25)
5379 - Corrected the RSA key exchange method, to avoid attacks against
5380   PKCS-1 formating.
5382 * Version 0.3.4 (2002-01-20)
5383 - Corrected bugs in DHE_RSA key exchange method
5385 * Version 0.3.3 (2002-01-19)
5386 - Added gnutls_x509pki_verify_certificate()
5387 - Added gnutls_x509pki_set_trust_mem() and gnutls_x509pki_set_key_mem()
5388 - Bug fixes in srpcrypt (based on patch by Marc Huber)
5389 - Bug fixes in the Handshake protocol (based on patch by Guillaume Morin)
5390 - Corrected library versioning
5392 * Version 0.3.2 (2002-01-05)
5393 - Corrected bug which did not allow a client to accept multiple CA names
5394 - Added gnutls_fingerprint()
5395 - Added gnutls_x509pki_extract_certificate_serial()
5396 - Added gnutls_b64_encode_fmt() and gnutls_b64_decode_fmt()
5397 - Corrected behaviour in version advertizing
5398 - Updated documentation
5399 - Prefixed all types in gnutls.h with 'GNUTLS_' to avoid namespace collisions
5401 * Version 0.3.1 (2001-12-21)
5402 - Corrections in the configuration files
5403 - Fixes a bug in anonymous authentication
5405 * Version 0.3.0 (2001-12-17)
5406 - Corrected bug in new integer formatting (now we use the old format again)
5407 - Several corrections and usual cleanups
5409 * Version 0.2.91 (2001-12-10)
5410 - Fixes in MPI handling (fixes possible bug with signed integers)
5411 - Removed name indication extension
5412 - Added gnutls_transport_get_ptr() and gnutls_db_get_ptr()
5413 - Optimizations in server certificate callback.
5414 - Fixes in anonymous authentication
5415 - Corrections in client ciphersuite selection
5417 * Version 0.2.90 (2001-12-07)
5418 - gnutls_handshake(), gnutls_read() etc. functions no longer require
5419   the 'SOCKET cd' argument. This argument is set using the function
5420   gnutls_set_transport_ptr().
5421 - introduced gnutls_x509pki_get_peer_certificate_list(). This function returns
5422   a list containing peer's certificate and issuers DER encoded.
5423 - Updated X.509 certificate handling API
5424 - Added callback to select the server certificate
5425 - More consistent function naming (changes in several function names)
5426 - Buffer overflow checking in ASN.1 structures parser
5427 - Updated documentation
5429 * Version 0.2.11 (2001-11-16)
5430 - Changed the meaning of GNUTLS_E_REHANDSHAKE value. If this value
5431   is returned, then the caller should perform a handshake or send
5432   an alert to the peer.
5433 - Made receive buffer dynamic. Normally if no large chunks are received
5434   it occupies less space.
5435 - Added max_record_size extension
5436 - Bugfixes in session handling
5437 - Improved non blocking IO support in the Handshake Protocol
5438 - Usual bugfixes and cleanups
5439 - Documentation updated (includes ASN.1 documentation)
5441 * Version 0.2.10 (2001-11-05)
5442 - Corrected bugs and improved non blocking IO
5443 - Added hooks to use external database to store sessions
5444 - Usual cleanups
5446 * Version 0.2.9 (2001-10-27)
5447 - AUTH_INFO types and structures were moved to library internals
5448 - AUTH_FAILED is no longer returned in SRP authentication
5449   (any fatal error in SRP means auth failed)
5450 - Introduced GNUTLS_E_INTERRUPTED
5451 - Added support for non blocking IO
5452 - gnutls_recv() and gnutls_send() are now obsolete
5453 - Changed semantics of gnutls_rehandshake()
5455 * Version 0.2.4 (2001-10-12)
5456 - Better handling of X.509 certificate extensions
5457 - Added DHE_RSA ciphersuites
5458 - Updated the Name Indication (dnsname) extension
5459 - Improvements in Diffie Hellman primes handling
5461 * Version 0.2.3 (2001-09-19)
5462 - Memory optimizations in gnutls_recv()
5463 - Fixed several memory leaks
5464 - Added ability to specify callback for x509 client certificate selection
5465 - Better documentation
5467 * Version 0.2.2 (2001-08-21)
5468 - Several bugfixes (library and documentation)
5470 * Version 0.2.1 (2001-08-07)
5471 - SRP fixes
5473 * Version 0.2.0 (2001-08-07)
5474 - Partial support for X.509v3 Certificate extensions.
5475 - Added Internal memory handlers
5476 - Removed gnutls_x509_set_cn()
5477 - Added X.509 client authentication
5478 - Several bug fixes and protocol fixes
5480 * Version 0.1.9 (2001-07-30)
5481 - Corrected bug(s) in ChangeCipherSpec packet (fixes renegotiate)
5482 - SRP is updated to conform to the newest draft.
5483 - Added support for DNSNAME extension.
5484 - Reentracy fixes in ASN.1 Parsing.
5485 - Optimizations in hash/hmac functions
5486 - (Error) message handling has changed
5487 - Better Protocol Version handling
5488 - Added X.509 Certificate Verification
5489 - gnutls_read() semantics are now closer to read(2) - added EOF
5490 - Documented some part of gnutls in doc/tex/ using Latex
5492 * Version 0.1.4 (2001-06-22)
5493 - Corrected (srp) base64 encoding.
5494 - Changed bcrypt algorithm to include username.
5495 - Added RSA Ciphersuites (no certificate checking).
5496 - Fixes in SSL 2.0 client hello parsing.
5497 - Added ASN.1 and DER parsers.
5498 - Bugfixes in session resuming
5499 - Updated Ciphersuite selection algorithm
5500 - Added internal representation of X.509 structures.
5501 - Added global state
5503 * Version 0.1.3 (2001-06-01)
5504 - Updated API (and the way it is documented - we use inline documentation)
5505 - Added function to access alert messages.
5506 - Added support for renegotiating parameters.
5507 - Better and Faster Resume Database handling.
5508 - Several bugfixes
5510 * Version 0.1.2 (2001-05-14)
5511 - Updated API
5512 - Fixes in extension handling
5514 * Version 0.1.1 (2001-05-13)
5515 - Added compatibility with Stanford's libsrp library
5517 * Version 0.1.0 (2001-05-09)
5518 - Added SSL 2.0 client hello support
5519 - GNUTLS is a gnu library
5520 - Added support for TLS extensions.
5521 - Added support for SRP
5523 * Version 0.0.7 (2001-01-11)
5524 - Added server side session resuming (using gdbm)
5525 - Added twofish algorithm
5527 * Version 0.0.6 (2000-12-20)
5528 - Added client side session resuming
5529 - Better documentation (check doc/API)
5530 - Better socket handling (gnutls can be used with select())
5531 - Some primitive support for non blocking IO and socket options has been added.
5533 * Version 0.0.5 (2000-12-07)
5534 - Added Compression (using ZLIB)
5535 - Added SSL 3.0 support
5537 ----------------------------------------------------------------------
5538 Copying and distribution of this file, with or without modification,
5539 are permitted in any medium without royalty provided the copyright
5540 notice and this notice are preserved.