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