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