Updated documentation and gnutls_pk_params_t mappings to ECRYPT II recommendations.
[gnutls.git] / NEWS
blobeeb77a5b7472f9cc65e77b0148976499ad2c5d3f
1 GnuTLS 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.11.1 (unreleased)
8 ** libgnutls: Updated documentation and gnutls_pk_params_t mappings
9 to ECRYPT II recommendations.
11 ** libgnutls: HMAC-MD5 no longer used by default.
13 ** API and ABI modifications:
14 No changes since last version.
17 * Version 2.11.0 (released 2010-07-22)
19 ** libgnutls: support scattered write using writev(). This takes
20 advantage of the new buffering layer and allows queuing of packets
21 and flushing them. This is currently used for handshake messages
22 only.
24 ** libgnutls: Added gnutls_global_set_mutex() to allow setting
25 alternative locking procedures. By default the system available
26 locking is used. In *NIX pthreads are used and in windows the
27 critical section API. This follows a different approach than the
28 previous versions that depended on libgcrypt initialization. The
29 locks are now set by default in systems that support it.
31 ** libgnutls: Added support for reading DN from EV-certificates.
32 New DN values:
33 jurisdictionOfIncorporationLocalityName,
34 jurisdictionOfIncorporationStateOrProvinceName,
35 jurisdictionOfIncorporationCountryName
37 ** libgnutls: Added support for DSA signing/verifying with bit 
38 length over 1024.
40 ** libgnutls-extra: When in FIPS mode gnutls_global_init_extra()
41 has to be called to register any required md5 handlers.
43 ** libgnutls: Internal buffering code was replaced by simpler
44 code contributed by Jonathan Bastien-Filiatrault.
46 ** libgnutls: Internal API for extensions augmented to allow
47 safe storing and loading of data on resumption. This allows writing
48 self-contained extensions (when possible). As a side effect
49 the OPRFI extension was removed.
51 ** libgnutls: Added support for DSA-SHA256 and DSA-SHA224
53 ** libgnutls: Added PKCS #11 support and an API to access objects in
54 gnutls/pkcs11.h. Currently certificates and public keys can be
55 imported from tokens, and operations can be performed on private keys.
57 ** libgnutls: Added abstract gnutls_privkey_t and gnutls_pubkey_t
59 ** libgnutls: Added initial support for the nettle library. It uses
60 the system's random generator for seeding. That is /dev/urandom in Linux, 
61 system calls in Win32 and EGD on other systems.
63 ** libgnutls: Corrected issue on the %SSL3_RECORD_VERSION priority string. It now
64     works even when resuming a session.
66 ** libgnutls: Added gnutls_certificate_set_retrieve_function() to replace the
67 similar gnutls_certificate_set_server_retrieve_function() and
68 gnutls_certificate_set_client_retrieve_function(). In addition it support
69 PKCS #11 private keys.
71 ** libgnutls: Added  gnutls_pkcs11_copy_x509_crt(), gnutls_pkcs11_copy_x509_privkey(),
72 and gnutls_pkcs11_delete_url() to allow copying and deleting data in tokens.
74 ** libgnutls: Added gnutls_sec_param_to_pk_bits() et al. to allow select bit
75 sizes for private keys using a human understandable scale.
77 ** certtool: Added new options: --pkcs11-list-tokens, --pkcs11-list-all
78 --pkcs11-list-all-certs, --pkcs11-list-trusted, --pkcs11-list-certs,
79 --pkcs11-delete-url, --pkcs11-write
81 certtool: The --pkcs-cipher is taken into account when generating a
82 private key. The default cipher used now is aes-128. The old behavior can
83 be simulated by specifying "--pkcs-cipher 3des-pkcs12".
85 certtool: Added --certificate-pubkey to print the public key of the
86 certificate.
88 ** gnutls-cli/gnutls-serv: --x509cafile, --x509certfile and --x509keyfile
89 can now accept a PKCS #11 URL in addition to a file. This will allow for
90 example to use the Gnome-keyring trusted certificate list to verify
91 connections using a url such as:
92 pkcs11:token=Root%20CA%20Certificates;serial=1%3AROOTS%3ADEFAULT;model=1%2E0;manufacturer=Gnome%20Keyring
94 ** API and ABI modifications:
95 gnutls_certificate_set_server_retrieve_function: DEPRECATED
96 gnutls_certificate_set_client_retrieve_function: DEPRECATED
97 gnutls_sign_callback_set: DEPRECATED
98 gnutls_global_set_mutex: ADDED
99 gnutls_pubkey_get_preferred_hash_algorithm: ADDED
100 gnutls_x509_crt_get_preferred_hash_algorithm: ADDED
101 gnutls_x509_privkey_export_rsa_raw2: ADDED
102 gnutls_rnd: ADDED
103 gnutls_sec_param_to_pk_bits: ADDED
104 gnutls_pk_bits_to_sec_param: ADDED
105 gnutls_sec_param_get_name: ADDED
106 gnutls_pkcs11_type_get_name: ADDED
107 gnutls_certificate_set_retrieve_function: ADDED
108 gnutls_pkcs11_init: ADDED
109 gnutls_pkcs11_deinit: ADDED
110 gnutls_pkcs11_set_pin_function: ADDED
111 gnutls_pkcs11_set_token_function: ADDED
112 gnutls_pkcs11_add_provider: ADDED
113 gnutls_pkcs11_obj_init: ADDED
114 gnutls_pkcs11_obj_import_url: ADDED
115 gnutls_pkcs11_obj_export_url: ADDED
116 gnutls_pkcs11_obj_deinit: ADDED
117 gnutls_pkcs11_obj_export: ADDED
118 gnutls_pkcs11_obj_list_import_url: ADDED
119 gnutls_pkcs11_obj_export: ADDED
120 gnutls_x509_crt_import_pkcs11: ADDED
121 gnutls_pkcs11_obj_get_type: ADDED
122 gnutls_x509_crt_list_import_pkcs11: ADDED
123 gnutls_x509_crt_import_pkcs11_url: ADDED
124 gnutls_pkcs11_obj_get_info: ADDED
125 gnutls_pkcs11_token_get_info: ADDED
126 gnutls_pkcs11_token_get_url: ADDED
127 gnutls_pkcs11_privkey_init: ADDED
128 gnutls_pkcs11_privkey_deinit: ADDED
129 gnutls_pkcs11_privkey_get_pk_algorithm: ADDED
130 gnutls_pkcs11_privkey_get_info: ADDED
131 gnutls_pkcs11_privkey_import_url: ADDED
132 gnutls_pkcs11_privkey_sign_data: ADDED
133 gnutls_pkcs11_privkey_sign_hash: ADDED
134 gnutls_pkcs11_privkey_decrypt_data: ADDED
135 gnutls_privkey_init: ADDED
136 gnutls_privkey_deinit: ADDED
137 gnutls_privkey_get_pk_algorithm: ADDED
138 gnutls_privkey_get_type: ADDED
139 gnutls_privkey_import_pkcs11: ADDED
140 gnutls_privkey_import_x509: ADDED
141 gnutls_privkey_import_openpgp: ADDED
142 gnutls_privkey_sign_data: ADDED
143 gnutls_privkey_sign_hash: ADDED
144 gnutls_privkey_decrypt_data: ADDED
145 gnutls_pkcs11_privkey_export_url: ADDED
146 gnutls_x509_crq_privkey_sign: ADDED
147 gnutls_x509_crl_privkey_sign: ADDED
148 gnutls_x509_crt_privkey_sign: ADDED
149 gnutls_pubkey_init: ADDED
150 gnutls_pubkey_deinit: ADDED
151 gnutls_pubkey_get_pk_algorithm: ADDED
152 gnutls_pubkey_import_x509: ADDED
153 gnutls_pubkey_import_openpgp: ADDED
154 gnutls_pubkey_get_pk_rsa_raw: ADDED
155 gnutls_pubkey_get_pk_dsa_raw: ADDED
156 gnutls_pubkey_export: ADDED
157 gnutls_pubkey_get_key_id: ADDED
158 gnutls_pubkey_get_key_usage: ADDED
159 gnutls_pubkey_verify_hash: ADDED
160 gnutls_pubkey_get_verify_algorithm: ADDED
161 gnutls_pkcs11_type_get_name: ADDED
162 gnutls_pubkey_import_pkcs11_url: ADDED
163 gnutls_pubkey_import: ADDED
164 gnutls_pubkey_import_pkcs11: ADDED
165 gnutls_pubkey_import_dsa_raw: ADDED
166 gnutls_pubkey_import_rsa_raw: ADDED
167 gnutls_x509_crt_set_pubkey: ADDED
168 gnutls_x509_crq_set_pubkey: ADDED
169 gnutls_pkcs11_copy_x509_crt: ADDED
170 gnutls_pkcs11_copy_x509_privkey: ADDED
171 gnutls_pkcs11_delete_url: ADDED
173 * Version 2.9.10 (released 2010-04-22)
175 ** libgnutls: Time verification extended to trusted certificate list.
176 Unless new constant GNUTLS_VERIFY_DISABLE_TRUSTED_TIME_CHECKS flag is
177 specified.
179 ** certtool: Display postalCode and Name X.509 DN attributes correctly.
180 Based on patch by Pavan Konjarla.  Adds new constant
181 GNUTLS_OID_X520_POSTALCODE and GNUTLS_OID_X520_NAME.
183 ** libgnutls: Added Steve Dispensa's patch for safe renegotiation (RFC 5746)
184 Solves the issue discussed in:
185 <http://www.ietf.org/mail-archive/web/tls/current/msg03928.html> and
186 <http://www.ietf.org/mail-archive/web/tls/current/msg03948.html>.
187 Note that to allow connecting to unpatched servers the full protection
188 is only enabled if the priority string %SAFE_RENEGOTIATION is
189 specified. You can check whether protection is in place by querying
190 gnutls_safe_renegotiation_status().  New error codes
191 GNUTLS_E_SAFE_RENEGOTIATION_FAILED and
192 GNUTLS_E_UNSAFE_RENEGOTIATION_DENIED added.
194 ** libgnutls: When checking openpgp self signature also check the signatures
195 ** of all subkeys.
196 Ilari Liusvaara noticed and reported the issue and provided test
197 vectors as well.
199 ** libgnutls: Added cryptodev support (/dev/crypto).
200 Tested with http://www.logix.cz/michal/devel/cryptodev/.  Added
201 benchmark utility for AES.  Adds new error codes
202 GNUTLS_E_CRYPTODEV_IOCTL_ERROR and GNUTLS_E_CRYPTODEV_DEVICE_ERROR.
204 ** libgnutls: Exported API to access encryption and hash algorithms.
205 The new API functions are gnutls_cipher_decrypt, gnutls_cipher_deinit,
206 gnutls_cipher_encrypt, gnutls_cipher_get_block_size,
207 gnutls_cipher_init, gnutls_hash, gnutls_hash_deinit, gnutls_hash_fast,
208 gnutls_hash_get_len, gnutls_hash_init, gnutls_hash_output,
209 gnutls_hmac, gnutls_hmac_deinit, gnutls_hmac_fast,
210 gnutls_hmac_get_len, gnutls_hmac_init, gnutls_hmac_output.  New API
211 constants are GNUTLS_MAC_SHA224 and GNUTLS_DIG_SHA224.
213 ** libgnutls: Added gnutls_certificate_set_verify_function() to allow
214 verification of certificate upon receipt rather than waiting until the
215 end of the handshake.
217 ** libgnutls: Don't send alerts during handshake.
218 Instead new error code GNUTLS_E_UNKNOWN_SRP_USERNAME is added.
220 ** certtool: Corrected two issues that affected certificate request generation.
221 (1) Null padding is added on integers (found thanks to Wilankar Trupti),
222 (2) In optional SignatureAlgorithm parameters field for DSA keys the DSA
223 parameters were added. Those were rejected by Verisign. Gnutls no longer adds 
224 those parameters there since other implementations don't do either and having 
225 them does not seem to offer anything (anyway you need the signer's certificate
226 to verify thus public key will be available). Found thanks to Boyan Kasarov.
227 This however has the side-effect that public key IDs shown by certtool are
228 now different than previous gnutls releases.
229 (3) the option --pgp-certificate-info will verify self signatures
231 ** certtool: Allow exporting of Certificate requests on DER format.
233 ** certtool: New option --no-crq-extensions to avoid extensions in CSRs.
235 ** gnutls-cli: Handle reading binary data from server.
236 Reported by and tiny patch from Vitaly Mayatskikh
237 <v.mayatskih@gmail.com> in
238 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/4096>.
240 ** minitasn1: Upgraded to libtasn1 version 2.6.
242 ** i18n: Updated Czech, Dutch, French, Polish, Swedish translation.
243 ** Added Italian and Simplified Chinese translation.
244 Thanks to Petr Pisar, Erwin Poeze, Nicolas Provost, Jakub Bogusz,
245 Daniel Nylander, Sergio Zanchetta, Tao Wei, and Aron Xu.
247 ** doc: The GTK-DOC manual is significantly improved.
249 ** API and ABI modifications:
250 %DISABLE_SAFE_RENEGOTIATION: Added to priority strings (do not use).
251 %INITIAL_SAFE_RENEGOTIATION: Added to priority strings.
252 %UNSAFE_RENEGOTIATION: Added to priority strings.
253 GNUTLS_DIG_SHA224: ADDED.
254 GNUTLS_E_CRYPTODEV_DEVICE_ERROR: ADDED.
255 GNUTLS_E_CRYPTODEV_IOCTL_ERROR: ADDED.
256 GNUTLS_E_SAFE_RENEGOTIATION_FAILED: ADDED.
257 GNUTLS_E_UNKNOWN_SRP_USERNAME: ADDED.
258 GNUTLS_E_UNSAFE_RENEGOTIATION_DENIED: ADDED.
259 GNUTLS_MAC_SHA224: ADDED.
260 GNUTLS_OID_X520_NAME: ADDED.
261 GNUTLS_OID_X520_POSTALCODE: ADDED.
262 GNUTLS_VERIFY_DISABLE_TRUSTED_TIME_CHECKS: ADDED.
263 GNUTLS_VERSION_MAX: ADDED.
264 gnutls_certificate_set_verify_function: ADDED.
265 gnutls_cipher_decrypt: ADDED.
266 gnutls_cipher_deinit: ADDED.
267 gnutls_cipher_encrypt: ADDED.
268 gnutls_cipher_get_block_size: ADDED.
269 gnutls_cipher_init: ADDED.
270 gnutls_hash: ADDED.
271 gnutls_hash_deinit: ADDED.
272 gnutls_hash_fast: ADDED.
273 gnutls_hash_get_len: ADDED.
274 gnutls_hash_init: ADDED.
275 gnutls_hash_output: ADDED.
276 gnutls_hmac: ADDED.
277 gnutls_hmac_deinit: ADDED.
278 gnutls_hmac_fast: ADDED.
279 gnutls_hmac_get_len: ADDED.
280 gnutls_hmac_init: ADDED.
281 gnutls_hmac_output: ADDED.
282 gnutls_safe_negotiation_set_initial: ADDED.
283 gnutls_safe_renegotiation_set: ADDED.
284 gnutls_safe_renegotiation_status: ADDED.
286 * Version 2.9.9 (released 2009-11-09)
288 ** libgnutls: Cleanups and several bug fixes.
289 Found by Steve Grubb and Tomas Mraz.
291 ** Link libgcrypt explicitly to certtool, gnutls-cli, gnutls-serv.
293 ** Fix --disable-valgrind-tests.
294 Reported by Ingmar Vanhassel in
295 <https://savannah.gnu.org/support/?107029>.
297 ** API and ABI modifications:
298 No changes since last version.
300 * Version 2.9.8 (released 2009-11-05)
302 ** libgnutls: Fix for memory leaks on interrupted handshake.
303 Reported by Tang Tong.
305 ** libgnutls: Addition of support for TLS 1.2 signature algorithms
306 ** extension and certificate verify field.
307 This requires changes for TLS 1.2 servers and clients that use
308 callbacks for certificate retrieval.  They are now required to check
309 with gnutls_sign_algorithm_get_requested() whether the certificate
310 they send complies with the peer's preferences in signature
311 algorithms.
313 ** libgnutls: In server side when resuming a session do not overwrite the 
314 ** initial session data with the resumed session data.
316 ** libgnutls: Added support for AES-128, AES-192 and AES-256 in PKCS #8
317 ** encryption.
318 This affects also PKCS #12 encoded files.  This adds the following new
319 enums: GNUTLS_CIPHER_AES_192_CBC, GNUTLS_PKCS_USE_PBES2_AES_128,
320 GNUTLS_PKCS_USE_PBES2_AES_192, GNUTLS_PKCS_USE_PBES2_AES_256.
322 ** libgnutls: Fix PKCS#12 encoding.
323 The error you would get was "The OID is not supported.".  Problem
324 introduced for the v2.8.x branch in 2.7.6.
326 ** certtool: Added the --pkcs-cipher option.
327 To explicitely specify the encryption algorithm to use.
329 ** tests: Added "pkcs12_encode" self-test to check PKCS#12 functions.
331 ** tests: Fix time bomb in chainverify self-test.
332 Reported by Andreas Metzler <ametzler@downhill.at.eu.org> in
333 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3925>.
335 ** tests: Fix expired cert in chainverify self-test.
337 ** i18n: Vietnamese translation updated.
338 Thanks to Clytie Siddall.
340 ** API and ABI modifications:
341 GNUTLS_CIPHER_AES_192_CBC: ADDED to gnutls/gnutls.h.
342 GNUTLS_PKCS_USE_PBES2_AES_128: ADDED to gnutls/x509.h.
343 GNUTLS_PKCS_USE_PBES2_AES_192: ADDED to gnutls/x509.h.
344 GNUTLS_PKCS_USE_PBES2_AES_256: ADDED to gnutls/x509.h.
345 GNUTLS_BAG_SECRET: ADDED to gnutls/pkcs12.h.
346 GNUTLS_DIG_UNKNOWN: ADDED to gnutls/gnutls.h.
347 gnutls_sign_algorithm_get_requested: ADDED.
349 * Version 2.9.7 (released 2009-10-06)
351 ** libgnutls: TLS 1.2 server mode fixes.
352 Now interoperates against Opera.  Contributed by Daiki Ueno.
354 ** libgnutlsxx: Fix link problems.
355 Tiny patch from Boyan Kasarov <bkasarov@gmail.com>.
357 ** guile: Compatibility with guile 2.x.
358 By Ludovic Courtes <ludovic.courtes@laas.fr>.
360 ** API and ABI modifications:
361 No changes since last version.
363 * Version 2.9.6 (released 2009-09-22)
365 ** libgnutls: Enable Camellia ciphers by default.
367 ** API and ABI modifications:
368 No changes since last version.
370 * Version 2.9.5 (released 2009-09-10)
372 ** libgnutls: Add new functions to extract X.509 Issuer Alternative Names.
373 The new functions are gnutls_x509_crt_get_issuer_alt_name2,
374 gnutls_x509_crt_get_issuer_alt_name, and
375 gnutls_x509_crt_get_issuer_alt_othername_oid.  Contributed by Brad
376 Hards <bradh@frogmouth.net>.
378 ** API and ABI modifications:
379 gnutls_x509_crt_get_issuer_alt_name2: ADDED.
380 gnutls_x509_crt_get_issuer_alt_name: ADDED.
381 gnutls_x509_crt_get_issuer_alt_othername_oid: ADDED.
383 * Version 2.9.4 (released 2009-09-03)
385 ** libgnutls: Client-side TLS 1.2 and SHA-256 ciphersuites now works.
386 The new supported ciphersuites are AES-128/256 in CBC mode with
387 ANON-DH/RSA/DHE-DSS/DHE-RSA.  Contributed by Daiki Ueno.  Further,
388 SHA-256 is now the preferred default MAC (however it is only used with
389 TLS 1.2).
391 ** libgnutls: Make OpenPGP hostname checking work again.
392 The patch to resolve the X.509 CN/SAN issue accidentally broken
393 OpenPGP hostname comparison.
395 ** libgnutls: When printing X.509 certificates, handle XMPP SANs better.
396 Reported by Howard Chu <hyc@symas.com> in
397 <https://savannah.gnu.org/support/?106975>.
399 ** Fix use of deprecated types internally.
400 Use of deprecated types in GnuTLS from now on will lead to a compile
401 error, to prevent this from happening again.
403 ** API and ABI modifications:
404 No changes since last version.
406 * Version 2.9.3 (released 2009-08-19)
408 ** libgnutls: Support for TLS tickets was contributed by Daiki Ueno.
409 The new APIs are gnutls_session_ticket_enable_client,
410 gnutls_session_ticket_enable_server, and
411 gnutls_session_ticket_key_generate.
413 ** gnutls-cli, gnutls-serv: New parameter --noticket to disable TLS tickets.
415 ** API and ABI modifications:
416 gnutls_session_ticket_key_generate: ADDED.
417 gnutls_session_ticket_enable_client: ADDED.
418 gnutls_session_ticket_enable_server: ADDED.
420 * Version 2.9.2 (released 2009-08-14)
422 ** libgnutls: Fix problem with NUL bytes in X.509 CN and SAN fields.
423 By using a NUL byte in CN/SAN fields, it was possible to fool GnuTLS
424 into 1) not printing the entire CN/SAN field value when printing a
425 certificate and 2) cause incorrect positive matches when matching a
426 hostname against a certificate.  Some CAs apparently have poor
427 checking of CN/SAN values and issue these (arguable invalid)
428 certificates.  Combined, this can be used by attackers to become a
429 MITM on server-authenticated TLS sessions.  The problem is mitigated
430 since attackers needs to get one certificate per site they want to
431 attack, and the attacker reveals his tracks by applying for a
432 certificate at the CA.  It does not apply to client authenticated TLS
433 sessions.  Research presented independently by Dan Kaminsky and Moxie
434 Marlinspike at BlackHat09.  Thanks to Tomas Hoger <thoger@redhat.com>
435 for providing one part of the patch.  [GNUTLS-SA-2009-4] [CVE-2009-2730].
437 ** libgnutls: Fix rare failure in gnutls_x509_crt_import.
438 The function may fail incorrectly when an earlier certificate was
439 imported to the same gnutls_x509_crt_t structure.
441 ** minitasn1: Internal copy updated to libtasn1 v2.3.
443 ** libgnutls: Fix return value of gnutls_certificate_client_get_request_status.
444 Before it always returned false.  Reported by Peter Hendrickson
445 <pdh@wiredyne.com> in
446 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3668>.
448 ** libgnutls: Fix off-by-one size computation error in unknown DN printing.
449 The error resulted in truncated strings when printing unknown OIDs in
450 X.509 certificate DNs.  Reported by Tim Kosse
451 <tim.kosse@filezilla-project.org> in
452 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3651>.
454 ** libgnutls: Fix PKCS#12 decryption from password.
455 The encryption key derived from the password was incorrect for (on
456 average) 1 in every 128 input for random inputs.  Reported by "Kukosa,
457 Tomas" <tomas.kukosa@siemens-enterprise.com> in
458 <http://permalink.gmane.org/gmane.network.gnutls.general/1663>.
460 ** libgnutls: Return correct bit lengths of some MPIs.
461 gnutls_dh_get_prime_bits, gnutls_rsa_export_get_modulus_bits, and
462 gnutls_dh_get_peers_public_bits.  Before the reported value was
463 overestimated.  Reported by Peter Hendrickson <pdh@wiredyne.com> in
464 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3607>.
466 ** libgnutls: Avoid internal error when invoked after GNUTLS_E_AGAIN.
467 Report and patch by Tim Kosse <tim.kosse@filezilla-project.org> in
468 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3671>
470 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3670>.
472 ** libgnutls: Relax checking of required libtasn1/libgcrypt versions.
473 Before we required that the runtime library used the same (or more
474 recent) libgcrypt/libtasn1 as it was compiled with.  Now we just check
475 that the runtime usage is above the minimum required.  Reported by
476 Marco d'Itri <md@linux.it> via Andreas Metzler
477 <ametzler@downhill.at.eu.org> in <http://bugs.debian.org/540449>.
479 ** tests: Added new self-test pkcs12_s2k_pem to detect MPI bit length error.
481 ** tests: Improved test vectors in self-test pkcs12_s2k.
483 ** tests: Added new self-test dn2 to detect off-by-one size error.
485 ** tests: Fix failure in "chainverify" because a certificate have expired.
487 ** API and ABI modifications:
488 No changes since last version.
490 * Version 2.9.1 (released 2009-06-08)
492 ** libgnutls: Fix crash in gnutls_global_init after earlier init/deinit cycle.
493 Forwarded by Martin von Gagern <Martin.vGagern@gmx.net> from
494 <http://bugs.gentoo.org/272388>.
496 ** tests: Added new self-tests init_roundtrip.c to detect previous problem.
498 ** Reduce stack usage for some CRQ functions.
500 ** Doc fixes for CRQ functions.
502 ** API and ABI modifications:
503 No changes since last version.
505 * Version 2.9.0 (released 2009-05-28)
507 ** Doc fixes.
509 ** API and ABI modifications:
510 No changes since last version.
512 * Version 2.8.6 (released 2010-03-15)
514 ** libgnutls: For CSRs, don't null pad integers for RSA/DSA value.
515 VeriSign rejected CSRs with this padding.  Reported by Wilankar Trupti
516 <trupti.wilankar@hp.com> and Boyan Kasarov <bkasarov@gmail.com>.
518 Note: As a side effect of this change, the "public key identifier"
519 value computed for a certificate using this version of GnuTLS will be
520 different from values computed using earlier versions of GnuTLS.
522 ** libgnutls: For CSRs on DSA keys, don't add DSA parameters to the
523 ** optional SignatureAlgorithm parameter field.
524 VeriSign rejected these CSRs.  They are stricly speaking not needed
525 since you need the signer's certificate to verify the certificate
526 signature anyway.  Reported by Wilankar Trupti
527 <trupti.wilankar@hp.com> and Boyan Kasarov <bkasarov@gmail.com>.
529 ** libgnutls: When checking openpgp self signature also check the signatures
530 ** of all subkeys.
531 Ilari Liusvaara noticed and reported the issue and provided test
532 vectors as well.
534 ** libgnutls: Cleanups and several bug fixes.
535 Found by Steve Grubb and Tomas Mraz.
537 ** Link libgcrypt explicitly to certtool, gnutls-cli, gnutls-serv.
539 ** Fix --disable-valgrind-tests.
540 Reported by Ingmar Vanhassel in
541 <https://savannah.gnu.org/support/?107029>.
543 ** examples: Use the new APIs for printing X.509 certificate information.
545 ** Fix build failures on Solaris.
546 Thanks to Dagobert Michelsen <dam@opencsw.org>.
548 ** i18n: Updated Czech, Dutch, French, Polish, Swedish and Vietnamese
549 ** translations.  Added Simplified Chinese translation.
551 ** API and ABI modifications:
552 No changes since last version.
554 * Version 2.8.5 (released 2009-11-02)
556 ** libgnutls: In server side when resuming a session do not overwrite the 
557 ** initial session data with the resumed session data.
559 ** libgnutls: Fix PKCS#12 encoding.
560 The error you would get was "The OID is not supported.".  Problem
561 introduced for the v2.8.x branch in 2.7.6.
563 ** guile: Compatibility with guile 2.x.
564 By Ludovic Courtes <ludovic.courtes@laas.fr>.
566 ** tests: Fix expired cert in chainverify self-test.
568 ** tests: Fix time bomb in chainverify self-test.
569 Reported by Andreas Metzler <ametzler@downhill.at.eu.org> in
570 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3925>.
572 ** API and ABI modifications:
573 No changes since last version.
575 * Version 2.8.4 (released 2009-09-18)
577 ** libgnutls: Enable Camellia ciphers by default.
579 ** libgnutls: Make OpenPGP hostname checking work again.
580 The patch to resolve the X.509 CN/SAN issue accidentally broken
581 OpenPGP hostname comparison.
583 ** libgnutls: When printing X.509 certificates, handle XMPP SANs better.
584 Reported by Howard Chu <hyc@symas.com> in
585 <https://savannah.gnu.org/support/?106975>.
587 ** API and ABI modifications:
588 No changes since last version.
590 * Version 2.8.3 (released 2009-08-13)
592 ** libgnutls: Fix patch for NUL in CN/SAN in last release.
593 Code intended to be removed would lead to an read-out-bound error in
594 some situations.  Reported by Tomas Hoger <thoger@redhat.com>.  A CVE
595 code have been allocated for the vulnerability: [CVE-2009-2730].
597 ** libgnutls: Fix rare failure in gnutls_x509_crt_import.
598 The function may fail incorrectly when an earlier certificate was
599 imported to the same gnutls_x509_crt_t structure.
601 ** libgnutls-extra, libgnutls-openssl: Fix MinGW cross-compiling build error.
603 ** tests: Made self-test mini-eagain take less time.
605 ** doc: Typo fixes.
607 ** API and ABI modifications:
608 No changes since last version.
610 * Version 2.8.2 (released 2009-08-10)
612 ** libgnutls: Fix problem with NUL bytes in X.509 CN and SAN fields.
613 By using a NUL byte in CN/SAN fields, it was possible to fool GnuTLS
614 into 1) not printing the entire CN/SAN field value when printing a
615 certificate and 2) cause incorrect positive matches when matching a
616 hostname against a certificate.  Some CAs apparently have poor
617 checking of CN/SAN values and issue these (arguable invalid)
618 certificates.  Combined, this can be used by attackers to become a
619 MITM on server-authenticated TLS sessions.  The problem is mitigated
620 since attackers needs to get one certificate per site they want to
621 attack, and the attacker reveals his tracks by applying for a
622 certificate at the CA.  It does not apply to client authenticated TLS
623 sessions.  Research presented independently by Dan Kaminsky and Moxie
624 Marlinspike at BlackHat09.  Thanks to Tomas Hoger <thoger@redhat.com>
625 for providing one part of the patch.  [GNUTLS-SA-2009-4].
627 ** libgnutls: Fix return value of gnutls_certificate_client_get_request_status.
628 Before it always returned false.  Reported by Peter Hendrickson
629 <pdh@wiredyne.com> in
630 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3668>.
632 ** libgnutls: Fix off-by-one size computation error in unknown DN printing.
633 The error resulted in truncated strings when printing unknown OIDs in
634 X.509 certificate DNs.  Reported by Tim Kosse
635 <tim.kosse@filezilla-project.org> in
636 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3651>.
638 ** libgnutls: Return correct bit lengths of some MPIs.
639 gnutls_dh_get_prime_bits, gnutls_rsa_export_get_modulus_bits, and
640 gnutls_dh_get_peers_public_bits.  Before the reported value was
641 overestimated.  Reported by Peter Hendrickson <pdh@wiredyne.com> in
642 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3607>.
644 ** libgnutls: Avoid internal error when invoked after GNUTLS_E_AGAIN.
645 Report and patch by Tim Kosse <tim.kosse@filezilla-project.org> in
646 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3671>
648 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3670>.
650 ** libgnutls: Relax checking of required libtasn1/libgcrypt versions.
651 Before we required that the runtime library used the same (or more
652 recent) libgcrypt/libtasn1 as it was compiled with.  Now we just check
653 that the runtime usage is above the minimum required.  Reported by
654 Marco d'Itri <md@linux.it> via Andreas Metzler
655 <ametzler@downhill.at.eu.org> in <http://bugs.debian.org/540449>.
657 ** minitasn1: Internal copy updated to libtasn1 v2.3.
659 ** tests: Fix failure in "chainverify" because a certificate have expired.
661 ** API and ABI modifications:
662 No changes since last version.
664 * Version 2.8.1 (released 2009-06-10)
666 ** libgnutls: Fix crash in gnutls_global_init after earlier init/deinit cycle.
667 Forwarded by Martin von Gagern <Martin.vGagern@gmx.net> from
668 <http://bugs.gentoo.org/272388>.
670 ** libgnutls: Fix PKCS#12 decryption from password.
671 The encryption key derived from the password was incorrect for (on
672 average) 1 in every 128 input for random inputs.  Reported by "Kukosa,
673 Tomas" <tomas.kukosa@siemens-enterprise.com> in
674 <http://permalink.gmane.org/gmane.network.gnutls.general/1663>.
676 ** API and ABI modifications:
677 No changes since last version.
679 * Version 2.8.0 (released 2009-05-27)
681 ** doc: Fix gnutls_dh_get_prime_bits.  Fix error codes and algorithm lists.
683 ** Major changes compared to the v2.4 branch:
685 *** lib: Linker version scripts reduces number of exported symbols.
687 *** lib: Limit exported symbols on systems without LD linker scripts.
689 *** libgnutls: Fix namespace issue with version symbols.
691 *** libgnutls: Add functions to verify a hash against a certificate.
692 gnutls_x509_crt_verify_hash: ADDED
693 gnutls_x509_crt_get_verify_algorithm: ADDED
695 *** gnutls-serv: Listen on all interfaces, including both IPv4 and IPv6.
697 *** i18n: The GnuTLS gettext domain is now 'libgnutls' instead of 'gnutls'.
699 *** certtool: Query for multiple dnsName subjectAltName in interactive mode.
701 *** gnutls-cli: No longer accepts V1 CAs by default during X.509 chain verify.
703 *** gnutls-serv: No longer disable MAC padding by default.
705 *** gnutls-cli: Certificate information output format changed.
707 *** libgnutls: New priority strings %VERIFY_ALLOW_SIGN_RSA_MD5
708 *** and %VERIFY_ALLOW_X509_V1_CA_CRT.
710 *** libgnutls: gnutls_x509_crt_print prints signature algorithm in oneline mode.
712 *** libgnutls: gnutls_openpgp_crt_print supports oneline mode.
714 *** libgnutls: gnutls_handshake when sending client hello during a
715 rehandshake, will not offer a version number larger than the current.
717 *** libgnutls: New interface to get key id for certificate requests.
718 gnutls_x509_crq_get_key_id: ADDED.
720 *** libgnutls: gnutls_x509_crq_print will now also print public key id.
722 *** certtool: --verify-chain now prints results of using library verification.
724 *** libgnutls: Libgcrypt initialization changed.
726 *** libgnutls: Small byte reads via gnutls_record_recv() optimized.
728 *** gnutls-cli: Return non-zero exit code on error conditions.
730 *** gnutls-cli: Corrected bug which caused a rehandshake request to be ignored.
732 *** certtool: allow setting arbitrary key purpose object identifiers.
734 *** libgnutls: Change detection of when to use a linker version script.
735 Use --enable-ld-version-script or --disable-ld-version-script to
736 override auto-detection logic.
738 *** Fix warnings and build GnuTLS with more warnings enabled.
740 *** New API to set X.509 credentials from PKCS#12 memory structure.
741 gnutls_certificate_set_x509_simple_pkcs12_mem: ADDED
743 *** Old libgnutls.m4 and libgnutls-config scripts removed.
744 Please use pkg-config instead.
746 *** libgnutls: Added functions to handle CRL extensions.
747 gnutls_x509_crl_get_authority_key_id: ADDED
748 gnutls_x509_crl_get_number: ADDED
749 gnutls_x509_crl_get_extension_oid: ADDED
750 gnutls_x509_crl_get_extension_info: ADDED
751 gnutls_x509_crl_get_extension_data: ADDED
752 gnutls_x509_crl_set_authority_key_id: ADDED
753 gnutls_x509_crl_set_number: ADDED
755 *** libgnutls: Added functions to handle X.509 extensions in Certificate
756 Requests.
757 gnutls_x509_crq_get_key_rsa_raw: ADDED
758 gnutls_x509_crq_get_attribute_info: ADDED
759 gnutls_x509_crq_get_attribute_data: ADDED
760 gnutls_x509_crq_get_extension_info: ADDED
761 gnutls_x509_crq_get_extension_data: ADDED
762 gnutls_x509_crq_get_key_usage: ADDED
763 gnutls_x509_crq_get_basic_constraints: ADDED
764 gnutls_x509_crq_get_subject_alt_name: ADDED
765 gnutls_x509_crq_get_subject_alt_othername_oid: ADDED
766 gnutls_x509_crq_get_extension_by_oid: ADDED
767 gnutls_x509_crq_set_subject_alt_name: ADDED
768 gnutls_x509_crq_set_basic_constraints: ADDED
769 gnutls_x509_crq_set_key_usage: ADDED
770 gnutls_x509_crq_get_key_purpose_oid: ADDED
771 gnutls_x509_crq_set_key_purpose_oid: ADDED
772 gnutls_x509_crq_print: ADDED
773 gnutls_x509_crt_set_crq_extensions: ADDED
775 *** certtool: Print and set CRL and CRQ extensions.
777 *** minitasn1: Internal copy updated to libtasn1 v2.1.
779 *** examples: Now released into the public domain.
781 *** The Texinfo and GTK-DOC manuals were improved.
783 *** Several self-tests were added and others improved.
785 *** API/ABI changes in GnuTLS 2.8 compared to GnuTLS 2.6.x
786 No offically supported interfaces have been modified or removed.  The
787 library should be completely backwards compatible on both the source
788 and binary level.
790 The shared library no longer exports some symbols that have never been
791 officially supported, i.e., not mentioned in any of the header files.
792 The symbols are:
794   _gnutls*
795   gnutls_asn1_tab
796   
797 Normally when symbols are removed, the shared library version has to
798 be incremented.  This leads to a significant cost for everyone using
799 the library.  Because none of the above symbols have ever been
800 intended for use by well-behaved applications, we decided that the it
801 would be better for those applications to pay the price rather than
802 incurring problems on the majority of applications.
804 If it turns out that applications have been using unofficial
805 interfaces, we will need to release a follow-on release on the v2.8
806 branch to exports additional interfaces.  However, initial testing
807 suggests that few if any applications have been using any of the
808 internal symbols.
810 Although not a new change compared to 2.6.x, we'd like to remind you
811 interfaces have been modified so that X.509 chain verification now
812 also checks activation/expiration times on certificates.  The affected
813 functions are:
815 gnutls_x509_crt_list_verify: CHANGED, checks activation/expiration times.
816 gnutls_certificate_verify_peers: Likewise.
817 gnutls_certificate_verify_peers2: Likewise.
818 GNUTLS_CERT_NOT_ACTIVATED: ADDED.
819 GNUTLS_CERT_EXPIRED: ADDED.
820 GNUTLS_VERIFY_DISABLE_TIME_CHECKS: ADDED.
822 This change in behaviour was made during the GnuTLS 2.6.x cycle, and
823 we gave our rationale for it in earlier release notes.
825 The following symbols have been added to the library:
827 gnutls_certificate_set_x509_simple_pkcs12_mem: ADDED
828 gnutls_x509_crl_get_authority_key_id: ADDED
829 gnutls_x509_crl_get_extension_data: ADDED
830 gnutls_x509_crl_get_extension_info: ADDED
831 gnutls_x509_crl_get_extension_oid: ADDED
832 gnutls_x509_crl_get_number: ADDED
833 gnutls_x509_crl_set_authority_key_id: ADDED
834 gnutls_x509_crl_set_number: ADDED
835 gnutls_x509_crq_get_attribute_data: ADDED
836 gnutls_x509_crq_get_attribute_info: ADDED
837 gnutls_x509_crq_get_basic_constraints: ADDED
838 gnutls_x509_crq_get_extension_by_oid: ADDED
839 gnutls_x509_crq_get_extension_data: ADDED
840 gnutls_x509_crq_get_extension_info: ADDED
841 gnutls_x509_crq_get_key_id: ADDED.
842 gnutls_x509_crq_get_key_purpose_oid: ADDED
843 gnutls_x509_crq_get_key_rsa_raw: ADDED
844 gnutls_x509_crq_get_key_usage: ADDED
845 gnutls_x509_crq_get_subject_alt_name: ADDED
846 gnutls_x509_crq_get_subject_alt_othername_oid: ADDED
847 gnutls_x509_crq_print: ADDED
848 gnutls_x509_crq_set_basic_constraints: ADDED
849 gnutls_x509_crq_set_key_purpose_oid: ADDED
850 gnutls_x509_crq_set_key_usage: ADDED
851 gnutls_x509_crq_set_subject_alt_name: ADDED
852 gnutls_x509_crt_get_verify_algorithm: ADDED
853 gnutls_x509_crt_set_crq_extensions: ADDED
854 gnutls_x509_crt_verify_hash: ADDED
856 The following interfaces have been added to the header files:
858 GNUTLS_VERSION: ADDED, replaces LIBGNUTLS_VERSION.
859 GNUTLS_VERSION_MAJOR: ADDED, replaces LIBGNUTLS_VERSION_MAJOR.
860 GNUTLS_VERSION_MINOR: ADDED, replaces LIBGNUTLS_VERSION_MINOR.
861 GNUTLS_VERSION_PATCH: ADDED, replaces LIBGNUTLS_VERSION_PATCH.
862 GNUTLS_VERSION_NUMBER: ADDED, replaces LIBGNUTLS_VERSION_NUMBER.
863 GNUTLS_EXTRA_VERSION: ADDED, replaces LIBGNUTLS_EXTRA_VERSION.
865 The following interfaces have been deprecated:
867 LIBGNUTLS_VERSION: DEPRECATED.
868 LIBGNUTLS_VERSION_MAJOR: DEPRECATED.
869 LIBGNUTLS_VERSION_MINOR: DEPRECATED.
870 LIBGNUTLS_VERSION_PATCH: DEPRECATED.
871 LIBGNUTLS_VERSION_NUMBER: DEPRECATED.
872 LIBGNUTLS_EXTRA_VERSION: DEPRECATED.
874 * Version 2.7.14 (released 2009-05-26)
876 ** libgnutls: Fix namespace issue with version symbol for libgnutls-extra.
877 The symbol LIBGNUTLS_EXTRA_VERSION were renamed to
878 GNUTLS_EXTRA_VERSION.  The old symbol will continue to work but is
879 deprecated.
881 ** Doc: Several typo fixes in documentation.
882 Reported by Peter Hendrickson <pdh@wiredyne.com>.
884 ** API and ABI modifications:
885 GNUTLS_VERSION: ADDED, replaces LIBGNUTLS_EXTRA_VERSION.
886 LIBGNUTLS_EXTRA_VERSION: DEPRECATED.
888 * Version 2.7.13 (released 2009-05-25)
890 ** libgnutls: Fix version of some exported symbols in the shared library.
891 Reported by Andreas Metzler <ametzler@downhill.at.eu.org> in
892 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3576>.
894 ** tests: Handle recently expired certificates in chainverify self-test.
895 Reported by Andreas Metzler <ametzler@downhill.at.eu.org> in
896 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3580>.
898 ** API and ABI modifications:
899 No changes since last version.
901 * Version 2.7.12 (released 2009-05-20)
903 ** gnutls-serv, gnutls-cli-debug: Make them work on Windows.
905 ** tests/crq_key_id: Don't read entropy from /dev/random in self-test.
906 Reported by Andreas Metzler <ametzler@downhill.at.eu.org> in
907 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3570>.
909 ** Fix build failures.
910 Missing sa_family_t and vsnprintf on IRIX.  Reported by "Tom
911 G. Christensen" <tgc@jupiterrise.com> in
912 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3571>.
914 ** minitasn1: Internal copy updated to libtasn1 v2.2.
915 GnuTLS should work fine with libtasn1 v1.x and that is still
916 supported.
918 ** API and ABI modifications:
919 No changes since last version.
921 * Version 2.7.11 (released 2009-05-18)
923 ** minitasn1: Fix build failure when using internal libtasn1.
924 Reported by "Tom G. Christensen" <tgc@jupiterrise.com> in
925 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3548>.
927 ** libgnutls: Fix build failure with --disable-cxx.
928 Reported by Andreas Metzler <ametzler@downhill.at.eu.org> in
929 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3557>.
931 ** gnutls-serv: Fix build failure for unportable NI_MAXHOST/NI_MAXSERV.
932 Reported by "Tom G. Christensen" <tgc@jupiterrise.com> in
933 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3560>
935 ** Building with many warning flags now requires --enable-gcc-warnings.
936 This avoids crying wolf for normal compiles.
938 ** API and ABI modifications:
939 No changes since last version.
941 * Version 2.7.10 (released 2009-05-13)
943 ** examples: Now released into the public domain.
944 This makes the license of the example code compatible with more
945 licenses, including the (L)GPL.
947 ** minitasn1: Internal copy updated to libtasn1 v2.1.
948 GnuTLS should work fine with libtasn1 v1.x and that is still
949 supported.
951 ** libgnutls: Fix crash in signature verification
952 The fix for the CVE-2009-1415 problem wasn't merged completely.
954 ** doc: Fixes for GTK-DOC output.
956 ** API and ABI modifications:
957 No changes since last version.
959 * Version 2.7.9 (released 2009-05-11)
961 ** doc: Fix strings in man page of gnutls_priority_init.
963 ** doc: Fix tables of error codes and supported algorithms.
965 ** Fix build failure when cross-compiled using MinGW.
967 ** Fix build failure when LZO is enabled.
968 Reported by Arfrever Frehtes Taifersar Arahesis
969 <arfrever.fta@gmail.com> in
970 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3522>.
972 ** Fix build failure on systems without AF_INET6, e.g., Solaris 2.6.
973 Reported by "Tom G. Christensen" <tgc@jupiterrise.com> in
974 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3524>.
976 ** Fix warnings in self-tests.
978 ** API and ABI modifications:
979 No changes since last version.
981 * Version 2.7.8 (released 2009-05-03)
983 ** libgnutls: Fix DSA key generation.
984 Merged from stable branch.  [GNUTLS-SA-2009-2] [CVE-2009-1416]
986 ** libgnutls: Check expiration/activation time on untrusted certificates.
987 Merged from stable branch.  Reported by Romain Francoise
988 <romain@orebokech.com>.  This changes the semantics of
989 gnutls_x509_crt_list_verify, which in turn is used by
990 gnutls_certificate_verify_peers and gnutls_certificate_verify_peers2.
991 We add two new gnutls_certificate_status_t codes for reporting the new
992 error condition, GNUTLS_CERT_NOT_ACTIVATED and GNUTLS_CERT_EXPIRED.
993 We also add a new gnutls_certificate_verify_flags flag,
994 GNUTLS_VERIFY_DISABLE_TIME_CHECKS, that can be used to disable the new
995 behaviour.  [GNUTLS-SA-2009-3] [CVE-2009-1417]
997 ** lib: Linker version scripts reduces number of exported symbols.
998 The linker version script now lists all exported ABIs explicitly, to
999 avoid accidentally exporting unintended functions.  Compared to
1000 before, most symbols beginning with _gnutls* are no longer exported.
1001 These functions have never been intended for use by applications, and
1002 there were no prototypes for these function in the public header
1003 files.  Thus we believe it is possible to do this without incrementing
1004 the library ABI version which normally has to be done when removing an
1005 interface.
1007 ** lib: Limit exported symbols on systems without LD linker scripts.
1008 Before all symbols were exported.  Now we limit the exported symbols
1009 to (for libgnutls and libgnutls-extra) gnutls* and (for libgnutls)
1010 _gnutls*.  This is a superset of the actual supported ABI, but still
1011 an improvement compared to before.  This is implemented using Libtool
1012 -export-symbols-regex.  It is more portable than linker version
1013 scripts.
1015 ** libgnutls: Incremented CURRENT/AGE libtool version to reflect new symbols.
1016 This should have been done in the last release.
1018 ** gnutls-serv: Listen on all interfaces, including both IPv4 and IPv6.
1019 Reported by Peter Hendrickson <pdh@wiredyne.com> in
1020 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3476>.
1022 ** doc: Improved sections for the info manual.
1023 We now follow the advice given by the texinfo manual on which
1024 directory categories to use.  In particular, libgnutls moved from the
1025 'GNU Libraries' section to the 'Software libraries' and the command
1026 line tools moved from 'Network Applications' to 'System
1027 Administration'.
1029 ** API and ABI modifications:
1030 gnutls_x509_crt_list_verify: CHANGED, checks activation/expiration times.
1031 gnutls_certificate_verify_peers: Likewise.
1032 gnutls_certificate_verify_peers2: Likewise.
1033 GNUTLS_CERT_NOT_ACTIVATED: ADDED.
1034 GNUTLS_CERT_EXPIRED: ADDED.
1035 GNUTLS_VERIFY_DISABLE_TIME_CHECKS: ADDED.
1037 * Version 2.7.7 (released 2009-04-20)
1039 ** libgnutls: Applied patch by Cedric Bail to add functions
1040 gnutls_x509_crt_verify_hash() and gnutls_x509_crt_get_verify_algorithm().
1042 ** gnutls.pc: Add -ltasn1 to 'pkg-config --libs --static gnutls' output.
1043 Reported by Andreas Metzler <ametzler@downhill.at.eu.org> in
1044 <http://article.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3467>.
1046 ** minitasn1: Internal copy updated to libtasn1 v1.8.
1047 GnuTLS is also internally ready to be used with libtasn1 v2.0.
1049 ** doc: Fix build failure of errcodes/printlist.
1050 Reported by Roman Bogorodskiy <novel@FreeBSD.org> in
1051 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3435>.
1053 ** i18n: The GnuTLS gettext domain is now 'libgnutls' instead of 'gnutls'.
1054 It is currently only used by the core library.  This will enable a new
1055 domain 'gnutls' for translations of the command line tools.
1057 ** Corrected possible memory corruption on signature verification failure. 
1058 Reported by Miroslav Kratochvil <exa.exa@gmail.com>
1060 ** API and ABI modifications:
1061 gnutls_x509_crt_verify_hash: ADDED
1062 gnutls_x509_crt_get_verify_algorithm: ADDED
1064 * Version 2.7.6 (released 2009-02-27)
1066 ** certtool: Query for multiple dnsName subjectAltName in interactive mode.
1067 This applies both to generating certificates and certificate requests.
1069 ** pkix.asn: Removed unneeded definitions to reduce memory usage.
1071 ** gnutls-cli: No longer accepts V1 CAs by default during X.509 chain verify.
1072 Use --priority NORMAL:%VERIFY_ALLOW_X509_V1_CA_CRT to permit V1 CAs to
1073 be used for chain verification.
1075 ** gnutls-serv: No longer disable MAC padding by default.
1076 Use --priority NORMAL:%COMPAT to disable MAC padding again.
1078 ** gnutls-cli: Certificate information output format changed.
1079 The tool now uses libgnutls' functions to print certificate
1080 information.  This avoids code duplication.
1082 ** libgnutls: New priority strings %VERIFY_ALLOW_SIGN_RSA_MD5
1083 ** and %VERIFY_ALLOW_X509_V1_CA_CRT.
1084 They can be used to override the default certificate chain validation
1085 behaviour.
1087 ** libgnutls: Added %SSL3_RECORD_VERSION priority string that allows to 
1088 specify the client hello message record version. Used to overcome buggy 
1089 TLS servers. Report by Martin von Gagern.
1091 ** libgnutls: gnutls_x509_crt_print prints signature algorithm in oneline mode.
1093 ** libgnutls: gnutls_openpgp_crt_print supports oneline mode.
1095 ** doc: Update gnutls-cli and gnutls-serv --help output descriptions.
1097 ** API and ABI modifications:
1098 No changes since last version.
1100 * Version 2.7.5 (released 2009-02-06)
1102 ** libgnutls: Accept chains where intermediary certs are trusted.
1103 Before GnuTLS needed to validate the entire chain back to a
1104 self-signed certificate.  GnuTLS will now stop looking when it has
1105 found an intermediary trusted certificate.  The new behaviour is
1106 useful when chains, for example, contains a top-level CA, an
1107 intermediary CA signed using RSA-MD5, and an end-entity certificate.
1108 To avoid chain validation errors due to the RSA-MD5 cert, you can
1109 explicitly add the intermediary RSA-MD5 cert to your trusted certs.
1110 The signature on trusted certificates are not checked, so the chain
1111 has a chance to validate correctly.  Reported by "Douglas E. Engert"
1112 <deengert@anl.gov> in
1113 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3351>.
1115 ** libgnutls: result_size in gnutls_hex_encode now holds
1116 the size of the result. Report by John Brooks <special@dereferenced.net>.
1118 ** libgnutls: gnutls_handshake when sending client hello during a
1119 rehandshake, will not offer a version number larger than the current.
1120 Reported by Tristan Hill <stan@saticed.me.uk>.
1122 ** libgnutls: Permit V1 Certificate Authorities properly.
1123 Before they were mistakenly rejected even though
1124 GNUTLS_VERIFY_ALLOW_ANY_X509_V1_CA_CRT and/or
1125 GNUTLS_VERIFY_ALLOW_X509_V1_CA_CRT were supplied.  Reported by
1126 "Douglas E. Engert" <deengert@anl.gov> in
1127 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3351>.
1129 ** API and ABI modifications:
1130 No changes since last version.
1132 * Version 2.7.4 (released 2009-01-07)
1134 ** libgnutls: deprecate X.509 validation chains using MD5 and MD2 signatures.
1135 This is a bugfix -- the previous attempt to do this from internal x509
1136 certificate verification procedures did not return the correct value
1137 for certificates using a weak hash.  Reported by Daniel Kahn Gillmor
1138 <dkg@fifthhorseman.net> in
1139 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3332>,
1140 debugged and patch by Tomas Mraz <tmraz@redhat.com> and Daniel Kahn
1141 Gillmor <dkg@fifthhorseman.net>.
1143 ** libgnutls: New interface to get key id for certificate requests.
1144 Patch from David Marín Carreño <davefx@gmail.com> in
1145 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3321>.
1147 ** libgnutls: gnutls_x509_crq_print will now also print public key id.
1149 ** certtool: --verify-chain now prints results of using library verification.
1150 Earlier, certtool --verify-chain used its own validation algorithm
1151 which wasn't guaranteed to give the same result as the libgnutls
1152 internal validation algorithm.  Now this command print a new final
1153 line with header 'Chain verification output:' that contains the result
1154 from using the internal verification algorithm on the same chain.
1156 ** tests: Add crq_key_id self-test of gnutls_x509_crq_get_key_id.
1158 ** API and ABI modifications:
1159 gnutls_x509_crq_get_key_id: ADDED.
1161 * Version 2.7.3 (released 2008-12-10)
1163 ** libgnutls: Fix chain verification for chains that ends with RSA-MD2 CAs.
1164 Reported by Michael Kiefer <Michael-Kiefer@web.de> in
1165 <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=507633> forwarded by
1166 Andreas Metzler <ametzler@downhill.at.eu.org> in
1167 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3309>.
1169 ** libgnutls: Libgcrypt initialization changed.
1170 If libgcrypt has not already been initialized, GnuTLS will now
1171 initialize libgcrypt with disabled secure memory.  Initialize
1172 libgcrypt explicitly in your application if you want to enable secure
1173 memory.  Before GnuTLS initialized libgcrypt to use GnuTLS's memory
1174 allocation functions, which doesn't use secure memory, so there is no
1175 real change in behaviour.
1177 ** libgnutls: Fix memory leak in PSK authentication.
1178 Reported by Michael Weiser <michael@weiser.dinsnail.net> in
1179 <http://permalink.gmane.org/gmane.network.gnutls.general/1465>.
1181 ** libgnutls: Small byte reads via gnutls_record_recv() optimized.
1183 ** certtool: Move gcry_control(GCRYCTL_ENABLE_QUICK_RANDOM, 0) call earlier.
1184 It needs to be invoked before libgcrypt is initialized.
1186 ** gnutls-cli: Return non-zero exit code on error conditions.
1188 ** gnutls-cli: Corrected bug which caused a rehandshake request to be ignored.
1190 ** tests: Added chainverify self-test that tests X.509 chain verifications.
1192 ** API and ABI modifications:
1193 No changes since last version.
1195 * Version 2.7.2 (released 2008-11-18)
1197 ** libgnutls: Fix X.509 certificate chain validation error. [GNUTLS-SA-2008-3]
1198 The flaw makes it possible for man in the middle attackers (i.e.,
1199 active attackers) to assume any name and trick GnuTLS clients into
1200 trusting that name.  Thanks for report and analysis from Martin von
1201 Gagern <Martin.vGagern@gmx.net>.  [CVE-2008-4989]
1203 Any updates with more details about this vulnerability will be added
1204 to <http://www.gnu.org/software/gnutls/security.html>
1206 ** libgnutls: Fix namespace issue with version symbols.
1207 The symbols LIBGNUTLS_VERSION, LIBGNUTLS_VERSION_MAJOR,
1208 LIBGNUTLS_VERSION_MINOR, LIBGNUTLS_VERSION_PATCH, and
1209 LIBGNUTLS_VERSION_NUMBER were renamed to GNUTLS_VERSION_NUMBER,
1210 GNUTLS_VERSION_MAJOR, GNUTLS_VERSION_MINOR, GNUTLS_VERSION_PATCH, and
1211 GNUTLS_VERSION_NUMBER respectively.  The old symbols will continue to
1212 work but are deprecated.
1214 ** certtool: allow setting arbitrary key purpose object identifiers.
1216 ** libgnutls: Fix detection of C99 macros, to make debug logging work again.
1218 ** libgnutls: Add missing prototype for gnutls_srp_set_prime_bits.
1219 Reported by Kevin Quick <quick@sparq.org> in
1220 <https://savannah.gnu.org/support/index.php?106454>.
1222 ** libgnutls-extra: Make building with LZO compression work again.
1223 Build failure reported by Arfrever Frehtes Taifersar Arahesis
1224 <arfrever.fta@gmail.com> in
1225 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3194>.
1227 ** libgnutls: Change detection of when to use a linker version script.
1228 Use --enable-ld-version-script or --disable-ld-version-script to
1229 override auto-detection logic.
1231 ** doc: Change license on the manual to GFDLv1.3+.
1233 ** doc: GTK-DOC fixes for new splitted configuration system.
1235 ** doc: Texinfo stylesheet uses white background.
1237 ** tests: Add cve-2008-4989.c self-test.
1238 Tests regressions of the GNUTLS-SA-2008-3 security problem, and the
1239 follow-on problem with crashes on length 1 certificate chains.
1241 ** gnulib: Deprecated modules removed.
1242 Modules include memchr and memcmp.
1244 ** Fix warnings and build GnuTLS with more warnings enabled.
1246 ** minitasn1: Internal copy updated to libtasn1 v1.7.
1248 ** API and ABI modifications:
1249 gnutls_certificate_set_x509_simple_pkcs12_mem: ADDED
1250 GNUTLS_VERSION: ADDED, replaces LIBGNUTLS_VERSION.
1251 GNUTLS_VERSION_MAJOR: ADDED, replaces LIBGNUTLS_VERSION_MAJOR.
1252 GNUTLS_VERSION_MINOR: ADDED, replaces LIBGNUTLS_VERSION_MINOR.
1253 GNUTLS_VERSION_PATCH: ADDED, replaces LIBGNUTLS_VERSION_PATCH.
1254 GNUTLS_VERSION_NUMBER: ADDED, replaces LIBGNUTLS_VERSION_NUMBER.
1255 LIBGNUTLS_VERSION: DEPRECATED.
1256 LIBGNUTLS_VERSION_MAJOR: DEPRECATED.
1257 LIBGNUTLS_VERSION_MINOR: DEPRECATED.
1258 LIBGNUTLS_VERSION_PATCH: DEPRECATED.
1259 LIBGNUTLS_VERSION_NUMBER: DEPRECATED.
1261 * Version 2.7.1 (released 2008-10-31)
1263 ** certtool: print a PKCS #8 key even if it is not encrypted.
1265 ** Old libgnutls.m4 and libgnutls-config scripts removed.
1266 Please use pkg-config instead.
1268 ** Configuration system modified.
1269 There is now a configure script in lib/ and libextra/ as well, because
1270 gnulib works better with a config.h per gnulib directory.
1272 ** API and ABI modifications:
1273 No changes since last version.
1275 * Version 2.7.0 (released 2008-10-16)
1277 ** libgnutls: Added functions to handle CRL extensions.
1279 ** libgnutls: Added functions to handle X.509 extensions in Certificate
1280 Requests.
1282 ** libgnutls: Improved error string for GNUTLS_E_AGAIN.
1283 Suggested by "Lavrentiev, Anton (NIH/NLM/NCBI) [C]" <lavr@ncbi.nlm.nih.gov>.
1285 ** certtool: Print and set CRL and CRQ extensions.
1287 ** libgnutls-extra: Protect internal symbols with static.
1288 Fixes problem when linking certtool statically.  Tiny patch from Aaron
1289 Ucko <ucko@ncbi.nlm.nih.gov>.
1291 ** libgnutls-openssl: fix out of bounds access.
1292 Problem in X509_get_subject_name and X509_get_issuer_name.  Tiny patch
1293 from Thomas Viehmann <tv@beamnet.de>.
1295 ** libgnutlsxx: Define server_session::get_srp_username even if no SRP.
1297 ** tests: Make tests compile when using internal libtasn1.
1298 Patch by ludo@gnu.org (Ludovic Courtès).
1300 ** Changed detection of libtasn1 and libgcrypt to avoid depending on *-config.
1301 We now require a libgcrypt that has Camellia constants declared in
1302 gcrypt.h, which means v1.3.0 or later.
1304 ** API and ABI modifications:
1305 gnutls_x509_crl_get_authority_key_id: ADDED
1306 gnutls_x509_crl_get_number: ADDED
1307 gnutls_x509_crl_get_extension_oid: ADDED
1308 gnutls_x509_crl_get_extension_info: ADDED
1309 gnutls_x509_crl_get_extension_data: ADDED
1310 gnutls_x509_crl_set_authority_key_id: ADDED
1311 gnutls_x509_crl_set_number: ADDED
1312 gnutls_x509_crq_get_key_rsa_raw: ADDED
1313 gnutls_x509_crq_get_attribute_info: ADDED
1314 gnutls_x509_crq_get_attribute_data: ADDED
1315 gnutls_x509_crq_get_extension_info: ADDED
1316 gnutls_x509_crq_get_extension_data: ADDED
1317 gnutls_x509_crq_get_key_usage: ADDED
1318 gnutls_x509_crq_get_basic_constraints: ADDED
1319 gnutls_x509_crq_get_subject_alt_name: ADDED
1320 gnutls_x509_crq_get_subject_alt_othername_oid: ADDED
1321 gnutls_x509_crq_get_extension_by_oid: ADDED
1322 gnutls_x509_crq_set_subject_alt_name: ADDED
1323 gnutls_x509_crq_set_basic_constraints: ADDED
1324 gnutls_x509_crq_set_key_usage: ADDED
1325 gnutls_x509_crq_get_key_purpose_oid: ADDED
1326 gnutls_x509_crq_set_key_purpose_oid: ADDED
1327 gnutls_x509_crq_print: ADDED
1328 gnutls_x509_crt_set_crq_extensions: ADDED
1330 * Version 2.6.6 (released 2009-04-30)
1332 ** libgnutls: Corrected double free on signature verification failure.
1333 Reported by Miroslav Kratochvil <exa.exa@gmail.com>.  See the advisory
1334 for more details.  [GNUTLS-SA-2009-1] [CVE-2009-1415]
1336 ** libgnutls: Fix DSA key generation.
1337 Noticed when investigating the previous GNUTLS-SA-2009-1 problem.  All
1338 DSA keys generated using GnuTLS 2.6.x are corrupt.  See the advisory
1339 for more details.  [GNUTLS-SA-2009-2] [CVE-2009-1416]
1341 ** libgnutls: Check expiration/activation time on untrusted certificates.
1342 Reported by Romain Francoise <romain@orebokech.com>.  Before the
1343 library did not check activation/expiration times on certificates, and
1344 was documented as not doing so.  We have realized that many
1345 applications that use libgnutls, including gnutls-cli, fail to perform
1346 proper checks.  Implementing similar logic in all applications leads
1347 to code duplication.  Hence, we decided to check whether the current
1348 time (as reported by the time function) is within the
1349 activation/expiration period of certificates when verifying untrusted
1350 certificates.
1352 This changes the semantics of gnutls_x509_crt_list_verify, which in
1353 turn is used by gnutls_certificate_verify_peers and
1354 gnutls_certificate_verify_peers2.  We add two new
1355 gnutls_certificate_status_t codes for reporting the new error
1356 condition, GNUTLS_CERT_NOT_ACTIVATED and GNUTLS_CERT_EXPIRED.  We also
1357 add a new gnutls_certificate_verify_flags flag,
1358 GNUTLS_VERIFY_DISABLE_TIME_CHECKS, that can be used to disable the new
1359 behaviour.
1361 More details about the vulnerabilities will be posted at
1362 <http://www.gnu.org/software/gnutls/security.html>.
1364 ** gnutls-cli, gnutls-cli-debug: Fix AIX build problem.
1365 Reported by LAUPRETRE François (P) <francois.laupretre@ratp.fr> in
1366 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3468>.
1368 ** tests: Fix linking of tests/openpgp/keyring self-test.
1369 Reported by Daniel Black in <https://savannah.gnu.org/support/?106543>.
1371 ** API and ABI modifications:
1372 gnutls_x509_crt_list_verify: CHANGED, checks activation/expiration times.
1373 gnutls_certificate_verify_peers: Likewise.
1374 gnutls_certificate_verify_peers2: Likewise.
1375 GNUTLS_CERT_NOT_ACTIVATED: ADDED.
1376 GNUTLS_CERT_EXPIRED: ADDED.
1377 GNUTLS_VERIFY_DISABLE_TIME_CHECKS: ADDED.
1379 * Version 2.6.5 (released 2009-04-11)
1381 ** libgnutls: Added %SSL3_RECORD_VERSION priority string that allows to
1382 specify the client hello message record version. Used to overcome buggy
1383 TLS servers. Report by Martin von Gagern.
1385 ** GnuTLS no longer uses the libtasn1-config script to find libtasn1.
1386 Libtasn1 0.3.4 or later is required.  This is to align with the
1387 upcoming libtasn1 v2.0 release that doesn't have a libtasn1-script.
1389 ** API and ABI modifications:
1390 No changes since last version.
1392 * Version 2.6.4 (released 2009-02-06)
1394 ** libgnutls: Accept chains where intermediary certs are trusted.
1395 Before GnuTLS needed to validate the entire chain back to a
1396 self-signed certificate.  GnuTLS will now stop looking when it has
1397 found an intermediary trusted certificate.  The new behaviour is
1398 useful when chains, for example, contains a top-level CA, an
1399 intermediary CA signed using RSA-MD5, and an end-entity certificate.
1400 To avoid chain validation errors due to the RSA-MD5 cert, you can
1401 explicitly add the intermediary RSA-MD5 cert to your trusted certs.
1402 The signature on trusted certificates are not checked, so the chain
1403 has a chance to validate correctly.  Reported by "Douglas E. Engert"
1404 <deengert@anl.gov> in
1405 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3351>.
1407 ** libgnutls: result_size in gnutls_hex_encode now holds
1408 the size of the result. Report by John Brooks <special@dereferenced.net>.
1410 ** libgnutls: gnutls_handshake when sending client hello during a
1411 rehandshake, will not offer a version number larger than the current.
1412 Reported by Tristan Hill <stan@saticed.me.uk>.
1414 ** libgnutls: Permit V1 Certificate Authorities properly.
1415 Before they were mistakenly rejected even though
1416 GNUTLS_VERIFY_ALLOW_ANY_X509_V1_CA_CRT and/or
1417 GNUTLS_VERIFY_ALLOW_X509_V1_CA_CRT were supplied.  Reported by
1418 "Douglas E. Engert" <deengert@anl.gov> in
1419 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3351>.
1421 ** libgnutls: deprecate X.509 validation chains using MD5 and MD2 signatures.
1422 This is a bugfix -- the previous attempt to do this from internal x509
1423 certificate verification procedures did not return the correct value
1424 for certificates using a weak hash.  Reported by Daniel Kahn Gillmor
1425 <dkg@fifthhorseman.net> in
1426 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3332>,
1427 debugged and patch by Tomas Mraz <tmraz@redhat.com> and Daniel Kahn
1428 Gillmor <dkg@fifthhorseman.net>.
1430 ** libgnutls: Fix compile error with Sun CC.
1431 Reported by Jeff Cai <jeff.cai@sun.com> in
1432 <https://savannah.gnu.org/support/?106549>.
1434 ** API and ABI modifications:
1435 No changes since last version.
1437 * Version 2.6.3 (released 2008-12-12)
1439 ** libgnutls: Fix chain verification for chains that ends with RSA-MD2 CAs.
1440 Reported by Michael Kiefer <Michael-Kiefer@web.de> in
1441 <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=507633> forwarded by
1442 Andreas Metzler <ametzler@downhill.at.eu.org> in
1443 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3309>.
1445 ** libgnutls: Fix memory leak in PSK authentication.
1446 Reported by Michael Weiser <michael@weiser.dinsnail.net> in
1447 <http://permalink.gmane.org/gmane.network.gnutls.general/1465>.
1449 ** certtool: Move gcry_control(GCRYCTL_ENABLE_QUICK_RANDOM, 0) call earlier.
1450 It needs to be invoked before libgcrypt is initialized.
1452 ** gnutls-cli: Return non-zero exit code on error conditions.
1454 ** gnutls-cli: Corrected bug which caused a rehandshake request to be ignored.
1456 ** API and ABI modifications:
1457 No changes since last version.
1459 * Version 2.6.2 (released 2008-11-12)
1461 ** libgnutls: Fix crash in X.509 validation code for self-signed certificates.
1462 The patch to fix the security problem GNUTLS-SA-2008-3 introduced a
1463 problem for certificate chains that contained just one self-signed
1464 certificate.  Reported by Michael Meskes <meskes@debian.org> in
1465 <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=505279>.
1467 ** API and ABI modifications:
1468 No changes since last version.
1470 * Version 2.6.1 (released 2008-11-10)
1472 ** libgnutls: Fix X.509 certificate chain validation error. [GNUTLS-SA-2008-3]
1473 The flaw makes it possible for man in the middle attackers (i.e.,
1474 active attackers) to assume any name and trick GnuTLS clients into
1475 trusting that name.  Thanks for report and analysis from Martin von
1476 Gagern <Martin.vGagern@gmx.net>.  [CVE-2008-4989]
1478 Any updates with more details about this vulnerability will be added
1479 to <http://www.gnu.org/software/gnutls/security.html>
1481 ** libgnutls: Add missing prototype for gnutls_srp_set_prime_bits.
1482 Reported by Kevin Quick <quick@sparq.org> in
1483 <https://savannah.gnu.org/support/index.php?106454>.
1485 ** libgnutls-extra: Protect internal symbols with static.
1486 Fixes problem when linking certtool statically.  Tiny patch from Aaron
1487 Ucko <ucko@ncbi.nlm.nih.gov>.
1489 ** libgnutls-openssl: Fix patch against X509_get_issuer_name.
1490 It incorrectly returned the subject DN instead of issuer DN in v2.6.0.
1491 Thanks to Thomas Viehmann <tv@beamnet.de> for report.
1493 ** certtool: Print a PKCS #8 key even if it is not encrypted.
1495 ** tests: Make tests compile when using internal libtasn1.
1496 Patch by ludo@gnu.org (Ludovic Courtès).
1498 ** API and ABI modifications:
1499 No changes since last version.
1501 * Version 2.6.0 (released 2008-10-06)
1503 ** libgnutls: Correct printing and parsing of IPv6 addresses.
1505 ** libgnutls-openssl: fix out of bounds access.
1506 Problem in X509_get_subject_name and X509_get_issuer_name.  Tiny patch
1507 from Thomas Viehmann <tv@beamnet.de>.
1509 ** certtool: Use inet_pton for parsing IPv6 addresses.
1511 ** Major changes compared to the v2.4 branch:
1513 *** Added API to replace and update the crypto backend.
1515 *** certtool: can add several subject alternative names via template file.
1517 *** opencdk: Parse (but not decrypt) encrypted secret keys.
1519 *** libgnutls: gnutls_x509_crt_set_subject_alt_name() was added that can
1520 either set or append alternative names. It can also handle binary structures
1521 such as IP addresses.
1523 *** libgnutls: New function to set minimum acceptable SRP bits.
1524 The function is gnutls_srp_set_prime_bits.
1526 *** libgnutls: Add interface to deal with public key and signature algorithms.
1527 The functions are called gnutls_pk_list, gnutls_pk_get_id,
1528 gnutls_sign_list, and gnutls_sign_get_id.
1530 *** libgnutls: New interfaces to get name of public key and signing algorithms.
1531 The functions are gnutls_sign_get_name and gnutls_pk_get_name.
1533 *** libgnutls: New API to get a string corresponding to a error symbol.
1534 The function is gnutls_strerror_name.
1536 *** libgnutls: New API to set the public parameters in a certificate request
1537 *** from a private key.
1538 The function is gnutls_x509_crq_set_key_rsa_raw.
1540 *** libgnutls: New API to set a callback to extract TLS Finished data.
1541 The function to register is gnutls_session_set_finished_function and
1542 it takes a callback of the gnutls_finished_callback_func type.
1544 *** libgnutls: Fix namespace problem with TLS_MASTER_SIZE and TLS_RANDOM_SIZE.
1546 *** libgnutls: New interface to register a new TLS extension handler.
1547 The new function gnutls_ext_register can be used to register handlers
1548 for specific TLS extension types.  The callback functions have the new
1549 types gnutls_ext_recv_func and gnutls_ext_send_func.  A type to
1550 classify TLS extensions, gnutls_ext_parse_type_t, has been added as
1551 well.
1553 *** libgnutls-extra: Add function to work with Libgcrypt in FIPS mode.
1554 The function is gnutls_register_md5_handler.  When libgcrypt is in
1555 FIPS mode, MD5 is disabled, but TLS normally requires use of MD5 in
1556 the PRF.
1558 *** API/ABI changes in GnuTLS 2.6
1559 No functions have been removed or modified.  The library should be
1560 fully backwards compatible on both the source and binary level.
1562 A new header file <gnutls/crypto.h> have been added.  It contains
1563 definitions related to replacing the internal crypto functionality.
1564 All definitions and the header itself is experimental but supported.
1566 We have realized that the symbols TLS_MASTER_SIZE and TLS_RANDOM_SIZE
1567 does not use the normal namespace.  We have added GNUTLS_MASTER_SIZE
1568 and GNUTLS_RANDOM_SIZE, but the old symbols are still defined.
1570 The following functions have been added to libgnutls:
1572 GNUTLS_MASTER_SIZE
1573 GNUTLS_RANDOM_SIZE
1574 gnutls_crypto_bigint_register2
1575 gnutls_crypto_cipher_register2
1576 gnutls_crypto_digest_register2
1577 gnutls_crypto_mac_register2
1578 gnutls_crypto_pk_register2
1579 gnutls_crypto_rnd_register2
1580 gnutls_crypto_single_cipher_register2
1581 gnutls_crypto_single_digest_register2
1582 gnutls_crypto_single_mac_register2
1583 gnutls_ext_register
1584 gnutls_pk_get_id
1585 gnutls_pk_get_name
1586 gnutls_pk_list
1587 gnutls_session_set_finished_function
1588 gnutls_sign_get_id
1589 gnutls_sign_get_name
1590 gnutls_sign_list
1591 gnutls_srp_set_prime_bits:
1592 gnutls_strerror_name
1593 gnutls_x509_crq_set_key_rsa_raw
1594 gnutls_x509_crt_set_crl_dist_points2
1595 gnutls_x509_crt_set_subject_alt_name
1597 The following functions have been added to libgnutls-extra:
1599 gnutls_register_md5_handler
1601 ** API and ABI modifications:
1602 No changes since last version.
1604 * Version 2.5.9 (released 2008-09-29)
1606 ** libgnutls: Fix several memory leaks.
1607 Reported by Sam Varshavchik <mrsam@courier-mta.com>.
1609 ** libgnutls: Fix buffer overrun in gnutls_x509_crt_list_import.
1610 Report and patch by Jonathan Manktelow.
1612 ** libgnutls: crypto.h gnutls_pk_params_st changes allocation strategy.
1613 The parameters are now allocated in the structure itself.
1615 ** doc: Texinfo HTML manual uses a stylesheet to improve readability.
1617 ** tests: Scripts now use EXEEXT properly.
1618 Modern libtool doesn't create wrapper script, so the self tests need
1619 to invoke certtool.exe under MinGW32+Wine.
1621 ** Uses autoconf 2.63, automake 1.10.1, libtool 2.2.6a.
1622 Automake warnings are now also enabled.
1624 ** API and ABI modifications:
1625 gnutls_pk_params_st: MODIFIED
1627 * Version 2.5.8 (released 2008-09-21)
1629 ** certtool: updated so it can add several subject alternative names using
1630 the template file.
1632 ** libgnutls: gnutls_x509_crt_set_subject_alt_name() was added that can
1633 either set or append alternative names. It can also handle binary structures
1634 such as IP addresses.
1636 ** libgnutls: Fix crash in hashing code when using non-libgcrypt handlers.
1638 ** libgnutls: New function to set minimum acceptable SRP bits.
1639 The function is gnutls_srp_set_prime_bits.  Tiny patch by Kevin Quick
1640 <quick@sparq.org> in <https://savannah.gnu.org/support/index.php?106454>.
1642 ** libgnutls: Check for overflows in gnutls_calloc and gnutls_secure_calloc.
1643 Also fix overflows in calls to those functions.  Reported by Werner
1644 Koch <wk@gnupg.org>.
1646 ** libgnutls-extra: Add function to work with Libgcrypt in FIPS mode.
1647 The function is gnutls_register_md5_handler.  When libgcrypt is in
1648 FIPS mode, MD5 is disabled, but TLS normally requires use of MD5 in
1649 the PRF.
1651 ** Opencdk: Add calls to gnutls_assert to ease debugging.
1653 ** Indent code.
1655 ** API and ABI modifications:
1656 gnutls_srp_set_prime_bits: ADDED
1657 gnutls_register_md5_handler: ADDED
1658 gnutls_x509_crt_set_crl_dist_points2: ADDED
1659 gnutls_x509_crt_set_subject_alt_name: ADDED
1661 * Version 2.5.7 (released 2008-09-16)
1663 ** libgnutls: New interfaces to get name of public key and signing algorithms.
1664 The functions are gnutls_sign_get_name and gnutls_pk_get_name.
1666 ** libgnutls: Don't crash when gnutls_credentials_set is called twice.
1668 ** libgnutls: Fix libgnutls shared library version.
1669 It wasn't properly incremented after adding symbols in the last
1670 release.
1672 ** manual: Now mention supported public key and public key signing algorithms.
1674 ** tests/openssl: initialize gnutls before use.
1676 ** tests/setcredcrash: New test to catch regressions of gnutls_credentials_set.
1678 ** GTK-DOC manual: mention new symbols in 2.6.x.  Mention crypto.h functions.
1680 ** API and ABI modifications:
1681 gnutls_sign_get_name: ADDED
1682 gnutls_pk_get_name: ADDED
1684 * Version 2.5.6 (released 2008-09-08)
1686 ** libgnutls: Add interface to deal with public key and signature algorithms.
1687 The functions are called gnutls_pk_list, gnutls_pk_get_id,
1688 gnutls_sign_list, and gnutls_sign_get_id.  Suggested by Sam
1689 Varshavchik <mrsam@courier-mta.com>.
1691 ** libgnutls: Refactor and clean up some code.
1693 ** libgnutls: Fix compile error with Sun CC.
1695 ** gnutls-cli: Improve --list output to include public key and signature algs.
1697 ** gnutls-cli, gnutls-serv: Remove --copyright parameter.
1698 Use standard --version to get license info.
1700 ** gnutls-cli.1: Document all new parameters.
1701 Thanks to James Westby <jw+debian@jameswestby.net>.
1703 ** tests: New self-test pgps2kgnu to test parsing of encrypted secrets.
1704 Contributed by Daniel Kahn Gillmor <dkg-debian.org@fifthhorseman.net>.
1706 ** API and ABI modifications:
1707 gnutls_pk_list: ADDED
1708 gnutls_pk_get_id: ADDED
1709 gnutls_sign_list: ADDED
1710 gnutls_sign_get_id: ADDED
1712 * Version 2.5.5 (released 2008-08-29)
1714 ** libgnutls: New API to get a string corresponding to a error symbol.
1715 The function is gnutls_strerror_name.
1717 ** libgnutls: Fix include paths so that building with internal libtasn1 works.
1718 Reported by "jth.net ApS" <info@jth.net>.
1720 ** libgnutls: Fix segmentation fault when generating private keys.
1721 Reported by Daniel Kahn Gillmor <dkg-debian.org@fifthhorseman.net>.
1723 ** libgnutls: Remove code to import certificate chains in PKCS#7 format.
1724 The code has not worked since v0.9.0 and apparently nobody has missed
1725 it, so we decided to remove the code rather than fix it.  If you have
1726 old certificate chains stored in PKCS#7 format, you can convert them
1727 to a list of PEM certificates by using 'certtool --p7-info'.  Reported
1728 by Christian Grothoff <christian@grothoff.org>.
1730 ** opencdk: Parse (but not decrypt) encrypted secret keys.
1731 Contributed by Daniel Kahn Gillmor <dkg-debian.org@fifthhorseman.net>.
1733 ** libgnutls: Fix many warnings.
1735 ** Included copy of libtasn1 is upgraded to version 1.5.
1737 ** Add French translation, thanks to Nicolas Provost.
1739 ** API and ABI modifications:
1740 gnutls_strerror_name: ADDED
1742 * Version 2.5.4 (released 2008-08-19)
1744 ** Fix secure memory initialization of libgcrypt.
1745 Reported by Joe Orton <joe@manyfish.co.uk> in
1746 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/2992>.
1748 ** Doc fixes.
1749 Reference to NIST SP 800-57 in the manual on key size recommendations.
1750 Added 'Since:' tags to new APIs for gtk-doc.
1752 ** API and ABI modifications:
1753 No changes since last version.
1755 * Version 2.5.3 (released 2008-08-14)
1757 ** libgnutls: New API to set the public parameters in a certificate request
1758 ** from a private key.
1759 The function is gnutls_x509_crq_set_key_rsa_raw.  Inspired by
1760 discussion with "Zach C." <fxchip@gmail.com>.
1762 ** libgnutls: New API to set a callback to extract TLS Finished data.
1763 The function to register is gnutls_session_set_finished_function and
1764 it takes a callback of the gnutls_finished_callback_func type.
1766 ** libgnutls: Drop final comma after GNUTLS_CRT_PRINT_UNSIGNED_FULL in enum.
1767 Reported in <https://savannah.gnu.org/support/?106453>.
1769 ** libgnutls: Fix namespace problem with TLS_MASTER_SIZE and TLS_RANDOM_SIZE.
1770 The new names are GNUTLS_MASTER_SIZE and GNUTLS_RANDOM_SIZE.  The old
1771 names are mapped to the new names in compat.h.  These mappings will
1772 likely be removed more quickly than other mappings in that file due to
1773 the namespace violation.
1775 ** libgnutlsxx: Make it build when SRP is disabled.
1777 ** doc: Add doxygen files in doc/doxygen/.
1779 ** API and ABI modifications:
1780 gnutls_x509_crq_set_key_rsa_raw: ADDED
1781 gnutls_session_set_finished_function: ADDED
1782 gnutls_finished_callback_func: ADDED
1783 GNUTLS_MASTER_SIZE: ADDED
1784 GNUTLS_RANDOM_SIZE: ADDED
1785 TLS_MASTER_SIZE: DEPRECATED
1786 TLS_RANDOM_SIZE: DEPRECATED
1788 * Version 2.5.2 (released 2008-07-08)
1790 ** libgnutls: Fix bug in gnutls_dh_params_generate2.
1791 The prime and generator was swapped.
1793 ** libgnutls: New interface to register a new TLS extension handler.
1794 The new function gnutls_ext_register can be used to register handlers
1795 for specific TLS extension types.  The callback functions have the new
1796 types gnutls_ext_recv_func and gnutls_ext_send_func.  A type to
1797 classify TLS extensions, gnutls_ext_parse_type_t, has been added as
1798 well.
1800 ** Move more code for TLS/IA extension from libgnutls to libgnutls-extra.
1801 This was made possible by using the new gnutls_ext_register interface.
1802 The TLS/IA functionality has only been supported through the
1803 libgnutls-extra library, so it makes sense for the code to belong
1804 there too.
1806 ** API and ABI modifications:
1807 gnutls_ext_recv_func: ADDED
1808 gnutls_ext_send_func: ADDED
1809 gnutls_ext_parse_type_t: ADDED
1810 gnutls_ext_register: ADDED
1812 * Version 2.5.1 (released 2008-07-02)
1814 ** Indent code.
1816 ** API and ABI modifications:
1817 No changes since last version.
1819 * Version 2.5.0 (released 2008-07-02)
1821 ** Port fixes from v2.4.1 release, see below.
1823 ** Added API to replace and update the crypto backend.
1824 The header gnutls/crypto.h is now officially supported, and declares
1825 the symbols below.
1827 ** Rewritten opencdk crypto backend, to use the gnutls internal one.
1829 ** Update gnulib and translations.
1830 The gnulib gc crypto code has been removed since it was never finished
1831 and is no longer even used.  An internal non-libgcrypt crypto
1832 implementation may be added in the future, but we'll decide that later
1835 ** API and ABI modifications:
1836 gnutls_crypto_bigint_register2: ADDED.
1837 gnutls_crypto_cipher_register2: ADDED.
1838 gnutls_crypto_digest_register2: ADDED.
1839 gnutls_crypto_mac_register2: ADDED.
1840 gnutls_crypto_pk_register2: ADDED.
1841 gnutls_crypto_rnd_register2: ADDED.
1842 gnutls_crypto_single_cipher_register2: ADDED.
1843 gnutls_crypto_single_digest_register2: ADDED.
1844 gnutls_crypto_single_mac_register2: ADDED.
1846 * Version 2.4.3 (released 2009-02-06)
1848 ** libgnutls: Accept chains where intermediary certs are trusted.
1849 Before GnuTLS needed to validate the entire chain back to a
1850 self-signed certificate.  GnuTLS will now stop looking when it has
1851 found an intermediary trusted certificate.  The new behaviour is
1852 useful when chains, for example, contains a top-level CA, an
1853 intermediary CA signed using RSA-MD5, and an end-entity certificate.
1854 To avoid chain validation errors due to the RSA-MD5 cert, you can
1855 explicitly add the intermediary RSA-MD5 cert to your trusted certs.
1856 The signature on trusted certificates are not checked, so the chain
1857 has a chance to validate correctly.  Reported by "Douglas E. Engert"
1858 <deengert@anl.gov> in
1859 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3351>.
1861 ** libgnutls: Permit V1 Certificate Authorities properly.
1862 Before they were mistakenly rejected even though
1863 GNUTLS_VERIFY_ALLOW_ANY_X509_V1_CA_CRT and/or
1864 GNUTLS_VERIFY_ALLOW_X509_V1_CA_CRT were supplied.  Reported by
1865 "Douglas E. Engert" <deengert@anl.gov> in
1866 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3351>.
1868 ** libgnutls: deprecate X.509 validation chains using MD5 and MD2 signatures.
1869 This is a bugfix -- the previous attempt to do this from internal x509
1870 certificate verification procedures did not return the correct value
1871 for certificates using a weak hash.  Reported by Daniel Kahn Gillmor
1872 <dkg@fifthhorseman.net> in
1873 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3332>,
1874 debugged and patch by Tomas Mraz <tmraz@redhat.com> and Daniel Kahn
1875 Gillmor <dkg@fifthhorseman.net>.
1877 ** libgnutls: Fix chain verification for chains that ends with RSA-MD2 CAs.
1878 Reported by Michael Kiefer <Michael-Kiefer@web.de> in
1879 <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=507633> forwarded by
1880 Andreas Metzler <ametzler@downhill.at.eu.org> in
1881 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3309>.
1883 ** libgnutls: Fix crash in X.509 validation code for self-signed certificates.
1884 The patch to fix the security problem GNUTLS-SA-2008-3 introduced a
1885 problem for certificate chains that contained just one self-signed
1886 certificate.  Reported by Michael Meskes <meskes@debian.org> in
1887 <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=505279>.
1889 ** libgnutls: Fix X.509 certificate chain validation error. [GNUTLS-SA-2008-3]
1890 The flaw makes it possible for man in the middle attackers (i.e.,
1891 active attackers) to assume any name and trick GnuTLS clients into
1892 trusting that name.  Thanks for report and analysis from Martin von
1893 Gagern <Martin.vGagern@gmx.net>.  [CVE-2008-4989]
1895 Any updates with more details about this vulnerability will be added
1896 to <http://www.gnu.org/software/gnutls/security.html>
1898 ** libgnutls: Fix buffer overrun in gnutls_x509_crt_list_import.
1899 Report and patch by Jonathan Manktelow.
1901 ** libgnutls: Avoid use of non-thread safe strerror.
1903 ** API and ABI modifications:
1904 No changes since last version.
1906 * Version 2.4.2 (released 2008-09-15)
1908 ** libgnutls: Don't crash when gnutls_credentials_set is called twice.
1910 ** libgnutls: Corrected memory leak in X.509 functions.
1911 Thanks to Colin Leroy <colin@colino.net>.
1913 ** libgnutls: Fix compile error with Sun CC.
1915 ** gnutls-cli.1: Document all new parameters.
1916 Thanks to James Westby <jw+debian@jameswestby.net>.
1918 ** tests/openssl: initialize gnutls before use.
1919 Fixes crash with libgcrypt 1.4.2.  Reported by Ludovic Courtes
1920 <ludovic.courtes@laas.fr>.
1922 ** doc/: Fix texinfo markup for old texinfo versions.
1924 ** Included copy of libtasn1 is upgraded to version 1.5.
1926 ** API and ABI modifications:
1927 No changes since last version.
1929 * Version 2.4.1 (released 2008-06-30)
1931 ** libgnutls: Fix local crash in gnutls_handshake.  [GNUTLS-SA-2008-2]
1932 If the gnutls_handshake function is called for a normal session, which
1933 can happen for re-handshakes, the library would crash because it tried
1934 to hash some data using a libgcrypt handle that had been deallocated.
1935 Report and tiny patch from Tomas Mraz <tmraz@redhat.com>.  Any updates
1936 with more details about this vulnerability will be added to
1937 <http://www.gnu.org/software/gnutls/security.html>
1939 ** libgnutls: Fix memory leaks when doing a re-handshake.
1940 Reported by Sam Varshavchik <mrsam@courier-mta.com> in
1941 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/2928>.
1943 ** Fix compiler warnings.
1944 Reported by Massimo Gaspari <massimo.gaspari@alice.it> in
1945 <http://thread.gmane.org/gmane.network.gnutls.general/1281>.
1947 ** Fix ordering of -I's to avoid opencdk.h conflict with system headers.
1948 Reported by Roman Bogorodskiy <novel@FreeBSD.org> in
1949 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/2930>.
1951 ** srptool: Fix a problem where --verify check does not succeed.
1952 Report and tiny patch by Matthias Koenig <mkoenig@suse.de> in
1953 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/2944>.
1955 ** API and ABI modifications:
1956 No changes since last version.
1958 * Version 2.4.0 (released 2008-06-19)
1960 ** Major changes compared to the v2.2 branch:
1962 *** The OpenPGP sub-system has been improved and now supports subkeys.
1964 *** The PSK sub-system has been improved and now supports password
1965 *** derivation and PSK identity hints.
1966 The password derivation algorithms support is documented in
1967 draft-ietf-netconf-tls-02.txt.
1969 *** The certtool --inder and --outder has been replaced by --inraw and --outraw.
1970 This aligns terminology with OpenPGP, which doesn't use DER encoding.
1971 The old parameters will continue to work for some time.
1973 *** Certtool now confirm passwords and changes permissions of private key files.
1975 *** The default handshake size limit has been increased to 48kb.
1976 It appears as if some valid handshakes are large due to sending many
1977 CA certificates.  (The earlier limit was 16kb.)
1979 *** LZO compression is now disabled by default.
1980 The main reason is that LZO compression in TLS is not standardized,
1981 but license compatiblity issues with minilzo triggered us to make this
1982 decision now.
1984 *** Improvements for cross-compilation to Windows and OpenWRT.
1986 *** The look of the GTK-DOC manual has been improved.
1987 Major developer visible changes compared to the v2.2 branch:
1989 *** Full OpenPGP support is part of libgnutls, licensed under the LGPL.
1991 *** New APIs to access the raw X.509 Subject and Issuer DN's and
1992 *** elements from the certificate credentials structure.
1993 Thanks to Joe Orton.
1995 *** New APIs to improve working with username/passwords and PSK.
1997 *** Names of constants to affect certificate printing changed.
1998 The constants are used for OpenPGP too, which the names didn't
1999 reflect, so the following name change has been made:
2001             Old name                         New name
2002      GNUTLS_X509_CRT_FULL            GNUTLS_CRT_PRINT_FULL
2003      GNUTLS_X509_CRT_ONELINE         GNUTLS_CRT_PRINT_ONELINE
2004      GNUTLS_X509_CRT_UNSIGNED_FULL   GNUTLS_CRT_PRINT_UNSIGNED_FULL
2006 The old names will be mapped to the new names for some time.
2008 *** The function gnutls_openpgp_privkey_get_id has been renamed to
2009 *** gnutls_openpgp_privkey_get_key_id.
2010 A compatibility mapping exists to avoid breaking API backwards
2011 compatibility.
2013 *** Replaced all uses of alloca with malloc and free.
2015 *** We no longer build with -D_REENTRANT -D_THREAD_SAFE.
2016 We have been unable to find a documented rationale for this practice.
2018 *** Of course, many smaller fixes have been made, see the ChangeLog file.
2020 *** API/ABI changes in GnuTLS 2.4
2021 All OpenPGP related functions have been moved from libgnutls-extra to
2022 libgnutls, and several new functions have been added (see below).
2023 Before making the release, we discussed whether moving functions from
2024 libgnutls-extra to libgnutls would require us to increment the ABI
2025 version, but the general opinion was that this would not be required.
2026 All older functions continue to work the same.  We are open to the
2027 possibility that this decision will lead to problem on some platform,
2028 and if it turns out that the Right Thing should have been to increment
2029 the shared library version, we would need to release an update within
2030 the 2.4.x branch that increments the shared library version.
2032 This release adds the following functions:
2034   gnutls_psk_client_get_hint
2035   gnutls_psk_set_server_credentials_hint
2036   gnutls_psk_netconf_derive_key
2038     Used to get/set the PSK identity hint, and derive PSK keys from
2039     passwords a'la netconf.
2041   gnutls_x509_dn_deinit
2042   gnutls_x509_dn_export
2043   gnutls_x509_dn_import
2044   gnutls_x509_dn_init
2046     Used to handle X.509 Certificate DN's directly.
2048   gnutls_hex2bin
2050     Converts a data buffer to hex.  Useful for handling PSK/SRP shared
2051     secrets.
2053   gnutls_certificate_get_x509_cas
2054   gnutls_certificate_get_x509_crls
2055   gnutls_certificate_get_openpgp_keyring
2057     Functions for direct access to credential elements.
2059   gnutls_openpgp_crt_get_auth_subkey
2060   gnutls_openpgp_crt_get_key_id
2061   gnutls_openpgp_crt_get_pk_dsa_raw
2062   gnutls_openpgp_crt_get_pk_rsa_raw
2063   gnutls_openpgp_crt_get_preferred_key_id
2064   gnutls_openpgp_crt_get_revoked_status
2065   gnutls_openpgp_crt_get_subkey_count
2066   gnutls_openpgp_crt_get_subkey_creation_time
2067   gnutls_openpgp_crt_get_subkey_expiration_time
2068   gnutls_openpgp_crt_get_subkey_fingerprint
2069   gnutls_openpgp_crt_get_subkey_id
2070   gnutls_openpgp_crt_get_subkey_idx
2071   gnutls_openpgp_crt_get_subkey_pk_algorithm
2072   gnutls_openpgp_crt_get_subkey_pk_dsa_raw
2073   gnutls_openpgp_crt_get_subkey_pk_rsa_raw
2074   gnutls_openpgp_crt_get_subkey_revoked_status
2075   gnutls_openpgp_crt_get_subkey_usage
2076   gnutls_openpgp_crt_print
2077   gnutls_openpgp_crt_set_preferred_key_id
2078   gnutls_openpgp_keyring_get_crt
2079   gnutls_openpgp_keyring_get_crt_count
2080   gnutls_openpgp_privkey_export
2081   gnutls_openpgp_privkey_export_dsa_raw
2082   gnutls_openpgp_privkey_export_rsa_raw
2083   gnutls_openpgp_privkey_export_subkey_dsa_raw
2084   gnutls_openpgp_privkey_export_subkey_rsa_raw
2085   gnutls_openpgp_privkey_get_fingerprint
2086   gnutls_openpgp_privkey_get_key_id
2087   gnutls_openpgp_privkey_get_pk_algorithm
2088   gnutls_openpgp_privkey_get_preferred_key_id
2089   gnutls_openpgp_privkey_get_revoked_status
2090   gnutls_openpgp_privkey_get_subkey_count
2091   gnutls_openpgp_privkey_get_subkey_creation_time
2092   gnutls_openpgp_privkey_get_subkey_expiration_time
2093   gnutls_openpgp_privkey_get_subkey_fingerprint
2094   gnutls_openpgp_privkey_get_subkey_id
2095   gnutls_openpgp_privkey_get_subkey_idx
2096   gnutls_openpgp_privkey_get_subkey_pk_algorithm
2097   gnutls_openpgp_privkey_get_subkey_revoked_status
2098   gnutls_openpgp_privkey_set_preferred_key_id
2100     New OpenPGP related functions.
2102     The function gnutls_openpgp_crt_get_key_id is the same as the old
2103     from gnutls_openpgp_crt_get_id, see above.
2105 The release also adds a new header file 'gnutls/crypto.h', however it
2106 is currently not used.
2108 ** libgnutls [OpenPGP]: New APIs to retrieve fingerprint from OpenPGP subkeys.
2109 Contributed by Daniel Kahn Gillmor <dkg-debian.org@fifthhorseman.net>.
2111 ** API and ABI modifications:
2112 gnutls_openpgp_crt_get_subkey_fingerprint: ADDED.
2113 gnutls_openpgp_privkey_get_subkey_fingerprint: ADDED.
2115 * Version 2.3.15 (released 2008-06-15)
2117 ** Disable the openpgp-certs self-tests.
2118 It results in failure under Wine and doesn't work on Debian buildds.
2120 ** API and ABI modifications:
2121 No changes since last version.
2123 * Version 2.3.14 (released 2008-06-11)
2125 ** libgnutls [OpenPGP]: Changed OpenPGP verification behaviour.
2126 An OpenPGP certificate is now only considered verified if all the user
2127 IDs are verified.
2129 ** Examples: Make C++ example compile.
2130 Earlier it may have failed with an unresolved reference to strlen.
2132 ** Documentation: Doc fix for gnutls_x509_crt_get_extension_oid.
2133 Reported by Sam Varshavchik <mrsam@courier-mta.com>.
2135 ** API and ABI modifications:
2136 No changes since last version.
2138 * Version 2.3.13 (released 2008-06-07)
2140 ** libgnutls [OpenPGP]: Make OpenPGP handshakes work again.
2142 ** doc/: Add psktool to info index.  Some minor cleanups.
2144 ** tests/: Added non-forking TLS handshake test, see tests/mini.c.
2146 ** tests/: Added libgcrypt.supp which can be used with valgrind.
2147 The file suppresses the known libgcrypt memory leaks, so they aren't
2148 printed when you run valgrind on the gnutls self-tests.  Use it as
2149 follows: valgrind --suppressions=libgcrypt.supp ./x509self or add
2150 '--suppressions=/home/you/src/gnutls/tests/libgcrypt.supp' to your
2151 ~/.valgrindrc file.
2153 ** tests/: Reduce amount of debugging output by default.
2154 Use --verbose for each test to get the full output.
2156 ** tests/: Fix memory leaks in several self-tests.
2157 None of the self tests should be leaking memory when running valgrind
2158 or similar tools.  (Known exceptions are dhepskself, pskself, and
2159 set_pkcs12_cred, which appear likely to be due to memory leaks in the
2160 library.)
2162 ** API and ABI modifications:
2163 No changes since last version.
2165 * Version 2.3.12 (released 2008-06-04)
2167 ** Merge gnutls_with_netconf branch.
2169 *** libgnutls [PSK]: New API to retrieve PSK identity hint in client.
2170 The function is gnutls_psk_client_get_hint.
2172 *** libgnutls [PSK]: New API to set PSK identity hint in server.
2173 The function is gnutls_psk_set_server_credentials_hint.
2175 *** libgnutls [PSK]: Support server key exchange with PSK identity hint.
2176 In the client, the message is parsed and the application can use
2177 gnutls_psk_client_get_hint to retrieve the hint.  In the server, the
2178 message is sent if the application has specified a PSK identity hint
2179 using gnutls_psk_set_server_credentials_hint.
2181 *** libgnutls [PSK]: Support Netconf PSK key derivation.
2182 The function gnutls_psk_netconf_derive_key supports the PSK key
2183 derivation as specified in draft-ietf-netconf-tls-02.txt.  New self
2184 test netconf-psk.c.
2186 *** psktool: Support new --netconf-hint to generate PSK key from password.
2187 Uses the Netconf algorithm to derive PSK key from password.
2189 *** gnutls-serv: Support new --pskhint parameter to set PSK identity hint.
2191 *** gnutls-cli: Always support PSK modes, through a callback.
2192 The callback will derive a PSK key using Netconf algorithm.  It will
2193 print the PSK identity hint to help the user.
2195 *** New PSK example client and server.
2196 See doc/examples/ex-client-psk.c and doc/examples/ex-serv-psk.c.
2198 ** libgnutls: Fix gnutls_x509_crl_set_version on arm platforms.
2199 The code didn't work properly on platforms where 'char' is unsigned,
2200 when you set version 0.  Reported by Laurence Withers
2201 <l@lwithers.me.uk> in
2202 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/2825>.
2204 ** libgnutls-openssl: added RAND_pseudo_bytes API.
2205 Patch from Robert Millan <rmh@aybabtu.com>.
2207 ** API and ABI modifications:
2208 RAND_pseudo_bytes: ADDED to libgnutls-openssl.
2209 gnutls_psk_client_get_hint: ADDED.
2210 gnutls_psk_set_server_credentials_hint: ADDED.
2211 gnutls_psk_netconf_derive_key: ADDED
2213 * Version 2.3.11 (released 2008-05-20)
2215 ** Fix flaw in fix for GNUTLS-SA-2008-1-3.
2216 The flaw would result in incorrectly terminated sessions with the
2217 error "Decryption has failed" when the server sends a small packet
2218 (typically when the session is closed).  Reported by Andreas Metzler
2219 <ametzler@downhill.at.eu.org> in
2220 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/2807>.
2222 ** Don't use gnulib headers when building C++ library.
2223 Fixes builds under Windows.
2225 ** Make umask a requirement.
2226 We don't know of any system that lacks it, even GNU CoreUtils use it
2227 unconditionally.
2229 ** Update gnulib files.
2230 Fixes a problem where it pulled in a replacement for memcmp under
2231 MinGW, which caused the C++ example to fail to build.
2233 ** API and ABI modifications:
2234 No changes since last version.
2236 * Version 2.3.10 (released 2008-05-19)
2238 ** Added wide wildcard hostname matching.
2239 Tiny patch by Jean-Philippe Garcia Ballester.
2241 ** Fix three security vulnerabilities.  [GNUTLS-SA-2008-1]
2242 Thanks to CERT-FI for finding the bugs and providing detailed reports,
2243 which allowed the bugs to be reproduced and fixed easily.  Patches
2244 developed by Simon Josefsson and Nikos Mavrogiannopoulos.  Any updates
2245 with more details about these vulnerabilities will be added to
2246 <http://www.gnu.org/software/gnutls/security.html>
2248 *** [GNUTLS-SA-2008-1-1]
2249 *** libgnutls: Fix crash when sending invalid server name.
2250 The crash can be triggered remotely before authentication, which can
2251 lead to a Daniel of Service attack to disable the server.  The bug
2252 cause gnutls to store more session resumption data than what was
2253 allocated for, thus overwriting unallocated memory.
2255 *** [GNUTLS-SA-2008-1-2]
2256 *** libgnutls: Fix crash when sending repeated client hellos.
2257 The crash can be triggered remotely before authentication, which can
2258 lead to a Daniel of Service attack to disable the server.  The bug
2259 triggers a null-pointer dereference.
2261 *** [GNUTLS-SA-2008-1-3]
2262 *** libgnutls: Fix crash in cipher padding decoding for invalid record lengths.
2263 The crash can be triggered remotely before authentication, which can
2264 lead to a Daniel of Service attack to disable the server.  The bug
2265 cause gnutls to read memory beyond the end of the received record.
2267 ** libgnutlsxx: Updated API according to patches from Eduardo 
2268 Villanueva Che (discussion at
2269 <http://lists.gnu.org/archive/html/gnutls-devel/2007-02/msg00017.html>)
2271 ** Use umask to restrict permissions to owner before creating a file.
2273 ** API and ABI modifications:
2274 No changes since last version.
2276 * Version 2.3.9 (released 2008-05-16)
2278 ** libgnutls: Fix build failures if SRP/OpenPGP is disabled.
2279 Based on report and tiny patches from
2280 <jared.jennings.ctr@eglin.af.mil>, see
2281 <https://savannah.gnu.org/support/index.php?106342>.
2283 ** libgnutls: Translation fixes.
2285 ** gnutls-cli: Fix so that PSK authentication works.
2286 Also improve manual to give example for gnutls-cli PSK authentication.
2288 ** certtool: Encrypting a private key now require a confirmed password.
2289 Before './certtool -k -8' would merely ask for a password once.
2290 Reported by Daniel 'NebuchadnezzaR' Dehennin
2291 <nebuchadnezzar@asgardr.info> see
2292 <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=364287>.
2294 ** certtool: When writing private keys to files, change permissions of file.
2295 Now the file which the private key is saved to is chmod'ed 0600.
2296 Reported by martin f krafft <madduck@debian.org> see
2297 <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=373169>.
2299 ** guile: Fix -fgnu89-inline test.
2301 ** Removed --enable-profile-mode.
2302 The code linked gnutls with the libfc project (Function Check) which
2303 appears to have been stalled since around 2002.
2305 ** Clean up header file checks by ./configure.
2307 ** Update of gnulib files.
2309 ** API and ABI modifications:
2310 No changes since last version.
2312 * Version 2.3.8 (released 2008-04-29)
2314 ** libgnutls: Increase default handshake packet size limit to 48kb.
2315 The old limit was 16kb and some servers send huge list of trusted CAs,
2316 thus running into the limit.  FYI, applications can further increase
2317 this limit using gnutls_handshake_set_max_packet_length.  Thanks to
2318 Marc Haber <mh+debian-bugs@zugschlus.de> and "Marc F. Clemente"
2319 <marc@mclemente.net> for reporting and providing test servers.
2321 ** libgnutls: Add new error code: GNUTLS_E_HANDSHAKE_TOO_LARGE
2322 Returned when the handshake data size is too large.  Before
2323 GNUTLS_E_MEMORY_ERROR was used, which could be confused with other
2324 error situations.
2326 ** libgnutls: Hide definitions in crypto.h.
2327 We have decided that the APIs defined in crypto.h are not stable
2328 enough for v2.4, so don't use any of those functions.
2330 ** gnutls-cli: exit when hostname doesn't match certificate.
2331 Use --insecure to avoid hostname comparison.
2333 ** certtool: --inder and --outder replaced by --inraw and --outraw.
2334 The reason is to align terminology with OpenPGP, which doesn't use
2335 DER.  The old parameters will continue to work for some time.
2337 ** doc: Add section 'Index of new symbols in 2.4.0' to the GTK-DOC manual.
2339 ** doc: Many cosmetic fixes, to silence (most) gtk-doc warnings.
2341 ** Mingw32: Revert libgcrypt vasprintf work-around added in last release.
2342 Use libgcrypt 1.4.1 or later when building on MinGW32, it removes the
2343 vasprintf symbol from the libgcrypt library which caused problems.
2345 ** Update of gnulib files.
2347 ** tests: New self-test of crypto.h RNG code tests/crypto_rng.
2349 ** API and ABI modifications:
2350 GNUTLS_E_HANDSHAKE_TOO_LARGE: ADDED.
2352 * Version 2.3.7 (released 2008-04-21)
2354 ** opencdk now properly sets the key usage bits into openpgp keys.
2356 ** gnutls-cli: Fix crash on TLS handshake failures.
2357 Reported by "Marc F. Clemente" <marc@mclemente.net> in Debian BTS #466477.
2358 This is similar to <http://bugs.debian.org/429183>.
2360 ** certtool: with --generate-request and newly generated keys, print the key.
2362 ** Build fixes for MinGW.
2363 Missing rpl_fseeko symbol in lib/opencdk/.  Better checks for linking
2364 with -lws2_32 when needed.  Use ASCII only isprint() when printing
2365 X.509 certificate information, to avoid non-ASCII but printable
2366 characters.  Thanks to Massimo Gaspari <massimo.gaspari@alice.it> for
2367 reports.
2369 ** Update internal copy of libtasn1 to version 1.4.
2371 ** API and ABI modifications:
2372 No changes since last version.
2374 * Version 2.3.6 (released 2008-04-17)
2376 ** Make gnutls_x509_crq_sign2 set certificate request version if not set.
2377 ** Improve documentation for gnutls_x509_crq_sign2.
2378 Based on report from "John Brooks" <aspecialj@gmail.com> in
2379 <http://permalink.gmane.org/gmane.network.gnutls.general/1154>.
2381 ** tests/pathlen: run diff without parameters to improve portability.
2382 Based on HPUX build hints in
2383 <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>.
2385 ** Don't use %e specifier with strftime, it doesn't work under Windows.
2386 Reported by Massimo Gaspari <massimo.gaspari@alice.it> in
2387 <http://permalink.gmane.org/gmane.network.gnutls.general/1170>.
2389 ** Remove all uses of gnutls_alloca/gnutls_afree.
2390 Use normal gnutls_malloc instead.  One reason is increased portability
2391 to Windows, the other is that several of the uses may be unsafe
2392 because the size of data allocated could be large.  Reported by
2393 Massimo Gaspari <massimo.gaspari@alice.it> in
2394 <http://permalink.gmane.org/gmane.network.gnutls.general/1170>.
2396 ** Build Guile code with -fgnu89-inline only when supported.
2397 Reported by Kris Karas <ktk@enterprise.bidmc.harvard.edu> in
2398 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/2708>.
2400 ** Several GTK-DOC related fixes.
2402 ** Clean up OpenCDK related code.
2403 GnuTLS now requires its internal OpenCDK code rather than the external
2404 GPL library OpenCDK.  Unfortunately, we don't have resources to
2405 maintain an external library (help welcome).
2407 ** API and ABI modifications:
2408 No changes since last version.
2410 * Version 2.3.5 (released 2008-04-14)
2412 ** Build fix for MinGW and --disable-shared.
2413 Reported by Massimo Gaspari <massimo.gaspari@alice.it> in
2414 <http://permalink.gmane.org/gmane.network.gnutls.general/1145>.
2416 ** Document how to generate CRLs.
2417 Suggested by "Rainer Gerhards" <rgerhards@gmail.com>.
2419 ** Documented the --priority option to gnutls-cli and gnutls-serv.
2421 ** Several minor fixes in the OpenPGP interface.
2422 Thanks to Daniel Kahn Gillmor.
2424 ** Fix fopen file descriptor leak in PSK server code.
2425 Thanks to Laurence Withers <l@lwithers.me.uk>, see
2426 <http://lists.gnu.org/archive/html/gnutls-devel/2008-04/msg00002.html>.
2428 ** Translations files not stored directly in git to avoid merge conflicts.
2430 ** New APIs to let applications replace the RNG used.
2431 Update all RNG callers in the code to use the new interface.
2433 ** Guile code now built with -fgnu89-inline to fix inline semantic problem.
2435 ** Update gnulib files.
2437 ** API and ABI modifications:
2438 gnutls_crypto_rnd_register: ADDED
2439 gnutls_rnd_level_t: ADDED
2440 GNUTLS_RND_KEY: ADDED, gnutls_rnd_level_t member
2441 GNUTLS_RND_RANDOM: ADDED, gnutls_rnd_level_t member
2442 GNUTLS_RND_NONCE: ADDED, gnutls_rnd_level_t member
2443 gnutls_crypto_rnd_st: ADDED
2444 GNUTLS_DIG_SHA224: ADDED
2445 GNUTLS_SIGN_RSA_SHA224: ADDED
2446 gnutls_openpgp_crt_get_auth_subkey: MODIFIED
2448 * Version 2.3.4 (released 2008-03-19)
2450 ** Finish renaming of gnutls_certificate_export_x509_cas etc.
2451 They weren't renamed in the public header file.
2453 ** Added functions to register a cipher/mac/digest. This allows to 
2454 override the included ones.
2456 ** Fix a bunch of compiler warnings.
2458 ** API and ABI modifications:
2459 gnutls_crypto_cipher_st: ADDED
2460 gnutls_crypto_mac_st: ADDED
2461 gnutls_crypto_digest_st: ADDED
2462 gnutls_crypto_cipher_register: ADDED
2463 gnutls_crypto_mac_register: ADDED
2464 gnutls_crypto_digest_register: ADDED
2465 GNUTLS_E_CRYPTO_ALREADY_REGISTERED: ADDED
2467 * Version 2.3.3 (released 2008-03-10)
2469 ** Fix build failure in libextra/gnutls_extra.c that needed opencdk.h.
2470 Reported by Roman Bogorodskiy <novel@FreeBSD.org>.
2472 ** No longer compiled using -D_REENTRANT -D_THREAD_SAFE.
2473 We could not find any modern justification for enabling these flags by
2474 default.  If you know of some platform that needs one of the flags to
2475 work properly, please let us know.  (Actually introduced in v2.3.0 but
2476 not documented until now.)
2478 ** Importing many CA certificates are now considerably faster.
2479 This affect gnutls_certificate_set_x509_trust_mem,
2480 gnutls_certificate_set_x509_trust, and
2481 gnutls_certificate_set_x509_trust_file.  The complexity was reduced
2482 from O(2*n^2) to O(n).  When adding 206 files containing 408
2483 certificates, using gnutls_certificate_set_x509_trust_file, the time
2484 dropped from 40 seconds to 0.3 seconds.  Thanks to Edgar Fuß for code
2485 to trigger the problem.  See also
2486 <http://blog.josefsson.org/2008/02/27/real-world-performance-tuning-with-callgrind/>.
2488 ** Clarify documentation for gnutls_x509_crt_set_subject_alternative_name
2489 ** to be explicit that it takes zero terminated data.
2491 ** gnutls-cli --print-cert now print PKCS#3 format Diffie-Hellman parameters.
2493 ** Documentation fixes for the GTK-DOC manual.
2495 ** Fix compilation error related to __FUNCTION__ on some systems.
2496 Reported by Tim Mooney, see
2497 <https://savannah.gnu.org/support/?106267>.
2499 ** Updated translations.
2501 ** Update gnulib files.
2503 ** API and ABI modifications:
2504 gnutls_hex2bin: MODIFIED, uses size_t instead of int for string length,
2505                 and char* instead of void* for output buffer.
2507 * Version 2.3.2 (released 2008-02-26)
2509 ** Fix srcdir!=objdir failure in openpgpself test.
2511 ** Improved API documentation output from GTK-DOC.
2513 ** Added gnutls_x509_dn_export(). Patch by Joe Orton.
2515 ** Renamed gnutls_certificate_export_x509_cas and friends.
2516 See <http://lists.gnu.org/archive/html/gnutls-devel/2008-02/msg00043.html>.
2518 ** Internal header files cleanup.
2520 ** API and ABI modifications:
2521 gnutls_certificate_export_x509_cas: RENAMED to gnutls_certificate_get_x509_cas
2522 gnutls_certificate_export_x509_crls: RENAMED to gnutls_certificate_get_x509_crls
2523 gnutls_certificate_export_openpgp_keyring: RENAMED to gnutls_certificate_get_openpgp_keyring
2524 gnutls_x509_dn_export: ADDED
2526 * Version 2.3.1 (released 2008-02-21)
2528 ** OpenPGP support merged into libgnutls and is now licensed under LGPL.
2529 The included copy of OpenCDK has been stripped down and re-licensed
2530 under the LGPL.
2532 ** Cipher priority string handling now handle strings that starts with NULL.
2533 Thanks to Laurence Withers <l@lwithers.me.uk>.
2535 ** gnutls-cli: When -d is used, also prints RNG information from libgcrypt.
2537 ** Corrected memory leaks in session resuming and DHE ciphersuites. Reported
2538 by Daniel Stenberg.
2540 ** Increased the default certificate verification chain limits and allowed
2541 for checks without limitation.
2543 ** Corrected the behaviour of gnutls_x509_crt_get_subject_alt_name()
2544 and gnutls_x509_crt_get_subject_alt_name() to not null terminate binary
2545 strings and return the proper size.
2547 ** Add section 'On Record Padding' to the manual.
2548 This collects all problems related to record padding with
2549 Nokia/Sony-Ericsson phones that we know about.
2551 ** Several improvements in the OpenPGP authentication.
2552 Now subkeys can be used for authentication, according to
2553 draft-mavrogiannopoulos-rfc5081bis-00.txt.
2555 ** certtool can print information on OpenPGP certificates and keys.
2557 ** Added gnutls_x509_dn_import/init/deinit() to access raw DER DN.
2558 Patch by Joe Orton.
2560 ** Added gnutls_certificate_export_x509_cas and other functions to
2561 export elements from the certificate credentials structure.  Based on
2562 suggestion from Joe Orton.
2564 ** Doc fixes.
2565 Clarify that srp_base64 is not the same as normal base64.
2567 ** Fix non-portable use of brace expansion in makefiles.
2569 ** API and ABI modifications:
2570 gnutls_certificate_export_x509_cas: ADDED
2571 gnutls_certificate_export_x509_crls: ADDED
2572 gnutls_certificate_export_openpgp_keyring: ADDED
2573 gnutls_openpgp_keyid_t: ADDED, instead of hard-coded 'unsigned char[8]'.
2574 gnutls_openpgp_crt_get_key_id: ADDED, obsoletes gnutls_openpgp_crt_get_id.
2575 gnutls_openpgp_crt_get_revoked_status: ADDED
2576 gnutls_openpgp_crt_get_subkey_count: ADDED
2577 gnutls_openpgp_crt_get_subkey_idx: ADDED
2578 gnutls_openpgp_crt_get_subkey_revoked_status: ADDED
2579 gnutls_openpgp_crt_get_subkey_pk_algorithm: ADDED
2580 gnutls_openpgp_crt_get_subkey_creation_time: ADDED
2581 gnutls_openpgp_crt_get_subkey_expiration_time: ADDED
2582 gnutls_openpgp_crt_get_subkey_id: ADDED
2583 gnutls_openpgp_crt_get_subkey_usage: ADDED
2584 gnutls_openpgp_privkey_get_fingerprint: ADDED
2585 gnutls_openpgp_privkey_get_key_id: ADDED
2586 gnutls_openpgp_privkey_get_subkey_count: ADDED
2587 gnutls_openpgp_privkey_get_subkey_idx: ADDED
2588 gnutls_openpgp_privkey_get_subkey_revoked_status: ADDED
2589 gnutls_openpgp_privkey_get_revoked_status: ADDED
2590 gnutls_openpgp_privkey_get_subkey_pk_algorithm: ADDED
2591 gnutls_openpgp_privkey_get_subkey_expiration_time: ADDED
2592 gnutls_openpgp_privkey_get_subkey_id: ADDED
2593 gnutls_openpgp_privkey_get_subkey_creation_time: ADDED
2594 gnutls_openpgp_crt_get_subkey_pk_dsa_raw: ADDED
2595 gnutls_openpgp_crt_get_subkey_pk_rsa_raw: ADDED
2596 gnutls_openpgp_crt_get_pk_dsa_raw: ADDED
2597 gnutls_openpgp_crt_get_pk_rsa_raw: ADDED
2598 gnutls_openpgp_privkey_export_subkey_dsa_raw: ADDED
2599 gnutls_openpgp_privkey_export_subkey_rsa_raw: ADDED
2600 gnutls_openpgp_privkey_export_dsa_raw: ADDED
2601 gnutls_openpgp_privkey_export_rsa_raw: ADDED
2602 gnutls_openpgp_privkey_export: ADDED
2603 gnutls_certificate_set_openpgp_key_file2: ADDED
2604 gnutls_certificate_set_openpgp_key_mem2: ADDED
2605 gnutls_x509_dn_init: ADDED
2606 gnutls_x509_dn_import: ADDED
2607 gnutls_x509_dn_deinit: ADDED
2608 GNUTLS_E_OPENPGP_SUBKEY_ERROR: ADDED
2609 gnutls_hex2bin: ADDED
2610 GNUTLS_CRT_PRINT_FULL: ADDED, same as old GNUTLS_X509_CRT_FULL.
2611 GNUTLS_CRT_PRINT_ONELINE: ADDED, same as old GNUTLS_X509_CRT_ONELINE.
2612 GNUTLS_CRT_PRINT_UNSIGNED_FULL: ADDED, same as
2613                                 old GNUTLS_X509_CRT_UNSIGNED_FULL.
2615 * Version 2.3.0 (released 2008-01-08)
2617 ** LZO compression is now disabled by default.
2618 The reason is that LZO compression is not standardized in TLS.  If you
2619 wish to experiment with it, you will have to supply --with-lzo when
2620 invoking ./configure.  The internal copy of minilzo is no longer
2621 included with GnuTLS, so you will need to install liblzo or liblzo2 on
2622 your system to have --with-lzo to be effective.
2624 ** More than one server name field is now sent to the server properly.
2625 Thanks to mark.phillips@virgin.net.
2627 ** Fixes the post_client_hello_function(). The extensions are now parsed
2628 in a callback friendly way.
2630 ** Fix for certificate selection in servers with certificate callbacks.
2632 ** Updated translations.
2634 ** Update gnulib files.
2636 ** API and ABI modifications:
2637 No changes since last version.
2639 * Version 2.2.5 (released 2008-05-19)
2641 ** Fix flaw in fix for GNUTLS-SA-2008-1-3.
2642 The flaw would result in incorrectly terminated sessions with the
2643 error "Decryption has failed" when the server sends a small packet
2644 (typically when the session is closed).  Reported by Andreas Metzler
2645 <ametzler@downhill.at.eu.org> in
2646 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/2807>.
2648 ** API and ABI modifications:
2649 No changes since last version.
2651 * Version 2.2.4 (released 2008-05-19)
2653 ** Fix three security vulnerabilities.  [GNUTLS-SA-2008-1]
2654 Thanks to CERT-FI for finding the bugs and providing detailed reports,
2655 which allowed the bugs to be reproduced and fixed easily.  Patches
2656 developed by Simon Josefsson and Nikos Mavrogiannopoulos.  Any updates
2657 with more details about these vulnerabilities will be added to
2658 <http://www.gnu.org/software/gnutls/security.html>
2660 *** [GNUTLS-SA-2008-1-1]
2661 *** libgnutls: Fix crash when sending invalid server name.
2662 The crash can be triggered remotely before authentication, which can
2663 lead to a Daniel of Service attack to disable the server.  The bug
2664 cause gnutls to store more session resumption data than what was
2665 allocated for, thus overwriting unallocated memory.
2667 *** [GNUTLS-SA-2008-1-2]
2668 *** libgnutls: Fix crash when sending repeated client hellos.
2669 The crash can be triggered remotely before authentication, which can
2670 lead to a Daniel of Service attack to disable the server.  The bug
2671 triggers a null-pointer dereference.
2673 *** [GNUTLS-SA-2008-1-3]
2674 *** libgnutls: Fix crash in cipher padding decoding for invalid record lengths.
2675 The crash can be triggered remotely before authentication, which can
2676 lead to a Daniel of Service attack to disable the server.  The bug
2677 cause gnutls to read memory beyond the end of the received record.
2679 ** API and ABI modifications:
2680 No changes since last version.
2682 * Version 2.2.3 (released 2008-05-06)
2684 ** Increase default handshake packet size limit to 48kb.
2685 The old limit was 16kb and some servers send huge list of trusted CAs,
2686 thus running into the limit.  FYI, applications can further increase
2687 this limit using gnutls_handshake_set_max_packet_length.  Thanks to
2688 Marc Haber <mh+debian-bugs@zugschlus.de> and "Marc F. Clemente"
2689 <marc@mclemente.net> for reporting and providing test servers.
2691 ** Fix compilation error related to __FUNCTION__ on some systems.
2692 Reported by Tim Mooney, see
2693 <https://savannah.gnu.org/support/?106267>.
2695 ** Documented the --priority option to gnutls-cli and gnutls-serv.
2697 ** Fix fopen file descriptor leak in PSK server code.
2698 Thanks to Laurence Withers <l@lwithers.me.uk>, see
2699 <http://lists.gnu.org/archive/html/gnutls-devel/2008-04/msg00002.html>.
2701 ** Build Guile code with -fgnu89-inline only when supported.
2702 Reported by Kris Karas <ktk@enterprise.bidmc.harvard.edu> in
2703 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/2708>.
2705 ** Make Camellia encryption work.
2706 Reported by Yoshisato YANAGISAWA <yanagisawa@csg.is.titech.ac.jp> in
2707 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/2746>.
2709 ** API and ABI modifications:
2710 No changes since last version.
2712 * Version 2.2.2 (released 2008-02-21)
2714 ** Cipher priority string handling now handle strings that starts with NULL.
2715 Thanks to Laurence Withers <l@lwithers.me.uk>.
2717 ** Corrected memory leaks in session resuming and DHE ciphersuites. Reported
2718 by Daniel Stenberg.
2720 ** Increased the default certificate verification chain limits and allowed
2721 for checks without limitation.
2723 ** Corrected the behaviour of gnutls_x509_crt_get_subject_alt_name()
2724 and gnutls_x509_crt_get_subject_alt_name() to not null terminate binary
2725 strings and return the proper size.
2727 ** API and ABI modifications:
2728 No changes since last version.
2730 * Version 2.2.1 (released 2008-01-17)
2732 ** Prevent linking libextra against previously installed libgnutls.
2733 Tiny patch from "Alon Bar-Lev" <alon.barlev@gmail.com>, see
2734 <http://bugs.gentoo.org/show_bug.cgi?id=202269>.
2736 ** Fixes the post_client_hello_function(). The extensions are now parsed
2737 in a callback friendly way.
2739 ** Fix for certificate selection in servers with certificate callbacks.
2741 ** API and ABI modifications:
2742 No changes since last version.
2744 * Version 2.2.0 (released 2007-12-14)
2746 ** Update internal copy of libtasn1 to version 1.2.
2748 ** Certtool --verify-chain now handle inputs larger than 64kb.
2749 This fixes the self-test "rsa-md5-collision" under MinGW+Wine with
2750 recent versions of libgcrypt.  The problem was that Wine with the
2751 libgcrypt RNG generates huge amounts of debugging output.
2753 ** Translation updates.
2754 Added Dutch translation.  Updated Polish and Swedish translation.
2756 ** Major changes compared to the v2.0 branch:
2758 *** SRP support aligned with newly published RFC 5054.
2760 *** OpenPGP support aligned with newly published RFC 5081.
2762 *** Support for DSA2 keys.
2764 *** Support for Camellia cipher.
2766 *** Support for Opaque PRF Input extension.
2768 *** PKCS#8 parser now handle DSA keys.
2770 *** Change from GPLv2 to GPLv3 for command-line tools, libgnutls-extra, etc.
2771 Notice that liblzo2 2.02 is licensed under GPLv2 only.  Earlier
2772 versions, such as 2.01 which is included with GnuTLS, is available
2773 under GPLv2 or later.  If this incompatibility causes problems, we
2774 recommend you to disable LZO using --without-lzo.  LZO compression is
2775 not a standard TLS compression algorithm, so the impact should be
2776 minimal.
2778 *** Functions for disabling record protocol padding.
2779 Works around bugs on Nokia/Ericsson phones.
2781 *** New functions gnutls_priority_set() for setting cipher priorities easily.
2782 Priorities like "COMPAT" also enables other work arounds, such as
2783 disabling padding.
2785 *** Other minor improvements and bug fixes.
2787 ** Backwards incompatible API/ABI changes in GnuTLS 2.2
2788 To adapt to changes in the TLS extension specifications for OpenPGP
2789 and SRP, the GnuTLS API had to be modified.  This means breaking the
2790 API and ABI backwards compatibility.  That is something we try to
2791 avoid unless it is necessary.  We decided to also remove the already
2792 deprecated stub functions for X.509 to XML conversion and TLS
2793 authorization (see below) when we had the opportunity.
2795 Generally, most applications does not need to be modified.  Just
2796 re-compile them against the latest GnuTLS release, and it should work
2797 fine.
2799 Applications that use the OpenPGP or SRP features needs to be
2800 modified.  Below is a list of the modified APIs and discussion of what
2801 the minimal things you need to modify in your application to make it
2802 work with GnuTLS 2.2.
2804 Note that GnuTLS 2.2 also introduces new APIs -- such as
2805 gnutls_set_priority() that is superior to
2806 gnutls_set_default_priority() -- that you may want to start using.
2807 However, using those new APIs is not required to use GnuTLS 2.2 since
2808 the old functions continue are still supported.  This text only
2809 discuss what you minimally have to modify.
2811 *** XML related changes
2812 The function `gnutls_x509_crt_to_xml' has been removed.  It has been
2813 deprecated and only returned an error code since GnuTLS version
2814 1.2.11.  Nobody has complained, so users doesn't seem to miss the
2815 functionality.  We don't know of any other library to convert X.509
2816 certificates into XML format, but we decided (long ago) that GnuTLS
2817 isn't the right place for this kind of functionality.  If you want
2818 help to find some other library to use here, please explain and
2819 discuss your use case on help-gnutls@gnu.org.
2821 *** TLS Authorization related changes
2822 Everything related to TLS authorizations have been removed, they were
2823 only stub functions that returned an error code:
2825  GNUTLS_SUPPLEMENTAL_AUTHZ_DATA
2826  gnutls_authz_data_format_type_t
2827  gnutls_authz_recv_callback_func
2828  gnutls_authz_send_callback_func
2829  gnutls_authz_enable
2830  gnutls_authz_send_x509_attr_cert
2831  gnutls_authz_send_saml_assertion
2832  gnutls_authz_send_x509_attr_cert_url
2833  gnutls_authz_send_saml_assertion_url
2835 *** SRP related changes
2836 The callback gnutls_srp_client_credentials_function has a new
2837 prototype, and its semantic has changed.  You need to rewrite the
2838 callback, see the updated function documentation and SRP example code
2839 (doc/examples/ex-client-srp.c and doc/examples/ex-serv-srp.c) for more
2840 information.
2842 The alert codes GNUTLS_A_MISSING_SRP_USERNAME and
2843 GNUTLS_A_UNKNOWN_SRP_USERNAME are no longer used by the SRP
2844 specification, instead the GNUTLS_A_UNKNOWN_PSK_IDENTITY alert is
2845 used.  There are #define's to map the old names to the new.  You may
2846 run into problems if you have a switch-case with cases for both SRP
2847 alerts, since they are now mapped to the same value.  The solution is
2848 to drop the SRP alerts from such switch cases, as they are now
2849 deprecated in favor of GNUTLS_A_UNKNOWN_PSK_IDENTITY.
2851 *** OpenPGP related changes
2852 The function `gnutls_certificate_set_openpgp_keyserver' have been
2853 removed.  There is no replacement functionality inside GnuTLS.  If you
2854 need keyserver functionality, consider using the GnuPG tools.
2856 All functions, types, and error codes related to OpenPGP trustdb
2857 format have been removed.  The trustdb format is a non-standard
2858 GnuPG-specific format, and we recommend you to use key rings instead.
2859 The following have been removed:
2861  gnutls_certificate_set_openpgp_trustdb
2862  gnutls_openpgp_trustdb_init
2863  gnutls_openpgp_trustdb_deinit
2864  gnutls_openpgp_trustdb_import
2865  gnutls_openpgp_key_verify_trustdb
2866  gnutls_openpgp_trustdb_t
2867  GNUTLS_E_OPENPGP_TRUSTDB_VERSION_UNSUPPORTED
2869 The following functions has an added parameter of the (new) type
2870 `gnutls_openpgp_crt_fmt_t'.  The type specify the format of the data
2871 (binary or base64).  The functions are:
2872  gnutls_certificate_set_openpgp_key_file
2873  gnutls_certificate_set_openpgp_key_mem
2874  gnutls_certificate_set_openpgp_keyring_mem
2875  gnutls_certificate_set_openpgp_keyring_file
2877 To improve terminology and align with the X.509 interface, some
2878 functions have been renamed.  Compatibility mappings exists.  The old
2879 and new names of the affected functions and types are:
2881         Old name                                New name
2882  gnutls_openpgp_key_t                    gnutls_openpgp_crt_t
2883  gnutls_openpgp_key_fmt_t                gnutls_openpgp_crt_fmt_t
2884  gnutls_openpgp_key_status_t             gnutls_openpgp_crt_status_t
2885  GNUTLS_OPENPGP_KEY                      GNUTLS_OPENPGP_CERT
2886  GNUTLS_OPENPGP_KEY_FINGERPRINT          GNUTLS_OPENPGP_CERT_FINGERPRINT
2887  gnutls_openpgp_key_init                 gnutls_openpgp_crt_init
2888  gnutls_openpgp_key_deinit               gnutls_openpgp_crt_deinit
2889  gnutls_openpgp_key_import               gnutls_openpgp_crt_import
2890  gnutls_openpgp_key_export               gnutls_openpgp_crt_export
2891  gnutls_openpgp_key_get_key_usage        gnutls_openpgp_crt_get_key_usage
2892  gnutls_openpgp_key_get_fingerprint      gnutls_openpgp_crt_get_fingerprint
2893  gnutls_openpgp_key_get_pk_algorithm     gnutls_openpgp_crt_get_pk_algorithm
2894  gnutls_openpgp_key_get_name             gnutls_openpgp_crt_get_name
2895  gnutls_openpgp_key_get_version          gnutls_openpgp_crt_get_version
2896  gnutls_openpgp_key_get_creation_time    gnutls_openpgp_crt_get_creation_time
2897  gnutls_openpgp_key_get_expiration_time  gnutls_openpgp_crt_get_expiration_time
2898  gnutls_openpgp_key_get_id               gnutls_openpgp_crt_get_id
2899  gnutls_openpgp_key_check_hostname       gnutls_openpgp_crt_check_hostname
2900  gnutls_openpgp_send_key                 gnutls_openpgp_send_cert
2902 ** API and ABI modifications:
2903 No changes since last version.
2905 * Version 2.1.8 (released 2007-12-10)
2907 ** The GPL version has been changed from version 2 to version 3.
2908 This affects the self-tests, command-line tools, the libgnutls-extra
2909 library, the relevant guile parts, and the build environment.
2911 ** Added gnutls_x509_crt_get_subject_alt_name2().
2913 ** Corrected a segfault when setting an empty gnutls_priority_t
2914 at gnutls_priority_set().
2916 ** Use gettext 0.17 which updates m4/lib-*.m4 macros.
2917 Fixes a problem with spurious -L/usr/lib additions.
2919 ** API and ABI modifications:
2920 gnutls_x509_crt_get_subject_alt_name2: ADD.
2922 * Version 2.1.7 (released 2007-11-29)
2924 ** PKCS #8 parser can now encode/decode DSA keys.
2926 ** Updated gnutls_set_default_priority2() now renamed to
2927 gnutls_priority_set() and gnutls_priority_set_direct() which
2928 accept a string to indicate preferences of ciphersuite parameters.
2930 ** gnutls-cli and gnutls-serv now have a --priority option to set
2931 the priority string.
2933 ** The gnutls_*_convert_priority() functions were deprecated by
2934 the gnutls_priority_set() and gnutls_priority_set_direct().
2936 ** Internal copy of OpenCDK upgraded to version 0.6.6.
2938 ** API and ABI modifications:
2939 gnutls_priority_init: ADD.
2940 gnutls_priority_deinit: ADD.
2941 gnutls_priority_set: ADD.
2942 gnutls_priority_set_direct: ADD.
2943 gnutls_set_default_priority2: RENAMED to gnutls_priority_set_direct()
2944 gnutls_mac_convert_priority: REMOVED
2945 gnutls_compression_convert_priority: REMOVED
2946 gnutls_protocol_convert_priority: REMOVED
2947 gnutls_kx_convert_priority: REMOVED
2948 gnutls_cipher_convert_priority: REMOVED
2949 gnutls_certificate_type_convert_priority: REMOVED
2950 gnutls_set_default_priority: UNDEPRECATED
2951 gnutls_set_default_priority_export: UNDEPRECATED
2953 ** Undocumented API and ABI modifications earlier in the 2.1.x series:
2954 GNUTLS_CIPHER_UNKNOWN: ADD.
2955 GNUTLS_CIPHER_CAMELLIA_128_CBC: ADD.
2956 GNUTLS_CIPHER_CAMELLIA_256_CBC: ADD.
2957 GNUTLS_KX_UNKNOWN: ADD.
2958 GNUTLS_COMP_UNKNOWN: ADD.
2959 GNUTLS_CRT_UNKNOWN: ADD.
2960 gnutls_mac_get_id: ADD.
2961 gnutls_compression_get_id: ADD.
2962 gnutls_cipher_get_id: ADD.
2963 gnutls_kx_get_id: ADD.
2964 gnutls_protocol_get_id: ADD.
2965 gnutls_certificate_type_get_id: ADD.
2966 gnutls_handshake_post_client_hello_func: ADD.
2967 gnutls_certificate_send_x509_rdn_sequence: ADD prototype to gnutls.h.in.
2969 * Version 2.1.6 (released 2007-11-15)
2971 ** Corrected bug in decompression of expanded compression data.
2973 ** Added the --to-p8 option to certtool to convert private keys
2974 to PKCS #8 keys.
2976 ** Introduced the GNUTLS_E_BASE64_UNEXPECTED_HEADER_ERROR error code.
2978 ** gnutls_certificate_set_x509_key_* can now read PKCS #8 unencrypted
2979 private keys.
2981 ** Fixed GNUTLS_E_UNKNOWN_ALGORITHM vs GNUTLS_E_UNKNOWN_HASH_ALGORITHM.
2982 During the 2.1.x series the GNUTLS_E_UNKNOWN_HASH_ALGORITHM error code
2983 was renamed to GNUTLS_E_UNKNOWN_ALGORITHM, unfortunately without being
2984 documented.  This caused some problems (e.g., debian #450854).  To
2985 avoid backwards compatibility problems, this release revert this
2986 change, so that GNUTLS_E_UNKNOWN_HASH_ALGORITHM works just like it has
2987 done in GnuTLS 2.0.x and earlier, and add a new error code
2988 GNUTLS_E_UNKNOWN_ALGORITHM.
2990 ** Fixes several gtk-doc warnings.
2992 ** API and ABI modifications:
2993 GNUTLS_E_UNKNOWN_ALGORITHM: CHANGED.
2994 GNUTLS_E_UNKNOWN_HASH_ALGORITHM: CHANGED.
2995 GNUTLS_E_BASE64_UNEXPECTED_HEADER_ERROR: ADD.
2997 * Version 2.1.5 (released 2007-11-01)
2999 ** Fix PKCS#3 parameter export problem.
3001 ** Improve certtool queries, they now print the default value.
3003 ** Fix ABI version.
3005 ** Update gnulib files.
3007 ** API and ABI modifications:
3008 No changes since last version.
3010 * Version 2.1.4 (released 2007-10-27)
3012 ** Added the --v1 option to certtool, to allow generating X.509
3013 version 1 certificates. 
3015 ** certtool: Add option --disable-quick-random to enable the old behaviour
3016 of using /dev/random to generate keys.
3018 ** Added priority functions that accept strings.
3020 ** Added gnutls_set_default_priority2() which accepts a flag to indicate
3021 priorities preferences.
3023 ** Added gnutls_record_disable_padding() to allow servers talking to 
3024 buggy clients that complain if the TLS 1.0 record protocol padding is
3025 used.
3027 ** Introduced gnutls_session_enable_compatibility_mode() to allow enabling
3028 all supported compatibility options (like disabling padding).
3030 ** The gnutls_certificate_set_openpgp_* functions were modified to include
3031 the format. This makes the interface consistent with the x509 functions.
3033 ** Internal copy of OpenCDK upgraded to version 0.6.5.
3035 ** Update gnulib files.
3037 ** API and ABI modifications:
3038 gnutls_certificate_set_openpgp_key_mem: MODIFIED
3039 gnutls_certificate_set_openpgp_key_file: MODIFIED
3040 gnutls_certificate_set_openpgp_keyring_mem: MODIFIED
3041 gnutls_certificate_set_openpgp_keyring_file: MODIFIED
3042 gnutls_set_default_priority: DEPRECATED
3043 gnutls_set_default_priority_export: DEPRECATED
3044 gnutls_set_default_priority2: ADDED
3045 gnutls_session_enable_compatibility_mode: ADDED
3046 gnutls_record_disable_padding: ADDED
3047 gnutls_mac_convert_priority: ADDED
3048 gnutls_compression_convert_priority: ADDED
3049 gnutls_protocol_convert_priority: ADDED
3050 gnutls_kx_convert_priority: ADDED
3051 gnutls_cipher_convert_priority: ADDED
3052 gnutls_certificate_type_convert_priority: ADDED
3053 gnutls_openpgp_key_t: RENAMED to gnutls_openpgp_crt_t
3054 gnutls_openpgp_key_status_t: RENAMED to gnutls_openpgp_crt_status_t
3055 gnutls_openpgp_send_key: RENAMED to gnutls_openpgp_send_cert
3056 gnutls_openpgp_key_init: RENAMED to gnutls_openpgp_crt_init
3057 gnutls_openpgp_key_import: RENAMED to gnutls_openpgp_crt_import
3058 gnutls_openpgp_key_export: RENAMED to gnutls_openpgp_crt_export
3059 gnutls_openpgp_key_check_hostname: RENAMED to gnutls_openpgp_crt_check_hostname
3060 gnutls_openpgp_key_get_creation_time: RENAMED to gnutls_openpgp_crt_get_creation_time
3061 gnutls_openpgp_key_get_expiration_time: RENAMED to gnutls_openpgp_crt_get_expiration_time
3062 gnutls_openpgp_key_get_fingerprint: RENAMED to gnutls_openpgp_crt_get_fingerprint
3063 gnutls_openpgp_key_get_version: RENAMED to gnutls_openpgp_crt_get_version
3064 gnutls_openpgp_key_get_pk_algorithm: RENAMED to gnutls_openpgp_crt_get_pk_algorithm
3065 gnutls_openpgp_key_get_name: RENAMED to gnutls_openpgp_crt_get_name
3066 gnutls_openpgp_key_deinit: RENAMED to gnutls_openpgp_crt_deinit
3067 gnutls_openpgp_key_get_id: RENAMED to gnutls_openpgp_crt_get_id
3068 gnutls_openpgp_key_get_key_usage: RENAMED to gnutls_openpgp_crt_get_key_usage
3069 gnutls_openpgp_key_verify_ring: RENAMED to gnutls_openpgp_crt_verify_ring
3070 gnutls_openpgp_key_verify_self: RENAMED to gnutls_openpgp_crt_verify_self
3072 * Version 2.1.3 (released 2007-10-17)
3074 ** TLS authorization support removed.
3075 This technique may be patented in the future, and it is not of crucial
3076 importance for the Internet community.  After deliberation we have
3077 concluded that the best thing we can do in this situation is to
3078 encourage society not to adopt this technique.  We have decided to
3079 lead the way with our own actions.
3081 ** Re-enabled the 256 bit ciphers in the default priorities.
3083 ** Corrected bugs in openpgp key verification using a keyring (both in
3084 gnutls and opencdk)
3086 ** API and ABI modifications:
3087 gnutls_certificate_set_openpgp_keyserver: REMOVED
3088 gnutls_authz_data_format_type_t,
3089 gnutls_authz_recv_callback_func,
3090 gnutls_authz_send_callback_func,
3091 gnutls_authz_enable,
3092 gnutls_authz_send_x509_attr_cert,
3093 gnutls_authz_send_saml_assertion,
3094 gnutls_authz_send_x509_attr_cert_url,
3095 gnutls_authz_send_saml_assertion_url: REMOVED.
3096 GNUTLS_SUPPLEMENTAL_USER_MAPPING_DATA: ADDED.  To avoid that the
3097     gnutls_supplemental_data_format_type_t enum type becomes empty.
3099 * Version 2.1.2 (released 2007-10-14)
3101 ** Removed all the trustdb code from openpgp authentication.
3102 We now use only the well-specified keyrings.
3104 ** The 256 bit ciphers are not enabled in the default priorities.
3106 ** Added support for DSA2 using libgcrypt 1.3.0.
3108 ** certtool: Fixed data corruption when using --outder.
3110 ** Removed all the xml related stubs and functions.
3112 ** Added capability to set a callback after the client hello is received
3113 by the server in order to adjust parameters before the handshake.
3115 ** SRP was corrected to adhere to the latest draft (published soon as RFC)
3117 ** Corrected bug which did not allow a server to run without supporting
3118 certificates.
3120 ** Updated the DN parser which now prints wrongly decoded values as hex
3121 strings.
3123 ** certtool: Add option --quick-random.
3124 For generating low security test credentials.
3126 ** API and ABI modifications:
3127 gnutls_x509_crt_to_xml: REMOVED
3128 gnutls_openpgp_key_to_xml: REMOVED
3129 gnutls_openpgp_key_verify_trustdb: REMOVED
3130 gnutls_openpgp_trustdb_init: REMOVED
3131 gnutls_openpgp_trustdb_deinit: REMOVED
3132 gnutls_openpgp_trustdb_import: REMOVED
3133 gnutls_certificate_set_openpgp_trustdb: REMOVED
3134 gnutls_srp_client_credentials_function: CHANGED
3135 gnutls_handshake_set_post_client_hello_function: ADDED
3136 gnutls_mac_get_key_size: ADDED
3137 GNUTLS_E_OPENPGP_TRUSTDB_VERSION_UNSUPPORTED: DEPRECATED.
3138 GNUTLS_A_MISSING_SRP_USERNAME: DEPRECATED
3139 GNUTLS_A_UNKNOWN_SRP_USERNAME: DEPRECATED
3141 * Version 2.1.1 (released 2007-09-24)
3143 ** Added support for Camellia cipher, thanks to Yoshisato YANAGISAWA.
3144 Camellia is only enabled in GnuTLS if the installed libgcrypt has been
3145 compiled with Camellia support.  See the libgcrypt documentation on
3146 how to enable it.  Unconditionally disable it using the configure
3147 option --disable-camellia.  Fixes #1.
3149 ** Properly document in the NEWS file the API change in the last release.
3151 ** API and ABI modifications:
3152 No changes since last version.
3154 * Version 2.1.0 (released 2007-09-20)
3156 ** Support for draft-rescorla-tls-opaque-prf-input-00.txt.
3157 The support is disabled by default.  Since no value has been allocated
3158 by the IANA for this extension yet, you will need to provide one
3159 yourself by invoking './configure --enable-opaque-prf-input=42'.
3160 Fixes #2.
3162 ** Example code: Fix compilation flaw under MinGW.
3164 ** API and ABI modifications:
3165 gnutls_oprfi_callback_func: ADD, new typedef function prototype.
3166 gnutls_oprfi_enable_client: ADD, new function.
3167 gnutls_oprfi_enable_server: ADD, new function.
3169 * Version 2.0.4 (released 2007-11-16)
3171 ** Corrected bug in decompression of expanded compression data.           
3173 ** API and ABI modifications:
3174 No changes since last version.
3176 * Version 2.0.3 (released 2007-11-10)
3178 ** This version backports several fixes from the 2.1.x branch.
3180 ** Fixed PKCS #3 parameter export.
3182 ** Added gnutls_record_disable_padding() to allow servers talking to
3183 buggy clients that complain if the TLS 1.0 record protocol padding is
3184 used.
3186 ** Introduced gnutls_session_enable_compatibility_mode() to allow enabling
3187 all supported compatibility options (like disabling padding).
3189 ** Corrected bug which did not allow a server to run without supporting
3190 certificates.
3192 ** API and ABI modifications:
3193 gnutls_session_enable_compatibility_mode: ADDED
3194 gnutls_record_disable_padding: ADDED
3196 * Version 2.0.2 (released 2007-10-17)
3198 ** TLS authorization support removed.
3199 This technique may be patented in the future, and it is not of crucial
3200 importance for the Internet community.  After deliberation we have
3201 concluded that the best thing we can do in this situation is to
3202 encourage society not to adopt this technique.  We have decided to
3203 lead the way with our own actions.
3205 ** certtool: Fixed data corruption when using --outder.
3207 ** Fix configure-time Guile detection.
3209 ** API and ABI modifications:
3210 GNUTLS_SUPPLEMENTAL_USER_MAPPING_DATA: ADDED.  To avoid that the
3211     gnutls_supplemental_data_format_type_t enum type becomes empty.
3213 * Version 2.0.1 (released 2007-09-20)
3215 ** New directory doc/credentials/ with test credentials.
3216 This collects the test credentials from the web page and from src/.
3217 The script gnutls-http-serv has also been moved to that directory.
3219 ** Update SRP extension type and cipher suite with official IANA values.
3220 This breaks backwards compatibility with SRP in older versions of
3221 GnuTLS, but this is intentional to speed up the adoption of the
3222 official values.  The old values we used were incorrect.
3224 ** Guile: Fix `x509-certificate-dn-oid'
3226 ** API and ABI modifications:
3227 No changes since last version.
3229 * Version 2.0.0 (released 2007-09-04)
3231 ** Included copy of Libtasn1 upgraded to version 1.1.
3233 ** Disable building of some examples if anonymous ciphers are disabled.
3235 ** Don't build examples for disabled features.
3237 ** API and ABI modifications:
3238 No changes since last version.
3240 * Version 1.7.19 (released 2007-08-27)
3242 ** Fix gnutls_error_is_fatal so that positive "errors" are non-critical.
3243 This solves connection problems in mutt, see
3244 <http://bugs.debian.org/439640>.
3246 ** Update gnulib files.
3247 In particular, the getpass module -- with its dependencies on getline,
3248 getdelim, fseeko etc -- where moved from the lgl/ (used by the core
3249 library) directory to the gl/ directory (only used by the command line
3250 tools).  The reason is that getpass is now only used by the
3251 command-line tools, and reducing the number of gnulib modules linked
3252 to the core library helps portability and reduces size.
3254 ** Fix warnings.
3256 ** Disable building of PGP examples if PGP is disabled.
3258 ** Included copy of OpenCDK upgraded to version 0.6.4.
3260 ** API and ABI modifications:
3261 No changes since last version.
3263 * Version 1.7.18 (released 2007-08-16)
3265 ** Install images for the info manual.
3266 This has a side effect of renaming the images.  See
3267 <http://thread.gmane.org/gmane.comp.tex.texinfo.bugs/3533> for
3268 discussions on the approach chosen.
3270 ** Fix pointer mix to variables of different size.
3271 Patch extracted from
3272 <http://cvs.fedora.redhat.com/viewcvs/devel/gnutls/gnutls-1.6.3-incompat-pointers.patch?rev=1.1&view=auto>.
3274 ** Fix warnings during build.
3275 Thanks to Andreas Metzler <ametzler@downhill.at.eu.org>.
3277 ** API and ABI modifications:
3278 No changes since last version.
3280 * Version 1.7.17 (released 2007-08-15)
3282 ** New functions to perform external signing.
3283 Set the signing callback function (of the gnutls_sign_func prototype)
3284 using the gnutls_sign_callback_set function.  In the callback, you may
3285 find the new functions gnutls_x509_privkey_sign_hash and
3286 gnutls_openpgp_privkey_sign_hash useful.  A new function
3287 gnutls_sign_callback_get is also added, to retrieve the function
3288 pointer.  Thanks to "Alon Bar-Lev" <alon.barlev@gmail.com> for
3289 comments and testing.
3291 ** New self test of client and server authenticated X.509 TLS sessions.
3292 See tests/x509self.c and tests/x509signself.c.  The latter also tests
3293 the new external signing callback interface.
3295 ** New errors GNUTLS_E_APPLICATION_ERROR_MIN..GNUTLS_E_APPLICATION_ERROR_MAX.
3296 These two actually describe the outer limits of a range of error codes
3297 reserved to the application.  All of the errors are treated as fatal
3298 by the library (it has to since it doesn't know the semantics of the
3299 error codes).  This can be useful in callbacks, to signal some
3300 application-specific error condition, which will usually eventually
3301 cause some gnutls API to return the same error code as the callback,
3302 which then can be inspected by the application.  Note that error codes
3303 are negative.
3305 ** gnutls_set_default_priority now disable TLS 1.2 by default.
3306 The RFC is not released yet, and we're approaching a major release so
3307 let's not enable it just yet.
3309 ** Fix namespace so that gnutls_*_t is used consistently.
3310 Before, many places in the GnuTLS code used the old deprecated type
3311 names without the '_t' suffix.
3313 ** Build fixes for Guile code.
3314 Patch from Ludovic Courtes <ludovic.courtes@laas.fr>.
3316 ** More documentation fixes.
3317 In particular, the section headings were modified for casing.  By
3318 Ludovic Courtes <ludovic.courtes@laas.fr>.
3320 ** Updated Polish and Swedish translations.
3321 Thanks to Jakub Bogusz <qboosh@pld-linux.org> and Daniel Nylander
3322 <po@danielnylander.se>.
3324 ** API and ABI modifications:
3325 gnutls_sign_func: ADD, new type for sign callback.
3326 gnutls_sign_callback_set: ADD, new function to set sign callback.
3327 gnutls_sign_callback_get: ADD, new function to retrieve sign callback.
3328 gnutls_x509_privkey_sign_hash,
3329 gnutls_openpgp_privkey_sign_hash: ADD, new functions useful in sign callback.
3330 GNUTLS_E_APPLICATION_ERROR_MIN,
3331 GNUTLS_E_APPLICATION_ERROR_MAX: ADD, new CPP #defines for error codes.
3333 * Version 1.7.16 (released 2007-08-07)
3335 ** Fix sanity checks and return values in certificate selection.
3336 In some cases, GnuTLS omitted to report suitable error codes when no
3337 suitable certificate was found.
3339 ** Fix gnutls-cli starttls EOF on Mac OS X.
3340 Thanks to Hal Eden <n.mavrogiannopoulos@gmail.com>.
3342 ** Documentation fixes.
3343 In particular, the section headings were modified for casing.  By
3344 Ludovic Courtes <ludovic.courtes@laas.fr>.
3346 ** Update gnulib files.
3348 ** API and ABI modifications:
3349 No changes since last version.
3351 * Version 1.7.15 (released 2007-07-02)
3353 ** Fix self-tests key-id under mingw32.
3355 ** Test that the Guile header files are recent enough to work.
3356 Before we just tested that the command line tool 'guile' was recent
3357 enough, which may not be sufficient if you still have an old
3358 libguile.h header installed.
3360 ** Guile bindings are now installed under $prefix by default.
3361 Use --without-guile-site-dir to install it under $pkgdatadir/site/
3362 where $pkgdatadir is as returned by "guile-config info pkgdatadir".
3363 Use --with-guile-site-dir=/your/own/path to specify the path manually.
3364 The default, --with-guile-site-dir, will install the Guile bindings
3365 under $datadir/guile/site.  There is a new section 'Guile
3366 Preparations' in the manual that discuss these issues.
3368 ** Fix run-time library path ordering in linking the Guile bindings.
3370 ** Improved manual on downloading, installing, getting help, bug reports etc.
3371 Suggested by Ludovic Courtès <ludovic.courtes@laas.fr>.
3373 ** Add Malay message translations.
3374 Thanks to Sharuzzaman Ahmat Raslan <sharuzzaman@myrealbox.com>.
3376 ** API and ABI modifications:
3377 No changes since last version.
3379 * Version 1.7.14 (released 2007-06-26)
3381 ** Don't enable Guile bindings unless we have Guile 1.8 or later.
3382 Patch from Ludovic Courtès <ludovic.courtes@laas.fr>.
3384 ** Fix memory leak during DSA signature verification.
3385 Patch from Ludovic Courtès <ludovic.courtes@laas.fr>.
3387 ** Fix crash in gnutls-cli when TLS handshake fails.
3388 Reported by Marc Haber <mh+debian-bugs@zugschlus.de> and Andreas
3389 Metzler <ametzler@downhill.at.eu.org> via Debian BTS #429183, see
3390 <http://bugs.debian.org/429183>.
3392 ** Minor OpenPGP fixes in stream_to_datum.
3393 Patch from Timo Schulz <twoaday@freakmail.de> and Ludovic Courtès
3394 <ludovic.courtes@laas.fr>.
3396 ** Fix off-by-one in TLS 1.2 handshake.
3397 Patch from Ludovic Courtès <ludovic.courtes@laas.fr>.
3399 ** Minor Guile binding self-test cleanup.
3400 Patch from Ludovic Courtès <ludovic.courtes@laas.fr>.
3402 ** Update gnulib files.
3404 ** API and ABI modifications:
3405 No changes since last version.
3407 * Version 1.7.13 (released 2007-06-11)
3409 ** OpenCDK copy updated to version 0.6.3.
3411 ** Build fixes for GnuTLS Guile bindings.
3412 Patch from Ludovic Courtès <ludovic.courtes@laas.fr>.
3414 ** Build fix for GTK-DOC manual.
3416 ** Update gnulib files.
3418 ** API and ABI modifications:
3419 No changes since last version.
3421 * Version 1.7.12 (released 2007-06-08)
3423 ** Guile bindings for GnuTLS have been included.
3424 Contributed by Ludovic Courtès <ludovic.courtes@laas.fr>.  There is a
3425 new chapter 'Guile Bindings' in the manual.
3427 ** Have PKCS8 parser return better error codes.
3428 Reported by Nate Nielsen <nielsen-list@memberwebs.com>, see
3429 <http://lists.gnupg.org/pipermail/gnutls-dev/2007-May/001653.html> and
3430 <http://lists.gnupg.org/pipermail/gnutls-dev/2007-May/001654.html>.
3432 ** Fix mem leak for sessions with client authentication via certificates.
3433 Reported by Andrew W. Nosenko <andrew.w.nosenko@gmail.com>, see
3434 <http://lists.gnupg.org/pipermail/gnutls-dev/2007-April/001539.html>.
3436 ** Fix mem leaks.
3437 Reported by Dennis Vshivkov <walrus@amur.ru>, see
3438 <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=333050>.  Added
3439 self-test tests/parse_ca.c to test regressions.
3441 ** Fix build failures related to missing images in manual.
3442 Reported by Andreas Metzler <ametzler@downhill.at.eu.org>.
3444 ** Update gnulib files.
3446 ** API and ABI modifications:
3447 No changes since last version.
3449 * Version 1.7.11 (released 2007-05-26)
3451 ** Include opencdk.h in the release.
3452 Reported by Roman Bogorodskiy <novel@FreeBSD.org>.
3454 ** API and ABI modifications:
3455 No changes since last version.
3457 * Version 1.7.10 (released 2007-05-25)
3459 ** New API functions to extract DER encoded X.509 Subject/Issuer DN.
3460 Suggested by Nate Nielsen <nielsen-list@memberwebs.com>.
3462 ** Update of gnulib files.
3464 ** GnuTLS is now developed in GIT instead of CVS.
3465 See <http://repo.or.cz/w/gnutls.git> for a public repository.
3467 ** API and ABI modifications:
3468 gnutls_x509_crt_get_raw_issuer_dn: ADD.
3469 gnutls_x509_crt_get_raw_dn: ADD.
3471 * Version 1.7.9 (released 2007-05-12)
3473 ** X.509 certificates are preferred over OpenPGP keys.
3474 This is a change in the semantics of gnutls_set_default_priority.
3476 ** The included copy of OpenCDK has been updated to 0.6.1.
3477 There has been some API changes in OpenCDK, and the GnuTLS layer have
3478 been modified as well.  Note that while there are API/ABI incompatible
3479 changes in OpenCDK, this does not influence GnuTLS's API/ABI because
3480 its API/ABI have not changed.  From this version on, GnuTLS requires
3481 OpenCDK 0.6.0 or later.
3483 ** Fix build failure caused by missing doc/gnutls-logo.pdf.
3485 ** Change certtool's default serial number from 0 to a time-based value.
3487 ** Fix X.509 signing with RSA-PKCS#1 to set a NULL parameters fields.
3488 Before, we remove the parameters field, which resulted in a slightly
3489 different DER encoding which in turn caused signature verification
3490 failures of GnuTLS-generated RSA certificates in some other
3491 implementations (e.g., GnuPG 2.x's gpgsm).  Depending on which RFCs
3492 you read, this may or may not be correct, but our new behaviour appear
3493 to be consistent with other widely used implementations.
3495 ** Fix mem leaks in gnutls_x509_crt_print.
3497 ** API and ABI modifications:
3498 No changes since last version.
3500 * Version 1.7.8 (released 2007-04-16)
3502 ** Added examples for the authorization extension.
3503 See doc/examples/ex-client-authz.c and doc/examples/ex-serv-authz.c.
3505 ** The examples only use gnutls_set_default_priority().
3506 The exception is when DH_ANON is needed.
3508 ** Improve gnutls_set_default_priority() priorities.
3509 The new approach is for it to try and negotiate all secure and
3510 standard mechanisms available.  Currently, DH_ANON ciphersuites and
3511 LZO compressions are not enabled by default, because they are,
3512 respectively, insecure and non-standardized.  Note that TLS 1.2 will
3513 not be enabled by default in non-experimental release until it has
3514 been approved by the IETF.
3516 ** gnutls-cli and gnutls-serv now uses the library's default priorities.
3517 This means that to get DH_ANON and LZO compression, you'll need to
3518 specify that manually using '--kx anon' or '--comp lzo'.
3520 ** Minor fixes to the human display format of X.509 certificates.
3522 ** New APIs to extract Distinguished Name's from X.509 certificates.
3523 Based on patch from Howard Chu <hyc@symas.com>.
3525 ** Improved library searching for opencdk.
3526 It will now add the appropriate -R or -Wl,-rpath flags as necessary.
3527 The deprecated opencdk.m4 is no longer used.
3529 ** New APIs to list supported algorithms in the library.
3530 The APIs are gnutls_cipher_list, gnutls_mac_list,
3531 gnutls_compression_list, gnutls_protocol_list,
3532 gnutls_certificate_type_list, gnutls_kx_list, and
3533 gnutls_cipher_suite_info.  Suggested by Howard Chu <hyc@symas.com>.
3535 ** The gnutls_x509_crt_get_key_id API now handle non-RSA/DSA keys.
3537 ** New configure option --disable-tls-authorization to disable tls-authz.
3539 ** Fix prototype for `gnutls_psk_set_client_credentials'.
3540 The last parameter was renamed from 'flags' to 'format' and the type
3541 changed from 'unsigned int' to 'gnutls_psk_key_flags' (an enum type),
3542 which shouldn't cause any ABI changes.  Reported by ludo@chbouib.org
3543 (Ludovic Courtès).
3545 ** Fix allocation in gnutls_certificate_set_openpgp_key.
3546 Tiny patch from ludo@chbouib.org (Ludovic Courtès).
3548 ** API and ABI modifications:
3549 gnutls_x509_dn_t: ADD.
3550 gnutls_x509_ava_st: ADD.
3551 gnutls_x509_crt_get_subject,
3552 gnutls_x509_crt_get_issuer: ADD.
3553 gnutls_x509_dn_get_rdn_ava: ADD.
3554 gnutls_cipher_list: ADD.
3555 gnutls_mac_list: ADD.
3556 gnutls_compression_list: ADD.
3557 gnutls_protocol_list: ADD.
3558 gnutls_certificate_type_list: ADD.
3559 gnutls_kx_list: ADD.
3560 gnutls_cipher_suite_info: ADD.
3562 * Version 1.7.7 (released 2007-02-22)
3564 ** Support for supplemental handshake messages and authorization data.
3565 Supplemental data is described in RFC 4680 and the authorization
3566 extensions in draft-housley-tls-authz-extns-07.
3568 ** Support for authorization data in gnutls-cli and gnutls-serv.
3569 New parameters --authz-x509-attr-cert and --authz-saml-assertion.
3571 ** Fix for gnutls_x509_crt_check_hostname.
3572 Before it would have reported that the certificate matched a hostname
3573 when it did not have any dNSName or any CN field.  Report and tiny
3574 patch from "Richard W.M. Jones" <rjones@redhat.com>.
3576 ** New self test for RFC 2818 comparison in gnutls_x509_crt_check_hostname.
3577 Tests regressions of the bug, and several other features.
3579 ** GnuTLS now matches URI's with IP Addresses against iPAddress SAN's.
3580 Before there were no support for iPAddress SAN's during comparison.
3582 ** New API to print information about CRL's.
3583 The function is gnutls_x509_crl_print.
3585 ** New API to extract signature value from CRL's.
3586 The function is gnutls_x509_crl_get_signature.
3588 ** Support for directoryName Subject Alternative Name's.
3589 The gnutls_x509_crt_get_subject_alt_name function returns the DN as a
3590 string in the provided buffer.
3592 ** Internal improvements to certtool.
3593 It uses gnutls_x509_crl_print to print CRL information.  It uses some
3594 more gnulib modules to simplify error handling.
3596 ** API and ABI modifications:
3597 GNUTLS_HANDSHAKE_SUPPLEMENTAL: ADD, new gnutls_handshake_description_t element.
3598 gnutls_supplemental_data_format_type_t: ADD.
3599 gnutls_authz_data_format_type_t: ADD.
3600 gnutls_supplemental_get_name: ADD.
3601 gnutls_authz_recv_callback_func,
3602 gnutls_authz_send_callback_func: ADD, callback prototypes.
3603 gnutls_authz_enable: ADD.
3604 gnutls_authz_send_x509_attr_cert,
3605 gnutls_authz_send_saml_assertion,
3606 gnutls_authz_send_x509_attr_cert_url,
3607 gnutls_authz_send_saml_assertion_url: ADD.
3608 GNUTLS_SAN_DN: ADD, new gnutls_x509_subject_alt_name_t element.
3609 gnutls_x509_crl_print: ADD.
3610 gnutls_x509_crl_get_signature: ADD.
3612 * Version 1.7.6 (released 2007-02-12)
3614 ** Support for 'otherName' Subject Alternative Names.
3615 The existing API gnutls_x509_crt_get_subject_alt_name may now return
3616 the new type GNUTLS_SAN_OTHERNAME together with the otherName value.
3617 To find out the otherName OID (necessary for proper parsing of the
3618 value), use the new API gnutls_x509_crt_get_subject_alt_othername_oid.
3619 For known OIDs, gnutls_x509_crt_get_subject_alt_othername_oid will
3620 return "virtual" SAN values, e.g., GNUTLS_SAN_OTHERNAME_XMPP to
3621 simplify OID matching.  Suggested by Matthias Wimmer <m@tthias.eu>.
3623 ** Certtool can print otherName SAN values for certificates.
3624 For known otherName OIDs (currently only id-on-xmppAddr as defined by
3625 RFC 3920), it will also print the name.
3627 ** Fix TLS 1.2 RSA signing in servers.
3628 Before it used the old-style MD5+SHA1 signature, but the TLS
3629 signatures should be normal PKCS#1 signatures.  FYI, we use and
3630 require that DigestInfo parameters are present and NULL for TLS 1.2.
3632 ** Add APIs to access X.509 extensions sequentially.
3633 The existing APIs gnutls_x509_crt_get_extension_oid() and
3634 gnutls_x509_crt_get_extension_by_oid() does not permit callers to
3635 inspect the extensions in the order defined by the certificate.
3637 ** Add API to extract signature value from X.509 certificates.
3638 The function is gnutls_x509_crt_get_signature.
3640 ** Fix crash when generating proxy certificates in batch mode.
3641 If you don't specify a proxy policy in batch mode, it will use
3642 id-ppl-inheritALL.
3644 ** Add API to print information about X.509 certificates.
3645 The function is gnutls_x509_crt_print.
3647 ** Certtool uses the new API gnutls_x509_crt_print to print certificate info.
3648 One consequence of this is that the output syntax has changed
3649 slightly.  Some more fields are printed.
3651 ** Doc fixes.
3653 ** API and ABI modifications:
3654 gnutls_x509_crt_print: ADD
3655 gnutls_certificate_print_formats_t: ADD, new enum.
3656 gnutls_x509_crt_get_signature: ADD.
3657 gnutls_x509_crt_get_extension_data: ADD.
3658 gnutls_x509_crt_get_extension_info: ADD.
3659 gnutls_x509_crt_get_subject_alt_othername_oid: ADD.
3660 GNUTLS_SAN_OTHERNAME: ADD, new gnutls_x509_subject_alt_name_t element.
3661 GNUTLS_SAN_OTHERNAME_XMPP: ADD, new gnutls_x509_subject_alt_name_t element.
3663 * Version 1.7.5 (released 2007-02-06)
3665 ** Servers won't negotiate SRP RSA/DSS cipher suites if no SRP credential
3666 ** is set.
3668 ** Default behaviour for the gnutls-cli and gnutls-serv tools improved.
3670 ** Fix --list output for gnutls-cli and gnutls-serv.
3671 Mention TLS1.2, SHA512 etc.
3673 ** Manual contains new section on setting up a test HTTP server.
3674 A server set up following those descriptions are available online via
3675 <http://www.gnutls.org/server.html>.
3677 ** Update of gnulib files.
3679 ** API and ABI modifications:
3680 No changes since last version.
3682 * Version 1.7.4 (released 2007-02-05)
3684 ** Support for RSA signing using SHA-256/384/512.
3685 A new self test "sha2" tries to build a long X.509 certificate chain
3686 testing all new hashes.
3688 ** The gnutls-serv tool now use static DH parameters if none are supplied.
3690 ** Discuss proxy certificates in the manual.
3692 ** Improve bibliographical citations in the manual.
3694 ** Update of gnulib files.
3696 ** Fix certtool template handling of pathLenConstraints.
3697 It now defaults to -1 instead of 0, which causes the field to be
3698 missing unless the template specify it.
3700 ** API and ABI modifications:
3701 GNUTLS_MAC_SHA256,
3702 GNUTLS_MAC_SHA384,
3703 GNUTLS_MAC_SHA512: New gnutls_mac_algorithm_t values.
3704 GNUTLS_DIG_SHA256,
3705 GNUTLS_DIG_SHA384,
3706 GNUTLS_DIG_SHA512: New gnutls_digest_algorithm_t values.
3707 GNUTLS_SIGN_RSA_SHA256,
3708 GNUTLS_SIGN_RSA_SHA384,
3709 GNUTLS_SIGN_RSA_SHA512: New gnutls_sign_algorithm_t values.
3711 * Version 1.7.3 (released 2007-02-01)
3713 ** New option to certtool: --generate-proxy.
3714 This will generate a Proxy Certificate from an end entity certificate.
3715 Proxy Certificates are documented in RFC 3820.  You will need to
3716 specify the proxy certificate's private key with --load-privkey, the
3717 user certificate with --load-certificate and the private key used to
3718 sign the new proxy certificate with --load-ca-privkey.  Certtool will
3719 query for proxy path length and the policy language OID.  Currently
3720 only OIDs that have an empty policy are supported (which includes the
3721 two OIDs defined by RFC 3820).
3723 ** Certtool --certificate-info now prints information for Proxy Certificates.
3724 Before the proxy extension was just printed as DER encoded data.
3726 ** New APIs to set proxy subject names and get/set proxy cert extension.
3728 ** Fix parsing of pathLenConstraints in BasicConstraints with missing cA.
3730 ** Added self-test to test for regressions of pathLenConstraint bug.
3731 Incidentally, this also test (some) other regressions or changes in
3732 the output from certtool --certificate-info.
3734 ** When certtool generates CA certificates, pressing enter on the path
3735 ** length constraint query will now remove the field.
3736 Before it set the path length constraint to 0, which is a rather poor
3737 default.
3739 ** Certtool now print times in UTC when printing certificate/CRL info.
3741 ** Add better fix to work around C++ compiler bug on Mac OS X.
3742 Reported and tiny patch provided by Matthias Scheler <tron@NetBSD.org>.
3744 ** Fix import of ASCII armored OpenPGP keys.
3745 Patch by ludovic.courtes@laas.fr (Ludovic Courtès).
3747 ** Update of gnulib files.
3749 ** API and ABI modifications:
3750 gnutls_x509_crt_set_proxy_dn: ADD.
3751 gnutls_x509_crt_set_proxy: ADD.
3752 gnutls_x509_crt_get_proxy: ADD.
3754 * Version 1.7.2 (released 2007-01-14)
3756 ** Certtool now print the value of the pathLenConstraints field for certs.
3758 ** Certtool now query for path length constraints when generating CA certs.
3759 For batch uses, the certtool configuration name is "path_len".
3760 Suggested by Sascha Ziemann <sascha.ziemann@secunet.com>.
3762 ** Add new API to get/set pathLenConstraint in the Basic Constraints.
3763 The new functions gnutls_x509_crt_get_basic_constraints and
3764 gnutls_x509_crt_set_basic_constraints provide a superset of the
3765 functionality in the old gnutls_x509_crt_get_ca_status and
3766 gnutls_x509_crt_set_ca_status (respectively), but the old functions
3767 will continue to be supported.
3769 ** Add new API in OpenCDK to extract public/secret OpenPGP key to S-expr.
3770 The functions are cdk_pubkey_to_sexp and cdk_seckey_to_sexp.  A proper
3771 OpenCDK release with this patch will be made soon, which should bump
3772 the OpenCDK version number.  Patch by Mario Lenz <mario.lenz@gmx.net>.
3774 ** Certtool --to-p12 can now store more than one certificate in the blob.
3775 Before it could only store one certificate, but now it will read and
3776 store as many certificate there are from the --load-certificate file.
3777 Suggested by Sascha Ziemann <sascha.ziemann@secunet.com>.
3779 ** Clean up separation of gnutls and gnutls-extra for OpenPGP.
3780 In particular, the OpenPGP function variables are no longer part of
3781 the exported libgnutls interface, and no header files from
3782 libgnutls-extra (GPL) are needed by libgnutls (LGPL).  The variables
3783 were never intended for non-internal purposes, and thus this does not
3784 imply a change in the external API/ABI.
3786 ** Print URL to gaa when missing, and fix srcdir!=builddir for GAA files.
3787 Reported by ludovic.courtes@laas.fr (Ludovic Courtès).
3789 ** GnuTLS no longer uses -mms-bitfields --enable-runtime-pseudo-reloc.
3790 Before these parameters were set to make GnuTLS build under mingw32,
3791 however, they appear to no longer be necessary.
3793 ** A minor fix to the C++ library to make it build.
3794 Reported by Pavlov Konstantin <thresh@altlinux.ru>.
3796 ** Update of gnulib files.
3798 ** API and ABI modifications:
3799 gnutls_x509_crt_get_basic_constraints: ADD.
3800 gnutls_x509_crt_set_basic_constraints: ADD.
3801 cdk_pubkey_to_sexp: ADD (in opencdk).
3802 cdk_seckey_to_sexp: ADD (in opencdk).
3804 * Version 1.7.1 (released 2006-12-28)
3806 ** TLS 1.2 server side fix.
3807 The Certificate Request sent did not contain the list of supported
3808 hashes field, thus violating the protocol.  It will now contain an
3809 empty list.  Reported by ludovic.courtes@laas.fr (Ludovic Courtès).
3811 ** TLS 1.2 DSA signature verification fix.
3812 Reported by ludovic.courtes@laas.fr (Ludovic Courtès).
3814 ** Fix the list of trusted CAs that server's send to clients.
3815 Before, the list contained issuer DN's instead of subject DN's of the
3816 trusted CAs.  Reported by Max Kellermann <max@duempel.org>.
3818 ** Fix gnutls_certificate_set_x509_crl to initialize the CRL before using it.
3819 Also added a self-test in tests/certificate_set_x509_crl.c to test the
3820 function.  Reported by Max Kellermann <max@duempel.org>.
3822 ** Encode UID fields in DN's as DirectoryString.
3823 Before GnuTLS encoded and parsed UID fields as IA5String.  This was
3824 incorrect, it should have used DirectoryString.  Now it will use
3825 DirectoryString for the UID field, but for backwards compatibility it
3826 will also accept IA5String UID's.  Reported by Max Kellermann
3827 <max@duempel.org>.
3829 ** Improve out-of-sourcedir builds from CVS.
3830 Reported by ludovic.courtes@laas.fr (Ludovic Courtès).
3832 ** Bootstrap tools changed.
3833 We now require autoconf 2.61, automake 1.10, and gettext 0.16, when
3834 building GnuTLS from CVS.  Libtool 1.5.22 is used.
3836 ** Fixed a syntax error in lib/gnutls.asn.
3837 Reported by Paul Millar <p.millar@physics.gla.ac.uk>.
3839 ** Added German translation of GnuTLS messages.
3841 ** Update of gnulib files.
3843 ** API and ABI modifications:
3844 No changes since last version.
3846 * Version 1.7.0 (released 2006-11-29)
3848 ** The default protocol priority try TLS 1.1 and TLS 1.2 too.
3849 The details is that the protocol priority set by
3850 `gnutls_set_default_priority' has been changed from TLS 1.0 and SSL
3851 3.0 to TLS 1.2, TLS 1.1, TLS 1.0 and SSL 3.0.
3853 ** Preliminary support for TLS 1.2.
3854 The client has been successfully tested against
3855 https://www.mikestoolbox.org:4433/.
3857 ** Anonself test now print a lot of debugging info, including TLS version.
3859 ** Doc fixes in OpenCDK, to avoid some gtk-doc warnings.
3861 ** Update of gnulib files.
3863 ** API and ABI modifications:
3864 GNUTLS_TLS1_2: New gnutls_protocol_t enum member.
3866 *** Pulled up from stable 1.6.x branch:
3868 ** Fix ./configure failure with non-GCC compilers.
3869 This fixes the following error message:
3870 configure: error: conditional "HAVE_LD_OUTPUT_DEF" was never defined.
3871 Reported by "Michael C. Vergallen" <mvergall@telenet.be>.
3873 * Version 1.6.3 (released 2007-05-26)
3875 ** New API functions to extract DER encoded X.509 Subject/Issuer DN.
3876 Suggested by Nate Nielsen <nielsen-list@memberwebs.com>.  Backported
3877 from the 1.7.x branch, see
3878 <http://lists.gnu.org/archive/html/help-gnutls/2007-05/msg00029.html>.
3880 ** Have PKCS8 parser return better error codes.
3881 Reported by Nate Nielsen <nielsen-list@memberwebs.com>, see
3882 <http://lists.gnupg.org/pipermail/gnutls-dev/2007-May/001653.html> and
3883 <http://lists.gnupg.org/pipermail/gnutls-dev/2007-May/001654.html>.
3885 ** Fix mem leak for sessions with client authentication via certificates.
3886 Reported by Andrew W. Nosenko <andrew.w.nosenko@gmail.com>, see
3887 <http://lists.gnupg.org/pipermail/gnutls-dev/2007-April/001539.html>.
3889 ** Fix building of 'tlsia' self test.
3890 Earlier some gcc are known to build tlsia linking to
3891 $prefix/lib/libgnutls-extra.so rather than the libgnutls-extra.so in
3892 the build directory, even though command line parameters look OK.
3893 Changing order of some parameters fixes it.
3895 ** API and ABI modifications:
3896 gnutls_x509_crt_get_raw_issuer_dn: ADD.
3897 gnutls_x509_crt_get_raw_dn: ADD.
3899 * Version 1.6.2 (released 2007-04-18)
3901 ** Fix X.509 signing with RSA-PKCS#1 to set a NULL parameters fields.
3902 Before, we remove the parameters field, which resulted in a slightly
3903 different DER encoding which in turn caused signature verification
3904 failures of GnuTLS-generated RSA certificates in some other
3905 implementations (e.g., GnuPG 2.x's gpgsm).  Depending on which RFCs
3906 you read, this may or may not be correct, but our new behaviour appear
3907 to be consistent with other widely used implementations.
3909 ** Regenerate the PKIX ASN.1 syntax tree.
3910 For some reason, after changing the ASN.1 type of ldap-UID in the last
3911 release, the generated C file built from the ASN.1 schema was not
3912 refreshed.  This can cause problems when reading/writing UID
3913 components inside X.500 Distinguished Names.  Reported by devel
3914 <dev001@pas-world.com>.
3916 ** Updated translations.
3918 ** API and ABI modifications:
3919 No changes since last version.
3921 * Version 1.6.1 (released 2006-12-28)
3923 ** Fix the list of trusted CAs that server's send to clients.
3924 Before, the list contained issuer DN's instead of subject DN's of the
3925 trusted CAs.  Reported by Max Kellermann <max@duempel.org>.
3927 ** Fix gnutls_certificate_set_x509_crl to initialize the CRL before using it.
3928 Reported by Max Kellermann <max@duempel.org>.
3930 ** Encode UID fields in DN's as DirectoryString.
3931 Before GnuTLS encoded and parsed UID fields as IA5String.  This was
3932 incorrect, it should have used DirectoryString.  Now it will use
3933 DirectoryString for the UID field, but for backwards compatibility it
3934 will also accept IA5String UID's.  Reported by Max Kellermann
3935 <max@duempel.org>.
3937 ** Fix ./configure failure with non-GCC compilers.
3938 This fixes the following error message:
3939 configure: error: conditional "HAVE_LD_OUTPUT_DEF" was never defined.
3940 Reported by "Michael C. Vergallen" <mvergall@telenet.be>.
3942 ** API and ABI modifications:
3943 No changes since last version.
3945 * Version 1.6.0 (released 2006-11-17)
3947 ** No changes since 1.5.5.
3948 The major changes compared to the 1.4.x branch are:
3950 *** A GnuTLS C++ library is part of the official distribution.
3951 Currently there are no examples or documentation, but hopefully this
3952 will change.  See gnutlsxx.h for the API.
3954 *** Windows is a supported platform.
3955 There are, however, two know bugs.  One is related to select() in
3956 command line tools (not, nota bene, in the library), the other is a
3957 problem with libgcrypt that causes delays.  Help is needed to resolve
3958 those issues, so we feel we can't delay the release because of this.
3960 *** New APIs for custom push/pull function error reporting.
3961 The new APIs are gnutls_transport_set_errno and
3962 gnutls_transport_set_global_errno.  See the release notes for version
3963 1.5.4 for more information.
3965 *** Self tests are run under valgrind, if available.  See --disable-valgrind.
3967 * Version 1.5.5 (released 2006-11-16)
3969 ** Correctly bump shared library version after adding new APIs.
3970 This was forgotten in the last release.
3972 ** Fix unsigned vs signed problem in ex-x509-info.c example.
3973 Reported by Tim Kosse <tim.kosse@filezilla-project.org>.
3975 ** Fix the rsa-md5-collision self test to work for MinGW+Wine.
3977 ** Update of gnulib files.
3979 ** API and ABI modifications:
3980 No changes since last version.
3982 * Version 1.5.4 (released 2006-11-07)
3984 ** New API functions to set errno in push/pull functions.
3985 Under Windows, setting the errno variable in a push/pull replacement
3986 may end up setting the wrong errno variable, and GnuTLS send/recv
3987 functions become confused about the real errno returned from a failed
3988 push/pull function.  Therefor, we have added two APIs to set the errno
3989 variable used by GnuTLS.  The APIs can also help to keep things
3990 thread-safe, by avoiding potentially global variables.  Typically,
3991 instead of setting errno in your push/pull function, you will call one
3992 of these functions.  It is recommended to use
3993 gnutls_transport_set_errno, but if you don't have the session variable
3994 easily accessible in the push/pull replacement function, you can use
3995 gnutls_transport_set_global_errno.  Suggested by Tim Kosse
3996 <tim.kosse@filezilla-project.org>.
3998 void gnutls_transport_set_errno (gnutls_session_t session, int err);
3999 void gnutls_transport_set_global_errno (int err);
4001 ** When calling `recv' or `send' Windows errors are handled properly.
4002 The Windows recv/send functions doesn't use errno, and GnuTLS now use
4003 WSAGetLastError to access the error condition instead.
4005 ** Several OpenPGP API fixes.
4006 All suggested by ludovic.courtes@laas.fr (Ludovic Courtès).  The most
4007 important fix is to change the return value of
4008 gnutls_openpgp_privkey_get_pk_algorithm and
4009 gnutls_openpgp_key_get_pk_algorithm from 'int' to
4010 'gnutls_pk_algorithm_t', which is an enum type (and thus API/ABI
4011 compatible with 'int').
4013 ** When a GnuTLS server receive a SSLv2 Client Hello for an unknown TLS
4014 ** version, try to negotiate the highest version support by the GnuTLS server,
4015 ** instead of the lowest.
4016 Reported by <Pasi.Eronen@nokia.com>.
4018 ** Replace old constructs with use of gnulib modules.
4019 For example, we can now assume unistd.h, sys/stat.h, sys/socket.h in
4020 the code.  If the headers doesn't exist on the target system, gnulib
4021 will make sure its replacement header files are used instead.
4023 ** Fix SOVERSION computation for *.def files.
4024 This fixes build errors similar to "No rule to make target
4025 `libgnutls-`expr', needed by `all-am'." when building for Windows.
4027 ** gnutls_check-version uses strverscmp from gnulib.
4029 ** Update of gnulib files.
4031 ** API and ABI modifications:
4032 gnutls_transport_set_errno: ADD
4033 gnutls_transport_set_global_errno: ADD
4035 * Version 1.5.3 (released 2006-10-26)
4037 ** Add new self-test of RSA-MD5 signature chains.
4038 Note that we already, since GnuTLS 1.2.9, reject RSA-MD5 signatures
4039 when verifying X.509 chains.  The code is in tests/rsa-md5-collision/
4040 and is based on the work by Marc Stevens et al, see
4041 <http://www.win.tue.nl/hashclash/TargetCollidingCertificates/>.
4043 ** Re-factor self tests.
4045 ** The include copy of Libtasn1 is updated to version 0.3.7.
4047 ** The included copy of OpenCDK is updated to version 0.5.11.
4049 ** Fix the filename of the *.def file on Windows after library version bump.
4051 ** Separated the gnulib directory into one for LGPL modules and one for GPL.
4052 This allows the GPL'd part of GnuTLS to take advantage of the GPL'd
4053 gnulib modules.  Earlier we could only use the LGPL'ed module from
4054 gnulib, because two gnulib directories in the same project didn't
4055 work.
4057 ** API and ABI modifications:
4058 No changes since last version.
4060 * Version 1.5.2 (released 2006-10-03)
4062 ** Decrement the shared library version back to 13 (as in the 1.4.x branch).
4063 Note that if you installed 1.5.0 or 1.5.1, they will have a higher
4064 shared library version than this version, so you'll have to remove
4065 them and possibly relink your applications.  The reason for this is
4066 that no API/ABI changes have been made since the 1.4.x branch, and
4067 that incrementing the shared library version was a mistake.  Reported
4068 by Andreas Metzler <ametzler@downhill.at.eu.org>.
4070 ** Fix off-by-one error when computing length to malloc.
4071 The code is used by gnutls_openpgp_add_keyring_file and
4072 gnutls_openpgp_add_keyring_mem.  Reported by "Adam Langley"
4073 <agl@imperialviolet.org>.
4075 ** Add version script for the GnuTLS C++ library.
4076 Reported by Andreas Metzler <ametzler@downhill.at.eu.org>.
4078 ** Fix the C++ compiler detection logic.
4079 Reported by Andreas Metzler <ametzler@downhill.at.eu.org>.
4081 ** Update of gnulib files.
4083 ** API and ABI modifications:
4084 No changes since last version.
4086 * Version 1.5.1 (released 2006-09-21)
4088 ** Fix PKCS#1 verification to avoid a variant of Bleichenbacher's
4089 ** Crypto 06 rump session attack.
4090 In particular, we check that the digestAlgorithm.parameters field is
4091 missing or empty, to avoid that it can contain "garbage" that may be
4092 used to alter the numeric properties of the signature.  See
4093 <http://www.imc.org/ietf-openpgp/mail-archive/msg14307.html> (which is
4094 not exactly the same as the problem we fix here).  Reported by Yutaka
4095 OIWA <y.oiwa@aist.go.jp>.
4097 See GNUTLS-SA-2006-4 on http://www.gnutls.org/security.html for more
4098 up to date information.
4100 ** Add self test to test for above flaw.
4102 ** Fix gnutls-cli-debug regarding resume support detection.
4103 Earlier, if the session-id from the server had a length of 0, it would
4104 indicate that the server supports resumption, which isn't the case.
4105 Reported by Kataja Kai <kai.kataja@op.fi>.
4107 ** Fix building of examples on FreeBSD by including netinet/in.h.
4108 Reported by Roman Bogorodskiy <novel@FreeBSD.org>.
4110 ** Fix certtool bug that caused the private key to not be loaded when
4111 generating a certificate with --load-request, which in turn triggered
4112 another unrelated bug in gnutls_x509_crt_sign2 (also fixed).  Reported
4113 by Sascha Ziemann <sascha.ziemann@secunet.com>.
4115 ** gnutls-cli and gnutls-serv works on Windows.
4116 The problem was the select() call that doesn't work on file
4117 descriptors (stdin) on Windows.  We borrowed some code from plibc to
4118 solve this.  It appears to be somewhat unreliable though.
4120 ** Autoconf 2.60 is now used.
4122 ** API and ABI modifications:
4123 No changes since last version.
4125 * Version 1.5.0 (released 2006-08-13)
4127 ** Change SRP and Cert-Type extensions to match IANA registry.
4129 ** Fixed bug in OpenPGP authentication handshake.
4131 ** Improvements for building under MinGW.
4132 Provides internal inet_ntop and inet_pton functions and arpa/inet.h
4133 header.  Calls WSAStartup and WSACleanup in gnutls_global_init and
4134 gnutls_global_deinit, respectively.  Loads getaddrinfo and getnameinfo
4135 at run-time from ws2_32.dll, and falls back on a simple replacement if
4136 it is not available.  Builds the library with -mms-bitfields
4137 -Wl,--enable-runtime-pseudo-reloc.  Links with --output-def, to
4138 create *.def files, which are installed.
4140 ** The examples now (conditionally) include config.h and link to gnulib.
4141 No other source changes were necessary, so the examples should
4142 continue to be possible to use stand-alone without any autoconf or
4143 gnulib stuff.
4145 ** Added C++ header "gnutlsxx.h" and library "libgnutlsxx".
4146 You may unconditionally disable it with --disable-cxx.  See
4147 includes/gnutls/gnutlsxx.h and lib/gnutlsxx.cpp for the
4148 implementation.
4150 ** Made command line tool '--version' behave according to GNU Standards.
4151 This enables 'make distcheck' to succeed.
4153 ** OpenCDK updated to 0.5.9 to fix some problems with OpenPGP support.
4155 ** Make --without-included-libtasn1 work.
4156 Reported by Daniel Black <dragonheart@gentoo.org>.
4158 ** Fix a crash (strcmp() on a NULL value) in the certificate verification logic.
4159 See http://www.gnu.org/software/gnutls/security.html regardging
4160 GNUTLS-SA-2006-2 for more up to date information.  Reported by
4161 satyakumar <satyam_kkd@hyd.hellosoft.com>.
4163 ** API and ABI modifications:
4164 No changes since last version.
4166 * Version 1.4.5 (released 2006-11-06)
4168 ** When a GnuTLS server receive a SSLv2 Client Hello for an unknown TLS
4169 ** version, try to negotiate the highest version support by the GnuTLS server,
4170 ** instead of the lowest.
4171 Reported by <Pasi.Eronen@nokia.com>.
4173 ** Fix typo in doc/examples/ex-serv-pgp.c.
4174 Reported by Adam Langley" <agl@imperialviolet.org>.
4176 ** API and ABI modifications:
4177 No changes since last version.
4179 * Version 1.4.4 (released 2006-09-12)
4181 ** Relax the test that caught signatures that exploit the variant of
4182 ** Bleichenbacher's Crypto 06 rump session attack on our
4183 ** verification logic flaw.
4184 In particular, we now permit the digestAlgorithm.parameters field to
4185 be present but empty, whereas in 1.4.3 we actually checked that the
4186 field was absent.
4188 ** Revert the removal of debug information for the GNUTLS-SA-2006-3 problem.
4189 The messages are only printed in debug mode, which is not recommended
4190 for normal use, and thus logging this situation cannot be abused as an
4191 oracle in typical recommended situations.
4193 ** API and ABI modifications:
4194 No changes since last version.
4196 * Version 1.4.3 (released 2006-09-08)
4198 ** Fix PKCS#1 verification to avoid a variant of Bleichenbacher's
4199 ** Crypto 06 rump session attack.
4200 In particular, we check that the digestAlgorithm.parameters field is
4201 empty, to avoid that it can contain "garbage" that may be used to
4202 alter the numeric properties of the signature.  See
4203 <http://www.imc.org/ietf-openpgp/mail-archive/msg14307.html> (which is
4204 not exactly the same as the problem we fix here).  Reported by Yutaka
4205 OIWA <y.oiwa@aist.go.jp>.
4207 See GNUTLS-SA-2006-4 on http://www.gnutls.org/security.html for more
4208 up to date information.
4210 ** Fix PKCS#1 decryption to avoid Bleichenbacher's Crypto 98 attack.
4211 See <http://www.bell-labs.com/user/bleichen/papers/pkcs.ps.gz>.
4212 Reported by Werner Koch <wk@gnupg.org>.
4214 See GNUTLS-SA-2006-3 on http://www.gnutls.org/security.html for more
4215 up to date information.
4217 ** Fix crash in gnutls_x509_crt_sign2 if passed a NULL issuer_key.
4219 ** API and ABI modifications:
4220 No changes since last version.
4222 * Version 1.4.2 (released 2006-08-12)
4224 ** Fix a crash (strcmp() on a NULL value) in the certificate verification logic.
4225 This can happen if you call gnutls_certificate_verify_peers2 and have
4226 a certain mix of local CA certificates and the peer send special
4227 certificates, that together trigger certain behaviour.  It is not
4228 known at this point whether the crash can be triggered without the
4229 special local CA certificate, and thus turn this into a remote crash
4230 of clients that verify server certificates when they talk to a server
4231 with the special server certificate.  See GNUTLS-SA-2006-2 on
4232 http://www.gnu.org/software/gnutls/security.html for more up to date
4233 information.  Reported by satyakumar <satyam_kkd@hyd.hellosoft.com>.
4235 ** Change SRP and Cert-Type extensions to match IANA registry.
4237 ** OpenCDK updated to 0.5.9 to fix some problems with OpenPGP support.
4239 ** Make --without-included-libtasn1 work.
4240 Reported by Daniel Black <dragonheart@gentoo.org>.
4242 ** API and ABI modifications:
4243 No changes since last version.
4245 * Version 1.4.1 (released 2006-06-14)
4247 ** Replaced inactive ifdefs to enable openpgp support in test programs.
4249 ** Fixed bug in OpenPGP authentication handshake.
4251 ** Fixed typographical in man pages.
4253 ** Build fixes of the manual.
4255 ** Added Swedish translation.
4257 ** API and ABI modifications:
4258 No changes since last version.
4260 * Version 1.4.0 (released 2006-05-15)
4262 ** Remove GnuTLS 0.8.x compatibility functions.
4264 ** The libgcrypt RNG is initialized in gnutls_global_init().
4266 ** TLS/IA API changes from Emile van Bergen.
4267 A dummy credential structure is not needed now, if you wish to use the
4268 low-level TLS/IA API, simply call gnutls_ia_enable to enable TLS/IA on
4269 a session.
4271 ** The self-tests are now run under valgrind, if it is installed.
4273 ** Libtasn1 is updated to 0.3.4, and that version is now required.
4275 ** The command line tools now use getaddrinfo and support IPv6.
4277 ** API and ABI modifications:
4278 _gnutls_x509_get_raw_crt_activation_time,
4279 _gnutls_x509_get_raw_crt_expiration_time: Removed.
4280 gnutls_ia_require_inner_phase: Removed, replaced by gnutls_ia_enable.
4281 gnutls_ia_enable: Added.
4283 * Version 1.3.5 (released 2006-03-08)
4285 ** Error messages are now translated using GNU Gettext.
4287 ** The function gnutls_x509_crt_to_xml now return an internal error.
4288 This means that the code to convert X.509 certificates to XML format
4289 does not work any more.  The reason is that the function called
4290 libtasn1 internal functions.  It seems unclean for libtasn1 to export
4291 the APIs needed here.  Instead it would be better to implement XML
4292 support inside libtasn1 properly.  If you need this functionality
4293 strongly, please consider looking into implementing this suggested
4294 approach instead.  As a workaround, you may also modify lib/x509/xml.c
4295 (change '#if 1' to '#if 0') and build using --with-included-libtasn1.
4297 ** Libraries are now built with libtool's -no-undefined.
4298 This helps producing libraries for Windows using mingw32.
4300 ** Doc fixes to explain that gnutls_record_send can block.
4302 ** Libtasn1 0.3.1 or later is now required.
4303 The include copy has been updated too.
4305 ** gnutls-cli can now recognize services and port numbers with the -p option.
4307 ** API and ABI modifications:
4308 No changes since last version.
4310 * Version 1.3.4 (released 2006-02-09)
4312 ** Fix read of out bounds bug in DER parser.
4313 Reported by Evgeny Legerov <admin@gleg.net>, and debugging help from
4314 Protover SSL.  Libtasn1 0.2.18 is now required, which contains the
4315 previous bug fix.  The included libtasn1 version in GnuTLS has been
4316 updated.
4318 ** Fixed bug in non-blocking gnutls_bye(). gnutls_record_send() will no 
4319 longer invalidate a session if the underlying send fails, but it will 
4320 prevent future writes. That is to allow reading the already received data.
4321 Patches and bug reports by Yoann Vandoorselaere <yoann@prelude-ids.org>
4323 ** Corrected bugs in gnutls_certificate_set_x509_crl() and
4324 gnutls_certificate_set_x509_trust(), that caused memory corruption if 
4325 more than one certificates were added. Report and patch by Max Kellermann.
4327 ** Fix build problems of OpenCDK on AIX.
4328 Thanks to "Heiden, John" <JHeiden@UTNet.UToledo.Edu>.
4330 ** API and ABI modifications:
4331 No changes since last version.
4333 * Version 1.3.3 (released 2006-01-12)
4335 ** New API to access the TLS master secret.
4336 When possible, you should use the TLS PRF functions instead.
4337 Suggested by Jouni Malinen <jkmaline@cc.hut.fi>.
4339 ** Improved handling when multiple libraries use GnuTLS at the same time.
4340 Now gnutls_global_init() can be called multiple times, and
4341 gnutls_global_deinit() will only deallocate the structure when it has
4342 been called as many times as gnutls_global_init() was called.
4344 ** Added a self test of TLS resume functionality.
4346 ** Fix crash in TLS resume code, caused by TLS/IA changes.
4348 ** Documentation fixes about thread unsafety, prompted by
4349 ** discussion with bryanh@giraffe-data.com (Bryan Henderson).
4350 In particular, gnutls_global_init() and gnutls_global_deinit() are not
4351 thread safe.  Careful callers may want to protect the call using a
4352 mutex.  The problem could also be ignored, which would cause a memory
4353 leak under rare conditions when two threads invoke the function
4354 roughly at the same time.
4356 ** Add 'const' keywords in various places, from Frediano ZIGLIO.
4358 ** The code was indented again, including the external header files.
4360 ** API and ABI modifications:
4361 New functions to retrieve the master secret value:
4362   gnutls_session_get_master_secret
4364 Add a 'const' keyword to existing API:
4365   gnutls_x509_crq_get_challenge_password
4367 * Version 1.3.2 (released 2005-12-15)
4369 ** GnuTLS now support TLS Inner application (TLS/IA).
4370 This is per draft-funk-tls-inner-application-extension-01.  This
4371 functionality is added to libgnutls-extra, so it is licensed under the
4372 GNU General Public License.
4374 ** New APIs to access the TLS Pseudo-Random-Function (PRF).
4375 The PRF is used by some protocols building on TLS, such as EAP-PEAP
4376 and EAP-TTLS.  One function to access the raw PRF and one to access
4377 the PRF seeded with the client/server random fields are provided.
4378 Suggested by Jouni Malinen <jkmaline@cc.hut.fi>.
4380 ** New APIs to acceess the client and server random fields in a session.
4381 These fields can be useful by protocols using TLS.  Note that these
4382 fields are typically used as input to the TLS PRF, and if this is your
4383 intended use, you should use the TLS PRF API that use the
4384 client/server random field directly.  Suggested by Jouni Malinen
4385 <jkmaline@cc.hut.fi>.
4387 ** Internal type cleanups.
4388 The uint8, uint16, uint32 types have been replaced by uint8_t,
4389 uint16_t, uint32_t.  Gnulib is used to guarantee the presence of
4390 correct types on platforms that lack them.  The uint type have been
4391 replaced by unsigned.
4393 ** API and ABI modifications:
4394 New functions to invoke the TLS Pseudo-Random-Function (PRF):
4395   gnutls_prf
4396   gnutls_prf_raw
4398 New functions to retrieve the session's client and server random values:
4399   gnutls_session_get_server_random
4400   gnutls_session_get_client_random
4402 New function, to perform TLS/IA handshake:
4403   gnutls_ia_handshake
4405 New function to decide whether to do a TLS/IA handshake:
4406   gnutls_ia_handshake_p
4408 New functions to allocate a TLS/IA credential:
4409   gnutls_ia_allocate_client_credentials
4410   gnutls_ia_free_client_credentials
4411   gnutls_ia_allocate_server_credentials
4412   gnutls_ia_free_server_credentials
4414 New functions to handle the AVP callback:
4415   gnutls_ia_set_client_avp_function
4416   gnutls_ia_set_client_avp_ptr
4417   gnutls_ia_get_client_avp_ptr
4418   gnutls_ia_set_server_avp_function
4419   gnutls_ia_set_server_avp_ptr
4420   gnutls_ia_get_server_avp_ptr
4422 New functions, to toggle TLS/IA application phases:
4423   gnutls_ia_require_inner_phase
4425 New function to mix session keys with inner secret:
4426   gnutls_ia_permute_inner_secret
4428 Low-level API (used internally by gnutls_ia_handshake):
4429   gnutls_ia_endphase_send
4430   gnutls_ia_send
4431   gnutls_ia_recv
4433 New functions that can be used after successful TLS/IA negotiation:
4434   gnutls_ia_generate_challenge
4435   gnutls_ia_extract_inner_secret
4437 Enum type with TLS/IA modes:
4438   gnutls_ia_mode_t
4440 Enum type with TLS/IA packet types:
4441   gnutls_ia_apptype_t
4443 Enum values for TLS/IA alerts:
4444   GNUTLS_A_INNER_APPLICATION_FAILURE
4445   GNUTLS_A_INNER_APPLICATION_VERIFICATION
4447 New error codes, to signal when an application phase has finished:
4448   GNUTLS_E_WARNING_IA_IPHF_RECEIVED
4449   GNUTLS_E_WARNING_IA_FPHF_RECEIVED
4451 New error code to signal TLS/IA verify failure:
4452   GNUTLS_E_IA_VERIFY_FAILED
4454 * Version 1.3.1 (released 2005-12-08)
4456 ** Support for DHE-PSK cipher suites has been added.
4457 This method offers perfect forward secrecy.
4459 ** Fix gnutls-cli STARTTLS hang when SIGINT is sent too quickly, thanks to
4460 Otto Maddox <ottomaddox@fastmail.fm> and Nozomu Ando <nand@mac.com>.
4462 ** Corrected a bug in certtool for 64 bit machines. Reported
4463 by Max Kellermann <max@duempel.org>.
4465 ** New function to set a X.509 private key and certificate pairs, and/or
4466 CRLs, from an PKCS#12 file, suggested by Emile van Bergen
4467 <emile@e-advies.nl>.
4469 The integrity of the PKCS#12 file is protected through a password
4470 based MAC; public-key based signatures for integrity protection are
4471 not supported.  PKCS#12 bags may be encrypted using password derived
4472 symmetric keys, public-key based encryption is not supported.  The
4473 PKCS#8 keys may be encrypted using passwords.  The API use the same
4474 password for all operations.  We believe that any more flexibility
4475 create too much complexity that would hurt overall security, but may
4476 add more PKCS#12 related APIs if real-world experience indicate
4477 otherwise.
4479 ** gnutls_x509_privkey_import_pkcs8 now accept unencrypted PEM PKCS#8 keys,
4480 reported by Emile van Bergen <emile@e-advies.nl>.
4481 This will enable "certtool -k -8" to parse those keys.
4483 ** Certtool now generate keys in unencrypted PKCS#8 format for empty passwords.
4484 Use "certtool -p -8" and press press enter at the prompt.  Earlier,
4485 certtool would have encrypted the key using an empty password.
4487 ** Certtool now accept --password for --key-info and encrypted PKCS#8 keys.
4488 Earlier it would have prompted the user for it, even if --password was
4489 supplied.
4491 ** Added self test of PKCS#8 parsing.
4492 Unencrypted and encrypted (pbeWithSHAAnd3-KeyTripleDES-CBC and
4493 pbeWithSHAAnd40BitRC2-CBC) formats are tested.  The test is in
4494 tests/pkcs8.
4496 ** API and ABI modifications:
4497 New function to set X.509 credentials from a PKCS#12 file:
4498   gnutls_certificate_set_x509_simple_pkcs12_file
4500 New gnutls_kx_algorithm_t enum type:
4501   GNUTLS_KX_DHE_PSK
4503 New API to return session data (basically same as gnutls_session_get_data):
4504   gnutls_session_get_data2
4506 New API to set PSK Diffie-Hellman parameters:
4507   gnutls_psk_set_server_dh_params
4509 * Version 1.3.0 (2005-11-15)
4511 ** Support for TLS Pre-Shared Key (TLS-PSK) ciphersuites have been added.
4512 This add several new APIs, see below.  Read the updated manual for
4513 more information.  A new self test "pskself" has been added, that will
4514 test this functionality.
4516 ** The session resumption data are now system independent.
4518 ** The code has been re-indented to conform to the GNU coding style.
4520 ** Removed the RIPEMD ciphersuites.
4522 ** Added a discussion of the internals of gnutls in manual.
4524 ** Fixes for Tru64 UNIX 4.0D that lack MAP_FAILED, from Albert Chin.
4526 ** Remove trailing comma in enums, for IBM C v6, from Albert Chin.
4528 ** Make sure config.h is included first in a few files, from Albert Chin.
4530 ** Don't use C++ comments ("//") as they are invalid, from Albert Chin.
4532 ** Don't install SRP programs and man pages if --disable-srp-authentication,
4533 from Albert Chin.
4535 ** API and ABI modifications:
4536 New gnutls_kx_algorithm_t key exchange type: GNUTLS_KX_PSK
4538 New gnutls_credentials_type_t credential type:
4539   GNUTLS_CRD_PSK
4541 New credential types:
4542   gnutls_psk_server_credentials_t
4543   gnutls_psk_client_credentials_t
4545 New functions to allocate PSK credentials:
4546   gnutls_psk_allocate_client_credentials
4547   gnutls_psk_free_client_credentials
4548   gnutls_psk_free_server_credentials
4549   gnutls_psk_allocate_server_credentials
4551 New enum type for PSK key flags:
4552   gnutls_psk_key_flags
4554 New function prototypes for credential callback:
4555   gnutls_psk_client_credentials_function
4556   gnutls_psk_server_credentials_function
4558 New function to set PSK username and key:
4559   gnutls_psk_set_client_credentials
4561 New function to set PSK passwd file:
4562   gnutls_psk_set_server_credentials_file
4564 New function to extract PSK user in server:
4565   gnutls_psk_server_get_username
4567 New functions to set PSK callback:
4568   gnutls_psk_set_server_credentials_function
4569   gnutls_psk_set_client_credentials_function
4571 Use size_t instead of int for output size parameter:
4572   gnutls_srp_base64_encode
4573   gnutls_srp_base64_decode
4575 * Version 1.2.11 (2006-05-11)
4576 - The function gnutls_x509_crt_to_xml is not supported any more, and
4577   return an internal error.  The reason is that the function called
4578   internal libtasn1 functions which are no longer exported from
4579   libtasn1.
4580 - Updated libtasn1 requirement to 0.3.4 and refreshed internal mintiasn1.
4581 - Updated gnulib compatibility files.
4582 - Fixed _gnutls_x509_get_raw_crt_expiration_time and
4583   _gnutls_x509_get_raw_crt_activation_time to return (time_t)-1 on errors.
4584 - API and ABI modifications:
4585   No changes since last version.
4587 * Version 1.2.10 (2006-02-09)
4588 - Fix read out bounds bug in DER parser.  Reported by Evgeny Legerov
4589   <admin@gleg.net>, and debugging help from Protover SSL.
4590 - Libtasn1 0.2.18 is now required (contains the previous bug fix).
4591   The included version has been updated too.
4592 - Fix gnutls-cli STARTTLS hang when SIGINT is sent too quickly, thanks to
4593   Otto Maddox <ottomaddox@fastmail.fm> and Nozomu Ando <nand@mac.com>.
4594 - Corrected a bug in certtool for 64 bit machines. Reported
4595   by Max Kellermann <max@duempel.org>.
4596 - Corrected bugs in gnutls_certificate_set_x509_crl() and
4597   gnutls_certificate_set_x509_trust(), that caused memory corruption if
4598   more than one certificates were added. Report and patch by Max Kellermann.
4599 - Fixed bug in non-blocking gnutls_bye(). gnutls_record_send() will no 
4600   longer invalidate a session if the underlying send fails, but it will 
4601   prevent future writes. That is to allow reading the already received data.
4602   Patches and bug reports by Yoann Vandoorselaere <yoann@prelude-ids.org>
4604 * Version 1.2.9 (2005-11-07)
4605 - Documentation was updated and improved.
4606 - RSA-MD2 is now supported for verifying digital signatures.
4607 - Due to cryptographic advances, verifying untrusted X.509
4608   certificates signed with RSA-MD2 or RSA-MD5 will now fail with a
4609   GNUTLS_CERT_INSECURE_ALGORITHM verification output.  For
4610   applications that must remain interoperable, you can use the
4611   GNUTLS_VERIFY_ALLOW_SIGN_RSA_MD2 or GNUTLS_VERIFY_ALLOW_SIGN_RSA_MD5
4612   flags when verifying certificates.  Naturally, this is not
4613   recommended default behaviour for applications.  To enable the
4614   broken algorithms, call gnutls_certificate_set_verify_flags with the
4615   proper flag, to change the verification mode used by
4616   gnutls_certificate_verify_peers2.
4617 - Make it possible to send empty data through gnutls_record_send,
4618   to align with the send(2) API.
4619 - Some changes in the certificate receiving part of handshake to prevent
4620   some possible errors with non-blocking servers.
4621 - Added numeric version symbols to permit simple CPP-based feature
4622   tests, suggested by Daniel Stenberg <daniel@haxx.se>.
4623 - The (experimental) low-level crypto alternative to libgcrypt used
4624   earlier (Nettle) has been replaced with crypto code from gnulib.
4625   This leads to easier re-use of these components in other projects,
4626   leading to more review and simpler maintenance.  The new configure
4627   parameter --with-builtin-crypto replace the old --with-nettle, and
4628   must be used if you wish to enable this functionality.  See README
4629   under "Experimental" for more information.  Internally, GnuTLS has
4630   been updated to use the new "Generic Crypto" API in gl/gc.h.  The
4631   API is similar to the old crypto/gc.h, because the gnulib code were
4632   based on GnuTLS's gc.h.
4633 - Fix compiler warning in the "anonself" self test.
4634 - API and ABI modifications:
4635 gnutls_x509_crt_list_verify: Added 'const' to prototype in <gnutls/x509.h>.
4636                              This doesn't reflect a change in behaviour,
4637                              so we don't break backwards compatibility.
4638 GNUTLS_MAC_MD2: New gnutls_mac_algorithm_t value.
4639 GNUTLS_DIG_MD2: New gnutls_digest_algorithm_t value.
4640 GNUTLS_VERIFY_ALLOW_SIGN_RSA_MD2,
4641 GNUTLS_VERIFY_ALLOW_SIGN_RSA_MD5: New gnutls_certificate_verify_flags values.
4642                                   Use when calling
4643                                   gnutls_x509_crt_list_verify,
4644                                   gnutls_x509_crt_verify, or
4645                                   gnutls_certificate_set_verify_flags.
4646 GNUTLS_CERT_INSECURE_ALGORITHM: New gnutls_certificate_status_t value,
4647                                 used when broken signature algorithms
4648                                 is used (currently RSA-MD2/MD5).
4649 LIBGNUTLS_VERSION_MAJOR,
4650 LIBGNUTLS_VERSION_MINOR,
4651 LIBGNUTLS_VERSION_PATCH,
4652 LIBGNUTLS_VERSION_NUMBER: New CPP symbols, indicating the GnuTLS
4653                           version number, can be used for feature existence
4654                           tests.
4656 * Version 1.2.8 (2005-10-07)
4657 - Libgcrypt 1.2.2 is required to fix a bug for forking GnuTLS servers.
4658 - Don't install the auxilliary libexamples library used by the
4659   examples in doc/examples/ on "make install", report and tiny patch
4660   from Thomas Klausner <tk@giga.or.at>.
4661 - If you pass a X.509 CA or PGP trust database to the command line
4662   tool, it will now abort the connection if the server certificate
4663   validation fails.  Use the parameter --insecure to continue even
4664   after certificate validation failures.  Inspired from discussion
4665   with Alexander Kotelnikov <sacha@myxomop.com>.
4666 - The test for socklen_t has been moved to gnulib.
4667 - Link failures for duplicate or missing "program_name" symbol has been fixed,
4668   patch from Martin Lambers <marlam@marlam.de>.
4669 - The command line tool and the examples no longer uses mmap or bzero,
4670   to make them more portable, patch from Martin Lambers
4671   <marlam@marlam.de>.
4672 - Made the PKCS #12 API handle null passwords. Based on patch by
4673   Anton Altaparmakov <aia21@cam.ac.uk>.
4674 - The GTK-DOC manual should build with current released tools.
4675   (But a copy of the output is included, so the tools are not required.)
4676 - The inet_ntop function is now used through gnulib.
4677 - API and ABI modifications:
4678   No changes since last version.
4680 * Version 1.2.7 (2005-09-09)
4681 - The GnuTLS and GnuTLS-extra libraries are now built with versioned symbols.
4682 - Certtool now complains when reading out-of-range X.509 serial
4683   numbers, suggested by Fran <e_agf@yahoo.es>.
4684 - Certtool now uses the readline library (when available) when reading
4685   X.509 serial numbers.
4686 - Fixed build problems in getpass on uClibc and Mingw32 platforms.
4687 - Fixed compile warning regarding socklen_t on Mingw32, reported by
4688   Martin Lambers <marlam@marlam.de>.
4689 - Fixed examples in doc/examples/, suggested by Fran <e_agf@yahoo.es>.
4690 - Gnulib is now used for the core library, enabling future code cleanups.
4691 - The gnutls-cli tool now use gnutls_certificate_verify_peers2,
4692   suggested by Daniel Stenberg <daniel@haxx.se>.
4693 - Doc fixes for gnutls_transport_set_push and gnutls_transport_set_pull.
4694 - Minilibtasn1 is now 0.2.17 (removed optional use of C99 macros).
4695 - Disable zlib support if zlib.h is not present.
4696 - A number of internal cleanups.
4697 - API and ABI modifications:
4698   No changes since last version.
4700 * Version 1.2.6 (2005-07-16)
4701 - MiniLZO updated to version 2.01 and moved to separate directory.
4702 - Collision between system LZO header files and MiniLZO header file
4703   fixed, reported by Matthias Urlichs <smurf@smurf.noris.de>.
4704 - Will now test for liblzo functionality in liblzo2 too, reported by
4705   Thomas Klausner <tk@giga.or.at>.
4706 - Minilibtasn1 is now 0.2.14 (no code changes).
4707 - Some code changes to avoid GTK-DOC warnings.
4708 - API and ABI modifications:
4709   No changes since last version.
4711 * Version 1.2.5 (2005-07-03)
4712 - More builddir != srcdir fixes, reported by Mike Castle
4713   <dalgoda@ix.netcom.com>.
4714 - Fixed off-by-one bug in the size parameter of gnutls_x509_crt_get*_dn,
4715   reported by Adam Langley <alangley@gmail.com>.
4716 - Corrected some stuff in minilzo detection. Pointed out by 
4717   Sergey Lipnevich.
4718 - MiniLZO updated to version 2.00.
4719 - gnutls_x509_crt_list_import now accept a DER formatted CRL.
4720 - API and ABI modifications:
4721   No changes since last version.
4723 * Version 1.2.4 (2005-05-28)
4724 - Corrected some bugs that could affect 64 bit systems.
4725 - Some corrections in the header files to include the prototype
4726   of memmem properly (affected 64 bit systems). Report and patch
4727   by Yoann Vandoorselaere <yoann@prelude-ids.org>.
4728 - Introduced the --fix-key option to certtool, which can be used to
4729   regenerate the (optional) parameters in a private key. It should
4730   be used together with --key-info.
4731 - Corrected a bug in certificate chain verification that could lead
4732   to marking a trusted chain as non trusted, if the last certificate in
4733   the chain was a self signed one.
4734 - Gnulib portability files were updated.
4735 - License were updated to reflect new FSF address.
4736 - API and ABI modifications:
4737   No changes since last version.
4739 * Version 1.2.3 (2005-04-28)
4740 - Corrected bug in record packet parsing that could lead
4741   to a denial of service attack.
4742 - Corrected bug in RSA key export. Previously exported keys
4743   can be fixed using certtool. Use certtool -k <infile >outfile
4744 - API and ABI modifications:
4745     gnutls_x509_privkey_fix(): Add.
4747 * Version 1.2.2 (2005-04-25)
4748 - gnutls_error_to_alert() now considers
4749   GNUTLS_E_UNEXPECTED_HANDSHAKE_PACKET.
4750 - Fixed error in session resuming that could cause a crash in a session.
4751 - Fixed pkcs12 friendly name and local key identifier decoding.
4752 - Internal cleanups, removed duplicate typedef/struct definitions,
4753   and made source code include external include file, to check
4754   function prototypes during compile time.
4755 - API and ABI modifications:
4756   No changes since last version.  At least not intentional, but due
4757   to the include header changes, there may be inadvertant changes,
4758   please let us know if you find any.
4760 * Version 1.2.1 (2005-04-04)
4761 - gnutls_bye() will no longer fail when RDWR is used and application
4762   data are available for reading.
4763 - Added more strict checks for the SRP parameters (g,n), when they
4764   are not in the included list.
4765 - Added warning to certtool when MD5 is being used for digital
4766   signatures.
4767 - Optimizations ("-O2 -finline-functions") are not enabled by default,
4768   instead the standard autoconf defaults are used.  Use `./configure
4769   CFLAGS="-O2 -finline-functions"' to get the old optimizations.
4770 - Added the option --get-dh-params to certtool, in order to get the
4771   parameters included in the library primes and generators.
4772 - Improved the semantics of GNUTLS_VERIFY_ALLOW_X509_V1_CA_CRT, to
4773   allow only trusted Version 1 CAs and introduced
4774   GNUTLS_VERIFY_ALLOW_ANY_X509_V1_CA_CRT which has the old semantics.
4775 - Nettle self tests now build properly, reported by Pierre
4776   <pierre42d@9online.fr>.
4777 - Eliminated some memory leaks in DHE and RSA-EXPORT cipher suites.
4778   Reported by Yoann Vandoorselaere <yoann@prelude-ids.org>.
4779 - If the library has been compiled with features disabled, a warning is 
4780   issued during the compilation of any program.
4781 - API and ABI modifications:
4782     gnutls_x509_crt_list_import(): Add
4783     gnutls_x509_crq_get_attribute_by_oid(): Add.
4784     gnutls_x509_crq_set_attribute_by_oid(): Add
4785     gnutls_x509_crt_set_extension_by_oid(): Add.
4786     GNUTLS_VERIFY_ALLOW_X509_V1_CA_CRT: Modify semantics.
4787     GNUTLS_VERIFY_ALLOW_ANY_X509_V1_CA_CRT: Add, old behaviour.
4789 * Version 1.2.0 (2005-01-27)
4790 - Added the definitions and OIDs for the RIPEMD-160 hash algorithm.
4791 - Introduced gnutls_x509_crt_sign2(), gnutls_x509_crq_sign2() and 
4792   gnutls_x509_crl_sign2().
4793 - Fixed license header in source code files.
4795 * Version 1.1.23 (2005-01-18)
4796 - It is now possible to generate PKCS#12 structures without private
4797   keys using "certtool --to-p12", suggested by Fabian Fagerholm
4798   <fabbe@paniq.net>.
4799 - Certtool now prints information for the RSA and DSA parameters of
4800   certificates and private keys.
4801 - Corrected the write of CRL distribution points.
4802 - The certificate chain verification function now checks certificates
4803   in the reverse order to minimize the spent resources.
4804 - Corrected several bugs found by Marcin Garski <mgarski@post.pl>
4805 - The functions gnutls_x509_crl_get_issuer_dn, gnutls_x509_crq_get_dn,
4806   gnutls_x509_crt_get_issuer_dn, gnutls_x509_crt_get_dn, and
4807   gnutls_x509_rdn_get now set *sizeof_buf to the buffer length that is
4808   required, instead of the string length.  That is, the value has been
4809   incremented by 1 to account for the terminating zero. Reported by
4810   Martin Lambers <marlam@web.de>.
4811 - Debug output shouldn't crash on platforms that doesn't handle NULL
4812   printf %s values.  Reported by Michael.Ringe@aachen.utimaco.de.
4813 - Sync included copy of libtasn1 with version 0.2.13.
4814 - Client X.509 authenticated connections via gnutls-cli should now work again.
4816 * Version 1.1.22 (2004-11-04)
4817 - Replace GNU LD version script with Libtool -export-symbols-regex,
4818   from Joe Orton <joe@manyfish.co.uk>.
4819 - Documentation improvements.
4820 - Code indented using 'indent -i4 -kr'.
4821 - The API manual is included in Devhelp format.  (Was in last release too,
4822   but the NEWS entry was forgotten.)
4823 - The OpenSSL compatibility code now use the internal crypto interface.
4824 - Added simple self test of OpenSSL compatibility library.
4825 - Internally, libtool convenience libraries are used.
4826 - Cleanups to configure.ac.
4828 * Version 1.1.21 (2004-10-27)
4829 - Print DN of certificates with unknown characters in them, but in hexform
4830   only.
4831 - Added second precision to the X.509 parsing and generation functions.
4832 - Corrected bug in _gnutls_x509_get_dn_oid(), and returns the
4833   actual OID.
4834 - Add parameter --la-file to libgnutls-config and libgnutls-extra-config,
4835   tiny patch contributed by Joe Orton <joe@manyfish.co.uk>.
4836 - Add pkg-config meta files, suggested by Stéphane LOEUILLET
4837   <stephane.loeuillet@tiscali.fr>.
4838 - Fix memory initializaion bug in gnutls_certificate_set_x509_trust,
4839   tiny patch by Aleix Conchillo Flaque <aleix@member.fsf.org>.
4840 - Add self test of PKCS#12 functionality in "certtool", based on test
4841   vectors from Joe Orton <joe@manyfish.co.uk>.
4842 - Fix library order in libgnutls*-config --libs output, to permit
4843   static linking, reported by Yoann Vandoorselaere
4844   <yoann@prelude-ids.org>.
4846 * Version 1.1.20 (2004-10-12)
4847 - Fix compile problem in gl/getpass.c on some systems.
4849 * Version 1.1.19 (2004-10-07)
4850 - Fix memory leak in gnutls_certificate_verify_peers and
4851   gnutls_certificate_free_credentials, report and patch by Simon
4852   Posnjak <simon.posnjak@cetrtapot.si>.
4853 - Fix crash in `certtool --to-p12 --load-privkey foo', i.e. exporting
4854   a key and no certificate to PKCS#12.
4855 - Fix objdir != srcdir builds, reported by "Gerrit P. Haase"
4856   <gp@familiehaase.de>.
4857 - Fixes faulty getpass implementation in libextra/opencdk/, reported
4858   by Yoann Vandoorselaere <yoann@prelude-ids.org>.
4859 - Uses memmem instead of strnstr in lib/.
4860 - Using more GNULib portability files, although not yet inside lib/.
4861 - Added gnutls_certificate_verify_peers to gnutls/compat.h.
4862   Nikos deprecated gnutls_certificate_verify_peers in favor of
4863   gnutls_certificate_verify_peers2 earlier in the 1.1 branch.
4864 - Improvements to the manual.
4865 - Add new example "ex-rfc2818" for certificate verification, from Nikos.
4866 - Known bug: the library require snprintf.  This has not yet been
4867   fixed, but will be handled via GNULib later on.
4869 * Version 1.1.18 (2004-08-24)
4870 - Corrected handling of certificate with dates after year 2038.
4871 - Corrected DER decoder which could incorrectly treat input as BER and fail.
4872 - Correct certtool --smime-to-p7 end of line character handling.
4873 - Added example client and server for anonymous authentication.
4874 - Added self test that tests anonymous TLS client and server.
4875 - Added self tests of Nettle and generic crypto layer.
4876 - Added API reference manual in HTML format in doc/reference/ using GTK-DOC.
4877   Online version at <http://www.gnu.org/software/gnutls/reference/>.
4878 - Assume C89 or better; removed checks for size_t, ptrdiff_t and time_t.
4879 - Man pages for API functions are included.
4881 * Version 1.1.17 (2004-08-18)
4882 - Bug fix of padding string in RSA PKCS#1 v1.5 type 2 encryption,
4883   reported by Robey Pointer <robey@danger.com>.
4884 - Generic crypto interface for secret key ciphers, hashes and randomness added.
4885   See section "Experimental" within section "COMPILATION ISSUES" in README.
4886 - Removed length limit on passwords read by 'certtool'.
4887 - Documentation fixes.
4889 * Version 1.1.16 (2004-08-15)
4890 - Fix missing gnulib linker parameter when building certtool.
4891 - Add gnulib module 'progname', needed by module 'error'.
4892 - Improve building with srcdir != objdir.
4894 * Version 1.1.15 (2004-08-15)
4895 - Certtool has simplistic --smime-to-p7 to translate RFC 2633 messages into
4896   PKCS #7 format.
4897 - Ported to Mac OS X / Darwin.
4898 - Ported to FreeBSD.
4900 * Version 1.1.14 (2004-08-09)
4901 - Documentation converted to Texinfo format.
4902 - Bug fix of test suite.
4903 - Configure now print build information, used by Autobuild.
4905 * Version 1.1.13 (2004-08-05)
4906 - Added simple self test suite.
4908 * Version 1.1.12 (2004-08-02)
4909 - Updated the SRP authentication to conform to the
4910   latest (yet unreleased) draft. Unfortunately this breaks
4911   compatibility with previous versions.
4912 - Changed the makefiles to be more portable.
4913 - SRP ciphersuites were moved to the gnutls library.
4914 - Added some default limits in the verification of certificate
4915   chains, to avoid denial of service attacks. Also added 
4916   gnutls_certificate_set_verify_limits() to override them.
4917   Issue pointed out by Patrik Hornik <patrik@hornik.sk>.
4918 - Added gnutls_certificate_verify_peers2().
4920 * Version 1.1.11 (2004-07-16)
4921 - Added the '_t' suffix to all exported symbols.
4922 - Fixed bug in RSA encryption, report and patch by Martijn Koster 
4923   <mak@greenhills.co.uk>.
4924 - Corrected a bug in certificate verification. Pointed out by
4925   Yoann Vandoorselaere <yoann@prelude-ids.org>
4926 - Added the GNUTLS_VERIFY_DO_NOT_ALLOW_SAME flags to the
4927   verification functions.
4928 - The ephemeral DH and RSA parameters are no longer stored in the
4929   session resume DB.
4930 - Do not free the SRP (prime and generator) parameters obtained from the 
4931   callback if they are the static ones defined in extra.h
4932 - Eliminated some memory leaks. Reported by Yoann Vandoorselaere.
4934 * Version 1.1.10 (2004-06-12)
4935 - Added gnutls_sign_algorithm_get_name() and gnutls_pk_algorithm_get_name()
4936 - Corrected bug in TLS renegotiation.
4937 - Corrected bug in OpenPGP key loading using a callback.
4938 - gnutls-srpcrypt was renamed to srptool
4939 - Allow handshake requests by the client.
4940 - Automatically disable certificate types that do not have corresponding
4941   certificates.
4942 - Added gnutls_auth_client_get_type() and gnutls_auth_server_get_type()
4943 - Opencdk library is being included if not found.
4944 - certtool can now add ip address SAN extension.
4945 - certtool has now support for more X.520 DN attribute types.
4946 - Better handling of EOF in gnutls_record_recv().
4947 - _gnutls_deinit() is no longer used. Sessions are not
4948   automatically removed any more, on abnormal termination.
4949 - Corrected session resuming in SRP ciphersuites.
4950 - Updated to conform to the latest srp draft (draft-ietf-tls-srp-07)
4951 - Added new functions to allow access to the ephemeral
4952   Diffie Hellman parameters.
4953 - Added the functions gnutls_x509_crt_get_pk_rsa_raw() and
4954   gnutls_x509_crt_get_pk_dsa_raw() to retrieve parameters from certificates.
4955 - Added the functions gnutls_dh_get_group(), gnutls_dh_get_pubkey() and
4956   gnutls_rsa_export_get_pubkey() to retrieve parameters of the DH or
4957   RSA-EXPORT key exchange.
4958 - Some fixes in the session resuming code.
4959 - Added gnutls_openpgp_keyring_check_id().
4961 * Version 1.1.9 (2004-04-14)
4962 - Added support for authority key identifier and the extended key usage
4963   X.509 extension fields. The certtoool was updated to support them.
4964 - The RC2 cipher is no more included. The one in libgcrypt is now used.
4965 - Added batch support to certtool. Now it can use templates.
4967 * Version 1.1.8 (2004-04-07)
4968 - Implemented all the tests for the SRP group parameters in
4969   client side. This may lead to incompatibility with very
4970   old gnutls servers.
4971 - Corrected bug in RSA parameters handling which could cause
4972   unexpected crashes.
4973 - Optimized the copying of rsa_params.
4975 * Version 1.1.7 (2004-03-29)
4976 - Added gnutls_certificate_set_params_function() and 
4977   gnutls_anon_set_params_function() that set the RSA or DH
4978   parameters using a callback.
4979 - Added functions gnutls_rsa_params_cpy(), gnutls_dh_params_cpy()
4980   and gnutls_x509_privkey_cpy().
4981 - Corrected a compilation issue when opencdk was installed in a
4982   non standard directory.
4983 - Deprecated: gnutls_srp_server_set_select_function(), 
4984   gnutls_certificate_client_set_select_function(), gnutls_srp_server_set_select_function().
4986 * Version 1.1.6 (2004-02-24)
4987 - Several bug fixes, by Arne Thomassen.
4988 - Fixed a bug where 'server name' extension was always sent.
4990 * Version 1.1.5 (2004-01-06)
4991 - Added the gnutls_sign_algorithm type.
4993 * Version 1.1.4 (2004-01-04)
4994 - Improved gnutls-cli's SRP behaviour in SRP ciphersuites.
4995   If they are of highest priority then the abbreviated handshake
4996   is used.
4997 - Removed all references of missing files.
4998 - Changed handshake behaviour to send the lowest TLS version
4999   when an unsupported version was advertized. The current behaviour
5000   is to send the maximum version we support.
5001 - Corrected problem printing the DC attributes in a DN.
5003 * Version 1.1.3 (2003-12-30)
5004 - Implemented TLS 1.1 (and also obsoleted the TLS 1.0 CBC protection
5005   hack).
5007 * Version 1.1.2 (2003-12-28)
5008 - Added CRL verification functionality to certtool.
5009 - Corrected the CRL distribution point extension handling.
5011 * Version 1.1.1 (2003-12-26)
5012 - Added PKCS #7 support to certtool utility.
5013 - Added support for reading and generating CRL distribution
5014   points extensions in certificates.
5015 - Added support for generating CRLs in the library and the
5016   certtool utility.
5017 - Added support for the Subject Key ID PKIX extension.
5019 * Version 1.1.0 (2003-12-21)
5020 - The error codes GNUTLS_E_NO_TEMPORARY_DH_PARAMS and GNUTLS_E_NO_TEMPORARY_RSA_PARAMS
5021   are no longer returned by the handshake function. Ciphersuites that
5022   require temporary parameters are removed when such parameters do not exist.
5023 - Added the callbacks gnutls_certificate_client_retrieve_function() and
5024   gnutls_certificate_server_retrieve_function(), to allow a client or a server
5025   to specify certificates for the handshake without storing them to the
5026   credentials structure.
5027 - Added support for generating and exporting DSA private keys.
5028 - Added gnutls_x509_crt_set_key_usage() and certtool can now set the
5029   certificate's key usage.
5030 - Added gnutls_openpgp_key_get_key_usage().
5032 * Version 1.0.25 (2005-04-27)
5033 - Corrected bug in record packet parsing that could lead
5034   to a denial of service attack.
5035 - Corrected bug in RSA key export.
5037 * Version 1.0.24 (2005-01-18)
5038 - Corrected several bugs found by Marcin Garski <mgarski@post.pl>
5040 * Version 1.0.23 (2004-11-13)
5041 - Replace GNU LD version script with Libtool -export-symbols-regex,
5042   from Joe Orton <joe@manyfish.co.uk>.
5043 - Copy libtasn1 has been updated to version 0.2.11.
5044 - Corrected the write of CRL distribution points.
5045 - It is now possible to generate PKCS#12 structures without private
5046   keys using "certtool --to-p12", suggested by Fabian Fagerholm
5047   <fabbe@paniq.net>.
5049 * Version 1.0.22 (2004-10-28)
5050 - Print DN of certificates with unknown characters in them, but in hexform
5051   only.
5052 - Corrected bug in _gnutls_x509_get_dn_oid(), and returns the
5053   actual OID.
5054 - Added second precision to the X.509 parsing functions.
5055 - Add parameter --la-file to libgnutls-config and libgnutls-extra-config,
5056   tiny patch contributed by Joe Orton <joe@manyfish.co.uk>.
5057 - Add pkg-config meta files, suggested by Stéphane LOEUILLET
5058   <stephane.loeuillet@tiscali.fr>.
5059 - Fix memory initializaion bug in gnutls_certificate_set_x509_trust,
5060   tiny patch by Aleix Conchillo Flaque <aleix@member.fsf.org>.
5061 - Fix certtool --password for PKCS #12, back ported from 1.1.x branch.
5062 - Fix library order in libgnutls*-config --libs output, to permit
5063   static linking, reported by Yoann Vandoorselaere
5064   <yoann@prelude-ids.org>.
5066 * Version 1.0.21 (2004-10-07)
5067 - Fix memory leak in gnutls_certificate_verify_peers and
5068   gnutls_certificate_free_credentials, report and patch by Simon
5069   Posnjak <simon.posnjak@cetrtapot.si>.
5070 - Fix crash in `certtool --to-p12 --load-privkey foo', i.e. exporting
5071   a key and no certificate to PKCS#12.
5072 - Fix objdir != srcdir builds, reported by "Gerrit P. Haase"
5073   <gp@familiehaase.de>.
5074 - Avoid redefining getpass if system already has it, reported by
5075   Yoann Vandoorselaere <yoann@prelude-ids.org>.
5076 - Add new example "ex-rfc2818" for certificate verification, from Nikos.
5077 - Known bug: the library require snprintf.
5079 * Version 1.0.20 (2004-08-18)
5080 - Bug fix of padding string in RSA PKCS#1 v1.5 type 2 encryption,
5081   reported by Robey Pointer <robey@danger.com>.
5083 * Version 1.0.19 (2004-08-09)
5084 - Bug fix of test suite.
5086 * Version 1.0.18 (2004-08-05)
5087 - Added simple self test suite.
5089 * Version 1.0.17 (2004-08-02)
5090 - Updated the SRP authentication to conform to the
5091   latest (yet unreleased) draft. Unfortunately this breaks
5092   compatibility with previous versions.
5093 - Changed the makefiles to be more portable.
5094 - Added some default limits in the verification of certificate
5095   chains, to avoid denial of service attacks. Also added 
5096   gnutls_certificate_set_verify_limits() to override them.
5097   Issue pointed out by Patrik Hornik <patrik@hornik.sk>.
5098 - Added gnutls_certificate_verify_peers2().
5100 * Version 1.0.16 (2004-07-10)
5101 - Do not free the SRP (prime and generator) parameters obtained from the 
5102   callback if they are the static ones defined in extra.h.
5103 - Eliminated some memory leaks. Reported by Yoann Vandoorselaere.
5104 - Some fixes in the makefiles.
5106 * Version 1.0.15 (2004-06-29)
5107 - Fixed bug in RSA encryption, report and patch by Martijn Koster 
5108   <mak@greenhills.co.uk>.
5109 - Corrected a bug in certificate verification. Pointed out by
5110   Yoann Vandoorselaere <yoann@prelude-ids.org>.
5112 * Version 1.0.14 (2004-06-12)
5113 - Automatically disable certificate types that do not have corresponding
5114   certificates.
5115 - Updates in the documentation.
5116 - certtool can now add ip address SAN extension.
5117 - certtool has now support for more X.520 DN attribute types.
5118 - Opencdk library is being included if not found.
5119 - Added gnutls_openpgp_keyring_check_id().
5120 - Corrected a serious bug in the included libtasn1 library.
5121 - Corrected session resuming in SRP ciphersuites.
5122 - Updated to conform to the latest srp draft (draft-ietf-tls-srp-07)
5123 - Added the functions gnutls_x509_crt_get_pk_rsa_raw() and
5124   gnutls_x509_crt_get_pk_dsa_raw() to retrieve parameters from certificates.
5125 - Some fixes in the session resuming code.
5127 * Version 1.0.13 (2004-04-29)
5128 - Some complilation fixes.
5129 - Added the --xml parameter to the certtool utility.
5131 * Version 1.0.12 (2004-04-23)
5132 - Corrected bug in OpenPGP key loading using a callback.
5133 - Renamed gnutls-srpcrypt to srptool
5134 - Allow handshake requests by the client.
5135 * Things backported from the development branch:
5136 - Added support for authority key identifier and the extended key usage
5137   X.509 extension fields. The certtoool was updated to support them.
5138 - Added batch support to certtool. Now it can use templates.
5139 - The RC2 cipher is no more included. The one in libgcrypt is now used.
5141 * Version 1.0.11 (2004-04-17)
5142 - Added gnutls_sign_algorithm_get_name() and gnutls_pk_algorithm_get_name()
5143 - Corrected bug in TLS renegotiation.
5145 * Version 1.0.10 (2004-04-03)
5146 - Corrected bug in RSA parameters handling which could cause
5147   unexpected crashes.
5148 - Corrected bug in SSL 3.0 authentication.
5150 * Version 1.0.9 (2004-03-29)
5151 - Added gnutls_certificate_set_params_function() and 
5152   gnutls_anon_set_params_function() that set the RSA or DH
5153   parameters using a callback.
5154 - Added functions gnutls_rsa_params_cpy(), gnutls_dh_params_cpy()
5155   and gnutls_x509_privkey_cpy().
5156 - Corrected a compilation issue when opencdk was installed in a
5157   non standard directory.
5158 - Documented the changes need in multi-threaded application due
5159   to the new libgcrypt.
5161 * Version 1.0.8 (2004-02-28)
5162 - Corrected bug in mutual certificate authentication in SSL 3.0.
5164 * Version 1.0.7 (2004-02-25)
5165 - Implemented TLS 1.1 (and also obsoleted the TLS 1.0 CBC protection
5166   hack).
5167 - Some updates in the documentation.
5169 * Version 1.0.6 (2004-02-12)
5170 * Backported things from the development branch (while maintaining
5171   backwards compatibility):
5172 - Improved gnutls-cli's SRP behaviour in SRP ciphersuites.
5173   If they are of highest priority then the abbreviated handshake
5174   is used.
5175 - The error codes GNUTLS_E_NO_TEMPORARY_DH_PARAMS and GNUTLS_E_NO_TEMPORARY_RSA_PARAMS
5176   are no longer returned by the handshake function. Ciphersuites that
5177   require temporary parameters are removed when such parameters do not exist.
5178 - Added the callbacks gnutls_certificate_client_retrieve_function() and
5179   gnutls_certificate_server_retrieve_function(), to allow a client or a server
5180   to specify certificates for the handshake without storing them to the
5181   credentials structure.
5182 - Added support for generating and exporting DSA private keys.
5184 * Version 1.0.5 (2004-02-11)
5185 - Fixed a bug where 'server name' extension was always sent.
5186 * Backported things from the development branch:
5187 - Added CRL verification functionality to certtool.
5188 - Corrected the CRL distribution point extension handling.
5189 - Added PKCS #7 support to certtool utility.
5190 - Added support for reading and generating CRL distribution
5191   points extensions in certificates.
5192 - Added support for generating CRLs in the library and the
5193   certtool utility.
5194 - Added support for the Subject Key ID PKIX extension.
5195 - Added the gnutls_sign_algorithm type.
5197 * Version 1.0.4 (2004-01-04)
5198 - Changed handshake behaviour to send the lowest TLS version
5199   when an unsupported version was advertized. The current behaviour
5200   is to send the maximum version we support.
5201 - certtool no longer asks the password in unencrypted private
5202   keys.
5203 - The source is now compiled to use the reentrant libc functions.
5205 * Version 1.0.3 (2003-12-21)
5206 - Corrected bug in gnutls_bye() which made it return an error code
5207   of INVALID_REQUEST instead of success.
5208 - Corrected a bug in the GNUTLS_KEY key usage definitions.
5210 * Version 1.0.2 (2003-12-18)
5211 - Corrected a bug in the RSA key generation. This was
5212   generating unusable RSA keys.
5214 * Version 1.0.1 (2003-12-10)
5215 - Some minor fixes in the makefiles. They now include CFLAGS
5216   from libgcrypt or opencdk if installed in a non standard directory.
5217 - Fixed the SRP detection test in gnutls-cli-debug.
5218 - Added gnutls_rsa_params_export_pkcs1() and gnutls_rsa_params_import_pkcs1().
5220 * Version 1.0.0 (2003-12-04)
5221 - Exported the static SRP group parameters.
5222 - Some fixes in the certificate authenticated SRP ciphersuites.
5223 - Improved the support for draft-ietf-tls-srp-05. The two-phase
5224   handshake is now fully supported without any interaction with
5225   the application layer (except for a callback).
5227 * Version 0.9.99 (2003-11-28)
5228 - Some fixes in the gnutls.h header for the gnutls_server_name_set()
5229   and gnutls_server_name_get() prototypes.
5230 - Exported the gnutls_x509_privkey_sign_data(), gnutls_x509_privkey_verify_data() 
5231   and gnutls_x509_crt_verify_data().
5232 - Some fixes in the openpgp authentication.
5233 - Removed the Twofish cipher.
5235 * Version 0.9.98 (2003-11-16)
5236 - The openssl compatibility layer was moved to gnutls-openssl
5237   library instead of being included in the gnutls-extra library.
5238 - Added the RIPEMD ciphersuites defined in draft-ietf-tls-openpgp-keys-04.
5239 - Building with openpgp support is now mandatory.
5240 - gnutls4 compatibility header is no longer included by default in
5241   gnutls.h.
5242 - gnutls8 function usage yelds a deprecation warning in gcc3.
5243 - gnutls_x509_*_set_dn_by_oid() and gnutls_x509_*_get_*_dn_by_oid()
5244   functions have a raw_flag parameter added.
5245 - Added gnutls_x509_*_get_dn_oid() and gnutls_x509_crt_get_extension_oid()
5246   functions which return the available OIDs.
5248 * Version 0.9.97 (2003-11-11)
5249 - The certtool utility can now generate PKCS #12 structures
5250   without specifying a certificate.
5251 - Added capability to read CRLs to certtool.
5252 - Corrected some functions which return GNUTLS_E_SHORT_MEMORY_BUFFER
5253   to properly set the required buffer size.
5254 - Corrected a bug in libgcrypt detection.
5256 * Version 0.9.96 (2003-11-09)
5257 - Some changes to allow compilation with mingw32.
5258 - Several code cleanups.
5260 * Version 0.9.95 (2003-11-02)
5261 - Improved the verification functions. Added new verification
5262   output flags and removed the unused and redundant ones.
5263 - Improved the OpenPGP key support.
5264 - The prime utility was removed, and its functionality was moved
5265   to certtool.
5267 * Version 0.9.94 (2003-10-30)
5268 - Added manpages for the included programs.
5269 - Documented and improved the certtool utility. 
5270 - Added PKCS #12 support to certtool utility.
5272 * Version 0.9.93 (2003-10-26)
5273 - Corrected some compilation issues.
5274 - Improved the certtool command line utility.
5276 * Version 0.9.92 (2003-10-25)
5277 - The RFC2818 hostname verification is now case insensitive.
5278 - Added support for generating X.509 certificates.
5279 - Added the certtool, a tool for generating X.509 certificates
5281 * Version 0.9.91 (2003-10-17)
5282 - Fixed a compilation issue in the openpgp authentication part.
5284 * Version 0.9.90 (2003-10-08)
5285 - Updated the openpgp key API (depends on the unreleased new
5286   opencdk).
5288 * Version 0.9.8 (2003-10-02)
5289 - Updated the SRP implementation to follow the latest draft
5290   (draft-ietf-tls-srp-05).
5291 - Improved the gnutls-cli behaviour in error handling,
5292   and added a check for the peer's hostname.
5293 - Use versioned symbols in the library (where available).
5294 - RIJNDAEL ciphersuites were renamed to AES.
5296 * Version 0.9.7 (2003-08-25)
5297 - The tex files are now included in the distribution.
5298 - The library can now decrypt PKCS #12 files encrypted with
5299   the RC2-40 cipher.
5300 - The missing rfc2818_hostname object is now included.
5301 - Several corrections and bug fixes in the library by 
5302   Arne Thomassen <arne@arne-thomassen.de>.
5303 - CR is now allowed in the base64 decoder.
5305 * Version 0.9.6 (2003-06-28)
5306 - Added gnutls_x509_privkey_get_key_id() and gnutls_x509_crt_get_key_id()
5307   functions which return a unique (per public key) ID. These can
5308   be used to check if the private key corresponds to a given certificate.
5309 - Corrections in the TLS layer openpgp certificate packet parser.
5310 - Corrected a bug in the record layer buffering, which affected
5311   the case where external pull function was used. Report and patch
5312   by Sergey Poznyakoff <gray@Mirddin.farlep.net>.
5313 - Corrected a bug in gnutls-srpcrypt where a non allocated variable
5314   was freed.
5315 - SRP programs are now built by default.
5316 - Added API to read and write to PKCS #12 structures. Prototypes
5317   in gnutls/pkcs12.h.
5318 - The gnutls_transport_ptr type was changed to a pointer type (void*).
5320 * Version 0.9.5 (2003-04-06)
5321 - Several improvements in the PKCS #7 handling
5322 - Eliminated several hard coded constants in MPI parameters.
5324 * Version 0.9.4 (2003-03-28)
5325 - Corrected a parsing error in the Certificate request message.
5326 - Corrected behaviour when a certificate request message is received.
5327   Now a certificate packet is always sent, and in SSL 3.0 cipher suites
5328   a no_certificate alert is sent instead.
5329 - Added functionality to generate PKCS #7 structures (with certificates).
5331 * Version 0.9.3 (2003-03-24)
5332 - Support for MD2 was dropped. 
5333 - Improved the error logging functions, by adding a level, and
5334   by allowing debugging messages just by increasing the level.
5335 - The diffie Hellman ciphersuites are now of higher priority than
5336   the plain RSA.
5337 - The RSA premaster secret version check can no longer be disabled.
5338 - Implemented the counter measure discussed in the paper "Attacking
5339   RSA-based Sessions in SSL/TLS", against the attack described in the
5340   same paper.
5341 - Added the functions: gnutls_handshake_get_last_in(), 
5342   gnutls_handshake_get_last_out().
5343 - The gnutls_certificate_set_rsa_params() was renamed to 
5344   gnutls_certificate_set_rsa_export_params().
5345 - Added the new functions: gnutls_certificate_set_x509_key()
5346   gnutls_certificate_set_x509_trust(), gnutls_certificate_set_x509_crl(),
5347   gnutls_x509_crt_export(), gnutls_x509_crl_export().
5348 - Added support for encoding and decoding PKCS #8 2.0 encrypted 
5349   RSA private keys.
5351 * Version 0.9.2 (2003-03-15)
5352 - Some corrections in the memory mapping code (file is unmapped after 
5353   it is read).
5354 - Added support for PKCS#10 certificate requests generation.
5356 * Version 0.9.1 (2003-03-12)
5357 - Corrected a bug in 64 bit architectures, which affected the
5358   serial number calculation in the record layer.
5359 - Added gnutls_certificate_free_keys() which deletes all the
5360   private keys and certificates from the credentials structure.
5361 - Corrected a broken buffer check in _gnutls_io_read_buffered(),
5362   which caused some unexpected packet length errors. Report and patch
5363   by Ian Peters <itp@ximian.com>.
5364 - Added ability to generate RSA keys.
5365 - Increased the maximum parameter size in order to read some large keys
5366   by some CAs. Patch by Ian Peters <itp@ximian.com>.
5367 - Added an strnstr() function and the requirement in some functions to
5368   use null terminated PEM structures is no more.
5369 - Use mmap() if available to read files.
5370 - Fixed a memory leak in SRP code reported by Rupert Kittinger 
5371   <r.kittinger@efkon.com>.
5373 * Version 0.9.0 (2003-03-03)
5374 - This version is not binary compatible with the previous ones.
5375 - The library notifies the application on empty and illegal SRP usernames, 
5376   so that proper notification (via an alert) is sent to the peer.
5377 - Added ability to send some messages back to the application using
5378   the gnutls_global_set_log_function().
5379 - gnutls_dh_params_generate() and gnutls_rsa_params_generate() now use 
5380   gnutls_malloc() to allocate the output parameters.
5381 - Added support for MD2 algorithm in certificate signature verification.
5382 - The RSA and DH parameter generation interface was changed. Added
5383   ability to import and export from and to PKCS3 structures. This 
5384   was needed to read parameters generated using the openssl dhparam tool.
5385 - Several changes in the temporary (DH/RSA) parameter codebase. No DH 
5386   parameters are now included in the library. Also the credentials structure 
5387   can now hold only one temporary parameter of a kind.
5388 - Added a new Certificate, CRL, Private key and PKCS7 structures handling 
5389   API, defined in gnutls/x509.h
5390 - Added gnutls_certificate_set_verify_flags() function to allow setting the 
5391   verification flags in the credentials structure. They will be used in the
5392   *verify_peers functions.
5393 - Added protection against the new TLS 1.0 record layer timing attack.
5394 - Added support for Certificate revocation lists. Functions defined
5395   in gnutls/x509.h
5396 - The only functions that were removed are:
5397   gnutls_x509_certificate_to_xml()
5398   gnutls_x509_extract_dn_string()
5399 - Ported to libtasn1 0.2.x
5401 * Version 0.8.1 (2003-01-22)
5402 - Improved the SRP support, to prevent attackers guessing the
5403   available usernames by brute force.
5404 - Improved the SRP detection in gnutls-cli-debug
5405 - Some fixes which now allow compilation.
5407 * Version 0.8.0 (2003-01-20)
5408 - Added gnutls_x509_extract_dn_string() which returns a 
5409   distinguished name in a single string.
5410 - Added gnutls_openpgp_extract_key_name_string() which returns
5411   an openpgp user ID in a single string.
5412 - Added gnutls_x509_extract_certificate_ca_status() which returns
5413   the CA status of the given certificate.
5414 - Added SRP-6 support. Follows draft-ietf-tls-srp-04.
5415 - If libtasn1 is not present in the system, it is included in 
5416   the main gnutls library.
5417 - If liblzo is present in the system, then the included minilzo
5418   will not be used, and libgnutls-extra will depend on liblzo.
5419 - GNUTLS_E_PARSING_ERROR error code was replaced by GNUTLS_E_BASE64_DECODING_ERROR, 
5420   and GNUTLS_E_SRP_PWD_PARSING_ERROR. GNUTLS_E_ASCII_ARMOR_ERROR was also 
5421   replaced by GNUTLS_E_BASE64_DECODING_ERROR.
5423 * Version 0.6.0 (2002-12-08)
5424 - Added "gnutls/compat4.h" header. This is included in gnutls.h
5425   to emulate the old 0.4.x API.
5426 - Example programs are now stored in doc/examples/
5427 - Several improvements and updates in the documentation.
5428 - Added the certificate authenticated SRP cipher suites.
5429 - gnutls_x509_extract_certificate_dn_string() was updated to return
5430   an RFC2253 conforming string.
5431 - Added the SRP related functions:
5432    gnutls_srp_verifier()
5433    gnutls_srp_base64_encode()
5434    gnutls_srp_base64_decode()
5435 - Added the function gnutls_srp_set_server_credentials_function()
5436   to allow retrieving SRP parameters from an external backend - other
5437   than password files.
5438 - Added the function gnutls_openpgp_set_recv_key_function()
5439   which can be used to set a callback, to get OpenPGP keys.
5440 - Exported the functions:
5441    gnutls_malloc()
5442    gnutls_free()
5443   which should be used by callback functions.
5444 - Changed the semantics of gnutls_pem_base64_encode_alloc()
5445   and gnutls_pem_base64_decode_alloc(). In the default case
5446   were the gnutls library is used with malloc/realloc/free,
5447   these are binary compatible.
5449 * Version 0.5.11 (2002-11-05)
5450 - Some fixes in 'gnutls-cli' client program to prevent some segmentation 
5451   faults at exit.
5452 - Example programs found in the documentation can now be generated by
5453   running "make examples" in doc/tex directory.
5454 - Added more descriptive error strings, to gnutls_strerror().
5455 - Documented error codes, and the function reference list is now sorted.
5456 - Optimized buffering code.
5457 - gnutls_x509_extract_certificate_dn_string() was rewritten.
5458 - Added GNUTLS_E_SHORT_MEMORY_BUFFER error code, which is returned in the
5459   case where the memory buffer provided is not long enough.
5460 - Depends on the new OpenCDK 0.3.2.
5462 * Version 0.5.10 (2002-10-13)
5463 - Updated documentation.
5464 - Added server name extension. This allows clients to specify the
5465   name of the server they connect to. Useful to HTTPS.
5466 - Several corrections in the code base, mostly in signed/unsigned,
5467   checkings.
5469 * Version 0.5.9 (2002-10-10)
5470 - Corrected some code which worked fine in gcc 3.2, but not with any
5471   other compiler.
5472 - Updated 'gnutls-cli' with the '--starttls' option, to allow testing
5473   starttls implementations.
5474 - Added gnutls_x509_extract_key_pk_algorithm() function which extracts
5475   the private key type, of a DER encoded key.
5476 - Added gnutls_x509_extract_certificate_dn_string() which returns the 
5477   certificate's distinguished name in a single string.
5478 - Added gnutls_set_default_priority() and gnutls_set_default_export_priority()
5479   functions, to avoid calling all the *_priority() functions if the defaults
5480   are acceptable.
5481 - Added int gnutls_x509_check_certificates_hostname() which check whether
5482   the given hostname matches the owner of the given X.509 certificate.
5484 * Version 0.5.8 (2002-09-25)
5485 - Updated documentation.
5486 - Added gnutls_record_get_direction() which replaces the obsolete
5487   gnutls_handshake_get_direction().
5488 - Added function to convert error codes to alert descriptions
5489 - Added LZO compression
5491 * Version 0.5.7 (2002-09-11)
5492 - Some fixes in the memory allocation functions (realloc).
5493 - Improved the string functions used in XML certificate generation.
5494 - Removed dependency on libgdbm.
5495 - Corrected bug in gnutls_dh_params_set() which affected
5496   gnutls_dh_params_deinit().
5497 - Corrected bug in session resuming code in server side.
5499 * Version 0.5.6 (2002-09-06)
5500 - Corrected bugs in SRP implementation, which prevented gnutls 
5501   to interoperate with other implementations. (interoperability testing
5502   was done by David Taylor)
5503 - Corrected bug in cert_type extension.
5504 - Corrected extension type checks which used an 8 bit extension size,
5505   instead of 16 bits.
5506 - Added versioning in the XML output of certificate functions.
5507 - Removed the X.509 test suite.
5509 * Version 0.5.5 (2002-09-03)
5510 - Updated the SRP implementation to the latest draft. The blowfish
5511   crypt implementation was removed, since the new draft does not allow
5512   other hash algorithms except for the srpsha. 
5513 - Renamed all the constructed types in order to have more consistent
5514   names. 
5515 - Improved the certificate and key read functions. Now they can read 
5516   the certificate and the private key from the same file.
5517 - Updated and corrected documentation.
5519 * Version 0.5.4 (2002-08-27)
5520 - Fixes in TLS 1.0 PRF and SSL3 random functions.
5521 - gnutls_handshake_set_exportable_detection() was obsoleted.
5522 - Added gnutls_openpgp_extract_key_id() which returns the key ID.
5523 - Corrected bug in DHE key exchange
5524 - Added support for temporary RSA keys which are needed for the
5525   export cipher suites.
5526 - Added the TLS_RSA_EXPORT_ARCFOUR_40_MD5 ciphersuite.
5528 * Version 0.5.3 (2002-08-23)
5529 - No changes. Replaces the tarball of 0.5.2 which accidentally contained
5530   code from the unstable branch.
5532 * Version 0.5.2 (2002-08-22)
5533 - Added an error code that is returned in clients which connect
5534   to export only servers. This must be enabled using the
5535   gnutls_handshake_set_exportable_detection() function.
5536 - Updated openssl compatibility layer.
5537 - Added gnutls_handshake_get_direction() function which returns
5538   the state of the handshake when interrupted.
5540 * Version 0.5.1 (2002-07-17)
5541 - Corrected the m4 macros which used <gnutls.h> instead of
5542   <gnutls/gnutls.h>
5543 - Documentation fixes
5544 - Added gnutls_transport_set_ptr2() function, which accepts two
5545   different pointers, to be used while receiving, and 
5546   while sending data.
5547 - Semantic changes in gnutls_record_set_max_size(). The requested
5548   size is now immediately enforced at the output buffers.
5549 - gnutls_global_init_extra() now fails if the library versions do
5550   not match.
5551 - Fixes in client and server example programs. Null encryption can
5552   be used in these programs, to assist in debuging.
5553 - Fixes in zlib compression code.
5555 * Version 0.5.0 (2002-07-06)
5556 - Added X.509 certificate tests in tests/ directory
5557 - Removed stubs for SRP and Anonymous authentication. They served
5558   no purpose since they are always included, unless it was requested
5559   not to do so.
5560 - Added gnutls_handshake_set_private_extensions() function. This
5561   function can be used to enable private (gnutls specific) cipher suites
5562   and compression algorithms.
5563 - Added check for C99 macro support by the compiler.
5564 - Added functions gnutls_b64_encode_fmt2() and gnutls_b64_decode_fmt2()
5565 - Added the new libtasn1 library.
5566 - Removed the gdbm backend. Applications are now responsible for the
5567   session resuming backend. The gnutls-serv application contains an
5568   simple example on how to use gdbm for resuming.
5569 - Headers for the gnutls library are now installed in $(includedir)/gnutls
5570 - Added an OpenSSL compatible interface (with some limitations).
5571 - Added functions to convert DER encoded certificates to XML format.
5573 * Version 0.4.4 (2002-06-24)
5574 - Corrected bug in PKCS-1 RSA encryption which prevented gnutls to encrypt
5575   using keys of some specific size.
5577 * Version 0.4.3 (2002-05-23)
5578 - The gnutls-extra library now compiles fine, if the opencdk library is
5579   not present.
5580 - Several bug fixes.
5581 - Added gnutls_global_set_mem_func() function, to set the memory allocation
5582   functions, if other than the defaults are to be used.
5583 - The default memory allocation functions are now the ones in libc.
5585 * Version 0.4.2 (2002-05-21)
5586 - Separated ASN.1 structures parser documentation and TLS library
5587   documentation.
5588 - Added gnutls_handshake_set_rsa_pms() function, which disables the
5589   version check in RSA premaster secret.
5590 - Added gnutls_session_is_resumed() function, which reports if a session
5591   is a resumed one.
5592 - Added gnutls_state_set_ptr() and gnutls_state_get_ptr() functions, to
5593   assist in callback functions.
5594 - Replaced the included 1024 bit prime for Diffie Hellman, with a new
5595   random one.
5596 - Relicensed the library under the GNU Lesser General Public License
5597 - Added gnutls-extra library which contains the GPL covered code of gnutls.
5599 * Version 0.4.1 (2002-04-07)
5600 - Now uses alloca() for temporary variables
5601 - Optimized RSA signing
5602 - Added functions to return the peer's certificate activation and
5603   expiration time.
5604 - Corrected time function's behaviour (the time value returned no longer
5605   relate to local timezone).
5607 * Version 0.4.0 (2002-04-01)
5608 - Added support for RFC2630 (PKCS7) X.509 certificate sets
5609 - Added new functions: gnutls_x509_extract_certificate_pk_algorithm(),
5610   gnutls_openpgp_extract_key_pk_algorithm().
5611 - Several optimizations in the Handshake protocol
5612 - Several optimizations in RSA algorithm
5613 - Unified the return values because of small buffers.
5615 * Version 0.3.92 (2002-03-23)
5616 - Updated documentation
5617 - Combined error codes of ASN.1 parser and gnutls
5618 - Removed GNUTLS_CERT_TRUSTED from the CertificateStatus enumeration
5619 - Added protection against CBC chosen plaintext attack (disabled by default)
5620 - Improved and optimized compression support
5622 * Version 0.3.91 (2002-03-03)
5623 - Added gnutls-cli-debug program
5624 - Corrections in session resumption
5625 - Rehandshake can now handle negotiation of different authentication
5626   type.
5627 - gnutls-cli, gnutls-serv, gnutls-srpcrypt and gnutls-cli-debug are 
5628   now being installed.
5630 * Version 0.3.90 (2002-02-24)
5631 - Handshake messages are not kept in memory any more. Now we use 
5632   less memory during a handshake
5633 - Added support for certificates with DSA parameters
5634 - Added DHE_DSS cipher suites
5635 - Key exchange methods changed so they do not depend on the 
5636   certificate type. Added certificate type negotiation TLS extension.
5637 - Added openpgp key support (EXPERIMENTAL)
5638 - Improved Diffie Hellman key exchange support.
5639 - Bug fixes in the RSA key exchange.
5640 - Added check for the requested TLS extensions
5641 - TLS extensions now use a 16 bit type field.
5642 - Added a minimal string library to assist in ASN.1 parsing
5643 - Changes in ASN.1 parser to work with the new bison
5644 - Added gnutls_x509_extract_subject_alt_name(), which deprecates 
5645   gnutls_x509_extract_subject_dns_name()
5646 - gnutls_x509_set_trust_(file/mem) can now be called multiple times
5647 - gnutls_srp_server_set_cred_file() can now be called multiple times
5649 * Version 0.3.5 (2002-01-25)
5650 - Corrected the RSA key exchange method, to avoid attacks against
5651   PKCS-1 formating.
5653 * Version 0.3.4 (2002-01-20)
5654 - Corrected bugs in DHE_RSA key exchange method
5656 * Version 0.3.3 (2002-01-19)
5657 - Added gnutls_x509pki_verify_certificate()
5658 - Added gnutls_x509pki_set_trust_mem() and gnutls_x509pki_set_key_mem()
5659 - Bug fixes in srpcrypt (based on patch by Marc Huber)
5660 - Bug fixes in the Handshake protocol (based on patch by Guillaume Morin)
5661 - Corrected library versioning
5663 * Version 0.3.2 (2002-01-05)
5664 - Corrected bug which did not allow a client to accept multiple CA names
5665 - Added gnutls_fingerprint()
5666 - Added gnutls_x509pki_extract_certificate_serial()
5667 - Added gnutls_b64_encode_fmt() and gnutls_b64_decode_fmt()
5668 - Corrected behaviour in version advertizing
5669 - Updated documentation
5670 - Prefixed all types in gnutls.h with 'GNUTLS_' to avoid namespace collisions
5672 * Version 0.3.1 (2001-12-21)
5673 - Corrections in the configuration files
5674 - Fixes a bug in anonymous authentication
5676 * Version 0.3.0 (2001-12-17)
5677 - Corrected bug in new integer formatting (now we use the old format again)
5678 - Several corrections and usual cleanups
5680 * Version 0.2.91 (2001-12-10)
5681 - Fixes in MPI handling (fixes possible bug with signed integers)
5682 - Removed name indication extension
5683 - Added gnutls_transport_get_ptr() and gnutls_db_get_ptr()
5684 - Optimizations in server certificate callback.
5685 - Fixes in anonymous authentication
5686 - Corrections in client ciphersuite selection
5688 * Version 0.2.90 (2001-12-07)
5689 - gnutls_handshake(), gnutls_read() etc. functions no longer require
5690   the 'SOCKET cd' argument. This argument is set using the function
5691   gnutls_set_transport_ptr().
5692 - introduced gnutls_x509pki_get_peer_certificate_list(). This function returns
5693   a list containing peer's certificate and issuers DER encoded.
5694 - Updated X.509 certificate handling API
5695 - Added callback to select the server certificate
5696 - More consistent function naming (changes in several function names)
5697 - Buffer overflow checking in ASN.1 structures parser
5698 - Updated documentation
5700 * Version 0.2.11 (2001-11-16)
5701 - Changed the meaning of GNUTLS_E_REHANDSHAKE value. If this value
5702   is returned, then the caller should perform a handshake or send
5703   an alert to the peer.
5704 - Made receive buffer dynamic. Normally if no large chunks are received
5705   it occupies less space.
5706 - Added max_record_size extension
5707 - Bugfixes in session handling
5708 - Improved non blocking IO support in the Handshake Protocol
5709 - Usual bugfixes and cleanups
5710 - Documentation updated (includes ASN.1 documentation)
5712 * Version 0.2.10 (2001-11-05)
5713 - Corrected bugs and improved non blocking IO
5714 - Added hooks to use external database to store sessions
5715 - Usual cleanups
5717 * Version 0.2.9 (2001-10-27)
5718 - AUTH_INFO types and structures were moved to library internals
5719 - AUTH_FAILED is no longer returned in SRP authentication
5720   (any fatal error in SRP means auth failed)
5721 - Introduced GNUTLS_E_INTERRUPTED
5722 - Added support for non blocking IO
5723 - gnutls_recv() and gnutls_send() are now obsolete
5724 - Changed semantics of gnutls_rehandshake()
5726 * Version 0.2.4 (2001-10-12)
5727 - Better handling of X.509 certificate extensions
5728 - Added DHE_RSA ciphersuites
5729 - Updated the Name Indication (dnsname) extension
5730 - Improvements in Diffie Hellman primes handling
5732 * Version 0.2.3 (2001-09-19)
5733 - Memory optimizations in gnutls_recv()
5734 - Fixed several memory leaks
5735 - Added ability to specify callback for x509 client certificate selection
5736 - Better documentation
5738 * Version 0.2.2 (2001-08-21)
5739 - Several bugfixes (library and documentation)
5741 * Version 0.2.1 (2001-08-07)
5742 - SRP fixes
5744 * Version 0.2.0 (2001-08-07)
5745 - Partial support for X.509v3 Certificate extensions.
5746 - Added Internal memory handlers
5747 - Removed gnutls_x509_set_cn()
5748 - Added X.509 client authentication
5749 - Several bug fixes and protocol fixes
5751 * Version 0.1.9 (2001-07-30)
5752 - Corrected bug(s) in ChangeCipherSpec packet (fixes renegotiate)
5753 - SRP is updated to conform to the newest draft.
5754 - Added support for DNSNAME extension.
5755 - Reentracy fixes in ASN.1 Parsing.
5756 - Optimizations in hash/hmac functions
5757 - (Error) message handling has changed
5758 - Better Protocol Version handling
5759 - Added X.509 Certificate Verification
5760 - gnutls_read() semantics are now closer to read(2) - added EOF
5761 - Documented some part of gnutls in doc/tex/ using Latex
5763 * Version 0.1.4 (2001-06-22)
5764 - Corrected (srp) base64 encoding.
5765 - Changed bcrypt algorithm to include username.
5766 - Added RSA Ciphersuites (no certificate checking).
5767 - Fixes in SSL 2.0 client hello parsing.
5768 - Added ASN.1 and DER parsers.
5769 - Bugfixes in session resuming
5770 - Updated Ciphersuite selection algorithm
5771 - Added internal representation of X.509 structures.
5772 - Added global state
5774 * Version 0.1.3 (2001-06-01)
5775 - Updated API (and the way it is documented - we use inline documentation)
5776 - Added function to access alert messages.
5777 - Added support for renegotiating parameters.
5778 - Better and Faster Resume Database handling.
5779 - Several bugfixes
5781 * Version 0.1.2 (2001-05-14)
5782 - Updated API
5783 - Fixes in extension handling
5785 * Version 0.1.1 (2001-05-13)
5786 - Added compatibility with Stanford's libsrp library
5788 * Version 0.1.0 (2001-05-09)
5789 - Added SSL 2.0 client hello support
5790 - GNUTLS is a gnu library
5791 - Added support for TLS extensions.
5792 - Added support for SRP
5794 * Version 0.0.7 (2001-01-11)
5795 - Added server side session resuming (using gdbm)
5796 - Added twofish algorithm
5798 * Version 0.0.6 (2000-12-20)
5799 - Added client side session resuming
5800 - Better documentation (check doc/API)
5801 - Better socket handling (gnutls can be used with select())
5802 - Some primitive support for non blocking IO and socket options has been added.
5804 * Version 0.0.5 (2000-12-07)
5805 - Added Compression (using ZLIB)
5806 - Added SSL 3.0 support
5808 ----------------------------------------------------------------------
5809 Copying and distribution of this file, with or without modification,
5810 are permitted in any medium without royalty provided the copyright
5811 notice and this notice are preserved.