Fix CVE-2017-6891 in minitasn1 code
[platform/upstream/gnutls.git] / NEWS
1 GnuTLS NEWS -- History of user-visible changes.                -*- outline -*-
2 Copyright (C) 2000-2016 Free Software Foundation, Inc.
3 Copyright (C) 2013-2016 Nikos Mavrogiannopoulos
4 See the end for copying conditions.
5
6 * Version 3.3.27 (released 2017-03-06)
7
8 ** libgnutls: read the pin-value attribute if the p11-kit version allows it.
9
10 ** libgnutls: Addressed integer overflow resulting to invalid memory write
11    in OpenPGP certificate parsing. Issue found using oss-fuzz project:
12    https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=420 [GNUTLS-SA-2017-3A]
13
14 ** libgnutls: Addressed crashes in OpenPGP certificate parsing, related
15    to private key parser. No longer allow OpenPGP certificates (public keys)
16    to contain private key sub-packets. Issue found using oss-fuzz project:
17    https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=354
18    https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=360 [GNUTLS-SA-2017-3B]
19
20 ** libgnutls: Addressed large allocation in OpenPGP certificate parsing, that
21    could lead in out-of-memory condition. Issue found using oss-fuzz project,
22    and was fixed by Alex Gaynor:
23    https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=392 [GNUTLS-SA-2017-3C]
24
25 ** API and ABI modifications:
26 No changes since last version.
27
28
29 * Version 3.3.26 (released 2016-01-09)
30
31 ** libgnutls: Handle status request responses as optional (following
32    RFC6066). This improves compatibility with implementations not sending
33    these messages (including specific versions on the GnuTLS 3.5.x branch).
34
35 ** libgnutls: Set limits on the maximum number of alerts handled. That is,
36    applications using gnutls could be tricked into an busy loop if the
37    peer sends continuously alert messages. Applications which set a maximum
38    handshake time (via gnutls_handshake_set_timeout) will eventually recover
39    but others may remain in a busy loops indefinitely. This is related but
40    not identical to CVE-2016-8610, due to the difference in alert handling
41    of the libraries (gnutls delegates that handling to applications).
42
43 ** libgnutls: Fixed issue in PKCS#12 password encoding, which truncated
44    passwords over 32-characters. Reported by Mario Klebsch.
45
46 ** libgnutls: Backported functionality allowing to manipulate the IDs
47    of PKCS#11 objects.
48
49 ** libgnutls: Link to trousers (TPM library) dynamically. Backported TPM
50    key handling improvements from master branch.
51
52 ** libgnutls: Backported several fixes in PKCS#8 decryption (related to
53    gitlab issue #148).
54
55 ** libgnutls: Fix double free in certificate information printing. If the PKIX
56    extension proxy was set with a policy language set but no policy specified,
57    that could lead to a double free. [GNUTLS-SA-2017-1]
58
59 ** libgnutls: Addressed memory leak in server side error path
60    (issue found using oss-fuzz project)
61
62 ** libgnutls: Addressed memory leaks and an infinite loop in OpenPGP certificate
63    parsing. Fixes by Alex Gaynor. (issues found using oss-fuzz project)
64
65 ** libgnutls: Addressed invalid memory accesses in OpenPGP certificate parsing.
66    (issues found using oss-fuzz project) [GNUTLS-SA-2017-2]
67
68 ** tpmtool: backported the --test-sign option.
69
70 ** API and ABI modifications:
71 gnutls_pkcs11_obj_set_info: Added
72 gnutls_pkcs11_privkey_generate3: Added
73 gnutls_pkcs11_copy_x509_privkey2: Added
74 gnutls_pkcs11_copy_x509_crt2: Added
75
76
77 * Version 3.3.25 (released 2016-10-9)
78
79 ** libgnutls: Ensure proper cleanups on gnutls_certificate_set_*key()
80    failures due to key mismatch. This prevents leaks or double freeing
81    on such failures.
82
83 ** libgnutls: Corrected the comparison of the serial size in OCSP response.
84    Previously the OCSP certificate check wouldn't verify the serial length
85    and could succeed in cases it shouldn't (GNUTLS-SA-2016-3).
86    Reported by Stefan Buehler.
87
88 ** libgnutls: Fixes in gnutls_x509_crt_list_import2, which was
89    ignoring flags if all certificates in the list fit within the
90    initially allocated memory.
91
92 ** libgnutls: Fix gnutls_pkcs12_simple_parse to always extract the complete chain,
93    even when the extra_certs was non-null. Report and fix by Stefan Sørensen.
94
95 ** libgnutls: Added support for decrypting PKCS#8 files which use the HMAC-SHA256
96    as PRF.
97
98 ** libgnutls: Addressed issue with PKCS#11 signature generation on ECDSA
99    keys. The signature is now written as unsigned integers into the DSASignatureValue
100    structure. Previously signed integers could be written depending on what
101    the underlying module would produce. Addresses #122.
102
103 ** libgnutls: backported X.509 unique ID functionality from later versions.
104
105 ** libgnutls: Increased the maximum size of the handshake message hash.
106    This will allow the library to cope better with larger packets, as
107    the ones offered by current TLS 1.3 drafts.
108
109 ** API and ABI modifications:
110 gnutls_x509_crt_set_issuer_unique_id: Added
111 gnutls_x509_crt_set_subject_unique_id: Added
112
113
114 * Version 3.3.24 (released 2016-07-06)
115
116 ** libgnutls: Address issue when utilizing the p11-kit trust store
117    for certificate verification (GNUTLS-SA-2016-2).
118
119 ** libgnutls: when generating private keys mark the public key as not
120    private.
121
122 ** libgnutls: use secure_getenv() where available to obtain environment
123    variables.
124
125 ** libgnutls: Fixed DTLS handshake packet reconstruction. Reported by
126    Guillaume Roguez.
127
128 ** libgnutls: Fixed issues with PKCS#11 reading of sensitive objects
129    from SafeNet Network HSM. Reported by Anthony Alba.
130
131 ** libgnutls: Corrected reading and writing of PKCS#11 CKA_SERIAL_NUMBER. Report
132    and fix by Stanislav Židek.
133
134 ** libgnutls: Enhanced the priority functions to understand -VERS-ALL keyword
135    to allow compatibility of priority strings between 3.4.x and 3.3.x.
136
137 ** API and ABI modifications:
138 No changes since last version.
139
140
141 * Version 3.3.23 (released 2016-05-20)
142
143 ** libgnutls: Corrected behavior of ALPN extension parsing during session
144    resumption. Report and patches by Yuriy M. Kaminskiy.
145
146 ** libgnutls: Properly print the IP Adress name constraints.
147
148 ** libgnutls: Fixes in gnutls_privkey_import_ecc_raw().
149
150 ** libgnutls: Fixed gnutls_pkcs11_get_raw_issuer() usage with the
151    GNUTLS_PKCS11_OBJ_FLAG_OVERWRITE_TRUSTMOD_EXT flag. Previously that
152    operation could fail on certain PKCS#11 modules.
153
154 ** libgnutls: gnutls_pkcs11_obj_import_url() and gnutls_x509_crt_import_pkcs11_url()
155    can accept the GNUTLS_PKCS11_OBJ_FLAG_OVERWRITE_TRUSTMOD_EXT flag.
156
157 ** libgnutls: gnutls_certificate_set_key() was enhanced to import the DNS
158    name of the certificates if the provided names are NULL.
159
160 ** libgnutls: when receiving SNI names, only save and expose to application
161    the supported DNS names.
162
163 ** libgnutls: when importing the certificate names at the
164    gnutls_certificate_set* functions, only consider the CN as a fallback
165    if DNS names are provided via the alternative name extension.
166
167 ** ocsptool: use HTTP/1.0 for requests. This avoids issue with servers
168    serving chunk encoding which ocsptool doesn't support. Reported by Thomas
169    Klute.
170
171 ** certtool: do not require a CA for OCSP signing tag. This follows the
172    recommendations in RFC6960 in 4.2.2.2 which allow a CA to delegate OCSP
173    signing to another certificate without requiring it to be a CA. Reported
174    by Thomas Klute.
175
176 ** gnutls-cli: on OCSP verification do not fail if we have a single valid
177    reply. Report and reproducer by Thomas Klute.
178
179 ** API and ABI modifications:
180 No changes since last version.
181
182
183 * Version 3.3.22 (released 2016-03-10)
184
185 ** libgnutls: Eliminated issues preventing buffers more than 2^32 bytes
186    to be used with hashing functions.
187
188 ** libgnutls: Follow closely RFC5280 recommendations and use UTCTime for
189    dates prior to 2050. Backported from 3.4.x branch.
190
191 ** libgnutls: Several fixes to prevent relying on undefined behavior of C
192    (found with libubsan).
193
194 ** libgnutls: SSL 3.0 is no longer included in the default priorities
195    list. It has to be explicitly enabled, e.g., with a string like
196    "NORMAL:+VERS-SSL3.0". The previous behavior can be restored using
197    the flag --with-ssl3 to configure.
198
199 ** API and ABI modifications:
200 No changes since last version.
201
202
203 * Version 3.3.21 (released 2016-02-03)
204
205 ** libgnutls: Corrected ALPN protocol negotiation. Before GnuTLS would negotiate
206    the last commonly supported protocol, rather than the first. Reported by
207    Remi Denis-Courmont (#63).
208
209 ** libgnutls: ARCFOUR (RC4) is no longer included in the default priorities
210    list. It has to be explicitly enabled, e.g., with a string like
211    "NORMAL:+ARCFOUR-128". The previous behavior can be restored using
212    the flag --with-arcfour128 to configure.
213
214 ** libgnutls: Corrected regression caused by incorrect fix in
215    gnutls_x509_ext_export_key_usage() at 3.3.20 release.
216
217 ** API and ABI modifications:
218 No changes since last version.
219
220
221 * Version 3.3.20 (released 2016-01-08)
222
223 ** libgnutls: Corrected memory leak in gnutls_pubkey_import_privkey() when
224    used with PKCS #11 keys.
225
226 ** libgnutls: For DSA and ECDSA keys in PKCS #11 objects, import
227    their public keys from either a public key object or a certificate.
228    That is, because private keys do not contain all the required
229    parameters for a direct import. Reported by Jan Vcelak.
230
231 ** libgnutls: Fixed issue when writing ECDSA private keys in PKCS #11
232    tokens.
233
234 ** libgnutls: Fixed out-of-bounds read in gnutls_x509_ext_export_key_usage(),
235    report and patch by Tim Kosse.
236
237 ** libgnutls: Handle DNS name constraints with a leading dot. Backported
238    from 3.4.x branch.
239
240 ** libgnutls: The max-record extension is no longer negotiated on DTLS. This resolves
241    issue with the max-record being negotiated but ignored.
242
243 ** API and ABI modifications:
244 No changes since last version.
245
246
247 * Version 3.3.19 (released 2015-11-22)
248
249 ** libgnutls: Properly require TLS 1.2 to all the CBC-SHA256 and CBC-SHA384
250    ciphersuites. This solves an interoperability issue with openssl.
251    Reported by Viktor Dukhovni.
252
253 ** libgnutls: Fixed memory leak in gnutls_pubkey_get_preferred_hash_algorithm(),
254    patch by Lennert Buytenhek.
255
256 ** libgnutls: When writing a certificate into a PKCS #11 token, ensure
257    that CKA_SERIAL_NUMBER and CKA_ISSUER are written.
258
259 ** libgnutls: Allow the presence of legacy ciphers and key exchanges in
260    priority strings and consider them a no-op.
261
262 ** libgnutls: On a rehandshake allow switching from anonymous to ECDHE and
263    DHE ciphersuites.
264
265 ** libgnutls: Added GNUTLS_SKIP_GLOBAL_INIT macro to allow programs skipping
266    the implicit global initialization.
267
268 ** gnutls.pc: Don't include libtool specific options to link flags.
269    Reported by Dan Kegel.
270
271 ** API and ABI modifications:
272 GNUTLS_SKIP_GLOBAL_INIT: Added
273
274
275 * Version 3.3.18 (released 2015-09-12)
276
277 ** libgnutls: When re-importing CRLs to a trust list ensure that there
278    are no duplicate entries.
279
280 ** certtool: Removed any arbitrary limits imposed on input file sizes
281    and maximum number of certificates imported.
282
283 ** API and ABI modifications:
284    No changes since last version.
285
286
287 * Version 3.3.17 (released 2015-08-10)
288
289 ** libgnutls: Fix issue with server side sending the status request
290    extension even when not requested. Reported by Jeremy Harris.
291
292 ** libgnutls: gnutls_pkcs11_privkey_generate2() will store the generated
293    public key, unless the GNUTLS_PKCS11_OBJ_FLAG_NO_STORE_PUBKEY flag is
294    specified.
295
296 ** libgnutls: fixed double free in DN decoding [GNUTLS-SA-2015-3].
297
298 ** API and ABI modifications:
299    No changes since last version.
300
301
302 * Version 3.3.16 (released 2015-07-12)
303
304 ** libgnutls: Allow compilation with nettle 3.0 or later
305
306 ** libgnutls: corrected failure when importing plain files 
307    with gnutls_x509_privkey_import2(), and a password was provided.
308
309 ** libgnutls: Don't reject certificates if a CA has the URI or IP address
310    name constraints, and the end certificate doesn't have an IP address 
311    name or a URI set.
312
313 ** libgnutls: set and read the hint in DHE-PSK and ECDHE-PSK ciphersuites.
314
315 ** API and ABI modifications:
316    No changes since last version.
317
318
319 * Version 3.3.15 (released 2015-05-03)
320
321 ** libgnutls: gnutls_certificate_get_ours: will return the certificate even
322 if a callback was used to send it.
323
324 ** libgnutls: Fix for MD5 downgrade in TLS 1.2 signatures. Reported by
325 Karthikeyan Bhargavan [GNUTLS-SA-2015-2].
326
327 ** libgnutls: Check for invalid length in the X.509 version field. Without the check
328 certificates with invalid length would be detected as having an arbitrary
329 version. Reported by Hanno Böck.
330
331 ** API and ABI modifications:
332 No changes since last version.
333
334
335 * Version 3.3.14 (released 2015-03-30)
336
337 ** libgnutls: When retrieving OCTET STRINGS from PKCS #12 ContentInfo
338 structures use BER to decode them (requires libtasn1 4.3). That allows
339 to decode some more complex structures.
340
341 ** libgnutls: When an end-certificate with no name is present and there
342 are CA name constraints, don't reject the certificate. This follows RFC5280
343 advice closely. Reported by Fotis Loukos.
344
345 ** libgnutls: Fixed handling of supplemental data with types > 255.
346 Patch by Thierry Quemerais.
347
348 ** libgnutls: Fixed double free in the parsing of CRL distribution points certificate
349 extension. Reported by Robert Święcki.
350
351 ** libgnutls: Fixed a two-byte stack overflow in DTLS 0.9 protocol. That
352 protocol is not enabled by default (used by openconnect VPN).
353
354 ** libgnutls: The maximum user data send size is set to be the same for
355 block and non-block ciphersuites. This addresses a regression with wine:
356 https://bugs.winehq.org/show_bug.cgi?id=37500
357
358 ** libgnutls: When generating PKCS #11 keys, set CKA_ID, CKA_SIGN,
359 and CKA_DECRYPT when needed.
360
361 ** libgnutls: Allow names with zero size to be set using
362 gnutls_server_name_set(). That will disable the Server Name Indication.
363 Resolves issue with wine: https://gitlab.com/gnutls/gnutls/issues/2
364
365 ** API and ABI modifications:
366 No changes since last version.
367
368
369 * Version 3.3.13 (released 2015-02-25)
370
371 ** libgnutls: Enable AESNI in GCM on x86
372
373 ** libgnutls: Fixes in DTLS message handling
374
375 ** libgnutls: Check certificate algorithm consistency, i.e.,
376 check whether the signatureAlgorithm field matches the signature
377 field inside TBSCertificate.
378
379 ** gnutls-cli: Fixes in OCSP verification.
380
381 ** API and ABI modifications:
382 No changes since last version.
383
384
385 * Version 3.3.12 (released 2015-01-17)
386
387 ** libgnutls: When negotiating TLS use the lowest enabled version in
388 the client hello, rather than the lowest supported. In addition, do
389 not use SSL 3.0 as a version in the TLS record layer, unless SSL 3.0
390 is the only protocol supported. That addresses issues with servers that
391 immediately drop the connection when the encounter SSL 3.0 as the record
392 version number. See:
393 http://lists.gnutls.org/pipermail/gnutls-help/2014-November/003673.html
394
395 ** libgnutls: Corrected encoding and decoding of ANSI X9.62 parameters.
396
397 ** libgnutls: Handle zero length plaintext for VIA PadLock functions.
398 This solves a potential crash on AES encryption for small size plaintext.
399 Patch by Matthias-Christian Ott.
400
401 ** libgnutls: In DTLS don't combine multiple packets which exceed MTU.
402 Reported by Andreas Schultz. https://savannah.gnu.org/support/?108715
403
404 ** libgnutls: In DTLS decode all handshake packets present in a record
405 packet, in a single pass. Reported by Andreas Schultz.
406 https://savannah.gnu.org/support/?108712
407
408 ** libgnutls: When importing a CA file with a PKCS #11 URL, simply
409 import the certificates, if the URL specifies objects, rather than
410 treating it as trust module.
411
412 ** libgnutls: When importing a PKCS #11 URL and we know the type of
413 object we are importing, don't require the object type in the URL.
414
415 ** libgnutls: fixed openpgp authentication when gnutls_certificate_set_retrieve_function2
416 was used by the server.
417
418 ** guile: Fix compilation on MinGW. Previously only the static version of the 
419 'guile-gnutls-v-2' library would be built, preventing dynamic loading from Guile.
420
421 ** guile: Fix harmless warning during compilation of gnutls.scm
422 Initially reported at <https://bugzilla.redhat.com/show_bug.cgi?id=1177847>.
423
424 ** certtool: --pubkey-info will also attempt to load a public key
425 from stdin.
426
427 ** gnutls-cli: Added --starttls-proto option. That allows to specify a
428 protocol for starttls negotiation.
429
430 ** API and ABI modifications:
431 No changes since last version.
432
433
434 * Version 3.3.11 (released 2014-12-11)
435
436 ** libgnutls: Corrected regression introduced in 3.3.9 related to
437 session renegotiation. Reported by Dan Winship.
438
439 ** libgnutls: Corrected parsing issue with OCSP responses.
440
441 ** API and ABI modifications:
442 No changes since last version.
443
444
445 * Version 3.3.10 (released 2014-11-10)
446
447 ** libgnutls: Refuse to import v1 or v2 certificates that contain
448 extensions.
449
450 ** libgnutls: Fixes in usage of PKCS #11 token callback
451
452 ** libgnutls: Fixed bug in gnutls_x509_trust_list_get_issuer() when used
453 with a PKCS #11 trust module and without the GNUTLS_TL_GET_COPY flag.
454 Reported by David Woodhouse.
455
456 ** libgnutls: Removed superfluous random generator refresh on every call
457 of gnutls_deinit(). That reduces load and usage of /dev/urandom.
458
459 ** libgnutls: Corrected issue in export of ECC parameters to X9.63 format.
460 Reported by Sean Burford [GNUTLS-SA-2014-5].
461
462 ** libgnutls: When gnutls_global_init() is called for a second time, it
463 will check whether the /dev/urandom fd kept is still open and matches
464 the original one. That behavior works around issues with servers that
465 close all file descriptors.
466
467 ** libgnutls: Corrected behavior with PKCS #11 objects that are marked
468 as CKA_ALWAYS_AUTHENTICATE.
469
470 ** certtool: The default cipher for PKCS #12 structures is 3des-pkcs12.
471 That option is more compatible than AES or RC4.
472
473 ** API and ABI modifications:
474 No changes since last version.
475
476
477 * Version 3.3.9 (released 2014-10-13)
478
479 ** libgnutls: Fixes in the transparent import of PKCS #11 certificates.
480 Reported by Joseph Peruski.
481
482 ** libgnutls: Fixed issue with unexpected non-fatal errors resetting the
483 handshake's hash buffer, in applications using the heartbeat extension
484 or DTLS. Reported by Joeri de Ruiter.
485
486 ** libgnutls: When both a trust module and additional CAs are present 
487 account the latter as well; reported by David Woodhouse.
488
489 ** libgnutls: added GNUTLS_TL_GET_COPY flag for
490 gnutls_x509_trust_list_get_issuer(). That allows the function to be used
491 in a thread safe way when PKCS #11 trust modules are in use.
492
493 ** libgnutls: fix issue in DTLS retransmission when session tickets
494 were in use; reported by Manuel Pégourié-Gonnard.
495
496 ** libgnutls-dane: Do not require the CA on a ca match to be direct CA.
497
498 ** libgnutls: Prevent abort() in library if getrusage() fails. Try to
499 detect instead which of RUSAGE_THREAD and RUSAGE_SELF would work.
500
501 ** guile: new 'set-session-server-name!' procedure; see the manual for
502 details.
503
504 ** certtool: The authority key identifier will be set in a certificate only
505 if the CA's subject key identifier is set.
506
507 ** API and ABI modifications:
508 No changes since last version.
509
510
511 * Version 3.3.8 (released 2014-09-18)
512
513 ** libgnutls: Updates in the name constraints checks. No name constraints
514 will be checked for intermediate certificates. As our support for name
515 constraints is limited to e-mail addresses in DNS names, it is pointless
516 to check them on intermediate certificates.
517
518 ** libgnutls: Fixed issues in PKCS #11 object listing. Previously multiple
519 object listing would fail completely if a single object could not be exported.
520
521 ** libgnutls: Improved the performance of PKCS #11 object listing/retrieving,
522 by retrieving them in large batches. Report and suggestion by David
523 Woodhouse.
524
525 ** libgnutls: Fixed issue with certificates being sanitized by gnutls prior
526 to signature verification. That resulted to certain non-DER compliant modifications
527 of valid certificates, being corrected by libtasn1's parser and restructured as
528 the original. Issue found and reported by Antti Karjalainen and Matti Kamunen from
529 Codenomicon.
530
531 ** libgnutls: Fixes in gnutls_x509_crt_set_dn() and friends to properly handle
532 strings with embedded spaces and escaped commas.
533
534 ** libgnutls: when comparing a CA certificate with the trusted list compare
535 the name and key only instead of the whole certificate. That is to handle
536 cases where a CA certificate was superceded by a different one with the same
537 name and the same key.
538
539 ** libgnutls: when verifying a certificate against a p11-kit trusted
540 module, use the attached extensions in the module to override the CA's
541 extensions (that requires p11-kit 0.20.7).
542
543 ** libgnutls: In DTLS prevent sending zero-size fragments in certain cases
544 of MTU split. Reported by Manuel Pégourié-Gonnard.
545
546 ** libgnutls: Added gnutls_x509_trust_list_verify_crt2() which allows
547 verifying using a hostname and a purpose (extended key usage). That
548 enhances PKCS #11 trust module verification, as it can now check the purpose
549 when this function is used.
550
551 ** libgnutls: Corrected gnutls_x509_crl_verify() which would always report
552 a CRL signature as invalid. Reported by Armin Burgmeier.
553
554 ** libgnutls: added option --disable-padlock to allow disabling the padlock
555 CPU acceleration.
556
557 ** p11tool: when listing tokens, list their type as well.
558
559 ** p11tool: when listing objects from a trust module print any attached
560 extensions on certificates.
561
562 ** API and ABI modifications:
563 gnutls_x509_crq_get_extension_by_oid2: Added
564 gnutls_x509_crt_get_extension_by_oid2: Added
565 gnutls_x509_trust_list_verify_crt2: Added
566 gnutls_x509_ext_print: Added
567 gnutls_x509_ext_deinit: Added
568 gnutls_x509_othername_to_virtual: Added
569 gnutls_pkcs11_obj_get_exts: Added
570
571
572 * Version 3.3.7 (released 2014-08-24)
573
574 ** libgnutls: Added function to export the public key of a PKCS #11
575 private key. Contributed by Wolfgang Meyer zu Bergsten.
576
577 ** libgnutls: Explicitly set the exponent in PKCS #11 key generation.
578 That improves compatibility with certain PKCS #11 modules. Contributed by
579 Wolfgang Meyer zu Bergsten.
580
581 ** libgnutls: When generating a PKCS #11 private key allow setting
582 the WRAP/UNWRAP flags. Contributed by Wolfgang Meyer zu Bergsten.
583
584 ** libgnutls: gnutls_pkcs11_privkey_t will always hold an open session
585 to the key.
586
587 ** libgnutls: bundle replacements of inet_pton and inet_aton if not
588 available.
589
590 ** libgnutls: initialize parameters variable on PKCS #8 decryption.
591
592 ** libgnutls: gnutls_pkcs12_verify_mac() will not fail in other than SHA1
593 algorithms.
594
595 ** libgnutls: gnutls_x509_crt_check_hostname() will follow the RFC6125
596 requirement of checking the Common Name (CN) part of DN only if there is
597 a single CN present in the certificate.
598
599 ** libgnutls: The environment variable GNUTLS_FORCE_FIPS_MODE can be used
600 to force the FIPS mode, when set to 1.
601
602 ** libgnutls: In DTLS ignore only errors that relate to unexpected packets
603 and decryption failures.
604
605 ** p11tool: Added --info parameter.
606
607 ** certtool: Added --mark-wrap parameter.
608
609 ** danetool: --check will attempt to retrieve the server's certificate
610 chain and verify against it.
611
612 ** danetool/gnutls-cli-debug: Added --app-proto parameters which can
613 be used to enforce starttls (currently only SMTP and IMAP) on the connection.
614
615 ** danetool: Added openssl linking exception, to allow linking
616 with libunbound.
617
618 ** API and ABI modifications:
619 GNUTLS_PKCS11_OBJ_ATTR_MATCH: Added
620 gnutls_pkcs11_privkey_export_pubkey: Added
621 gnutls_pkcs11_obj_flags_get_str: Added
622 gnutls_pkcs11_obj_get_flags: Added
623
624
625 * Version 3.3.6 (released 2014-07-23)
626
627 ** libgnutls: Use inet_ntop to print IP addresses when available
628
629 ** libgnutls: gnutls_x509_crt_check_hostname and friends will also check
630 IP addresses, and match documented behavior. Reported by David Woodhouse.
631
632 ** libgnutls: DSA key generation in FIPS140-2 mode doesn't allow 1024
633 bit parameters.
634
635 ** libgnutls: fixed issue in gnutls_pkcs11_reinit() which prevented tokens
636 being usable after a reinitialization.
637
638 ** libgnutls: fixed PKCS #11 private key operations after a fork.
639
640 ** libgnutls: fixed PKCS #11 ECDSA key generation.
641
642 ** libgnutls: The GNUTLS_CPUID_OVERRIDE environment variable can be used to 
643 explicitly enable/disable the use of certain CPU capabilities. Note that CPU
644 detection cannot be overriden, i.e., VIA options cannot be enabled on an Intel
645 CPU. The currently available options are:
646   0x1: Disable all run-time detected optimizations
647   0x2: Enable AES-NI
648   0x4: Enable SSSE3
649   0x8: Enable PCLMUL
650   0x100000: Enable VIA padlock
651   0x200000: Enable VIA PHE
652   0x400000: Enable VIA PHE SHA512
653
654 ** libdane: added dane_query_to_raw_tlsa(); patch by Simon Arlott.
655
656 ** p11tool: use GNUTLS_SO_PIN to read the security officer's PIN if set.
657
658 ** p11tool: ask for label when one isn't provided.
659
660 ** p11tool: added --batch parameter to disable any interactivity.
661
662 ** p11tool: will not implicitly enable so-login for certain types of
663 objects. That avoids issues with tokens that require different login
664 types.
665
666 ** certtool/p11tool: Added the --curve parameter which allows to explicitly
667 specify the curve to use.
668
669 ** API and ABI modifications:
670 gnutls_certificate_set_x509_trust_dir: Added
671 gnutls_x509_trust_list_add_trust_dir: Added
672
673
674 * Version 3.3.5 (released 2014-06-26)
675
676 ** libgnutls: Added gnutls_record_recv_packet() and gnutls_packet_deinit().
677 These functions provide a variant of gnutls_record_recv() that avoids
678 the final memcpy of data.
679
680 ** libgnutls: gnutls_x509_crl_iter_crt_serial() was added as a
681 faster variant of gnutls_x509_crl_get_crt_serial() when coping with
682 very large structures.
683
684 ** libgnutls: When the decoding of a printable DN element fails, then treat
685 it as unknown and print its hex value rather than failing. That works around
686 an issue in a TURKTRST root certificate which improperly encodes the
687 X520countryName element.
688
689 ** libgnutls: gnutls_x509_trust_list_add_trust_file() will return the number
690 of certificates present in a PKCS #11 token when loading it.
691
692 ** libgnutls: Allow the post client hello callback to put the handshake on
693 hold, by returning GNUTLS_E_AGAIN or GNUTLS_E_INTERRUPTED.
694
695 ** certtool: option --to-p12 will now consider --load-ca-certificate
696
697 ** certtol: Added option to specify the PKCS #12 friendly name on command
698 line.
699
700 ** p11tool: Allow marking a certificate copied to a token as a CA.
701
702 ** API and ABI modifications:
703 GNUTLS_PKCS11_OBJ_FLAG_MARK_CA: Added
704 gnutls_x509_crl_iter_deinit: Added
705 gnutls_x509_crl_iter_crt_serial: Added
706 gnutls_record_recv_packet: Added
707 gnutls_packet_deinit: Added
708 gnutls_packet_get: Added
709
710
711 * Version 3.3.4 (released 2014-05-31)
712
713 ** libgnutls: Updated Andy Polyakov's assembly code. That prevents a
714 crash on certain CPUs.
715
716 ** API and ABI modifications:
717 No changes since last version.
718
719
720 * Version 3.3.3 (released 2014-05-30)
721
722 ** libgnutls: Eliminated memory corruption issue in Server Hello parsing.
723 Issue reported by Joonas Kuorilehto of Codenomicon.
724
725 ** libgnutls: gnutls_global_set_mutex() was modified to operate with the
726 new initialization process.
727
728 ** libgnutls: Increased the maximum certificate size buffer
729 in the PKCS #11 subsystem.
730
731 ** libgnutls: Check the return code of getpwuid_r() instead of relying
732 on the result value. That avoids issue in certain systems, when using
733 tofu authentication and the home path cannot be determined. Issue reported
734 by Viktor Dukhovni.
735
736 ** libgnutls-dane: Improved dane_verify_session_crt(), which now attempts to
737 create a full chain. This addresses points from https://savannah.gnu.org/support/index.php?108552
738
739 ** gnutls-cli: --dane will only check the end certificate if PKIX validation
740 has been disabled.
741
742 ** gnutls-cli: --benchmark-soft-ciphers has been removed. That option cannot
743 be emulated with the implicit initialization of gnutls.
744
745 ** certtool: Allow multiple organizations and organizational unit names to
746 be specified in a template.
747
748 ** certtool: Warn when invalid configuration options are set to a template.
749
750 ** ocsptool: Include path in ocsp request. This resolves #108582
751 (https://savannah.gnu.org/support/?108582), reported by Matt McCutchen.
752
753 ** API and ABI modifications:
754 gnutls_credentials_get: Added
755
756
757 * Version 3.3.2 (released 2014-05-06)
758
759 ** libgnutls: Added the 'very weak' certificate verification profile
760 that corresponds to 64-bit security level.
761
762 ** libgnutls: Corrected file descriptor leak on random generator
763 initialization.
764
765 ** libgnutls: Corrected file descriptor leak on PSK password file
766 reading. Issue identified using the Codenomicon TLS test suite.
767
768 ** libgnutls: Avoid deinitialization if initialization has failed.
769
770 ** libgnutls: null-terminate othername alternative names.
771
772 ** libgnutls: gnutls_x509_trust_list_get_issuer() will operate correctly
773 on a PKCS #11 trust list.
774
775 ** libgnutls: Several small bug fixes identified using valgrind and
776 the Codenomicon TLS test suite.
777
778 ** libgnutls-dane: Accept a certificate using DANE if there is at least one
779 entry that matches the certificate. Patch by simon [at] arlott.org.
780
781 ** libgnutls-guile: Fixed compilation issue.
782
783 ** certtool: Allow exporting a CRL on DER format.
784
785 ** certtool: The ECDSA keys generated by default use the SECP256R1 curve
786 which is supported more widely than the previously used SECP224R1.
787
788 ** API and ABI modifications:
789 GNUTLS_PROFILE_VERY_WEAK: Added
790
791
792 * Version 3.3.1 (released 2014-04-19)
793
794 ** libgnutls: Enforce more strict checks to heartbeat messages
795 concerning padding and payload. Suggested by Peter Dettman.
796
797 ** libgnutls: Allow decoding PKCS #8 files with ECC parameters
798 from openssl.
799
800 ** libgnutls: Several small bug fixes found by coverity.
801
802 ** libgnutls: The conditionally available self-test functions
803 were moved to self-test.h.
804
805 ** libgnutls: Fixed issue with the check of incoming data when two
806 different recv and send pointers have been specified. Reported and
807 investigated by JMRecio.
808
809 ** libgnutls: Fixed issue in the RSA-PSK key exchange, which would 
810 result to illegal memory access if a server hint was provided. Reported
811 by André Klitzing.
812
813 ** libgnutls: Fixed client memory leak in the PSK key exchange, if a
814 server hint was provided.
815
816 ** libgnutls: Corrected the *get_*_othername_oid() functions.
817
818 ** API and ABI modifications:
819 No changes since last version.
820
821
822 * Version 3.3.0 (released 2014-04-10)
823
824 ** libgnutls: The initialization of the library was moved to a
825 constructor. That is, gnutls_global_init() is no longer required
826 unless linking with a static library or a system that does not
827 support library constructors.
828
829 ** libgnutls: static libraries are not built by default.
830
831 ** libgnutls: PKCS #11 initialization is delayed to first usage.
832 That avoids long delays in gnutls initialization due to broken PKCS #11
833 modules.
834
835 ** libgnutls: The PKCS #11 subsystem is re-initialized "automatically"
836 on the first PKCS #11 API call after a fork. 
837
838 ** libgnutls: certificate verification profiles were introduced
839 that can be specified as flags to verification functions. They
840 are enumerations in gnutls_certificate_verification_profiles_t
841 and can be converted to flags for use in a verification function
842 using GNUTLS_PROFILE_TO_VFLAGS().
843
844 ** libgnutls: Added the ability to read system-specific initial
845 keywords, if they are prefixed with '@'. That allows a compile-time
846 specified configuration file to be used to read pre-configured priority
847 strings from. That can be used to impose system specific policies.
848
849 ** libgnutls: Increased the default security level of priority
850 strings (NORMAL and PFS strings require at minimum a 1008 DH prime), 
851 and set a verification profile by default.  The LEGACY keyword is 
852 introduced to set the old defaults.
853
854 ** libgnutls: Added support for the name constraints PKIX extension.
855 Currently only DNS names and e-mails are supported (no URIs, IPs
856 or DNs).
857
858 ** libgnutls: Security parameter SEC_PARAM_NORMAL was renamed to 
859 SEC_PARAM_MEDIUM to avoid confusion with the priority string NORMAL.
860
861 ** libgnutls: Added new API in x509-ext.h to handle X.509 extensions.
862 This API handles the X.509 extensions in isolation, allowing to parse
863 similarly formatted extensions stored in other structures.
864
865 ** libgnutls: When generating DSA keys the macro GNUTLS_SUBGROUP_TO_BITS
866 can be used to specify a particular subgroup as the number of bits in
867 gnutls_privkey_generate; e.g., GNUTLS_SUBGROUP_TO_BITS(2048, 256).
868
869 ** libgnutls: DH parameter generation is now delegated to nettle.
870 That unfortunately has the side-effect that DH parameters longer than
871 3072 bits, cannot be generated (not without a nettle update).
872
873 ** libgnutls: Separated nonce RNG from the main RNG. The nonce
874 random number generator is based on salsa20/12.
875
876 ** libgnutls: The buffer alignment provided to crypto backend is
877 enforced to be 16-byte aligned, when compiled with cryptodev
878 support. That allows certain cryptodev drivers to operate more
879 efficiently.
880
881 ** libgnutls: Return error when a public/private key pair that doesn't
882 match is set into a credentials structure.
883
884 ** libgnutls: Depend on p11-kit 0.20.0 or later.
885
886 ** libgnutls: The new padding (%NEW_PADDING) experimental TLS extension has
887 been removed. It was not approved by IETF.
888
889 ** libgnutls: The experimental xssl library is removed from the gnutls
890 distribution.
891
892 ** libgnutls: Reduced the number of gnulib modules used in the main library.
893
894 ** libgnutls: Added priority string %DISABLE_WILDCARDS.
895
896 ** libgnutls: Added the more extensible verification function
897 gnutls_certificate_verify_peers(), that allows checking, in addition
898 to a peer's DNS hostname, for the key purpose of the end certificate
899 (via PKIX extended key usage).
900
901 ** certtool: Timestamps for serial numbers were increased to 8 bytes,
902 and in batch mode to 12 (appended with 4 random bytes).
903
904 ** certtool: When no CRL number is provided (or value set to -1), then
905 a time-based number will be used, similarly to the serial generation
906 number in certificates.
907
908 ** certtool: Print the SHA256 fingerprint of a certificate in addition
909 to SHA1.
910
911 ** libgnutls: Added --enable-fips140-mode configuration option (unsupported).
912 That option enables (when running on FIPS140-enabled system):
913  o RSA, DSA and DH key generation as in FIPS-186-4 (using provable primes)
914  o The DRBG-CTR-AES256 deterministic random generator from SP800-90A.
915  o Self-tests on initialization on ciphers/MACs, public key algorithms 
916    and the random generator.
917  o HMAC-SHA256 verification of the library on load.
918  o MD5 is included for TLS purposes but cannot be used by the high level
919    hashing functions.
920  o All ciphers except AES are disabled.
921  o All MACs and hashes except GCM and SHA are disabled (e.g., HMAC-MD5).
922  o All keys (temporal and long term) are zeroized after use.
923  o Security levels are adjusted to the FIPS140-2 recommendations (rather
924    than ECRYPT).
925
926 ** API and ABI modifications:
927 GNUTLS_VERIFY_DO_NOT_ALLOW_WILDCARDS: Added
928 gnutls_certificate_verify_peers: Added
929 gnutls_privkey_generate: Added
930 gnutls_pkcs11_crt_is_known: Added
931 gnutls_fips140_mode_enabled: Added
932 gnutls_sec_param_to_symmetric_bits: Added
933 gnutls_pubkey_export_ecc_x962: Added (replaces gnutls_pubkey_get_pk_ecc_x962)
934 gnutls_pubkey_export_ecc_raw: Added (replaces gnutls_pubkey_get_pk_ecc_raw)
935 gnutls_pubkey_export_dsa_raw: Added (replaces gnutls_pubkey_get_pk_dsa_raw)
936 gnutls_pubkey_export_rsa_raw: Added (replaces gnutls_pubkey_get_pk_rsa_raw)
937 gnutls_pubkey_verify_params: Added
938 gnutls_privkey_export_ecc_raw: Added
939 gnutls_privkey_export_dsa_raw: Added
940 gnutls_privkey_export_rsa_raw: Added
941 gnutls_privkey_import_ecc_raw: Added
942 gnutls_privkey_import_dsa_raw: Added
943 gnutls_privkey_import_rsa_raw: Added
944 gnutls_privkey_verify_params: Added
945 gnutls_x509_crt_check_hostname2: Added
946 gnutls_openpgp_crt_check_hostname2: Added
947 gnutls_x509_name_constraints_init: Added
948 gnutls_x509_name_constraints_deinit: Added
949 gnutls_x509_crt_get_name_constraints: Added
950 gnutls_x509_name_constraints_add_permitted: Added
951 gnutls_x509_name_constraints_add_excluded: Added
952 gnutls_x509_crt_set_name_constraints: Added
953 gnutls_x509_name_constraints_get_permitted: Added
954 gnutls_x509_name_constraints_get_excluded: Added
955 gnutls_x509_name_constraints_check: Added
956 gnutls_x509_name_constraints_check_crt: Added
957 gnutls_x509_crl_get_extension_data2: Added
958 gnutls_x509_crt_get_extension_data2: Added
959 gnutls_x509_crq_get_extension_data2: Added
960 gnutls_subject_alt_names_init: Added
961 gnutls_subject_alt_names_deinit: Added
962 gnutls_subject_alt_names_get: Added
963 gnutls_subject_alt_names_set: Added
964 gnutls_x509_ext_import_subject_alt_names: Added
965 gnutls_x509_ext_export_subject_alt_names: Added
966 gnutls_x509_crl_dist_points_init: Added
967 gnutls_x509_crl_dist_points_deinit: Added
968 gnutls_x509_crl_dist_points_get: Added
969 gnutls_x509_crl_dist_points_set: Added
970 gnutls_x509_ext_import_crl_dist_points: Added
971 gnutls_x509_ext_export_crl_dist_points: Added
972 gnutls_x509_ext_import_name_constraints: Added
973 gnutls_x509_ext_export_name_constraints: Added
974 gnutls_x509_aia_init: Added
975 gnutls_x509_aia_deinit: Added
976 gnutls_x509_aia_get: Added
977 gnutls_x509_aia_set: Added
978 gnutls_x509_ext_import_aia: Added
979 gnutls_x509_ext_export_aia: Added
980 gnutls_x509_ext_import_subject_key_id: Added
981 gnutls_x509_ext_export_subject_key_id: Added
982 gnutls_x509_ext_export_authority_key_id: Added
983 gnutls_x509_ext_import_authority_key_id: Added
984 gnutls_x509_aki_init: Added
985 gnutls_x509_aki_get_id: Added
986 gnutls_x509_aki_get_cert_issuer: Added
987 gnutls_x509_aki_set_id: Added
988 gnutls_x509_aki_set_cert_issuer: Added
989 gnutls_x509_aki_deinit: Added
990 gnutls_x509_ext_import_private_key_usage_period: Added
991 gnutls_x509_ext_export_private_key_usage_period: Added
992 gnutls_x509_ext_import_basic_constraints: Added
993 gnutls_x509_ext_export_basic_constraints: Added
994 gnutls_x509_ext_import_key_usage: Added
995 gnutls_x509_ext_export_key_usage: Added
996 gnutls_x509_ext_import_proxy: Added
997 gnutls_x509_ext_export_proxy: Added
998 gnutls_x509_policies_init: Added
999 gnutls_x509_policies_deinit: Added
1000 gnutls_x509_policies_get: Added
1001 gnutls_x509_policies_set: Added
1002 gnutls_x509_ext_import_policies: Added
1003 gnutls_x509_ext_export_policies: Added
1004 gnutls_x509_key_purpose_init: Added
1005 gnutls_x509_key_purpose_deinit: Added
1006 gnutls_x509_key_purpose_set: Added
1007 gnutls_x509_key_purpose_get: Added
1008 gnutls_x509_ext_import_key_purposes: Added
1009 gnutls_x509_ext_export_key_purposes: Added
1010 gnutls_digest_self_test: Added (conditionally)
1011 gnutls_mac_self_test: Added (conditionally)
1012 gnutls_pk_self_test: Added (conditionally)
1013 gnutls_cipher_self_test: Added (conditionally)
1014 gnutls_global_set_mem_functions: Deprecated
1015
1016
1017 * Version 3.2.6 (released 2013-10-31)
1018
1019 ** libgnutls: Support for TPM via trousers is now enabled by default.
1020
1021 ** libgnutls: Camellia in GCM mode has been added in default priorities, and
1022 GCM mode is prioritized over CBC in all of the default priority strings.
1023
1024 ** libgnutls: Added ciphersuite GNUTLS_ECDHE_RSA_AES_256_CBC_SHA384.
1025
1026 ** libgnutls: Fixed ciphersuites GNUTLS_ECDHE_ECDSA_CAMELLIA_256_CBC_SHA384,
1027 GNUTLS_ECDHE_RSA_CAMELLIA_256_CBC_SHA384 and GNUTLS_PSK_CAMELLIA_128_GCM_SHA256. 
1028 Reported by Stefan Buehler.
1029
1030 ** libgnutls: Added support for ISO OID for RSA-SHA1 signatures.
1031
1032 ** libgnutls: Minimum acceptable DH group parameters were increased to 767
1033 bits from 727.
1034
1035 ** libgnutls: Added function to obtain random data from PKCS #11 tokens.
1036 Contributed by Wolfgang Meyer zu Bergsten.
1037
1038 ** gnulib: updated.
1039
1040 ** libdane: Fixed a one-off bug in dane_query_tlsa() introduced by the
1041 previous fix. Reported by Tomas Mraz.
1042
1043 ** p11tool: Added option generate-random.
1044
1045 ** API and ABI modifications:
1046 gnutls_pkcs11_token_get_random: Added
1047
1048
1049 * Version 3.2.5 (released 2013-10-23)
1050
1051 ** libgnutls: Documentation and build-time fixes.
1052
1053 ** libgnutls: Allow the generation of DH groups of less than 700 bits.
1054
1055 ** libgnutls: Added several combinations of ciphersuites with SHA256 and SHA384 as MAC,
1056 as well as Camellia with GCM.
1057
1058 ** libdane: Added interfaces to allow initialization of dane_query_t from
1059 external DNS resolutions, and to allow direct verification of a certificate
1060 chain against a dane_query_t. Contributed by Christian Grothoff.
1061
1062 ** libdane: Fixed a buffer overflow in dane_query_tlsa(). This could be
1063 triggered by a DNS server supplying more than 4 DANE records. Report and fix
1064 by Christian Grothoff.
1065
1066 ** srptool: Fixed index command line option. Patch by Attila Molnar.
1067
1068 ** gnutls-cli: Added support for inline commands, using the
1069 --inline-commands-prefix and --inline-commands options. Patch by Raj Raman.     
1070
1071 ** certtool: pathlen constraint is now read correctly. Reported by
1072 Christoph Seitz.
1073
1074 ** API and ABI modifications:
1075 gnutls_certificate_get_crt_raw: Added
1076 dane_verify_crt_raw: Added
1077 dane_raw_tlsa: Added
1078
1079
1080 * Version 3.2.4 (released 2013-08-31)
1081
1082 ** libgnutls: Fixes when session tickets and session DB are used.
1083 Report and initial patch by Stefan Buehler.
1084
1085 ** libgnutls: Added the RSA-PSK key exchange. Patch by by Frank Morgner,
1086 based on previous patch by Bardenheuer GmbH and Bundesdruckerei GmbH.
1087
1088 ** libgnutls: Added ciphersuites that use ARCFOUR with ECDHE. Patch
1089 by Stefan Buehler.
1090
1091 ** libgnutls: Added the PFS priority string option.
1092
1093 ** libgnutls: Gnulib included files are strictly LGPLv2.
1094
1095 ** libgnutls: Corrected gnutls_certificate_server_set_request().
1096 Reported by Petr Pisar.
1097
1098 ** API and ABI modifications:
1099 gnutls_record_set_timeout: Exported
1100
1101
1102 * Version 3.2.3 (released 2013-07-30)
1103
1104 ** libgnutls: Fixes in parsing of priority strings. Patch by Stefan Buehler.
1105
1106 ** libgnutls: Solve issue with received TLS packets that exceed 2^14. 
1107 (this fixes a bug that was accidentally introduced in 3.2.2)
1108
1109 ** libgnutls: Removed gnulib modules under LGPLv3 that could possibly be
1110 used by the library.
1111
1112 ** libgnutls: Fixes in gnutls_record_send_range(). Report and initial fix by 
1113 Alfredo Pironti.
1114
1115 ** API and ABI modifications:
1116 gnutls_priority_kx_list: Added
1117 gnutls_priority_mac_list: Added
1118 gnutls_priority_cipher_list: Added
1119
1120
1121 * Version 3.2.2 (released 2013-07-14)
1122
1123 ** libgnutls: Several optimizations in the related to packet processing
1124 subsystems.
1125
1126 ** libgnutls: DTLS replay detection can now be disabled (to be used
1127 in certain transport layers like SCTP).
1128
1129 ** libgnutls: Fixes in SRTP extension generation when MKI is being
1130 used.
1131
1132 ** libgnutls: Added ability to set hooks before or after sending or receiving
1133 any handshake message with gnutls_handshake_set_hook_function().
1134
1135 ** API and ABI modifications:
1136 GNUTLS_NO_REPLAY_PROTECTION: Added
1137 gnutls_certificate_set_trust_list: Added
1138 gnutls_cipher_get_tag_size: Added
1139 gnutls_record_overhead_size: Added
1140 gnutls_est_record_overhead_size: Added
1141 gnutls_handshake_set_hook_function: Added
1142 gnutls_handshake_description_get_name: Added
1143 gnutls_digest_list: Added
1144 gnutls_digest_get_id: Added
1145 gnutls_digest_get_name: Added
1146
1147
1148 * Version 3.2.1 (released 2013-06-01)
1149
1150 ** libgnutls: Allow ECC when in SSL 3.0 to work-around a bug in certain
1151 openssl versions.
1152
1153 ** libgnutls: Fixes in interrupted function resumption. Report
1154 and patch by Tim Kosse.
1155
1156 ** libgnutls: Corrected issue when receiving client hello verify requests
1157 in DTLS.
1158
1159 ** libgnutls: Fixes in DTLS record overhead size calculations.
1160
1161 ** libgnutls: gnutls_handshake_get_last_in() was fixed. Reported
1162 by Mann Ern Kang.
1163
1164 ** API and ABI modifications:
1165 gnutls_session_set_id: Added
1166
1167
1168 * Version 3.2.0 (released 2013-05-10)
1169
1170 ** libgnutls: Use nettle's elliptic curve implementation.
1171
1172 ** libgnutls: Added Salsa20 cipher
1173
1174 ** libgnutls: Added UMAC-96 and UMAC-128
1175
1176 ** libgnutls: Added ciphersuites involving Salsa20 and UMAC-96.
1177 As they are not standardized they are defined using private ciphersuite 
1178 numbers.
1179
1180 ** libgnutls: Added support for DTLS 1.2.
1181
1182 ** libgnutls: Added support for the Application Layer Protocol Negotiation
1183 (ALPN) extension.
1184
1185 ** libgnutls: Removed support for the RSA-EXPORT ciphersuites.
1186
1187 ** libgnutls: Avoid linking to librt (that also avoids unnecessary
1188 linking to pthreads if p11-kit isn't used).
1189
1190 ** API and ABI modifications:
1191 gnutls_cipher_get_iv_size: Added
1192 gnutls_hmac_set_nonce: Added
1193 gnutls_mac_get_nonce_size: Added
1194
1195
1196 * Version 3.1.10 (released 2013-03-22)
1197
1198 ** certtool: When generating PKCS #12 files use by default the 
1199 ARCFOUR (RC4) cipher to be compatible with devices that don't
1200 support AES with PKCS #12.
1201
1202 ** libgnutls: Load CA certificates in android 4.x systems.
1203
1204 ** libgnutls: Optimized CA certificate loading.
1205
1206 ** libgnutls: Private keys are overwritten on deinitialization.
1207
1208 ** libgnutls: PKCS #11 slots are scanned only when needed, not
1209 on initialization. This speeds up gnutls initialization when smart
1210 cards are present.
1211
1212 ** libgnutls: Corrected issue in the (deprecated) external key
1213 signing interface, when used with TLS 1.2. Reported by Bjorn H. Christensen.
1214
1215 ** libgnutls: Fixes in openpgp handshake with fingerprints. Reported by 
1216 Joke de Buhr.
1217
1218 ** libgnutls-dane: Updated DANE verification options.
1219
1220 ** configure: Trust store file must be explicitly set or unset when 
1221 cross compiling.
1222
1223 ** API and ABI modifications:
1224 gnutls_x509_crt_get_issuer_dn2: Added
1225 gnutls_x509_crt_get_dn2: Added
1226 gnutls_x509_crl_get_issuer_dn2: Added
1227 gnutls_x509_crq_get_dn2: Added
1228 gnutls_x509_trust_list_remove_trust_mem: Added
1229 gnutls_x509_trust_list_remove_trust_file: Added
1230 gnutls_x509_trust_list_remove_cas: Added
1231 gnutls_session_get_desc: Added
1232 gnutls_privkey_sign_raw_data: Added
1233 gnutls_privkey_status: Added
1234
1235
1236 * Version 3.1.9 (released 2013-02-27)
1237
1238 ** certtool: Option --to-p12 will now ask for a password to generate
1239 a PKCS #12 file from an encrypted key file. Reported by Yan Fiz.
1240
1241 ** libgnutls: Corrected issue in gnutls_pubkey_verify_data().
1242
1243 ** libgnutls: Corrected parsing issue in XMPP within a subject 
1244 alternative name. Reported by James Cloos.
1245
1246 ** libgnutls: gnutls_pkcs11_reinit() will reinitialize all PKCS #11
1247 modules, and not only the ones loaded via p11-kit.
1248
1249 ** libgnutls: Added function to check whether the private key is
1250 still available (inserted).
1251
1252 ** libgnutls: Try to detect fork even during nonce generation.
1253
1254 ** API and ABI modifications:
1255 gnutls_handshake_set_random: Added
1256 gnutls_transport_set_int2: Added
1257 gnutls_transport_get_int2: Added
1258 gnutls_transport_get_int: Added
1259 gnutls_record_cork: Exported
1260 gnutls_record_uncork: Exported
1261 gnutls_pkcs11_privkey_status: Added
1262
1263
1264 * Version 3.1.8 (released 2013-02-10)
1265
1266 ** libgnutls: Fixed issue in gnutls_x509_privkey_import2() which didn't return
1267 GNUTLS_E_DECRYPTION_FAILED in all cases, and affect certtool operation
1268 with encrypted keys. Reported by Yan Fiz.
1269
1270 ** libgnutls: The minimum DH bits accepted by priorities NORMAL and
1271 PERFORMANCE was set to previous defaults 727 bits. Reported by Diego
1272 Elio Petteno.
1273
1274 ** libgnutls: Corrected issue which prevented gnutls_pubkey_verify_hash() 
1275 to operate with long keys. Reported by Erik A Jensen.
1276
1277 ** API and ABI modifications:
1278 No changes since last version.
1279
1280
1281 * Version 3.1.7 (released 2013-02-04)
1282
1283 ** certtool: Added option "dn" which allows to directly set the DN
1284 in a template from an RFC4514 string.
1285
1286 ** danetool: Added options: --dlv and --insecure. Suggested by Paul Wouters.
1287
1288 ** libgnutls-xssl: Added a new library to simplify GnuTLS usage.
1289
1290 ** libgnutls-dane: Added function to specify a DLV file.
1291
1292 ** libgnutls: Heartbeat code was made optional.
1293
1294 ** libgnutls: Fixes in server side of DTLS-0.9.
1295
1296 ** libgnutls: DN variable 'T' was expanded to 'title'.
1297
1298 ** libgnutls: Fixes in record padding parsing to prevent a timing attack. 
1299 Issue reported by Kenny Paterson and Nadhem Alfardan.
1300
1301 ** libgnutls: Added functions to directly set the DN in a certificate
1302 or request from an RFC4514 string.
1303
1304 ** libgnutls: Optimizations in the random generator. The re-seeding of
1305 it is now explicitly done on every session deinit.
1306
1307 ** libgnutls: Simplified the DTLS sliding window implementation.
1308
1309 ** libgnutls: The minimum DH bits accepted by a client are now set
1310 by the specified priority string. The current values correspond to the
1311 previous defaults (727 bits), except for the SECURE128 and SECURE192
1312 strings which increase the minimum to 1248 and 1776 respectively.
1313
1314 ** libgnutls: Added the gnutls_record_cork() and uncork API to enable 
1315 buffering in sending application data.
1316
1317 ** libgnutls: Removed default random padding, and added a length-hiding interface 
1318 instead.  Both the server and the client must support this extension. Whether 
1319 length-hiding can be used on a given session can be checked using
1320 gnutls_record_can_use_length_hiding(). Contributed by Alfredo Pironti.
1321
1322 ** libgnutls: Added the experimental %NEW_PADDING priority string. It enables 
1323 a new padding mechanism in TLS allowing arbitrary padding in TLS records
1324 in all ciphersuites, which makes length-hiding more efficient and solves 
1325 the issues with timing attacks on CBC ciphersuites.
1326
1327 ** libgnutls: Corrected gnutls_cipher_decrypt2() when used with AEAD
1328 ciphers (i.e., AES-GCM). Reported by William McGovern.
1329
1330 ** API and ABI modifications:
1331 gnutls_db_check_entry_time: Added
1332 gnutls_record_set_timeout: Added
1333 gnutls_record_get_random_padding_status: Added
1334 gnutls_x509_crt_set_dn: Added
1335 gnutls_x509_crt_set_issuer_dn: Added
1336 gnutls_x509_crq_set_dn: Added
1337 gnutls_range_split: Added
1338 gnutls_record_send_range: Added
1339 gnutls_record_set_max_empty_records: Added
1340 gnutls_record_can_use_length_hiding: Added
1341 gnutls_rnd_refresh: Added
1342 xssl_deinit: Added
1343 xssl_flush: Added
1344 xssl_read: Added
1345 xssl_getdelim: Added
1346 xssl_write: Added
1347 xssl_printf: Added
1348 xssl_sinit: Added
1349 xssl_client_init: Added
1350 xssl_server_init: Added
1351 xssl_get_session: Added
1352 xssl_get_verify_status: Added
1353 xssl_cred_init: Added
1354 xssl_cred_deinit: Added
1355 dane_state_set_dlv_file: Added
1356 GNUTLS_SEC_PARAM_EXPORT: Added
1357 GNUTLS_SEC_PARAM_VERY_WEAK: Added
1358
1359
1360 * Version 3.1.6 (released 2013-01-02)
1361
1362 ** libgnutls: Fixed record padding parsing issue. Reported by Kenny
1363 Paterson and Nadhem Alfardan.
1364
1365 ** libgnutls: Several updates in the ASN.1 string handling subsystem.
1366
1367 ** libgnutls: gnutls_x509_crt_get_policy() allows for a list of zero
1368 policy qualifiers.
1369
1370 ** libgnutls: Ignore heartbeat messages when received out-of-order,
1371 instead of issuing an error.
1372
1373 ** libgnutls: Stricter RSA PKCS #1 1.5 encoding and decoding. Reported
1374 by Kikuchi Masashi.
1375
1376 ** libgnutls: TPM support is disabled by default because GPL programs
1377 cannot link with it. Use --with-tpm to enable it.
1378
1379 ** libgnutls-guile: Fixed parallel compilation issue.
1380
1381 ** gnutls-cli: It will try to connect to all possible returned addresses
1382 before failing.
1383
1384 ** API and ABI modifications:
1385 No changes since last version.
1386
1387
1388 * Version 3.1.5 (released 2012-11-24)
1389
1390 ** libgnutls: Added functions to parse the certificates policies
1391 extension.
1392
1393 ** libgnutls: Handle BMPString (UCS-2) encoding in the Distinguished
1394 Name by translating it to UTF-8 (works on windows or systems with iconv).
1395
1396 ** libgnutls: Added PKCS #11 key generation function that returns the 
1397 public key on generation.
1398
1399 ** libgnutls: Corrected bug in priority string parsing, that mostly 
1400 affected combined levels. Patch by Tim Kosse.
1401
1402 ** certtool: The --pubkey-info option can be combined with the
1403 --load-privkey or --load-request to print the corresponding public keys.
1404
1405 ** certtool: It is able to set certificate policies via a template.
1406
1407 ** certtool: Added --hex-numbers option which prints big numbers in 
1408 an easier to parse format.
1409
1410 ** p11tool: After key generation, outputs the public key (useful in
1411 tokens that do not store the public key).
1412
1413 ** danetool: It is being built even without libgnutls-dane (the
1414 --check functionality is disabled though).
1415
1416 ** API and ABI modifications:
1417 gnutls_pkcs11_privkey_generate2: Added
1418 gnutls_x509_crt_get_policy: Added
1419 gnutls_x509_crt_set_policy: Added
1420 gnutls_x509_policy_release: Added
1421 gnutls_pubkey_import_x509_crq: Added
1422 gnutls_pubkey_print: Added
1423 GNUTLS_CRT_PRINT_FULL_NUMBERS: Added
1424
1425
1426 * Version 3.1.4 (released 2012-11-10)
1427
1428 ** libgnutls: gnutls_certificate_verify_peers2() will set flags depending on
1429 the available revocation data validity.
1430
1431 ** libgnutls: Added gnutls_certificate_verification_status_print(),
1432 a function to print the verification status code in human readable text.
1433
1434 ** libgnutls: Added priority string %VERIFY_DISABLE_CRL_CHECKS.
1435
1436 ** libgnutls: Simplified certificate verification by adding
1437 gnutls_certificate_verify_peers3().
1438
1439 ** libgnutls: Added support for extension to establish keys for SRTP.
1440 Contributed by Martin Storsjo.
1441
1442 ** libgnutls: The X.509 verification functions check the key
1443 usage bits and pathlen constraints and on failure output 
1444 GNUTLS_CERT_SIGNER_CONSTRAINTS_FAILURE.
1445
1446 ** libgnutls: gnutls_x509_crl_verify() includes the time checks.
1447
1448 ** libgnutls: Added verification flag GNUTLS_VERIFY_DO_NOT_ALLOW_UNSORTED_CHAIN
1449 and made GNUTLS_VERIFY_ALLOW_UNSORTED_CHAIN the default.
1450
1451 ** libgnutls: Always tolerate key usage violation errors from the side
1452 of the peer, but also notify via an audit message.
1453
1454 ** gnutls-cli: Added --local-dns option.
1455
1456 ** danetool: Corrected bug that prevented loading PEM files.
1457
1458 ** danetool: Added --check option to allow querying and verifying
1459 a site's DANE data.
1460
1461 ** libgnutls-dane: Added pkg-config file for the library.
1462
1463 ** API and ABI modifications:
1464 gnutls_session_get_id2: Added
1465 gnutls_sign_is_secure: Added
1466 gnutls_certificate_verify_peers3: Added
1467 gnutls_ocsp_status_request_is_checked: Added
1468 gnutls_certificate_verification_status_print: Added
1469 gnutls_srtp_set_profile: Added
1470 gnutls_srtp_set_profile_direct: Added
1471 gnutls_srtp_get_selected_profile: Added
1472 gnutls_srtp_get_profile_name: Added
1473 gnutls_srtp_get_profile_id: Added
1474 gnutls_srtp_get_keys: Added
1475 gnutls_srtp_get_mki: Added
1476 gnutls_srtp_set_mki: Added
1477 gnutls_srtp_profile_t: Added
1478 dane_cert_type_name: Added
1479 dane_match_type_name: Added
1480 dane_cert_usage_name: Added
1481 dane_verification_status_print: Added
1482 GNUTLS_CERT_REVOCATION_DATA_SUPERSEDED: Added
1483 GNUTLS_CERT_REVOCATION_DATA_ISSUED_IN_FUTURE: Added
1484 GNUTLS_CERT_SIGNER_CONSTRAINTS_FAILURE: Added
1485 GNUTLS_CERT_UNEXPECTED_OWNER: Added
1486 GNUTLS_VERIFY_DO_NOT_ALLOW_UNSORTED_CHAIN: Added
1487
1488
1489 * Version 3.1.3 (released 2012-10-12)
1490
1491 ** libgnutls: Added support for the OCSP Certificate Status
1492 extension.
1493
1494 ** libgnutls: gnutls_certificate_verify_peers2() will use the OCSP
1495 certificate status extension in verification.
1496
1497 ** libgnutls: Bug fixes in gnutls_x509_privkey_import_openssl().
1498
1499 ** libgnutls: Increased maximum password length in the PKCS #12
1500 functions.
1501
1502 ** libgnutls: Fixed the receipt of session tickets during session resumption.
1503 Reported by danblack at http://savannah.gnu.org/support/?108146
1504
1505 ** libgnutls: Added functions to export structures in an allocated buffer.
1506
1507 ** libgnutls: Added gnutls_ocsp_resp_check_crt() to check whether the OCSP
1508 response corresponds to the given certificate.
1509
1510 ** libgnutls: In client side gnutls_init() enables the session ticket and
1511 OCSP certificate status request extensions by default. The flag
1512 GNUTLS_NO_EXTENSIONS can be used to prevent that.
1513
1514 ** libgnutls: Several updates in the OpenPGP code. The generating code
1515 is fully RFC6091 compliant and RFC5081 support is only supported in client
1516 mode.
1517
1518 ** libgnutls-dane: Added. It is a library to provide DANE with DNSSEC 
1519 certificate verification.
1520
1521 ** gnutls-cli: Added --dane option to enable DANE certificate verification.
1522
1523 ** danetool: Added tool to generate DANE TLSA Resource Records (RR).
1524
1525 ** API and ABI modifications:
1526 gnutls_certificate_get_peers_subkey_id: Added
1527 gnutls_certificate_set_ocsp_status_request_function: Added
1528 gnutls_certificate_set_ocsp_status_request_file: Added
1529 gnutls_ocsp_status_request_enable_client: Added
1530 gnutls_ocsp_status_request_get: Added
1531 gnutls_ocsp_resp_check_crt: Added
1532 gnutls_dh_params_export2_pkcs3: Added
1533 gnutls_pubkey_export2: Added
1534 gnutls_x509_crt_export2: Added
1535 gnutls_x509_dn_export2: Added
1536 gnutls_x509_crl_export2: Added
1537 gnutls_pkcs7_export2: Added
1538 gnutls_x509_privkey_export2: Added
1539 gnutls_x509_privkey_export2_pkcs8: Added
1540 gnutls_x509_crq_export2: Added
1541 gnutls_openpgp_crt_export2: Added
1542 gnutls_openpgp_privkey_export2: Added
1543 gnutls_pkcs11_obj_export2: Added
1544 gnutls_pkcs12_export2: Added
1545 gnutls_pubkey_import_openpgp_raw: Added
1546 gnutls_pubkey_import_x509_raw: Added
1547 dane_state_init: Added
1548 dane_state_deinit: Added
1549 dane_query_tlsa: Added
1550 dane_query_status: Added
1551 dane_query_entries: Added
1552 dane_query_data: Added
1553 dane_query_deinit: Added
1554 dane_verify_session_crt: Added
1555 dane_verify_crt: Added
1556 dane_strerror: Added
1557
1558
1559 * Version 3.1.2 (released 2012-09-26)
1560
1561 ** libgnutls: Fixed bug in gnutls_x509_trust_list_add_system_trust()
1562 and gnutls_x509_trust_list_add_trust_mem() that prevented the loading
1563 of certificates in the windows platform.
1564
1565 ** libgnutls: Corrected bug in OpenPGP subpacket encoding.
1566
1567 ** libgnutls: Added support for DTLS/TLS heartbeats by Olga Smolenchuk.
1568 (the work was done during Google Summer of Code).
1569
1570 ** libgnutls: Added X.509 certificate verification flag 
1571 GNUTLS_VERIFY_ALLOW_UNSORTED_CHAIN. This flag allows the verification
1572 of unsorted certificate chains and is enabled by default for
1573 TLS certificate verification (if gnutls_certificate_set_verify_flags() 
1574 does not override it).
1575
1576 ** libgnutls: Prints warning on certificates that contain keys of
1577 an insecure level. If the %COMPAT priority flag is not specified
1578 the TLS connection fails.
1579
1580 ** libgnutls: Correctly restore gnutls_record_recv() in DTLS mode
1581 if interrupted during the retrasmition of handshake data.
1582
1583 ** libgnutls: Better mingw32 support (patch by LRN).
1584
1585 ** libgnutls: The %COMPAT keyword, if specified, will tolerate
1586 key usage violation errors (they are far too common to ignore).
1587
1588 ** libgnutls: Added GNUTLS_STATELESS_COMPRESSION flag to gnutls_init(),
1589 which provides a tool to counter compression-related attacks where
1590 parts of the data are controlled by the attacker _and_ are placed in
1591 separate records (use with care - do not use compression if not sure).
1592
1593 ** libgnutls: Depends on libtasn1 2.14 or later.
1594
1595 ** certtool: Prints the number of bits of the public key algorithm
1596 parameter in a private key.
1597
1598 ** API and ABI modifications:
1599 gnutls_x509_privkey_get_pk_algorithm2: Added
1600 gnutls_heartbeat_ping: Added
1601 gnutls_heartbeat_pong: Added
1602 gnutls_heartbeat_allowed: Added
1603 gnutls_heartbeat_enable: Added
1604 gnutls_heartbeat_set_timeouts: Added
1605 gnutls_heartbeat_get_timeout: Added
1606 GNUTLS_SEC_PARAM_WEAK: Added
1607 GNUTLS_SEC_PARAM_INSECURE: Added
1608
1609 * Version 3.1.1 (released 2012-09-02)
1610
1611 ** gnutls-serv: Listens on IPv6. Patch by Bernhard R. Link.
1612
1613 ** certtool: Changes in password handling of certtool.
1614 Ask password when required and only if the '--password' option is not
1615 given. If the '--password' option is given during key generation then 
1616 assume the PKCS #8 file format, instead of ignoring the password.
1617
1618 ** tpmtool: No longer asks for key password in registered keys.
1619
1620 ** libgnutls: Elliptic curve code was optimized by Ilya Tumaykin.
1621 wmNAF is now used for point multiplication and other optimizations.
1622 (the major part of the work was done during Google Summer of Code).
1623
1624 ** libgnutls: The default pull_timeout_function only uses select
1625 instead of a combination of select() and recv() to prevent issues
1626 when used in stream sockets in some systems.
1627
1628 ** libgnutls: Be tolerant in ECDSA signature violations (e.g. using
1629 SHA256 with a SECP384 curve instead of SHA-384), to interoperate with
1630 openssl.
1631
1632 ** libgnutls: Fixed DSA and ECDSA signature generation in smart
1633 cards. Thanks to Andreas Schwier from cardcontact.de for providing
1634 me with ECDSA capable smart cards.
1635
1636 ** API and ABI modifications:
1637 gnutls_sign_algorithm_get: Added
1638 gnutls_sign_get_hash_algorithm: Added
1639 gnutls_sign_get_pk_algorithm: Added
1640
1641
1642 * Version 3.1.0 (released 2012-08-15)
1643
1644 ** libgnutls: Added direct support for TPM as a cryptographic module 
1645 in gnutls/tpm.h. TPM keys can be used in functions accepting files
1646 using URLs of the following types:
1647   tpmkey:file=/path/to/file
1648   tpmkey:uuid=7f468c16-cb7f-11e1-824d-b3a4f4b20343;storage=user
1649
1650 ** libgnutls: Priority string level keywords can be combined.
1651 For example the string "SECURE256:+SUITEB128" is now allowed.
1652
1653 ** libgnutls: requires libnettle 2.5.
1654
1655 ** libgnutls: Use the PKCS #1 1.5 encoding provided by nettle (2.5)
1656 for encryption and signatures.
1657
1658 ** libgnutls: Added GNUTLS_CERT_SIGNATURE_FAILURE to differentiate between
1659 generic errors and signature verification errors in the verification
1660 functions.
1661
1662 ** libgnutls: Added gnutls_pkcs12_simple_parse() as a helper function
1663 to simplify parsing in most PKCS #12 use cases.
1664
1665 ** libgnutls: gnutls_certificate_set_x509_simple_pkcs12_file() adds
1666 the whole certificate chain (if any) to the credentials structure, instead
1667 of only the end-user certificate.
1668
1669 ** libgnutls: Key import functions such as gnutls_pkcs12_simple_parse()
1670 and gnutls_x509_privkey_import_pkcs8(), return consistently 
1671 GNUTLS_E_DECRYPTION_FAILED if the input structure is encrypted but no 
1672 password was provided.
1673
1674 ** libgnutls: Added gnutls_handshake_set_timeout() a function that
1675 allows to set the maximum time spent in a handshake.
1676
1677 ** libgnutlsxx: Added session::set_transport_vec_push_function. Patch
1678 by Alexandre Bique.
1679
1680 ** tpmtool: Added. It is a tool to generate private keys in the
1681 TPM.
1682
1683 ** gnutls-cli: --benchmark-tls was split to --benchmark-tls-kx
1684 and --benchmark-tls-ciphers
1685
1686 ** certtool: generated PKCS #12 structures may hold more than one
1687 private key. Patch by Lucas Fisher.
1688
1689 ** certtool: Added option --null-password to generate/decrypt keys
1690 that use a NULL password (in schemas that distinguish between NULL
1691 an empty passwords).
1692
1693 ** minitasn1: Upgraded to libtasn1 version 2.13.
1694
1695 ** API and ABI modifications:
1696 GNUTLS_CERT_SIGNATURE_FAILURE: Added
1697 GNUTLS_CAMELLIA_192_CBC: Added
1698 GNUTLS_PKCS_NULL_PASSWORD: Added
1699 gnutls_url_is_supported: Added
1700 gnutls_pkcs11_obj_list_import_url2: Added
1701 gnutls_pkcs11_obj_set_pin_function: Added
1702 gnutls_pkcs11_privkey_set_pin_function: Added
1703 gnutls_pkcs11_get_pin_function: Added
1704 gnutls_privkey_import_tpm_raw: Added
1705 gnutls_privkey_import_tpm_url: Added
1706 gnutls_privkey_import_pkcs11_url: Added
1707 gnutls_privkey_import_openpgp_raw: Added
1708 gnutls_privkey_import_x509_raw: Added
1709 gnutls_privkey_import_ext2: Added
1710 gnutls_privkey_import_url: Added
1711 gnutls_privkey_set_pin_function: Added
1712 gnutls_tpm_privkey_generate: Added
1713 gnutls_tpm_key_list_deinit: Added
1714 gnutls_tpm_key_list_get_url: Added
1715 gnutls_tpm_get_registered: Added
1716 gnutls_tpm_privkey_delete: Added
1717 gnutls_pubkey_import_tpm_raw: Added
1718 gnutls_pubkey_import_tpm_url: Added
1719 gnutls_pubkey_import_url: Added
1720 gnutls_pubkey_verify_hash2: Added
1721 gnutls_pubkey_set_pin_function: Added
1722 gnutls_x509_privkey_import2: Added
1723 gnutls_x509_privkey_import_openssl: Added
1724 gnutls_x509_crt_set_pin_function: Added
1725 gnutls_load_file: Added
1726 gnutls_pkcs12_simple_parse: Added
1727 gnutls_certificate_set_x509_system_trust: Added
1728 gnutls_certificate_set_pin_function: Added
1729 gnutls_x509_trust_list_add_system_trust: Added
1730 gnutls_x509_trust_list_add_trust_file: Added
1731 gnutls_x509_trust_list_add_trust_mem: Added
1732 gnutls_pk_to_sign: Added
1733 gnutls_handshake_set_timeout: Added
1734 gnutls_pubkey_verify_hash: Deprecated (use gnutls_pubkey_verify_hash2)
1735 gnutls_pubkey_verify_data: Deprecated (use gnutls_pubkey_verify_data2)
1736
1737
1738 * Version 3.0.22 (released 2012-08-04)
1739
1740 ** libgnutls: gnutls_certificate_set_x509_system_trust()
1741 is now supported on OpenBSD.
1742
1743 ** libgnutls: When verifying a certificate chain make sure it is chain.
1744 If the chain is wronly interrupted at some point then truncate it,
1745 and only try to verify the correct part. Patch by David Woodhouse
1746
1747 ** libgnutls: Restored the behavior of gnutls_x509_privkey_import_pkcs8()
1748 which now may (again) accept a NULL password.
1749
1750 ** certtool: Allow the user to choose the hash algorithm
1751 when signing certificate request or certificate revocation list.
1752 Patch by Petr Písař.
1753
1754 ** API and ABI modifications:
1755 No changes since last version.
1756
1757
1758 * Version 3.0.21 (released 2012-07-02)
1759
1760 ** libgnutls: fixed bug in gnutls_x509_privkey_import() 
1761 that prevented the loading of EC private keys when DER
1762 encoded. Reported by David Woodhouse.
1763
1764 ** libgnutls: In DTLS larger to mtu records result to 
1765 GNUTLS_E_LARGE_PACKET instead of being truncated.
1766
1767 ** libgnutls: gnutls_dtls_get_data_mtu() is more precise. Based
1768 on patch by David Woodhouse.
1769
1770 ** libgnutls: Fixed memory leak in PKCS #8 key import.
1771
1772 ** libgnutls: Added support for an old version of the DTLS protocol
1773 used by openconnect vpn client for compatibility with Cisco's AnyConnect 
1774 SSL VPN. It is marked as GNUTLS_DTLS0_9. Do not use it for newer protocols
1775 as it has issues.
1776
1777 ** libgnutls: Corrected bug that prevented resolving PKCS #11 URLs 
1778 if only the label is specified. Patch by David Woodhouse.
1779
1780 ** libgnutls: When EMSGSIZE errno is seen then GNUTLS_E_LARGE_PACKET
1781 is returned.
1782
1783 ** API and ABI modifications:
1784 gnutls_dtls_set_data_mtu: Added
1785 gnutls_session_set_premaster: Added
1786
1787
1788 * Version 3.0.20 (released 2012-06-05)
1789
1790 ** libgnutls: Corrected bug which prevented the parsing of
1791 handshake packets spanning multiple records.
1792
1793 ** libgnutls: Check key identifiers when checking for an issuer.
1794
1795 ** libgnutls: Added gnutls_pubkey_verify_hash2()
1796
1797 ** libgnutls: Added gnutls_certificate_set_x509_system_trust()
1798 that loads the trusted CA certificates from system locations
1799 (e.g. trusted storage in windows and CA bundle files in other systems).
1800
1801 ** certtool: Added support for the URI subject alternative
1802 name type in certtool.
1803
1804 ** certtool: Increase to 128 the maximum number of distinct options
1805 (e.g. dns_names) allowed.
1806
1807 ** gnutls-cli: If --print-cert is given, print the certificate, 
1808 even on verification failure.
1809
1810 ** API and ABI modifications:
1811 gnutls_pk_to_sign: Added
1812 gnutls_pubkey_verify_hash2: Added
1813 gnutls_certificate_set_x509_system_trust: Added
1814
1815
1816 * Version 3.0.19 (released 2012-04-22)
1817
1818 ** libgnutls: When decoding a PKCS #11 URL the pin-source field
1819 is assumed to be a file that stores the pin. Based on patch
1820 by David Smith.
1821
1822 ** libgnutls: gnutls_record_check_pending() no longer
1823 returns unprocessed data, and thus ensure the non-blocking
1824 of the next call to gnutls_record_recv(). 
1825
1826 ** libgnutls: Added strict tests in Diffie-Hellman and
1827 SRP key exchange public keys.
1828
1829 ** libgnutls: in ECDSA and DSA TLS 1.2 authentication be less
1830 strict in hash selection, and allow a stronger hash to
1831 be used than the appropriate, to improve interoperability
1832 with openssl.
1833
1834 ** tests: Disabled floating point test, and corrections
1835 in pkcs12 decoding tests.
1836
1837 ** API and ABI modifications:
1838 No changes since last version.
1839
1840
1841 * Version 3.0.18 (released 2012-04-02)
1842
1843 ** certtool: Avoid a Y2K38 bug when generating certificates.
1844 Patch by Robert Millan.
1845
1846 ** libgnutls: Make sure that GNUTLS_E_PREMATURE_TERMINATION
1847 is returned on premature termination (and added unit test).
1848
1849 ** libgnutls: Fixes for W64 API. Patch by B. Scott Michel.
1850
1851 ** libgnutls: Corrected VIA padlock detection for old 
1852 VIA processors. Reported by Kris Karas.
1853
1854 ** libgnutls: Updated assembler files.
1855
1856 ** libgnutls: Time in generated certificates is stored
1857 as GeneralizedTime instead of UTCTime (which only stores
1858 2 digits of a year).
1859
1860 ** minitasn1: Upgraded to libtasn1 version 2.13 (pre-release).
1861
1862 ** API and ABI modifications:
1863 gnutls_x509_crt_set_private_key_usage_period: Added
1864 gnutls_x509_crt_get_private_key_usage_period: Added
1865 gnutls_x509_crq_set_private_key_usage_period: Added
1866 gnutls_x509_crq_get_private_key_usage_period: Added
1867 gnutls_session_get_random: Added
1868
1869
1870 * Version 3.0.17 (released 2012-03-17)
1871
1872 ** command line apps: Always link with local libopts.
1873
1874 ** API and ABI modifications:
1875 No changes since last version.
1876
1877
1878 * Version 3.0.16 (released 2012-03-16)
1879
1880 ** minitasn1: Upgraded to libtasn1 version 2.12 (pre-release).
1881
1882 ** libgnutls: Corrected SRP-RSA ciphersuites when used under TLS 1.2.
1883
1884 ** libgnutls: included assembler files for MacOSX.
1885
1886 ** p11tool: Small fixes in handling of the --private command 
1887 line option.
1888
1889 ** certtool: The template option allows for setting the domain
1890 component (DC) option of the distinguished name, and the ocsp_uri
1891 as well as the ca_issuers_uri options.
1892
1893 ** API and ABI modifications:
1894 gnutls_x509_crt_set_authority_info_access: Added
1895
1896
1897 * Version 3.0.15 (released 2012-03-02)
1898
1899 ** test suite: Only run under valgrind in the development
1900 system (the full git repository)
1901
1902 ** command line apps: Link with local libopts if the 
1903 installed is an old one.
1904
1905 ** libgnutls: Eliminate double free during SRP
1906 authentication. Reported by Peter Penzov.
1907
1908 ** libgnutls: Corrections in record packet parsing.
1909 Reported by Matthew Hall.
1910
1911 ** libgnutls: Cryptodev updates and fixes.
1912
1913 ** libgnutls: Corrected issue with select() that affected
1914 FreeBSD. This prevented establishing DTLS sessions.
1915 Reported by Andreas Metzler.
1916
1917 ** libgnutls: Corrected rehandshake and resumption
1918 operations in DTLS. Reported by Sean Buckheister.
1919
1920 ** libgnutls: PKCS #11 objects that do not have ID
1921 no longer crash listing. Reported by Sven Geggus.
1922
1923 ** API and ABI modifications:
1924 No changes since last version.
1925
1926
1927 * Version 3.0.14 (released 2012-02-24)
1928
1929 ** command line apps: Included libopts doesn't get installed
1930 by default.
1931
1932 ** libgnutls: Eliminate double free on wrongly formatted
1933 certificate list. Reported by Remi Gacogne.
1934
1935 ** libgnutls: cryptodev code corrected, updated to account
1936 for hashes and GCM mode.
1937
1938 ** libgnutls: Eliminated memory leak in PCKS #11 initialization.
1939 Report and fix by Sam Varshavchik.
1940
1941 ** API and ABI modifications:
1942 No changes since last version.
1943
1944
1945 * Version 3.0.13 (released 2012-02-18)
1946
1947 ** gnutls-cli: added the --ocsp option which will verify
1948 the peer's certificate with OCSP.
1949
1950 ** gnutls-cli: added the --tofu option and if specified, gnutls-cli
1951 will use an ssh-style authentication method.
1952
1953 ** gnutls-cli: if no --x509cafile is provided a default is
1954 assumed (/etc/ssl/certs/ca-certificates.crt), if it exists.
1955
1956 ** ocsptool: Added --ask parameter, to verify a certificate's
1957 status from an ocsp server.
1958
1959 ** command line apps: Use gnu autogen (libopts) to parse command
1960 line arguments and template files.
1961
1962 ** tests: Added stress test for DTLS packet losses and 
1963 out-of-order receival. Contributed by Sean Buckheister.
1964
1965 ** libgnutls: Several updates and corrections in the DTLS
1966 DTLS lost packet handling and retransmission timeouts.
1967 Report and patches by Sean Buckheister.
1968
1969 ** libgnutls: Added new functions to easily allow the usage of
1970 a trust on first use (SSH-style) authentication.
1971
1972 ** libgnutls: SUITEB128 and SUITEB192 priority strings account
1973 for the RFC6460 requirements.
1974
1975 ** libgnutls: Added new security parameter GNUTLS_SEC_PARAM_LEGACY
1976 to account for security level of 96-bits.
1977
1978 ** libgnutls: In client side if server does not advertise any
1979 known CAs and only a single certificate is set in the credentials,
1980 sent that one.
1981
1982 ** libgnutls: Added functions to parse authority key identifiers
1983 when stored as a 'general name' and serial combo.
1984
1985 ** libgnutls: Added function to force explicit reinitialization
1986 of PKCS #11 modules. This is required on the child process after
1987 a fork (if PKCS #11 functionality is desirable).
1988
1989 ** libgnutls: Depend on p11-kit 0.11.
1990
1991 ** API and ABI modifications:
1992 gnutls_dtls_get_timeout: Added
1993 gnutls_verify_stored_pubkey: Added
1994 gnutls_store_pubkey: Added
1995 gnutls_store_commitment: Added
1996 gnutls_x509_crt_get_authority_key_gn_serial: Added
1997 gnutls_x509_crl_get_authority_key_gn_serial: Added
1998 gnutls_pkcs11_reinit: Added
1999 gnutls_ecc_curve_list: Added
2000 gnutls_priority_certificate_type_list: Added
2001 gnutls_priority_sign_list: Added
2002 gnutls_priority_protocol_list: Added
2003 gnutls_priority_compression_list: Added
2004 gnutls_priority_ecc_curve_list: Added
2005 gnutls_tdb_init: Added
2006 gnutls_tdb_set_store_func: Added
2007 gnutls_tdb_set_store_commitment_func: Added
2008 gnutls_tdb_set_verify_func: Added
2009 gnutls_tdb_deinit: Added
2010
2011
2012 * Version 3.0.12 (released 2012-01-20)
2013
2014 ** libgnutls: Added OCSP support.
2015 There is a new header file gnutls/ocsp.h and a set of new functions
2016 under the gnutls_ocsp namespace.  Currently the functionality provided
2017 is to parse and extract information from OCSP requests/responses, to
2018 generate OCSP requests and to verify OCSP responses.  See the manual
2019 for more information.  Run ./configure with --disable-ocsp to build
2020 GnuTLS without OCSP support.
2021
2022 This work was sponsored by Smoothwall <http://smoothwall.net/>.
2023
2024 ** ocsptool: Added new command line tool.
2025 The tool can parse OCSP request/responses, generate OCSP requests and
2026 verify OCSP responses.  See the manual for more information.
2027
2028 ** certtool: --outder option now works for private
2029 and public keys as well.
2030
2031 ** libgnutls: Added error code GNUTLS_E_NO_PRIORITIES_WERE_SET
2032 to warn when no or insufficient priorities were set.
2033
2034 ** libgnutls: Corrected an alignment issue in ECDH
2035 key generation which prevented some keys from being
2036 correctly aligned in rare circumstances.
2037
2038 ** libgnutls: Corrected memory leaks in DH parameter
2039 generation and ecc_projective_check_point().
2040
2041 ** libgnutls: Added gnutls_x509_dn_oid_name() to 
2042 return a descriptive name of a DN OID.
2043
2044 ** API and ABI modifications:
2045 gnutls_pubkey_encrypt_data: Added
2046 gnutls_x509_dn_oid_name: Added
2047 gnutls_session_resumption_requested: Added
2048 gnutls/ocsp.h: Added new header file.
2049 gnutls_ocsp_print_formats_t: Added new type.
2050 gnutls_ocsp_resp_status_t: Added new type.
2051 gnutls_ocsp_cert_status_t: Added new type.
2052 gnutls_x509_crl_reason_t: Added new type.
2053 gnutls_ocsp_req_add_cert: Added.
2054 gnutls_ocsp_req_add_cert_id: Added.
2055 gnutls_ocsp_req_deinit: Added.
2056 gnutls_ocsp_req_export: Added.
2057 gnutls_ocsp_req_get_cert_id: Added.
2058 gnutls_ocsp_req_get_extension: Added.
2059 gnutls_ocsp_req_get_nonce: Added.
2060 gnutls_ocsp_req_get_version: Added.
2061 gnutls_ocsp_req_import: Added.
2062 gnutls_ocsp_req_init: Added.
2063 gnutls_ocsp_req_print: Added.
2064 gnutls_ocsp_req_randomize_nonce: Added.
2065 gnutls_ocsp_req_set_extension: Added.
2066 gnutls_ocsp_req_set_nonce: Added.
2067 gnutls_ocsp_resp_deinit: Added.
2068 gnutls_ocsp_resp_export: Added.
2069 gnutls_ocsp_resp_get_certs: Added.
2070 gnutls_ocsp_resp_get_extension: Added.
2071 gnutls_ocsp_resp_get_nonce: Added.
2072 gnutls_ocsp_resp_get_produced: Added.
2073 gnutls_ocsp_resp_get_responder: Added.
2074 gnutls_ocsp_resp_get_response: Added.
2075 gnutls_ocsp_resp_get_signature: Added.
2076 gnutls_ocsp_resp_get_signature_algorithm: Added.
2077 gnutls_ocsp_resp_get_single: Added.
2078 gnutls_ocsp_resp_get_status: Added.
2079 gnutls_ocsp_resp_get_version: Added.
2080 gnutls_ocsp_resp_import: Added.
2081 gnutls_ocsp_resp_init: Added.
2082 gnutls_ocsp_resp_print: Added.
2083 gnutls_ocsp_resp_verify: Added.
2084
2085 * Version 3.0.11 (released 2012-01-06)
2086
2087 ** libgnutls: Corrected functionality of 
2088 gnutls_record_get_direction(). Reported by Philip Allison.
2089
2090 ** libgnutls: Provide less timing information when decoding
2091 TLS/DTLS record packets. Patch by Nadhem Alfardan.
2092
2093 ** API and ABI modifications:
2094 No changes since last version.
2095
2096
2097 * Version 3.0.10 (released 2012-01-04)
2098
2099 ** gnutls-cli/serv: Set don't fragment bit in DTLS sessions
2100 in Linux as well as in BSD.
2101
2102 ** gnutls-cli: Fixed reading from windows terminals.
2103
2104 ** libgnutls: When GNUTLS_OPENPGP_FMT_BASE64 is specified
2105 the stream is assumed to be base64 encoded (previously
2106 the encoding was auto-detected). This avoids a decoding
2107 issue in windows systems.
2108
2109 ** libgnutls: Corrected ciphersuite GNUTLS_ECDHE_PSK_AES_256_CBC_SHA384
2110
2111 ** libgnutls: Added ciphersuites: GNUTLS_PSK_WITH_AES_256_GCM_SHA384
2112 and GNUTLS_DHE_PSK_WITH_AES_256_GCM_SHA384.
2113
2114 ** libgnutls: Added function gnutls_random_art() to convert 
2115 fingerprints to images (currently ascii-art).
2116
2117 ** libgnutls: Corrected bug in DSA private key parsing, which
2118 prevented the verification of the key.
2119
2120 ** API and ABI modifications:
2121 gnutls_random_art: Added
2122
2123
2124 * Version 3.0.9 (released 2011-12-13)
2125
2126 ** certtool: Added new parameter --dh-info.
2127
2128 ** certtool: -l option was overloaded so if combined with --priority
2129 it will only list the ciphersuites that are enabled by the given
2130 priority string.
2131
2132 ** libgnutls: Added new priority string %SERVER_PRECEDENCE, which
2133 changes the ciphersuite selection procedure. If specified the server
2134 priorities will be used for selection instead of the client's.
2135
2136 ** libgnutls: Optimizations in Diffie-Hellman parameters generation
2137 and key exchange.
2138
2139 ** libgnutls: When session tickets are negotiated and used in a
2140 session, a server will not store that session data into its cache.
2141
2142 ** libgnutls: Added the SECP192R1 curve.
2143
2144 ** libgnutls: Added gnutls_priority_get_cipher_suite_index() to
2145 allow listing the ciphersuites enabled in a priority structure.
2146 It outputs an index to be used in gnutls_get_cipher_suite_info().
2147
2148 ** libgnutls: Optimizations in the elliptic curve code --timing
2149 attacks resistant code is only used in ECDSA private key operations.
2150
2151 ** doc: man pages for API functions generation was fixed and are
2152 now added again in the distribution.
2153
2154 ** API and ABI modifications:
2155 GNUTLS_ECC_CURVE_SECP192R1: New curve definition
2156 gnutls_priority_get_cipher_suite_index: Added
2157
2158
2159 * Version 3.0.8 (released 2011-11-12)
2160
2161 ** certtool: Certtool -e returns error code on verification
2162 failure.
2163
2164 ** certtool: Verifies parameters of generated keys.
2165
2166 ** libgnutls: Corrected ECC key generation (introduced in 3.0.6)
2167
2168 ** libgnutls: Provide less timing information when decoding
2169 TLS/DTLS record packets.
2170
2171 ** doc: man pages for API functions were removed.
2172 The reason was that the code that auto-generated the man pages missed
2173 many APIs and we couldn't fix it (volunteers welcome).  See the info
2174 manual or the GTK-DOC manual instead.
2175
2176 ** API and ABI modifications:
2177 gnutls_x509_privkey_verify_params: Added
2178
2179
2180 * Version 3.0.7 (released 2011-11-08)
2181
2182 ** libgnutls: Corrected fix in gnutls_session_get_data()
2183 to report the actual session size when the provided buffer
2184 is not enough.
2185
2186 ** libgnutls: Fixed ciphersuite GNUTLS_ECDHE_RSA_AES_128_CBC_SHA256,
2187 which was using a wrong MAC algorithm. Reported by Fabrice Gautier.
2188
2189 ** API and ABI modifications:
2190 No changes since last version.
2191
2192
2193 * Version 3.0.6 (released 2011-11-07)
2194
2195 ** gnutls-guile: Compilation fixes.
2196
2197 ** libgnutls: Fixed possible buffer overflow in 
2198 gnutls_session_get_data(). Reported and fix by Alban Crequy.
2199
2200 ** libgnutls: Bug fixes in the ciphersuites with NULL cipher.
2201 Reported by Fabrice Gautier.
2202
2203 ** libgnutls: Bug fixes in ECC code for 64-bit MIPS systems. 
2204 Thanks to Joseph Graham for providing access to such a system.
2205
2206 ** libgnutls: Correctly report ECC private key parsing errors.
2207 Reported by Fabrice Gautier.
2208
2209 ** libgnutls: In ECDHE verify that the received point lies on
2210 the selected curve. The ECDHE ciphersuites now take precendence
2211 to plain DHE.
2212
2213 ** API and ABI modifications:
2214 No changes since last version.
2215
2216
2217 * Version 3.0.5 (released 2011-10-27)
2218
2219 ** libgnutls-extra: is no more
2220
2221 ** libgnutls: Corrections in order to compile with mingw32.
2222
2223 ** libgnutls: Corrections in VIA padlock code for VIA C5 processor
2224 and new detection of PHE with support for partial hashing.
2225
2226 ** libgnutls: Corrected bug in gnutls_x509_data2hex. Report and fix 
2227 by Vincent Untz.
2228
2229 ** minitasn1: Upgraded to libtasn1 version 2.10.
2230
2231 ** API and ABI modifications:
2232 No changes since last version.
2233
2234
2235 * Version 3.0.4 (released 2011-10-15)
2236
2237 ** libgnutls-extra: gnutls_register_md5_handler() was
2238 removed.
2239
2240 ** gnutls-cli-debug: Added more tests including AES-GCM,
2241 SHA256 and elliptic curves.
2242
2243 ** gnutls-cli: Added --benchmark-soft-ciphers to benchmark
2244 the software version of the ciphers instead of hw accelerated 
2245 (where available)
2246
2247 ** libgnutls: Public key ID calculation is consistent among
2248 all structures. It uses a SHA-1 hash of the subjectPublicKeyInfo.
2249
2250 ** libgnutls: gnutls_privkey_t allows setting external callback
2251 to perform signing or decryption. Can be set using
2252 gnutls_privkey_import_ext()
2253
2254 ** libgnutls: A certificate credentials structure can be
2255 used with a gnutls_privkey_t and a gnutls_pcert_st
2256 structure using gnutls_certificate_set_key().
2257
2258 ** libgnutls: Fixes to enable external signing callback to
2259 operate with TLS 1.2. 
2260
2261 ** libgnutls: Fixed crash when printing ECDSA certificate key 
2262 ID. Reported by Erik Jensen.
2263
2264 ** libgnutls: Corrected VIA padlock code for C3. In C3 benchmarks 
2265 show a 50x increase in AES speed and a 14x increase in VIA nano. Added 
2266 support for hashes and HMACs.
2267
2268 ** libgnutls: Compilation fixed when p11-kit is not detected.
2269
2270 ** libgnutls: Fixed the deflate compression code.
2271
2272 ** libgnutls: Added gnutls_x509_crt_get_authority_info_access.
2273 Used to get the PKIX Authority Information Access (AIA) field.
2274
2275 ** libgnutls: gnutls_x509_crt_print supports printing AIA fields.
2276
2277 ** libgnutls: Added ability to gnutls_privkey_t to operate with
2278 signing callback function.
2279
2280 ** API and ABI modifications:
2281 gnutls_x509_crt_get_authority_info_access (x509.h): Added function.
2282 gnutls_privkey_import_ext: Added function.
2283 gnutls_certificate_set_key: Added function.
2284 gnutls_info_access_what_t (x509.h): Added enum.
2285 GNUTLS_OID_AIA (x509.h): Added symbol.
2286 GNUTLS_OID_AD_OCSP (x509.h): Added symbol.
2287 GNUTLS_OID_AD_CAISSUERS (x509.h): Added symbol.
2288
2289 * Version 3.0.3 (released 2011-09-18)
2290
2291 ** libgnutls: Added gnutls_record_get_discarded() to return the
2292 number of discarded records in a DTLS session.
2293
2294 ** libgnutls: All functions related to RSA-EXPORT were deprecated.
2295 Support for RSA-EXPORT ciphersuites will be ceased in future versions.
2296
2297 ** libgnutls: Memory leak fixes in credentials private key 
2298 deinitialization. Reported by Dan Winship.
2299
2300 ** libgnutls: Memory leak fixes in ECC ciphersuites.
2301
2302 ** libgnutls: Do not send an empty extension structure in server 
2303 hello. This affected old implementations that do not support extensions. 
2304 Reported by J. Cameijo Cerdeira.
2305
2306 ** libgnutls: Allow CA importing of 0 certificates to succeed.
2307 Reported by Jonathan Nieder <jrnieder@gmail.com> in
2308 <http://bugs.debian.org/640639>.
2309
2310 ** libgnutls: Added support for VIA padlock AES optimizations.
2311 (disabled by default)
2312
2313 ** libgnutls: Added support for elliptic curves in
2314 PKCS #11.
2315
2316 ** libgnutls: Added gnutls_pkcs11_privkey_generate()
2317 to allow generating a key in a token.
2318
2319 ** p11tool: Added generate-rsa, generate-dsa and 
2320 generate-ecc options to allow generating private
2321 keys in the token.
2322
2323 ** libgnutls: gnutls_transport_set_lowat dummy macro was 
2324 removed.
2325
2326 ** API and ABI modifications:
2327 gnutls_pkcs11_privkey_generate: Added
2328 gnutls_pubkey_import_ecc_raw: Added
2329 gnutls_pubkey_import_ecc_x962: Added
2330 gnutls_pubkey_get_pk_ecc_x962: Added
2331 gnutls_record_get_discarded: Added
2332
2333
2334 * Version 3.0.2 (released 2011-09-01)
2335
2336 ** libgnutls: OpenPGP certificate type is not enabled
2337 by default.
2338
2339 ** libgnutls: Added %NO_EXTENSIONS priority string.
2340
2341 ** libgnutls: Corrected issue in gnutls_record_recv()
2342 triggered on encryption or compression error.
2343
2344 ** libgnutls: Compatibility fixes in CPU ID detection 
2345 for i386 and old GCC.
2346
2347 ** gnutls-cli: Benchmark applications were incorporated
2348 with it.
2349
2350 ** libgnutls: Corrected parsing of XMPP subject
2351 alternative names.
2352
2353 ** libgnutls: Allow for out-of-order ChangeCipherSpec
2354 message in DTLS.
2355
2356 ** libgnutls: gnutls_certificate_set_x509_key() and
2357 gnutls_certificate_set_openpgp_key() operate as in 2.10.x
2358 and allow the release of the private key during the
2359 lifetime of the certificate structure.
2360
2361 ** API and ABI modifications:
2362 GNUTLS_PRIVKEY_IMPORT_COPY: new gnutls_privkey_import() flag
2363
2364
2365 * Version 3.0.1 (released 2011-08-20)
2366
2367 ** libgnutls: gnutls_certificate_set_x509_key_file() and 
2368 friends support server name indication. If multiple 
2369 certificates are set using these functions the proper one 
2370 will be selected during a handshake. 
2371
2372 ** libgnutls: Added AES-256-GCM which was left out from
2373 the previous release. Reported by Benjamin Hof.
2374
2375 ** libgnutls: When asking for a PKCS# 11 PIN multiple 
2376 times, the flags in the callback were not being updated 
2377 to reflect for PIN low count or final try.
2378
2379 ** libgnutls: Do not allow second instances of PKCS #11
2380 modules.
2381
2382 ** libgnutls: fixed alignment issue in AES-NI code.
2383
2384 ** libgnutls: The config file at gnutls_pkcs11_init()
2385 is being read if provided.
2386
2387 ** libgnutls: Ensure that a certificate list specified
2388 using gnutls_certificate_set_x509_key() and friends, is 
2389 sorted according to TLS specification (from subject to issuer).
2390
2391 ** libgnutls: Added GNUTLS_X509_CRT_LIST_FAIL_IF_UNSORTED flag for
2392 gnutls_x509_crt_list_import. It checks whether the list to be 
2393 imported is properly sorted.
2394
2395 ** crywrap: Added to the distribution. It is an application
2396 that proxies TLS session to a port using a plaintext service.
2397
2398 ** doc: Many GTK-DOC improvements.
2399
2400 ** i18n: Translations were updated.
2401
2402 ** API and ABI modifications:
2403 GNUTLS_X509_CRT_LIST_FAIL_IF_UNSORTED: New element in gnutls_certificate_import_flags
2404 GNUTLS_PKCS11_PIN_WRONG: New flag for PIN callback
2405
2406
2407 * Version 3.0.0 (released 2011-07-29)
2408
2409 ** libgnutls: writev_emu: stop on the first incomplete write. Patch by
2410 Sjoerd Simons.
2411
2412 ** libgnutls: Fix zlib handling in gnutls.pc. Patch by Andreas
2413 Metzler.
2414
2415 ** certtool: bug fixes in certificate request generation. Patch
2416 by Petr Písař.
2417
2418 ** API and ABI modifications:
2419 gnutls_pcert_list_import_x509_raw: ADDED
2420
2421
2422 * Version 2.99.4 (released 2011-07-23)
2423
2424 ** doc: documentation updates.
2425
2426 ** libgnutls: gnutls_rsa_params_t is now identical to gnutls_x509_privkey_t
2427 to avoid thread-safety issues. Reported by Sam Varshavchik.
2428
2429 ** libgnutls: Added compatibility mode with /etc/gnutls/pkcs11.conf
2430
2431 ** libgnutls: license upgraded to LGPLv3
2432
2433 ** libgnutls: gnutls_srp_verifier() returns data allocated with gnutls_malloc()
2434 for consistency.
2435
2436 ** API and ABI modifications:
2437 No changes since last version.
2438
2439
2440 * Version 2.99.3 (released 2011-06-18)
2441
2442 ** libgnutls: Added new PKCS #11 flags to force an object being private or
2443 not. (GNUTLS_PKCS11_OBJ_FLAG_MARK_PRIVATE and GNUTLS_PKCS11_OBJ_FLAG_MARK_NOT_PRIVATE)
2444
2445 ** libgnutls: Added SUITEB128 and SUITEB192 priority
2446 strings to enable the NSA SuiteB cryptography ciphersuites.
2447
2448 ** libgnutls: Added gnutls_pubkey_verify_data2() that will
2449 verify data provided the signature algorithm.
2450
2451 ** libgnutls: Simplified the handling of handshake messages to 
2452 be hashed. Instead of hashing during the handshake process we now 
2453 keep the data until handshake is over and hash them on request. 
2454 This uses more memory but eliminates issues with TLS 1.2 and 
2455 simplifies code.
2456
2457 ** libgnutls: Added AES-GCM optimizations using the PCLMULQDQ
2458 instruction. Uses Andy Polyakov's assembly code.
2459
2460 ** libgnutls: Added gnutls_x509_trust_list_add_named_crt() and
2461 gnutls_x509_trust_list_verify_named_crt() that allow having a
2462 list of certificates in the trusted list that will be associated
2463 with a name (e.g. server name) and will not be used as CAs.
2464
2465 ** libgnutls: PKCS #11 back-end rewritten to use p11-kit
2466 http://p11-glue.freedesktop.org/p11-kit.html. Rewrite by
2467 Stef Walter.
2468
2469 ** libgnutls: Added ECDHE-PSK ciphersuites for TLS (RFC 5489).
2470
2471 ** API and ABI modifications:
2472 gnutls_pubkey_verify_data2: ADDED
2473 gnutls_ecc_curve_get: ADDED
2474 gnutls_x509_trust_list_add_named_crt: ADDED
2475 gnutls_x509_trust_list_verify_named_crt: ADDED
2476 gnutls_x509_privkey_verify_data: REMOVED
2477 gnutls_crypto_bigint_register: REMOVED
2478 gnutls_crypto_cipher_register: REMOVED
2479 gnutls_crypto_digest_register: REMOVED
2480 gnutls_crypto_mac_register: REMOVED
2481 gnutls_crypto_pk_register: REMOVED
2482 gnutls_crypto_rnd_register: REMOVED
2483 gnutls_crypto_single_cipher_register: REMOVED
2484 gnutls_crypto_single_digest_register: REMOVED
2485 gnutls_crypto_single_mac_register: REMOVED
2486 GNUTLS_KX_ECDHE_PSK: New key exchange method
2487 GNUTLS_VERIFY_DISABLE_CRL_CHECKS: New certificate verification flag.
2488 GNUTLS_PKCS11_OBJ_FLAG_MARK_PRIVATE: New PKCS#11 object flag.
2489 GNUTLS_PKCS11_OBJ_FLAG_MARK_NOT_PRIVATE: New PKCS#11 object flag.
2490
2491
2492 * Version 2.99.2 (released 2011-05-26)
2493
2494 ** libgnutls: Added Elliptic curve support. This is not
2495 enabled by default. Requires priority strings:
2496 +CURVE-ALL: to add all supported curves
2497 +ECDHE-RSA: to add ephemeral ECDHE with an RSA-signed certificate
2498 +ECDHE-ECDSA: to add ephemeral ECDHE with an ECDSA-signed certificate
2499 +ANON-ECDHE: to add anonymous ECDH
2500
2501 ** libgnutls: PKCS #11 URLs conform to the latest draft
2502 being http://tools.ietf.org/html/draft-pechanec-pkcs11uri-04.
2503
2504 ** certtool: Can now load private keys and public keys from PKCS #11 tokens
2505 via URLs.
2506
2507 ** libgnutls: Added gnutls_global_set_audit_log_function() that allows
2508 to get important auditing information including the corresponding session.
2509 That might be useful to block DoS or other attacker from specific IPs.
2510
2511 ** libgnutls: gnutls_pkcs11_privkey_import_url() will now correctly read
2512 the public key algorithm of the key.
2513
2514 ** libgnutls: Added gnutls_certificate_get_issuer() and
2515 gnutls_x509_trust_list_get_issuer() to compensate for the
2516 missing gnutls_certificate_get_x509_cas().
2517
2518 ** libgnutls: Added gnutls_x509_crq_verify() to allow
2519 verification of the self signature in a certificate request.
2520 This allows verifying whether the owner of the private key
2521 is the generator of the request.
2522
2523 ** libgnutls: gnutls_x509_crt_set_crq() implicitly verifies
2524 the self signature of the request.
2525
2526 ** API and ABI modifications:
2527 gnutls_certificate_get_issuer: ADDED
2528 gnutls_x509_trust_list_get_issuer: ADDED
2529 gnutls_x509_crq_verify: ADDED
2530 gnutls_global_set_audit_log_function: ADDED
2531 gnutls_ecc_curve_get_name: ADDED
2532 gnutls_ecc_curve_get_size: ADDED
2533 gnutls_x509_privkey_import_ecc_raw: ADDED
2534 gnutls_x509_privkey_export_ecc_raw: ADDED
2535 gnutls_global_set_time_function: ADDED
2536
2537 GNUTLS_E_ECC_NO_SUPPORTED_CURVES: New error code
2538 GNUTLS_E_ECC_UNSUPPORTED_CURVE: New error code
2539 GNUTLS_KX_ECDHE_RSA: New key exchange method
2540 GNUTLS_KX_ECDHE_ECDSA: New key exchange method
2541 GNUTLS_KX_ANON_ECDH: New key exchange method
2542 GNUTLS_PK_ECC: New public key algorithm
2543 GNUTLS_SIGN_ECDSA_SHA1: New signature algorithm
2544 GNUTLS_SIGN_ECDSA_SHA256: New signature algorithm
2545 GNUTLS_SIGN_ECDSA_SHA384: New signature algorithm
2546 GNUTLS_SIGN_ECDSA_SHA512: New signature algorithm 
2547 GNUTLS_SIGN_ECDSA_SHA224: New signature algorithm
2548 GNUTLS_ECC_CURVE_INVALID: New curve definition
2549 GNUTLS_ECC_CURVE_SECP224R1: New curve definition
2550 GNUTLS_ECC_CURVE_SECP256R1: New curve definition
2551 GNUTLS_ECC_CURVE_SECP384R1: New curve definition
2552 GNUTLS_ECC_CURVE_SECP521R1: New curve definition
2553
2554
2555 * Version 2.99.1 (released 2011-04-23)
2556
2557 ** libgnutls: LZO support was removed.
2558
2559 ** libgnutls: Corrections in SSLv2 client hello parsing.
2560
2561 ** libgnutls: Added support for AES-NI if detected. Uses
2562 Andy Polyakov's AES-NI code.
2563
2564 ** libgnutls: Restored HMAC-MD5 for compatibility. Although considered 
2565 weak, several sites require it for connection. It is enabled for
2566 "NORMAL" and "PERFORMANCE" priority strings.
2567
2568 ** libgnutls: depend on libdl.
2569
2570 ** libgnutls-extra: Dropped support of LZO compression via liblzo.
2571
2572 ** libgnutls: gnutls_transport_set_global_errno() was removed. This
2573 function required GnuTLS to access system specific data, for no reason.
2574 Use gnutls_transport_set_errno(), or your system's errno fascility
2575 instead.
2576
2577 ** libgnutls: Added gnutls_certificate_set_retrieve_function2()
2578 to set a callback to retrieve a certificate. The certificate is
2579 received in a format that requires no processing from gnutls thus
2580 it is suitable when performance is required.
2581
2582 ** API and ABI modifications:
2583 gnutls_transport_set_global_errno: REMOVED
2584 gnutls_certificate_set_retrieve_function2: ADDED
2585
2586 * Version 2.99.0 (released 2011-04-09)
2587
2588 ** libgnutls: Added Datagram TLS support.
2589
2590 ** libgnutls: Uses a single configure file and a single
2591 gnulib library to save space.
2592
2593 ** libgnutls: Several bug fixes.
2594
2595 ** libgnutls: gnutls_transport_set_lowat() is no more.
2596
2597 ** libgnutls-openssl: modified to use modern gnutls' functions.
2598 This introduces an ABI incompatibility with previous versions.
2599
2600 ** libgnutls: Corrected signature generation and verification
2601 in the Certificate Verify message when in TLS 1.2. Reported
2602 by Todd A. Ouska.
2603
2604 ** libgnutlsxx: The C++ interface returns exception on
2605 every error and not only on fatal ones. This allows easier
2606 handling of errors.
2607
2608 ** libgnutls: Corrected issue in DHE-PSK ciphersuites that ignored    
2609 the PSK callback.
2610
2611 ** libgnutls: SRP and PSK are no longer set on the default priorities. 
2612 They have to be explicitly set.
2613
2614 ** libgnutls: During handshake message verification using DSS
2615 use the hash algorithm required by it.
2616
2617 ** libgnutls: gnutls_recv() return GNUTLS_E_PREMATURE_TERMINATION
2618 on unexpected EOF, instead of GNUTLS_E_UNEXPECTED_PACKET_LENGTH.
2619
2620 ** libgnutls: Added GCM mode (interoperates with tls.secg.org)
2621
2622 ** libgnutls-extra: Inner application extension was removed.
2623 It was never standardized nor published as an RFC.
2624
2625 ** libgnutls: Added new certificate verification functions, that
2626 can provide more details and are more efficient. Check 
2627 gnutls_x509_trust_list_*.
2628
2629 ** certtool: Uses the new certificate verification functions for
2630 --verify-chain.
2631
2632 ** certtool: Added new certificate verification functionality
2633 using the --verify option. Combined with --load-ca-certificate
2634 it can verify a certificate chain against a list of certificates.
2635
2636 ** Several files unnecessarily included <gcrypt.h>; this has been fixed.
2637
2638 ** API and ABI modifications:
2639 gnutls_dtls_set_timeouts: ADDED
2640 gnutls_dtls_get_mtu: ADDED
2641 gnutls_dtls_get_data_mtu: ADDED
2642 gnutls_dtls_set_mtu: ADDED
2643 gnutls_dtls_cookie_send: ADDED
2644 gnutls_dtls_cookie_verify: ADDED
2645 gnutls_dtls_prestate_set: ADDED
2646 gnutls_x509_trust_list_verify_crt: ADDED
2647 gnutls_x509_trust_list_add_crls: ADDED
2648 gnutls_x509_trust_list_add_cas: ADDED
2649 gnutls_x509_trust_list_init: ADDED
2650 gnutls_x509_trust_list_deinit: ADDED
2651 gnutls_cipher_add_auth: ADDED
2652 gnutls_cipher_tag: ADDED
2653 gnutls_psk_netconf_derive_key: REMOVED
2654 gnutls_certificate_verify_peers: REMOVED
2655 gnutls_session_set_finished_function: REMOVED
2656 gnutls_ext_register: REMOVED
2657 gnutls_certificate_get_x509_crls: REMOVED
2658 gnutls_certificate_get_x509_cas: REMOVED
2659 gnutls_certificate_get_openpgp_keyring: REMOVED
2660 gnutls_session_get_server_random: REMOVED
2661 gnutls_session_get_client_random: REMOVED
2662 gnutls_session_get_master_secret: REMOVED
2663 gnutls_ia_allocate_client_credentials: REMOVED
2664 gnutls_ia_allocate_server_credentials: REMOVED
2665 gnutls_ia_enable: REMOVED
2666 gnutls_ia_endphase_send: REMOVED
2667 gnutls_ia_extract_inner_secret: REMOVED
2668 gnutls_ia_free_client_credentials: REMOVED
2669 gnutls_ia_free_server_credentials: REMOVED
2670 gnutls_ia_generate_challenge: REMOVED
2671 gnutls_ia_get_client_avp_ptr: REMOVED
2672 gnutls_ia_get_server_avp_ptr: REMOVED
2673 gnutls_ia_handshake: REMOVED
2674 gnutls_ia_handshake_p: REMOVED
2675 gnutls_ia_permute_inner_secret: REMOVED
2676 gnutls_ia_recv: REMOVED
2677 gnutls_ia_send: REMOVED
2678 gnutls_ia_set_client_avp_function: REMOVED
2679 gnutls_ia_set_client_avp_ptr: REMOVED
2680 gnutls_ia_set_server_avp_function: REMOVED
2681 gnutls_ia_set_server_avp_ptr: REMOVED
2682 gnutls_ia_verify_endphase: REMOVED
2683
2684
2685 * Version 2.12.2 (released 2011-04-08)
2686
2687 ** libgnutls: Several updates and fixes for win32. Patches by LRN.
2688
2689 ** libgnutls: Several bug and memory leak fixes.
2690
2691 ** srptool: Accepts the -d option to enable debugging.
2692
2693 ** libgnutls: Corrected bug in gnutls_srp_verifier() that prevented
2694 the allocation of a verifier. Reported by Andrew Wiseman.
2695
2696 ** API and ABI modifications:
2697 No changes since last version.
2698
2699
2700 * Version 2.12.1 (released 2011-04-02)
2701
2702 ** certtool: Generated certificate request with stricter permissions.
2703 Reported by Luca Capello.
2704
2705 ** libgnutls: Bug fixes in opencdk code. Reported by Vitaly Kruglikov.
2706
2707 ** libgnutls: Corrected windows system_errno() function prototype.
2708
2709 ** libgnutls: C++ compatibility fix for compat.h. Reported by Mark Brand.
2710
2711 ** libgnutls: Fix size of gnutls_openpgp_keyid_t by using the
2712 GNUTLS_OPENPGP_KEYID_SIZE definition. Reported by Andreas Metzler.
2713
2714 ** API and ABI modifications:
2715 No changes since last version.
2716
2717
2718
2719
2720 * Version 2.12.0 (released 2011-03-24)
2721
2722 ** certtool: Warns on generation of DSA keys of over 1024 bits, about
2723 the incompatibility with TLS other than 1.2.
2724
2725 ** libgnutls: Modified signature algorithm selection in client
2726 certificate request, to avoid failures in DSA certificates.
2727
2728 ** libgnutls: Instead of failing with internal error, return 
2729 GNUTLS_E_INCOMPAT_DSA_KEY_WITH_TLS_PROTOCOL if an incompatible DSA
2730 key with the negotiated protocol is encountered.
2731
2732 ** libgnutls: Bug fixes in the RSA ciphersuite behavior with openpgp keys.
2733
2734 ** libgnutls: Force state update when fork is detected in the nettle
2735 rng.
2736
2737 ** libgnutls: modified gnutls_pubkey_import_openpgp() to use the preferred
2738 subkey instead of setting explicitly one.
2739
2740 ** libgnutls: Corrected default behavior in record version of Client Hellos.
2741
2742 ** libgnutls-openssl: modified to use modern gnutls' functions.
2743 This introduces an ABI incompatibility with previous versions.
2744
2745 ** API and ABI modifications:
2746 gnutls_pubkey_import_openpgp: MODIFIED
2747
2748
2749 * Version 2.11.7
2750
2751 ** libgnutls: The deprecated  gnutls_x509_privkey_sign_hash() was
2752 replaced by gnutls_privkey_sign_hash2().
2753
2754 ** libgnutls: gnutls_pubkey_verify_data, gnutls_pubkey_verify_hash,
2755 gnutls_x509_privkey_verify_data, gnutls_x509_crt_verify_data, 
2756 gnutls_x509_crt_verify_hash return the negative error code 
2757 GNUTLS_E_PK_SIG_VERIFY_FAILED if verification fails to simplify error 
2758 checking.
2759
2760 ** libgnutls: Added helper functions for signature verification:
2761 gnutls_pubkey_verify_data() and gnutls_pubkey_import_privkey().
2762
2763 ** libgnutls: Modified gnutls_privkey_sign_data().
2764
2765 ** gnutls_x509_crl_privkey_sign2(), gnutls_x509_crq_sign2()
2766 gnutls_x509_privkey_sign_hash(), gnutls_x509_privkey_sign_data(),
2767 gnutls_x509_crt_verify_hash(), gnutls_x509_crt_verify_data(), were
2768 deprecated for gnutls_x509_crl_privkey_sign(),
2769 gnutls_x509_crq_privkey_sign(), gnutls_privkey_sign_hash(),
2770 gnutls_privkey_sign_data(), gnutls_pubkey_verify_hash()
2771 gnutls_pubkey_verify_data() respectively.
2772
2773 ** libgnutls: gnutls_*_export_raw() functions now add leading zero in
2774 integers.
2775
2776 ** libgnutls: Added convenience functions gnutls_x509_crl_list_import2()
2777 and gnutls_x509_crt_list_import2().
2778
2779 ** crypto.h: Fix use with C++.
2780 Reported by "Brendan Doherty" <brendand@gentrack.com>.
2781
2782 ** API and ABI modifications:
2783 gnutls_x509_crl_list_import: ADDED
2784 gnutls_x509_crl_list_import2: ADDED
2785 gnutls_x509_crt_list_import2: ADDED
2786 gnutls_x509_crl_get_raw_issuer_dn: ADDED
2787 gnutls_pubkey_import_privkey: ADDED
2788 gnutls_pubkey_verify_data: ADDED
2789 gnutls_privkey_sign_hash: MODIFIED (was added in 2.11.0)
2790 gnutls_privkey_sign_data: MODIFIED (was added in 2.11.0)
2791 gnutls_x509_crq_sign2: DEPRECATED (use: gnutls_x509_crq_privkey_sign)
2792 gnutls_x509_crq_sign: DEPRECATED (use: gnutls_x509_crq_privkey_sign)
2793 gnutls_x509_crq_get_preferred_hash_algorithm: REMOVED (was added in 2.11.0)
2794 gnutls_x509_crl_sign: DEPRECATED (use: gnutls_x509_crl_privkey_sign)
2795 gnutls_x509_crl_sign2: DEPRECATED (use: gnutls_x509_crl_privkey_sign)
2796 gnutls_x509_privkey_sign_data: DEPRECATED (use: gnutls_privkey_sign_data2)
2797 gnutls_x509_privkey_sign_hash: DEPRECATED (use: gnutls_privkey_sign_hash2)
2798 gnutls_x509_privkey_verify_data: DEPRECATED (use: gnutls_pubkey_verify_data)
2799 gnutls_session_set_finished_function: DEPRECATED
2800 gnutls_x509_crt_verify_hash: DEPRECATED (use: gnutls_pubkey_verify_hash)
2801 gnutls_x509_crt_verify_data: DEPRECATED (use: gnutls_pubkey_verify_data)
2802 gnutls_x509_crt_get_verify_algorithm: DEPRECATED (use: gnutls_pubkey_get_verify_algorithm)
2803 gnutls_x509_crt_get_preferred_hash_algorithm: DEPRECATED (use: gnutls_pubkey_get_preferred_hash_algorithm)
2804 gnutls_openpgp_privkey_sign_hash: DEPRECATED (use: gnutls_privkey_sign_hash2)
2805 gnutls_pkcs11_privkey_sign_hash: REMOVED (was added in 2.11.0)
2806 gnutls_pkcs11_privkey_decrypt_data: REMOVED (was added in 2.11.0)
2807 gnutls_privkey_sign_hash: REMOVED (was added in 2.11.0)
2808
2809 * Version 2.11.6 (released 2010-12-06)
2810
2811 ** libgnutls: Record version of Client Hellos is now set by default to
2812 SSL 3.0. To restore the previous default behavior use %LATEST_RECORD_VERSION
2813 priority string.
2814
2815 ** libgnutls: Use ASN1_NULL when writing parameters for RSA signatures. 
2816 This makes us comply with RFC3279. Reported by Michael Rommel.
2817
2818 ** gnutls-serv: Corrected a buffer overflow. Reported and patch by Tomas Mraz.
2819
2820 ** API and ABI modifications:
2821 No changes since last version.
2822
2823 * Version 2.11.5 (released 2010-12-01)
2824
2825 ** libgnutls: Reverted default behavior for verification and
2826 introduced GNUTLS_VERIFY_DO_NOT_ALLOW_X509_V1_CA_CRT. Thus by default
2827 V1 trusted CAs are allowed, unless the new flag is specified.
2828
2829 ** libgnutls: Correctly add leading zero to PKCS #8 encoded DSA key.
2830 Reported by Jeffrey Walton.
2831
2832 ** libgnutls: Added SIGN-ALL, CTYPE-ALL, COMP-ALL, and VERS-TLS-ALL
2833 as priority strings. Those allow to set all the supported algorithms
2834 at once.
2835
2836 ** p11tool: Introduced. It allows manipulating pkcs 11 tokens.
2837
2838 ** gnutls-cli: Print channel binding only in verbose mode.
2839 Before it printed it after the 'Compression:' output, thus breaking
2840 Emacs starttls.el string searches.
2841
2842 ** API and ABI modifications:
2843 gnutls_pkcs11_token_init: New function
2844 gnutls_pkcs11_token_set_pin: New function
2845
2846 * Version 2.11.4 (released 2010-10-15)
2847
2848 ** libgnutls: Add new API gnutls_session_channel_binding.
2849 The function is used to get the channel binding data.  Currently only
2850 the "tls-unique" (RFC 5929) channel binding type is supported, through
2851 the GNUTLS_CB_TLS_UNIQUE type.  See new section "Channel Bindings" in
2852 the manual.
2853
2854 ** gnutls-cli, gnutls-serv: Print 'tls-unique' Channel Bindings.
2855
2856 ** doc: Added pkcs11.h header file to GTK-DOC manual.
2857
2858 ** build: Update gnulib files.
2859
2860 ** i18n: Update translations.
2861
2862 ** tests: Add self tests gendh.c.  Speed up Guile self checks.
2863
2864 ** API and ABI modifications:
2865 gnutls_session_channel_binding: New function.
2866 gnutls_channel_binding_t: New enumeration.
2867 GNUTLS_CB_TLS_UNIQUE: New gnutls_channel_binding_t enum member.
2868 GNUTLS_E_CHANNEL_BINDING_NOT_AVAILABLE: New error code.
2869
2870 * Version 2.11.3 (released 2010-10-14)
2871
2872 ** Indent code to follow the GNU Coding Standard.
2873 You should be able to unpack the 2.11.2 release and run 'make indent'
2874 twice to get exactly the same content as 2.11.3 except for generated
2875 files.  Using GNU Indent 2.2.11.
2876
2877 ** API and ABI modifications:
2878 No changes since last version.
2879
2880 * Version 2.11.2 (released 2010-10-08)
2881
2882 ** libgnutls: Several bug fixes on session resumption
2883 and session tickets support.
2884
2885 ** libgnutls: Add new extended key usage ipsecIKE.
2886
2887 ** certtool: Renamed PKCS #11 options to: --p11-provider,
2888 --p11-export-url, --p11-list-certs, --p11-list-certs,
2889 --p11-list-privkeys, --p11-list-trusted, --p11-list-all-certs,
2890 --p11-list-all, --p11-list-tokens, --p11-login, --p11-write,
2891 --p11-write-label, --p11-write-trusted, --p11-detailed-url,
2892 --p11-delete-url
2893
2894 ** libgnutls: Corrected bug that caused importing DSA keys as RSA,
2895 introduced with the new nettle code.
2896
2897 ** libgnutls: Corrected advertizing issue for session tickets.
2898
2899 ** API and ABI modifications:
2900 gnutls_x509_crt_get_subject_unique_id: ADDED.
2901 gnutls_x509_crt_get_issuer_unique_id: ADDED.
2902
2903 * Version 2.11.1 (released 2010-09-14)
2904
2905 ** libgnutls: Nettle is the default crypto back end. Use --with-libgcrypt
2906 to use the libgcrypt back end.
2907
2908 ** libgnutls: Depend on nettle 2.1. This makes nettle a fully working
2909 backend crypto library.
2910
2911 ** libgnutls: Added RSA_NULL_SHA1 and SHA256 ciphersuites.
2912
2913 ** libgnutls: Several updates in the buffering internal interface.
2914
2915 ** libgnutls: Is now more liberal in the PEM decoding. That is spaces and 
2916 tabs are being skipped.
2917
2918 ** libgnutls: Added support for draft-pechanec-pkcs11uri-02.
2919
2920 ** libgnutls: The %COMPAT flag now allows larger records that violate the
2921 TLS spec.
2922
2923 ** libgnutls: by default lowat level has been set to zero to avoid unnecessary
2924 system calls. Applications that depended on it being 1 should explicitly call
2925 gnutls_transport_set_lowat().
2926
2927 ** libgnutls: Updated documentation and gnutls_pk_params_t mappings
2928 to ECRYPT II recommendations. Mappings were moved to a single location
2929 and DSA keys are handled differently (since DSA2 allows for 1024,2048
2930 and 3072 keys only).
2931
2932 ** libgnutls: gnutls_x509_privkey_import() will fallback to
2933 gnutls_x509_privkey_import_pkcs8() without a password, if it
2934 is unable to decode the key.
2935
2936 ** libgnutls: HMAC-MD5 no longer used by default.
2937
2938 ** API and ABI modifications:
2939 gnutls_openpgp_privkey_sec_param: ADDED
2940 gnutls_x509_privkey_sec_param: ADDED
2941
2942 * Version 2.11.0 (released 2010-07-22)
2943
2944 ** libgnutls: support scattered write using writev(). This takes
2945 advantage of the new buffering layer and allows queuing of packets
2946 and flushing them. This is currently used for handshake messages
2947 only.
2948
2949 ** libgnutls: Added gnutls_global_set_mutex() to allow setting
2950 alternative locking procedures. By default the system available
2951 locking is used. In *NIX pthreads are used and in windows the
2952 critical section API. This follows a different approach than the
2953 previous versions that depended on libgcrypt initialization. The
2954 locks are now set by default in systems that support it. Programs
2955 that used gcry_control() to set thread locks should insert it into
2956 a block of
2957 #if GNUTLS_VERSION_NUMBER <= 0x020b00
2958         gcry_control(...)
2959 #endif
2960
2961 ** libgnutls: Added support for reading DN from EV-certificates.
2962 New DN values:
2963 jurisdictionOfIncorporationLocalityName,
2964 jurisdictionOfIncorporationStateOrProvinceName,
2965 jurisdictionOfIncorporationCountryName
2966
2967 ** libgnutls: Added support for DSA signing/verifying with bit 
2968 length over 1024.
2969
2970 ** libgnutls-extra: When in FIPS mode gnutls_global_init_extra()
2971 has to be called to register any required md5 handlers.
2972
2973 ** libgnutls: Internal buffering code was replaced by simpler
2974 code contributed by Jonathan Bastien-Filiatrault.
2975
2976 ** libgnutls: Internal API for extensions augmented to allow
2977 safe storing and loading of data on resumption. This allows writing
2978 self-contained extensions (when possible). As a side effect
2979 the OPRFI extension was removed.
2980
2981 ** libgnutls: Added support for DSA-SHA256 and DSA-SHA224
2982
2983 ** libgnutls: Added PKCS #11 support and an API to access objects in
2984 gnutls/pkcs11.h. Currently certificates and public keys can be
2985 imported from tokens, and operations can be performed on private keys.
2986
2987 ** libgnutls: Added abstract gnutls_privkey_t and gnutls_pubkey_t
2988
2989 ** libgnutls: Added initial support for the nettle library. It uses
2990 the system's random generator for seeding. That is /dev/urandom in Linux, 
2991 system calls in Win32 and EGD on other systems.
2992
2993 ** libgnutls: Corrected issue on the %SSL3_RECORD_VERSION priority string. It now
2994     works even when resuming a session.
2995
2996 ** libgnutls: Added gnutls_certificate_set_retrieve_function() to replace the
2997 similar gnutls_certificate_set_server_retrieve_function() and
2998 gnutls_certificate_set_client_retrieve_function(). In addition it support
2999 PKCS #11 private keys.
3000
3001 ** libgnutls: Added  gnutls_pkcs11_copy_x509_crt(), gnutls_pkcs11_copy_x509_privkey(),
3002 and gnutls_pkcs11_delete_url() to allow copying and deleting data in tokens.
3003
3004 ** libgnutls: Added gnutls_sec_param_to_pk_bits() et al. to allow select bit
3005 sizes for private keys using a human understandable scale.
3006
3007 ** certtool: Added new options: --pkcs11-list-tokens, --pkcs11-list-all
3008 --pkcs11-list-all-certs, --pkcs11-list-trusted, --pkcs11-list-certs,
3009 --pkcs11-delete-url, --pkcs11-write
3010
3011 certtool: The --pkcs-cipher is taken into account when generating a
3012 private key. The default cipher used now is aes-128. The old behavior can
3013 be simulated by specifying "--pkcs-cipher 3des-pkcs12".
3014
3015 certtool: Added --certificate-pubkey to print the public key of the
3016 certificate.
3017
3018 ** gnutls-cli/gnutls-serv: --x509cafile, --x509certfile and --x509keyfile
3019 can now accept a PKCS #11 URL in addition to a file. This will allow for
3020 example to use the Gnome-keyring trusted certificate list to verify
3021 connections using a url such as:
3022 pkcs11:token=Root%20CA%20Certificates;serial=1%3AROOTS%3ADEFAULT;model=1%2E0;manufacturer=Gnome%20Keyring
3023
3024 ** API and ABI modifications:
3025 gnutls_certificate_set_server_retrieve_function: DEPRECATED
3026 gnutls_certificate_set_client_retrieve_function: DEPRECATED
3027 gnutls_sign_callback_set: DEPRECATED
3028 gnutls_global_set_mutex: ADDED
3029 gnutls_pubkey_get_preferred_hash_algorithm: ADDED
3030 gnutls_x509_crt_get_preferred_hash_algorithm: ADDED
3031 gnutls_x509_privkey_export_rsa_raw2: ADDED
3032 gnutls_rnd: ADDED
3033 gnutls_sec_param_to_pk_bits: ADDED
3034 gnutls_pk_bits_to_sec_param: ADDED
3035 gnutls_sec_param_get_name: ADDED
3036 gnutls_pkcs11_type_get_name: ADDED
3037 gnutls_certificate_set_retrieve_function: ADDED
3038 gnutls_pkcs11_init: ADDED
3039 gnutls_pkcs11_deinit: ADDED
3040 gnutls_pkcs11_set_pin_function: ADDED
3041 gnutls_pkcs11_set_token_function: ADDED
3042 gnutls_pkcs11_add_provider: ADDED
3043 gnutls_pkcs11_obj_init: ADDED
3044 gnutls_pkcs11_obj_import_url: ADDED
3045 gnutls_pkcs11_obj_export_url: ADDED
3046 gnutls_pkcs11_obj_deinit: ADDED
3047 gnutls_pkcs11_obj_export: ADDED
3048 gnutls_pkcs11_obj_list_import_url: ADDED
3049 gnutls_pkcs11_obj_export: ADDED
3050 gnutls_x509_crt_import_pkcs11: ADDED
3051 gnutls_pkcs11_obj_get_type: ADDED
3052 gnutls_x509_crt_list_import_pkcs11: ADDED
3053 gnutls_x509_crt_import_pkcs11_url: ADDED
3054 gnutls_pkcs11_obj_get_info: ADDED
3055 gnutls_pkcs11_token_get_info: ADDED
3056 gnutls_pkcs11_token_get_url: ADDED
3057 gnutls_pkcs11_privkey_init: ADDED
3058 gnutls_pkcs11_privkey_deinit: ADDED
3059 gnutls_pkcs11_privkey_get_pk_algorithm: ADDED
3060 gnutls_pkcs11_privkey_get_info: ADDED
3061 gnutls_pkcs11_privkey_import_url: ADDED
3062 gnutls_pkcs11_privkey_sign_data: ADDED
3063 gnutls_pkcs11_privkey_sign_hash: ADDED
3064 gnutls_pkcs11_privkey_decrypt_data: ADDED
3065 gnutls_privkey_init: ADDED
3066 gnutls_privkey_deinit: ADDED
3067 gnutls_privkey_get_pk_algorithm: ADDED
3068 gnutls_privkey_get_type: ADDED
3069 gnutls_privkey_import_pkcs11: ADDED
3070 gnutls_privkey_import_x509: ADDED
3071 gnutls_privkey_import_openpgp: ADDED
3072 gnutls_privkey_sign_data: ADDED
3073 gnutls_privkey_sign_hash: ADDED
3074 gnutls_privkey_decrypt_data: ADDED
3075 gnutls_pkcs11_privkey_export_url: ADDED
3076 gnutls_x509_crq_privkey_sign: ADDED
3077 gnutls_x509_crl_privkey_sign: ADDED
3078 gnutls_x509_crt_privkey_sign: ADDED
3079 gnutls_pubkey_init: ADDED
3080 gnutls_pubkey_deinit: ADDED
3081 gnutls_pubkey_get_pk_algorithm: ADDED
3082 gnutls_pubkey_import_x509: ADDED
3083 gnutls_pubkey_import_openpgp: ADDED
3084 gnutls_pubkey_get_pk_rsa_raw: ADDED
3085 gnutls_pubkey_get_pk_dsa_raw: ADDED
3086 gnutls_pubkey_export: ADDED
3087 gnutls_pubkey_get_key_id: ADDED
3088 gnutls_pubkey_get_key_usage: ADDED
3089 gnutls_pubkey_verify_hash: ADDED
3090 gnutls_pubkey_get_verify_algorithm: ADDED
3091 gnutls_pkcs11_type_get_name: ADDED
3092 gnutls_pubkey_import_pkcs11_url: ADDED
3093 gnutls_pubkey_import: ADDED
3094 gnutls_pubkey_import_pkcs11: ADDED
3095 gnutls_pubkey_import_dsa_raw: ADDED
3096 gnutls_pubkey_import_rsa_raw: ADDED
3097 gnutls_x509_crt_set_pubkey: ADDED
3098 gnutls_x509_crq_set_pubkey: ADDED
3099 gnutls_pkcs11_copy_x509_crt: ADDED
3100 gnutls_pkcs11_copy_x509_privkey: ADDED
3101 gnutls_pkcs11_delete_url: ADDED
3102
3103 * Version 2.10.1 (released 2010-07-25)
3104
3105 ** libgnutls: Added support for broken certificates that indicate RSA
3106 with strange OIDs.
3107
3108 ** gnutls-cli: Allow verification using V1 CAs.
3109
3110 ** libgnutls: gnutls_x509_privkey_import() will fallback to
3111 gnutls_x509_privkey_import_pkcs8() without a password, if it
3112 is unable to decode the key.
3113
3114 ** libgnutls: Correctly deinitialize crypto API functions to prevent
3115 a memory leak.  Reported by Mads Kiilerich.
3116
3117 ** certtool: If asked to generate DSA keys of size more than 1024 bits,
3118 issue a warning, that the output key might not be working everywhere.
3119
3120 ** certtool: The --pkcs-cipher is taken into account when generating a
3121 private key. The default cipher used now is aes-128. The old behavior
3122 can be simulated by specifying "--pkcs-cipher 3des-pkcs12".
3123
3124 ** API and ABI modifications:
3125 No changes since last version.
3126
3127 * Version 2.10.0 (released 2010-06-25)
3128
3129 ** API and ABI modifications:
3130 No changes since last version.
3131
3132 * Version 2.9.12 (released 2010-06-17)
3133
3134 ** gnutls-cli: Make --starttls work again.
3135 Problem introduced in patch to use read() instead of fgets() committed
3136 on 2010-01-27.
3137
3138 ** API and ABI modifications:
3139 No changes since last version.
3140
3141 * Version 2.9.11 (released 2010-06-07)
3142
3143 ** libgnutls: Removed two APIs related to safe renegotiation.
3144 Use priority strings instead.  The APIs were
3145 gnutls_safe_negotiation_set_initial and gnutls_safe_renegotiation_set.
3146 (Remember that we don't promise ABI stability during development
3147 series, so this doesn't cause an shared library ABI increment.)
3148
3149 ** tests: More self testing of safe renegotiation extension.
3150 See tests/safe-renegotiation/README for more information.
3151
3152 ** doc: a PDF version of the API reference manual (GTK-DOC) is now built.
3153
3154 ** doc: Terms 'GNUTLS' and 'GNU TLS' were changed to 'GnuTLS' for consistency.
3155
3156 ** API and ABI modifications:
3157 gnutls_safe_negotiation_set_initial: REMOVED.
3158 gnutls_safe_renegotiation_set: REMOVED.
3159
3160 * Version 2.9.10 (released 2010-04-22)
3161
3162 ** libgnutls: Time verification extended to trusted certificate list.
3163 Unless new constant GNUTLS_VERIFY_DISABLE_TRUSTED_TIME_CHECKS flag is
3164 specified.
3165
3166 ** certtool: Display postalCode and Name X.509 DN attributes correctly.
3167 Based on patch by Pavan Konjarla.  Adds new constant
3168 GNUTLS_OID_X520_POSTALCODE and GNUTLS_OID_X520_NAME.
3169
3170 ** libgnutls: Added Steve Dispensa's patch for safe renegotiation (RFC 5746)
3171 Solves the issue discussed in:
3172 <http://www.ietf.org/mail-archive/web/tls/current/msg03928.html> and
3173 <http://www.ietf.org/mail-archive/web/tls/current/msg03948.html>.
3174 Note that to allow connecting to unpatched servers the full protection
3175 is only enabled if the priority string %SAFE_RENEGOTIATION is
3176 specified. You can check whether protection is in place by querying
3177 gnutls_safe_renegotiation_status().  New error codes
3178 GNUTLS_E_SAFE_RENEGOTIATION_FAILED and
3179 GNUTLS_E_UNSAFE_RENEGOTIATION_DENIED added.
3180
3181 ** libgnutls: When checking openpgp self signature also check the signatures
3182 ** of all subkeys.
3183 Ilari Liusvaara noticed and reported the issue and provided test
3184 vectors as well.
3185
3186 ** libgnutls: Added cryptodev support (/dev/crypto).
3187 Tested with http://www.logix.cz/michal/devel/cryptodev/.  Added
3188 benchmark utility for AES.  Adds new error codes
3189 GNUTLS_E_CRYPTODEV_IOCTL_ERROR and GNUTLS_E_CRYPTODEV_DEVICE_ERROR.
3190
3191 ** libgnutls: Exported API to access encryption and hash algorithms.
3192 The new API functions are gnutls_cipher_decrypt, gnutls_cipher_deinit,
3193 gnutls_cipher_encrypt, gnutls_cipher_get_block_size,
3194 gnutls_cipher_init, gnutls_hash, gnutls_hash_deinit, gnutls_hash_fast,
3195 gnutls_hash_get_len, gnutls_hash_init, gnutls_hash_output,
3196 gnutls_hmac, gnutls_hmac_deinit, gnutls_hmac_fast,
3197 gnutls_hmac_get_len, gnutls_hmac_init, gnutls_hmac_output.  New API
3198 constants are GNUTLS_MAC_SHA224 and GNUTLS_DIG_SHA224.
3199
3200 ** libgnutls: Added gnutls_certificate_set_verify_function() to allow
3201 verification of certificate upon receipt rather than waiting until the
3202 end of the handshake.
3203
3204 ** libgnutls: Don't send alerts during handshake.
3205 Instead new error code GNUTLS_E_UNKNOWN_SRP_USERNAME is added.
3206
3207 ** certtool: Corrected two issues that affected certificate request generation.
3208 (1) Null padding is added on integers (found thanks to Wilankar Trupti),
3209 (2) In optional SignatureAlgorithm parameters field for DSA keys the DSA
3210 parameters were added. Those were rejected by Verisign. Gnutls no longer adds 
3211 those parameters there since other implementations don't do either and having 
3212 them does not seem to offer anything (anyway you need the signer's certificate
3213 to verify thus public key will be available). Found thanks to Boyan Kasarov.
3214 This however has the side-effect that public key IDs shown by certtool are
3215 now different than previous gnutls releases.
3216 (3) the option --pgp-certificate-info will verify self signatures
3217
3218 ** certtool: Allow exporting of Certificate requests on DER format.
3219
3220 ** certtool: New option --no-crq-extensions to avoid extensions in CSRs.
3221
3222 ** gnutls-cli: Handle reading binary data from server.
3223 Reported by and tiny patch from Vitaly Mayatskikh
3224 <v.mayatskih@gmail.com> in
3225 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/4096>.
3226
3227 ** minitasn1: Upgraded to libtasn1 version 2.6.
3228
3229 ** i18n: Updated Czech, Dutch, French, Polish, Swedish translation.
3230 ** Added Italian and Simplified Chinese translation.
3231 Thanks to Petr Pisar, Erwin Poeze, Nicolas Provost, Jakub Bogusz,
3232 Daniel Nylander, Sergio Zanchetta, Tao Wei, and Aron Xu.
3233
3234 ** doc: The GTK-DOC manual is significantly improved.
3235
3236 ** API and ABI modifications:
3237 %DISABLE_SAFE_RENEGOTIATION: Added to priority strings (do not use).
3238 %INITIAL_SAFE_RENEGOTIATION: Added to priority strings.
3239 %UNSAFE_RENEGOTIATION: Added to priority strings.
3240 GNUTLS_DIG_SHA224: ADDED.
3241 GNUTLS_E_CRYPTODEV_DEVICE_ERROR: ADDED.
3242 GNUTLS_E_CRYPTODEV_IOCTL_ERROR: ADDED.
3243 GNUTLS_E_SAFE_RENEGOTIATION_FAILED: ADDED.
3244 GNUTLS_E_UNKNOWN_SRP_USERNAME: ADDED.
3245 GNUTLS_E_UNSAFE_RENEGOTIATION_DENIED: ADDED.
3246 GNUTLS_MAC_SHA224: ADDED.
3247 GNUTLS_OID_X520_NAME: ADDED.
3248 GNUTLS_OID_X520_POSTALCODE: ADDED.
3249 GNUTLS_VERIFY_DISABLE_TRUSTED_TIME_CHECKS: ADDED.
3250 GNUTLS_VERSION_MAX: ADDED.
3251 gnutls_certificate_set_verify_function: ADDED.
3252 gnutls_cipher_decrypt: ADDED.
3253 gnutls_cipher_deinit: ADDED.
3254 gnutls_cipher_encrypt: ADDED.
3255 gnutls_cipher_get_block_size: ADDED.
3256 gnutls_cipher_init: ADDED.
3257 gnutls_hash: ADDED.
3258 gnutls_hash_deinit: ADDED.
3259 gnutls_hash_fast: ADDED.
3260 gnutls_hash_get_len: ADDED.
3261 gnutls_hash_init: ADDED.
3262 gnutls_hash_output: ADDED.
3263 gnutls_hmac: ADDED.
3264 gnutls_hmac_deinit: ADDED.
3265 gnutls_hmac_fast: ADDED.
3266 gnutls_hmac_get_len: ADDED.
3267 gnutls_hmac_init: ADDED.
3268 gnutls_hmac_output: ADDED.
3269 gnutls_safe_negotiation_set_initial: ADDED.
3270 gnutls_safe_renegotiation_set: ADDED.
3271 gnutls_safe_renegotiation_status: ADDED.
3272
3273 * Version 2.9.9 (released 2009-11-09)
3274
3275 ** libgnutls: Cleanups and several bug fixes.
3276 Found by Steve Grubb and Tomas Mraz.
3277
3278 ** Link libgcrypt explicitly to certtool, gnutls-cli, gnutls-serv.
3279
3280 ** Fix --disable-valgrind-tests.
3281 Reported by Ingmar Vanhassel in
3282 <https://savannah.gnu.org/support/?107029>.
3283
3284 ** API and ABI modifications:
3285 No changes since last version.
3286
3287 * Version 2.9.8 (released 2009-11-05)
3288
3289 ** libgnutls: Fix for memory leaks on interrupted handshake.
3290 Reported by Tang Tong.
3291
3292 ** libgnutls: Addition of support for TLS 1.2 signature algorithms
3293 ** extension and certificate verify field.
3294 This requires changes for TLS 1.2 servers and clients that use
3295 callbacks for certificate retrieval.  They are now required to check
3296 with gnutls_sign_algorithm_get_requested() whether the certificate
3297 they send complies with the peer's preferences in signature
3298 algorithms.
3299
3300 ** libgnutls: In server side when resuming a session do not overwrite the 
3301 ** initial session data with the resumed session data.
3302
3303 ** libgnutls: Added support for AES-128, AES-192 and AES-256 in PKCS #8
3304 ** encryption.
3305 This affects also PKCS #12 encoded files.  This adds the following new
3306 enums: GNUTLS_CIPHER_AES_192_CBC, GNUTLS_PKCS_USE_PBES2_AES_128,
3307 GNUTLS_PKCS_USE_PBES2_AES_192, GNUTLS_PKCS_USE_PBES2_AES_256.
3308
3309 ** libgnutls: Fix PKCS#12 encoding.
3310 The error you would get was "The OID is not supported.".  Problem
3311 introduced for the v2.8.x branch in 2.7.6.
3312
3313 ** certtool: Added the --pkcs-cipher option.
3314 To explicitely specify the encryption algorithm to use.
3315
3316 ** tests: Added "pkcs12_encode" self-test to check PKCS#12 functions.
3317
3318 ** tests: Fix time bomb in chainverify self-test.
3319 Reported by Andreas Metzler <ametzler@downhill.at.eu.org> in
3320 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3925>.
3321
3322 ** tests: Fix expired cert in chainverify self-test.
3323
3324 ** i18n: Vietnamese translation updated.
3325 Thanks to Clytie Siddall.
3326
3327 ** API and ABI modifications:
3328 GNUTLS_CIPHER_AES_192_CBC: ADDED to gnutls/gnutls.h.
3329 GNUTLS_PKCS_USE_PBES2_AES_128: ADDED to gnutls/x509.h.
3330 GNUTLS_PKCS_USE_PBES2_AES_192: ADDED to gnutls/x509.h.
3331 GNUTLS_PKCS_USE_PBES2_AES_256: ADDED to gnutls/x509.h.
3332 GNUTLS_BAG_SECRET: ADDED to gnutls/pkcs12.h.
3333 GNUTLS_DIG_UNKNOWN: ADDED to gnutls/gnutls.h.
3334 gnutls_sign_algorithm_get_requested: ADDED.
3335
3336 * Version 2.9.7 (released 2009-10-06)
3337
3338 ** libgnutls: TLS 1.2 server mode fixes.
3339 Now interoperates against Opera.  Contributed by Daiki Ueno.
3340
3341 ** libgnutlsxx: Fix link problems.
3342 Tiny patch from Boyan Kasarov <bkasarov@gmail.com>.
3343
3344 ** guile: Compatibility with guile 2.x.
3345 By Ludovic Courtes <ludovic.courtes@laas.fr>.
3346
3347 ** API and ABI modifications:
3348 No changes since last version.
3349
3350 * Version 2.9.6 (released 2009-09-22)
3351
3352 ** libgnutls: Enable Camellia ciphers by default.
3353
3354 ** API and ABI modifications:
3355 No changes since last version.
3356
3357 * Version 2.9.5 (released 2009-09-10)
3358
3359 ** libgnutls: Add new functions to extract X.509 Issuer Alternative Names.
3360 The new functions are gnutls_x509_crt_get_issuer_alt_name2,
3361 gnutls_x509_crt_get_issuer_alt_name, and
3362 gnutls_x509_crt_get_issuer_alt_othername_oid.  Contributed by Brad
3363 Hards <bradh@frogmouth.net>.
3364
3365 ** API and ABI modifications:
3366 gnutls_x509_crt_get_issuer_alt_name2: ADDED.
3367 gnutls_x509_crt_get_issuer_alt_name: ADDED.
3368 gnutls_x509_crt_get_issuer_alt_othername_oid: ADDED.
3369
3370 * Version 2.9.4 (released 2009-09-03)
3371
3372 ** libgnutls: Client-side TLS 1.2 and SHA-256 ciphersuites now works.
3373 The new supported ciphersuites are AES-128/256 in CBC mode with
3374 ANON-DH/RSA/DHE-DSS/DHE-RSA.  Contributed by Daiki Ueno.  Further,
3375 SHA-256 is now the preferred default MAC (however it is only used with
3376 TLS 1.2).
3377
3378 ** libgnutls: Make OpenPGP hostname checking work again.
3379 The patch to resolve the X.509 CN/SAN issue accidentally broken
3380 OpenPGP hostname comparison.
3381
3382 ** libgnutls: When printing X.509 certificates, handle XMPP SANs better.
3383 Reported by Howard Chu <hyc@symas.com> in
3384 <https://savannah.gnu.org/support/?106975>.
3385
3386 ** Fix use of deprecated types internally.
3387 Use of deprecated types in GnuTLS from now on will lead to a compile
3388 error, to prevent this from happening again.
3389
3390 ** API and ABI modifications:
3391 No changes since last version.
3392
3393 * Version 2.9.3 (released 2009-08-19)
3394
3395 ** libgnutls: Support for TLS tickets was contributed by Daiki Ueno.
3396 The new APIs are gnutls_session_ticket_enable_client,
3397 gnutls_session_ticket_enable_server, and
3398 gnutls_session_ticket_key_generate.
3399
3400 ** gnutls-cli, gnutls-serv: New parameter --noticket to disable TLS tickets.
3401
3402 ** API and ABI modifications:
3403 gnutls_session_ticket_key_generate: ADDED.
3404 gnutls_session_ticket_enable_client: ADDED.
3405 gnutls_session_ticket_enable_server: ADDED.
3406
3407 * Version 2.9.2 (released 2009-08-14)
3408
3409 ** libgnutls: Fix problem with NUL bytes in X.509 CN and SAN fields.
3410 By using a NUL byte in CN/SAN fields, it was possible to fool GnuTLS
3411 into 1) not printing the entire CN/SAN field value when printing a
3412 certificate and 2) cause incorrect positive matches when matching a
3413 hostname against a certificate.  Some CAs apparently have poor
3414 checking of CN/SAN values and issue these (arguable invalid)
3415 certificates.  Combined, this can be used by attackers to become a
3416 MITM on server-authenticated TLS sessions.  The problem is mitigated
3417 since attackers needs to get one certificate per site they want to
3418 attack, and the attacker reveals his tracks by applying for a
3419 certificate at the CA.  It does not apply to client authenticated TLS
3420 sessions.  Research presented independently by Dan Kaminsky and Moxie
3421 Marlinspike at BlackHat09.  Thanks to Tomas Hoger <thoger@redhat.com>
3422 for providing one part of the patch.  [GNUTLS-SA-2009-4] [CVE-2009-2730].
3423
3424 ** libgnutls: Fix rare failure in gnutls_x509_crt_import.
3425 The function may fail incorrectly when an earlier certificate was
3426 imported to the same gnutls_x509_crt_t structure.
3427
3428 ** minitasn1: Internal copy updated to libtasn1 v2.3.
3429
3430 ** libgnutls: Fix return value of gnutls_certificate_client_get_request_status.
3431 Before it always returned false.  Reported by Peter Hendrickson
3432 <pdh@wiredyne.com> in
3433 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3668>.
3434
3435 ** libgnutls: Fix off-by-one size computation error in unknown DN printing.
3436 The error resulted in truncated strings when printing unknown OIDs in
3437 X.509 certificate DNs.  Reported by Tim Kosse
3438 <tim.kosse@filezilla-project.org> in
3439 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3651>.
3440
3441 ** libgnutls: Fix PKCS#12 decryption from password.
3442 The encryption key derived from the password was incorrect for (on
3443 average) 1 in every 128 input for random inputs.  Reported by "Kukosa,
3444 Tomas" <tomas.kukosa@siemens-enterprise.com> in
3445 <http://permalink.gmane.org/gmane.network.gnutls.general/1663>.
3446
3447 ** libgnutls: Return correct bit lengths of some MPIs.
3448 gnutls_dh_get_prime_bits, gnutls_rsa_export_get_modulus_bits, and
3449 gnutls_dh_get_peers_public_bits.  Before the reported value was
3450 overestimated.  Reported by Peter Hendrickson <pdh@wiredyne.com> in
3451 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3607>.
3452
3453 ** libgnutls: Avoid internal error when invoked after GNUTLS_E_AGAIN.
3454 Report and patch by Tim Kosse <tim.kosse@filezilla-project.org> in
3455 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3671>
3456 and
3457 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3670>.
3458
3459 ** libgnutls: Relax checking of required libtasn1/libgcrypt versions.
3460 Before we required that the runtime library used the same (or more
3461 recent) libgcrypt/libtasn1 as it was compiled with.  Now we just check
3462 that the runtime usage is above the minimum required.  Reported by
3463 Marco d'Itri <md@linux.it> via Andreas Metzler
3464 <ametzler@downhill.at.eu.org> in <http://bugs.debian.org/540449>.
3465
3466 ** tests: Added new self-test pkcs12_s2k_pem to detect MPI bit length error.
3467
3468 ** tests: Improved test vectors in self-test pkcs12_s2k.
3469
3470 ** tests: Added new self-test dn2 to detect off-by-one size error.
3471
3472 ** tests: Fix failure in "chainverify" because a certificate have expired.
3473
3474 ** API and ABI modifications:
3475 No changes since last version.
3476
3477 * Version 2.9.1 (released 2009-06-08)
3478
3479 ** libgnutls: Fix crash in gnutls_global_init after earlier init/deinit cycle.
3480 Forwarded by Martin von Gagern <Martin.vGagern@gmx.net> from
3481 <http://bugs.gentoo.org/272388>.
3482
3483 ** tests: Added new self-tests init_roundtrip.c to detect previous problem.
3484
3485 ** Reduce stack usage for some CRQ functions.
3486
3487 ** Doc fixes for CRQ functions.
3488
3489 ** API and ABI modifications:
3490 No changes since last version.
3491
3492 * Version 2.9.0 (released 2009-05-28)
3493
3494 ** Doc fixes.
3495
3496 ** API and ABI modifications:
3497 No changes since last version.
3498
3499 * Version 2.8.6 (released 2010-03-15)
3500
3501 ** libgnutls: For CSRs, don't null pad integers for RSA/DSA value.
3502 VeriSign rejected CSRs with this padding.  Reported by Wilankar Trupti
3503 <trupti.wilankar@hp.com> and Boyan Kasarov <bkasarov@gmail.com>.
3504
3505 Note: As a side effect of this change, the "public key identifier"
3506 value computed for a certificate using this version of GnuTLS will be
3507 different from values computed using earlier versions of GnuTLS.
3508
3509 ** libgnutls: For CSRs on DSA keys, don't add DSA parameters to the
3510 ** optional SignatureAlgorithm parameter field.
3511 VeriSign rejected these CSRs.  They are stricly speaking not needed
3512 since you need the signer's certificate to verify the certificate
3513 signature anyway.  Reported by Wilankar Trupti
3514 <trupti.wilankar@hp.com> and Boyan Kasarov <bkasarov@gmail.com>.
3515
3516 ** libgnutls: When checking openpgp self signature also check the signatures
3517 ** of all subkeys.
3518 Ilari Liusvaara noticed and reported the issue and provided test
3519 vectors as well.
3520
3521 ** libgnutls: Cleanups and several bug fixes.
3522 Found by Steve Grubb and Tomas Mraz.
3523
3524 ** Link libgcrypt explicitly to certtool, gnutls-cli, gnutls-serv.
3525
3526 ** Fix --disable-valgrind-tests.
3527 Reported by Ingmar Vanhassel in
3528 <https://savannah.gnu.org/support/?107029>.
3529
3530 ** examples: Use the new APIs for printing X.509 certificate information.
3531
3532 ** Fix build failures on Solaris.
3533 Thanks to Dagobert Michelsen <dam@opencsw.org>.
3534
3535 ** i18n: Updated Czech, Dutch, French, Polish, Swedish and Vietnamese
3536 ** translations.  Added Simplified Chinese translation.
3537
3538 ** API and ABI modifications:
3539 No changes since last version.
3540
3541 * Version 2.8.5 (released 2009-11-02)
3542
3543 ** libgnutls: In server side when resuming a session do not overwrite the 
3544 ** initial session data with the resumed session data.
3545
3546 ** libgnutls: Fix PKCS#12 encoding.
3547 The error you would get was "The OID is not supported.".  Problem
3548 introduced for the v2.8.x branch in 2.7.6.
3549
3550 ** guile: Compatibility with guile 2.x.
3551 By Ludovic Courtes <ludovic.courtes@laas.fr>.
3552
3553 ** tests: Fix expired cert in chainverify self-test.
3554
3555 ** tests: Fix time bomb in chainverify self-test.
3556 Reported by Andreas Metzler <ametzler@downhill.at.eu.org> in
3557 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3925>.
3558
3559 ** API and ABI modifications:
3560 No changes since last version.
3561
3562 * Version 2.8.4 (released 2009-09-18)
3563
3564 ** libgnutls: Enable Camellia ciphers by default.
3565
3566 ** libgnutls: Make OpenPGP hostname checking work again.
3567 The patch to resolve the X.509 CN/SAN issue accidentally broken
3568 OpenPGP hostname comparison.
3569
3570 ** libgnutls: When printing X.509 certificates, handle XMPP SANs better.
3571 Reported by Howard Chu <hyc@symas.com> in
3572 <https://savannah.gnu.org/support/?106975>.
3573
3574 ** API and ABI modifications:
3575 No changes since last version.
3576
3577 * Version 2.8.3 (released 2009-08-13)
3578
3579 ** libgnutls: Fix patch for NUL in CN/SAN in last release.
3580 Code intended to be removed would lead to an read-out-bound error in
3581 some situations.  Reported by Tomas Hoger <thoger@redhat.com>.  A CVE
3582 code have been allocated for the vulnerability: [CVE-2009-2730].
3583
3584 ** libgnutls: Fix rare failure in gnutls_x509_crt_import.
3585 The function may fail incorrectly when an earlier certificate was
3586 imported to the same gnutls_x509_crt_t structure.
3587
3588 ** libgnutls-extra, libgnutls-openssl: Fix MinGW cross-compiling build error.
3589
3590 ** tests: Made self-test mini-eagain take less time.
3591
3592 ** doc: Typo fixes.
3593
3594 ** API and ABI modifications:
3595 No changes since last version.
3596
3597 * Version 2.8.2 (released 2009-08-10)
3598
3599 ** libgnutls: Fix problem with NUL bytes in X.509 CN and SAN fields.
3600 By using a NUL byte in CN/SAN fields, it was possible to fool GnuTLS
3601 into 1) not printing the entire CN/SAN field value when printing a
3602 certificate and 2) cause incorrect positive matches when matching a
3603 hostname against a certificate.  Some CAs apparently have poor
3604 checking of CN/SAN values and issue these (arguable invalid)
3605 certificates.  Combined, this can be used by attackers to become a
3606 MITM on server-authenticated TLS sessions.  The problem is mitigated
3607 since attackers needs to get one certificate per site they want to
3608 attack, and the attacker reveals his tracks by applying for a
3609 certificate at the CA.  It does not apply to client authenticated TLS
3610 sessions.  Research presented independently by Dan Kaminsky and Moxie
3611 Marlinspike at BlackHat09.  Thanks to Tomas Hoger <thoger@redhat.com>
3612 for providing one part of the patch.  [GNUTLS-SA-2009-4].
3613
3614 ** libgnutls: Fix return value of gnutls_certificate_client_get_request_status.
3615 Before it always returned false.  Reported by Peter Hendrickson
3616 <pdh@wiredyne.com> in
3617 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3668>.
3618
3619 ** libgnutls: Fix off-by-one size computation error in unknown DN printing.
3620 The error resulted in truncated strings when printing unknown OIDs in
3621 X.509 certificate DNs.  Reported by Tim Kosse
3622 <tim.kosse@filezilla-project.org> in
3623 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3651>.
3624
3625 ** libgnutls: Return correct bit lengths of some MPIs.
3626 gnutls_dh_get_prime_bits, gnutls_rsa_export_get_modulus_bits, and
3627 gnutls_dh_get_peers_public_bits.  Before the reported value was
3628 overestimated.  Reported by Peter Hendrickson <pdh@wiredyne.com> in
3629 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3607>.
3630
3631 ** libgnutls: Avoid internal error when invoked after GNUTLS_E_AGAIN.
3632 Report and patch by Tim Kosse <tim.kosse@filezilla-project.org> in
3633 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3671>
3634 and
3635 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3670>.
3636
3637 ** libgnutls: Relax checking of required libtasn1/libgcrypt versions.
3638 Before we required that the runtime library used the same (or more
3639 recent) libgcrypt/libtasn1 as it was compiled with.  Now we just check
3640 that the runtime usage is above the minimum required.  Reported by
3641 Marco d'Itri <md@linux.it> via Andreas Metzler
3642 <ametzler@downhill.at.eu.org> in <http://bugs.debian.org/540449>.
3643
3644 ** minitasn1: Internal copy updated to libtasn1 v2.3.
3645
3646 ** tests: Fix failure in "chainverify" because a certificate have expired.
3647
3648 ** API and ABI modifications:
3649 No changes since last version.
3650
3651 * Version 2.8.1 (released 2009-06-10)
3652
3653 ** libgnutls: Fix crash in gnutls_global_init after earlier init/deinit cycle.
3654 Forwarded by Martin von Gagern <Martin.vGagern@gmx.net> from
3655 <http://bugs.gentoo.org/272388>.
3656
3657 ** libgnutls: Fix PKCS#12 decryption from password.
3658 The encryption key derived from the password was incorrect for (on
3659 average) 1 in every 128 input for random inputs.  Reported by "Kukosa,
3660 Tomas" <tomas.kukosa@siemens-enterprise.com> in
3661 <http://permalink.gmane.org/gmane.network.gnutls.general/1663>.
3662
3663 ** API and ABI modifications:
3664 No changes since last version.
3665
3666 * Version 2.8.0 (released 2009-05-27)
3667
3668 ** doc: Fix gnutls_dh_get_prime_bits.  Fix error codes and algorithm lists.
3669
3670 ** Major changes compared to the v2.4 branch:
3671
3672 *** lib: Linker version scripts reduces number of exported symbols.
3673
3674 *** lib: Limit exported symbols on systems without LD linker scripts.
3675
3676 *** libgnutls: Fix namespace issue with version symbols.
3677
3678 *** libgnutls: Add functions to verify a hash against a certificate.
3679 gnutls_x509_crt_verify_hash: ADDED
3680 gnutls_x509_crt_get_verify_algorithm: ADDED
3681
3682 *** gnutls-serv: Listen on all interfaces, including both IPv4 and IPv6.
3683
3684 *** i18n: The GnuTLS gettext domain is now 'libgnutls' instead of 'gnutls'.
3685
3686 *** certtool: Query for multiple dnsName subjectAltName in interactive mode.
3687
3688 *** gnutls-cli: No longer accepts V1 CAs by default during X.509 chain verify.
3689
3690 *** gnutls-serv: No longer disable MAC padding by default.
3691
3692 *** gnutls-cli: Certificate information output format changed.
3693
3694 *** libgnutls: New priority strings %VERIFY_ALLOW_SIGN_RSA_MD5
3695 *** and %VERIFY_ALLOW_X509_V1_CA_CRT.
3696
3697 *** libgnutls: gnutls_x509_crt_print prints signature algorithm in oneline mode.
3698
3699 *** libgnutls: gnutls_openpgp_crt_print supports oneline mode.
3700
3701 *** libgnutls: gnutls_handshake when sending client hello during a
3702 rehandshake, will not offer a version number larger than the current.
3703
3704 *** libgnutls: New interface to get key id for certificate requests.
3705 gnutls_x509_crq_get_key_id: ADDED.
3706
3707 *** libgnutls: gnutls_x509_crq_print will now also print public key id.
3708
3709 *** certtool: --verify-chain now prints results of using library verification.
3710
3711 *** libgnutls: Libgcrypt initialization changed.
3712
3713 *** libgnutls: Small byte reads via gnutls_record_recv() optimized.
3714
3715 *** gnutls-cli: Return non-zero exit code on error conditions.
3716
3717 *** gnutls-cli: Corrected bug which caused a rehandshake request to be ignored.
3718
3719 *** certtool: allow setting arbitrary key purpose object identifiers.
3720
3721 *** libgnutls: Change detection of when to use a linker version script.
3722 Use --enable-ld-version-script or --disable-ld-version-script to
3723 override auto-detection logic.
3724
3725 *** Fix warnings and build GnuTLS with more warnings enabled.
3726
3727 *** New API to set X.509 credentials from PKCS#12 memory structure.
3728 gnutls_certificate_set_x509_simple_pkcs12_mem: ADDED
3729
3730 *** Old libgnutls.m4 and libgnutls-config scripts removed.
3731 Please use pkg-config instead.
3732
3733 *** libgnutls: Added functions to handle CRL extensions.
3734 gnutls_x509_crl_get_authority_key_id: ADDED
3735 gnutls_x509_crl_get_number: ADDED
3736 gnutls_x509_crl_get_extension_oid: ADDED
3737 gnutls_x509_crl_get_extension_info: ADDED
3738 gnutls_x509_crl_get_extension_data: ADDED
3739 gnutls_x509_crl_set_authority_key_id: ADDED
3740 gnutls_x509_crl_set_number: ADDED
3741
3742 *** libgnutls: Added functions to handle X.509 extensions in Certificate
3743 Requests.
3744 gnutls_x509_crq_get_key_rsa_raw: ADDED
3745 gnutls_x509_crq_get_attribute_info: ADDED
3746 gnutls_x509_crq_get_attribute_data: ADDED
3747 gnutls_x509_crq_get_extension_info: ADDED
3748 gnutls_x509_crq_get_extension_data: ADDED
3749 gnutls_x509_crq_get_key_usage: ADDED
3750 gnutls_x509_crq_get_basic_constraints: ADDED
3751 gnutls_x509_crq_get_subject_alt_name: ADDED
3752 gnutls_x509_crq_get_subject_alt_othername_oid: ADDED
3753 gnutls_x509_crq_get_extension_by_oid: ADDED
3754 gnutls_x509_crq_set_subject_alt_name: ADDED
3755 gnutls_x509_crq_set_basic_constraints: ADDED
3756 gnutls_x509_crq_set_key_usage: ADDED
3757 gnutls_x509_crq_get_key_purpose_oid: ADDED
3758 gnutls_x509_crq_set_key_purpose_oid: ADDED
3759 gnutls_x509_crq_print: ADDED
3760 gnutls_x509_crt_set_crq_extensions: ADDED
3761
3762 *** certtool: Print and set CRL and CRQ extensions.
3763
3764 *** minitasn1: Internal copy updated to libtasn1 v2.1.
3765
3766 *** examples: Now released into the public domain.
3767
3768 *** The Texinfo and GTK-DOC manuals were improved.
3769
3770 *** Several self-tests were added and others improved.
3771
3772 *** API/ABI changes in GnuTLS 2.8 compared to GnuTLS 2.6.x
3773 No offically supported interfaces have been modified or removed.  The
3774 library should be completely backwards compatible on both the source
3775 and binary level.
3776
3777 The shared library no longer exports some symbols that have never been
3778 officially supported, i.e., not mentioned in any of the header files.
3779 The symbols are:
3780
3781   _gnutls*
3782   gnutls_asn1_tab
3783   
3784 Normally when symbols are removed, the shared library version has to
3785 be incremented.  This leads to a significant cost for everyone using
3786 the library.  Because none of the above symbols have ever been
3787 intended for use by well-behaved applications, we decided that the it
3788 would be better for those applications to pay the price rather than
3789 incurring problems on the majority of applications.
3790
3791 If it turns out that applications have been using unofficial
3792 interfaces, we will need to release a follow-on release on the v2.8
3793 branch to exports additional interfaces.  However, initial testing
3794 suggests that few if any applications have been using any of the
3795 internal symbols.
3796
3797 Although not a new change compared to 2.6.x, we'd like to remind you
3798 interfaces have been modified so that X.509 chain verification now
3799 also checks activation/expiration times on certificates.  The affected
3800 functions are:
3801
3802 gnutls_x509_crt_list_verify: CHANGED, checks activation/expiration times.
3803 gnutls_certificate_verify_peers: Likewise.
3804 gnutls_certificate_verify_peers2: Likewise.
3805 GNUTLS_CERT_NOT_ACTIVATED: ADDED.
3806 GNUTLS_CERT_EXPIRED: ADDED.
3807 GNUTLS_VERIFY_DISABLE_TIME_CHECKS: ADDED.
3808
3809 This change in behaviour was made during the GnuTLS 2.6.x cycle, and
3810 we gave our rationale for it in earlier release notes.
3811
3812 The following symbols have been added to the library:
3813
3814 gnutls_certificate_set_x509_simple_pkcs12_mem: ADDED
3815 gnutls_x509_crl_get_authority_key_id: ADDED
3816 gnutls_x509_crl_get_extension_data: ADDED
3817 gnutls_x509_crl_get_extension_info: ADDED
3818 gnutls_x509_crl_get_extension_oid: ADDED
3819 gnutls_x509_crl_get_number: ADDED
3820 gnutls_x509_crl_set_authority_key_id: ADDED
3821 gnutls_x509_crl_set_number: ADDED
3822 gnutls_x509_crq_get_attribute_data: ADDED
3823 gnutls_x509_crq_get_attribute_info: ADDED
3824 gnutls_x509_crq_get_basic_constraints: ADDED
3825 gnutls_x509_crq_get_extension_by_oid: ADDED
3826 gnutls_x509_crq_get_extension_data: ADDED
3827 gnutls_x509_crq_get_extension_info: ADDED
3828 gnutls_x509_crq_get_key_id: ADDED.
3829 gnutls_x509_crq_get_key_purpose_oid: ADDED
3830 gnutls_x509_crq_get_key_rsa_raw: ADDED
3831 gnutls_x509_crq_get_key_usage: ADDED
3832 gnutls_x509_crq_get_subject_alt_name: ADDED
3833 gnutls_x509_crq_get_subject_alt_othername_oid: ADDED
3834 gnutls_x509_crq_print: ADDED
3835 gnutls_x509_crq_set_basic_constraints: ADDED
3836 gnutls_x509_crq_set_key_purpose_oid: ADDED
3837 gnutls_x509_crq_set_key_usage: ADDED
3838 gnutls_x509_crq_set_subject_alt_name: ADDED
3839 gnutls_x509_crt_get_verify_algorithm: ADDED
3840 gnutls_x509_crt_set_crq_extensions: ADDED
3841 gnutls_x509_crt_verify_hash: ADDED
3842
3843 The following interfaces have been added to the header files:
3844
3845 GNUTLS_VERSION: ADDED, replaces LIBGNUTLS_VERSION.
3846 GNUTLS_VERSION_MAJOR: ADDED, replaces LIBGNUTLS_VERSION_MAJOR.
3847 GNUTLS_VERSION_MINOR: ADDED, replaces LIBGNUTLS_VERSION_MINOR.
3848 GNUTLS_VERSION_PATCH: ADDED, replaces LIBGNUTLS_VERSION_PATCH.
3849 GNUTLS_VERSION_NUMBER: ADDED, replaces LIBGNUTLS_VERSION_NUMBER.
3850 GNUTLS_EXTRA_VERSION: ADDED, replaces LIBGNUTLS_EXTRA_VERSION.
3851
3852 The following interfaces have been deprecated:
3853
3854 LIBGNUTLS_VERSION: DEPRECATED.
3855 LIBGNUTLS_VERSION_MAJOR: DEPRECATED.
3856 LIBGNUTLS_VERSION_MINOR: DEPRECATED.
3857 LIBGNUTLS_VERSION_PATCH: DEPRECATED.
3858 LIBGNUTLS_VERSION_NUMBER: DEPRECATED.
3859 LIBGNUTLS_EXTRA_VERSION: DEPRECATED.
3860
3861 * Version 2.7.14 (released 2009-05-26)
3862
3863 ** libgnutls: Fix namespace issue with version symbol for libgnutls-extra.
3864 The symbol LIBGNUTLS_EXTRA_VERSION were renamed to
3865 GNUTLS_EXTRA_VERSION.  The old symbol will continue to work but is
3866 deprecated.
3867
3868 ** Doc: Several typo fixes in documentation.
3869 Reported by Peter Hendrickson <pdh@wiredyne.com>.
3870
3871 ** API and ABI modifications:
3872 GNUTLS_VERSION: ADDED, replaces LIBGNUTLS_EXTRA_VERSION.
3873 LIBGNUTLS_EXTRA_VERSION: DEPRECATED.
3874
3875 * Version 2.7.13 (released 2009-05-25)
3876
3877 ** libgnutls: Fix version of some exported symbols in the shared library.
3878 Reported by Andreas Metzler <ametzler@downhill.at.eu.org> in
3879 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3576>.
3880
3881 ** tests: Handle recently expired certificates in chainverify self-test.
3882 Reported by Andreas Metzler <ametzler@downhill.at.eu.org> in
3883 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3580>.
3884
3885 ** API and ABI modifications:
3886 No changes since last version.
3887
3888 * Version 2.7.12 (released 2009-05-20)
3889
3890 ** gnutls-serv, gnutls-cli-debug: Make them work on Windows.
3891
3892 ** tests/crq_key_id: Don't read entropy from /dev/random in self-test.
3893 Reported by Andreas Metzler <ametzler@downhill.at.eu.org> in
3894 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3570>.
3895
3896 ** Fix build failures.
3897 Missing sa_family_t and vsnprintf on IRIX.  Reported by "Tom
3898 G. Christensen" <tgc@jupiterrise.com> in
3899 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3571>.
3900
3901 ** minitasn1: Internal copy updated to libtasn1 v2.2.
3902 GnuTLS should work fine with libtasn1 v1.x and that is still
3903 supported.
3904
3905 ** API and ABI modifications:
3906 No changes since last version.
3907
3908 * Version 2.7.11 (released 2009-05-18)
3909
3910 ** minitasn1: Fix build failure when using internal libtasn1.
3911 Reported by "Tom G. Christensen" <tgc@jupiterrise.com> in
3912 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3548>.
3913
3914 ** libgnutls: Fix build failure with --disable-cxx.
3915 Reported by Andreas Metzler <ametzler@downhill.at.eu.org> in
3916 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3557>.
3917
3918 ** gnutls-serv: Fix build failure for unportable NI_MAXHOST/NI_MAXSERV.
3919 Reported by "Tom G. Christensen" <tgc@jupiterrise.com> in
3920 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3560>
3921
3922 ** Building with many warning flags now requires --enable-gcc-warnings.
3923 This avoids crying wolf for normal compiles.
3924
3925 ** API and ABI modifications:
3926 No changes since last version.
3927
3928 * Version 2.7.10 (released 2009-05-13)
3929
3930 ** examples: Now released into the public domain.
3931 This makes the license of the example code compatible with more
3932 licenses, including the (L)GPL.
3933
3934 ** minitasn1: Internal copy updated to libtasn1 v2.1.
3935 GnuTLS should work fine with libtasn1 v1.x and that is still
3936 supported.
3937
3938 ** libgnutls: Fix crash in signature verification
3939 The fix for the CVE-2009-1415 problem wasn't merged completely.
3940
3941 ** doc: Fixes for GTK-DOC output.
3942
3943 ** API and ABI modifications:
3944 No changes since last version.
3945
3946 * Version 2.7.9 (released 2009-05-11)
3947
3948 ** doc: Fix strings in man page of gnutls_priority_init.
3949
3950 ** doc: Fix tables of error codes and supported algorithms.
3951
3952 ** Fix build failure when cross-compiled using MinGW.
3953
3954 ** Fix build failure when LZO is enabled.
3955 Reported by Arfrever Frehtes Taifersar Arahesis
3956 <arfrever.fta@gmail.com> in
3957 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3522>.
3958
3959 ** Fix build failure on systems without AF_INET6, e.g., Solaris 2.6.
3960 Reported by "Tom G. Christensen" <tgc@jupiterrise.com> in
3961 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3524>.
3962
3963 ** Fix warnings in self-tests.
3964
3965 ** API and ABI modifications:
3966 No changes since last version.
3967
3968 * Version 2.7.8 (released 2009-05-03)
3969
3970 ** libgnutls: Fix DSA key generation.
3971 Merged from stable branch.  [GNUTLS-SA-2009-2] [CVE-2009-1416]
3972
3973 ** libgnutls: Check expiration/activation time on untrusted certificates.
3974 Merged from stable branch.  Reported by Romain Francoise
3975 <romain@orebokech.com>.  This changes the semantics of
3976 gnutls_x509_crt_list_verify, which in turn is used by
3977 gnutls_certificate_verify_peers and gnutls_certificate_verify_peers2.
3978 We add two new gnutls_certificate_status_t codes for reporting the new
3979 error condition, GNUTLS_CERT_NOT_ACTIVATED and GNUTLS_CERT_EXPIRED.
3980 We also add a new gnutls_certificate_verify_flags flag,
3981 GNUTLS_VERIFY_DISABLE_TIME_CHECKS, that can be used to disable the new
3982 behaviour.  [GNUTLS-SA-2009-3] [CVE-2009-1417]
3983
3984 ** lib: Linker version scripts reduces number of exported symbols.
3985 The linker version script now lists all exported ABIs explicitly, to
3986 avoid accidentally exporting unintended functions.  Compared to
3987 before, most symbols beginning with _gnutls* are no longer exported.
3988 These functions have never been intended for use by applications, and
3989 there were no prototypes for these function in the public header
3990 files.  Thus we believe it is possible to do this without incrementing
3991 the library ABI version which normally has to be done when removing an
3992 interface.
3993
3994 ** lib: Limit exported symbols on systems without LD linker scripts.
3995 Before all symbols were exported.  Now we limit the exported symbols
3996 to (for libgnutls and libgnutls-extra) gnutls* and (for libgnutls)
3997 _gnutls*.  This is a superset of the actual supported ABI, but still
3998 an improvement compared to before.  This is implemented using Libtool
3999 -export-symbols-regex.  It is more portable than linker version
4000 scripts.
4001
4002 ** libgnutls: Incremented CURRENT/AGE libtool version to reflect new symbols.
4003 This should have been done in the last release.
4004
4005 ** gnutls-serv: Listen on all interfaces, including both IPv4 and IPv6.
4006 Reported by Peter Hendrickson <pdh@wiredyne.com> in
4007 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3476>.
4008
4009 ** doc: Improved sections for the info manual.
4010 We now follow the advice given by the texinfo manual on which
4011 directory categories to use.  In particular, libgnutls moved from the
4012 'GNU Libraries' section to the 'Software libraries' and the command
4013 line tools moved from 'Network Applications' to 'System
4014 Administration'.
4015
4016 ** API and ABI modifications:
4017 gnutls_x509_crt_list_verify: CHANGED, checks activation/expiration times.
4018 gnutls_certificate_verify_peers: Likewise.
4019 gnutls_certificate_verify_peers2: Likewise.
4020 GNUTLS_CERT_NOT_ACTIVATED: ADDED.
4021 GNUTLS_CERT_EXPIRED: ADDED.
4022 GNUTLS_VERIFY_DISABLE_TIME_CHECKS: ADDED.
4023
4024 * Version 2.7.7 (released 2009-04-20)
4025
4026 ** libgnutls: Applied patch by Cedric Bail to add functions
4027 gnutls_x509_crt_verify_hash() and gnutls_x509_crt_get_verify_algorithm().
4028
4029 ** gnutls.pc: Add -ltasn1 to 'pkg-config --libs --static gnutls' output.
4030 Reported by Andreas Metzler <ametzler@downhill.at.eu.org> in
4031 <http://article.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3467>.
4032
4033 ** minitasn1: Internal copy updated to libtasn1 v1.8.
4034 GnuTLS is also internally ready to be used with libtasn1 v2.0.
4035
4036 ** doc: Fix build failure of errcodes/printlist.
4037 Reported by Roman Bogorodskiy <novel@FreeBSD.org> in
4038 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3435>.
4039
4040 ** i18n: The GnuTLS gettext domain is now 'libgnutls' instead of 'gnutls'.
4041 It is currently only used by the core library.  This will enable a new
4042 domain 'gnutls' for translations of the command line tools.
4043
4044 ** Corrected possible memory corruption on signature verification failure. 
4045 Reported by Miroslav Kratochvil <exa.exa@gmail.com>
4046
4047 ** API and ABI modifications:
4048 gnutls_x509_crt_verify_hash: ADDED
4049 gnutls_x509_crt_get_verify_algorithm: ADDED
4050
4051 * Version 2.7.6 (released 2009-02-27)
4052
4053 ** certtool: Query for multiple dnsName subjectAltName in interactive mode.
4054 This applies both to generating certificates and certificate requests.
4055
4056 ** pkix.asn: Removed unneeded definitions to reduce memory usage.
4057
4058 ** gnutls-cli: No longer accepts V1 CAs by default during X.509 chain verify.
4059 Use --priority NORMAL:%VERIFY_ALLOW_X509_V1_CA_CRT to permit V1 CAs to
4060 be used for chain verification.
4061
4062 ** gnutls-serv: No longer disable MAC padding by default.
4063 Use --priority NORMAL:%COMPAT to disable MAC padding again.
4064
4065 ** gnutls-cli: Certificate information output format changed.
4066 The tool now uses libgnutls' functions to print certificate
4067 information.  This avoids code duplication.
4068
4069 ** libgnutls: New priority strings %VERIFY_ALLOW_SIGN_RSA_MD5
4070 ** and %VERIFY_ALLOW_X509_V1_CA_CRT.
4071 They can be used to override the default certificate chain validation
4072 behaviour.
4073
4074 ** libgnutls: Added %SSL3_RECORD_VERSION priority string that allows to 
4075 specify the client hello message record version. Used to overcome buggy 
4076 TLS servers. Report by Martin von Gagern.
4077
4078 ** libgnutls: gnutls_x509_crt_print prints signature algorithm in oneline mode.
4079
4080 ** libgnutls: gnutls_openpgp_crt_print supports oneline mode.
4081
4082 ** doc: Update gnutls-cli and gnutls-serv --help output descriptions.
4083
4084 ** API and ABI modifications:
4085 No changes since last version.
4086
4087 * Version 2.7.5 (released 2009-02-06)
4088
4089 ** libgnutls: Accept chains where intermediary certs are trusted.
4090 Before GnuTLS needed to validate the entire chain back to a
4091 self-signed certificate.  GnuTLS will now stop looking when it has
4092 found an intermediary trusted certificate.  The new behaviour is
4093 useful when chains, for example, contains a top-level CA, an
4094 intermediary CA signed using RSA-MD5, and an end-entity certificate.
4095 To avoid chain validation errors due to the RSA-MD5 cert, you can
4096 explicitly add the intermediary RSA-MD5 cert to your trusted certs.
4097 The signature on trusted certificates are not checked, so the chain
4098 has a chance to validate correctly.  Reported by "Douglas E. Engert"
4099 <deengert@anl.gov> in
4100 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3351>.
4101
4102 ** libgnutls: result_size in gnutls_hex_encode now holds
4103 the size of the result. Report by John Brooks <special@dereferenced.net>.
4104
4105 ** libgnutls: gnutls_handshake when sending client hello during a
4106 rehandshake, will not offer a version number larger than the current.
4107 Reported by Tristan Hill <stan@saticed.me.uk>.
4108
4109 ** libgnutls: Permit V1 Certificate Authorities properly.
4110 Before they were mistakenly rejected even though
4111 GNUTLS_VERIFY_ALLOW_ANY_X509_V1_CA_CRT and/or
4112 GNUTLS_VERIFY_ALLOW_X509_V1_CA_CRT were supplied.  Reported by
4113 "Douglas E. Engert" <deengert@anl.gov> in
4114 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3351>.
4115
4116 ** API and ABI modifications:
4117 No changes since last version.
4118
4119 * Version 2.7.4 (released 2009-01-07)
4120
4121 ** libgnutls: deprecate X.509 validation chains using MD5 and MD2 signatures.
4122 This is a bugfix -- the previous attempt to do this from internal x509
4123 certificate verification procedures did not return the correct value
4124 for certificates using a weak hash.  Reported by Daniel Kahn Gillmor
4125 <dkg@fifthhorseman.net> in
4126 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3332>,
4127 debugged and patch by Tomas Mraz <tmraz@redhat.com> and Daniel Kahn
4128 Gillmor <dkg@fifthhorseman.net>.
4129
4130 ** libgnutls: New interface to get key id for certificate requests.
4131 Patch from David Marín Carreño <davefx@gmail.com> in
4132 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3321>.
4133
4134 ** libgnutls: gnutls_x509_crq_print will now also print public key id.
4135
4136 ** certtool: --verify-chain now prints results of using library verification.
4137 Earlier, certtool --verify-chain used its own validation algorithm
4138 which wasn't guaranteed to give the same result as the libgnutls
4139 internal validation algorithm.  Now this command print a new final
4140 line with header 'Chain verification output:' that contains the result
4141 from using the internal verification algorithm on the same chain.
4142
4143 ** tests: Add crq_key_id self-test of gnutls_x509_crq_get_key_id.
4144
4145 ** API and ABI modifications:
4146 gnutls_x509_crq_get_key_id: ADDED.
4147
4148 * Version 2.7.3 (released 2008-12-10)
4149
4150 ** libgnutls: Fix chain verification for chains that ends with RSA-MD2 CAs.
4151 Reported by Michael Kiefer <Michael-Kiefer@web.de> in
4152 <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=507633> forwarded by
4153 Andreas Metzler <ametzler@downhill.at.eu.org> in
4154 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3309>.
4155
4156 ** libgnutls: Libgcrypt initialization changed.
4157 If libgcrypt has not already been initialized, GnuTLS will now
4158 initialize libgcrypt with disabled secure memory.  Initialize
4159 libgcrypt explicitly in your application if you want to enable secure
4160 memory.  Before GnuTLS initialized libgcrypt to use GnuTLS's memory
4161 allocation functions, which doesn't use secure memory, so there is no
4162 real change in behaviour.
4163
4164 ** libgnutls: Fix memory leak in PSK authentication.
4165 Reported by Michael Weiser <michael@weiser.dinsnail.net> in
4166 <http://permalink.gmane.org/gmane.network.gnutls.general/1465>.
4167
4168 ** libgnutls: Small byte reads via gnutls_record_recv() optimized.
4169
4170 ** certtool: Move gcry_control(GCRYCTL_ENABLE_QUICK_RANDOM, 0) call earlier.
4171 It needs to be invoked before libgcrypt is initialized.
4172
4173 ** gnutls-cli: Return non-zero exit code on error conditions.
4174
4175 ** gnutls-cli: Corrected bug which caused a rehandshake request to be ignored.
4176
4177 ** tests: Added chainverify self-test that tests X.509 chain verifications.
4178
4179 ** API and ABI modifications:
4180 No changes since last version.
4181
4182 * Version 2.7.2 (released 2008-11-18)
4183
4184 ** libgnutls: Fix X.509 certificate chain validation error. [GNUTLS-SA-2008-3]
4185 The flaw makes it possible for man in the middle attackers (i.e.,
4186 active attackers) to assume any name and trick GnuTLS clients into
4187 trusting that name.  Thanks for report and analysis from Martin von
4188 Gagern <Martin.vGagern@gmx.net>.  [CVE-2008-4989]
4189
4190 Any updates with more details about this vulnerability will be added
4191 to <http://www.gnu.org/software/gnutls/security.html>
4192
4193 ** libgnutls: Fix namespace issue with version symbols.
4194 The symbols LIBGNUTLS_VERSION, LIBGNUTLS_VERSION_MAJOR,
4195 LIBGNUTLS_VERSION_MINOR, LIBGNUTLS_VERSION_PATCH, and
4196 LIBGNUTLS_VERSION_NUMBER were renamed to GNUTLS_VERSION_NUMBER,
4197 GNUTLS_VERSION_MAJOR, GNUTLS_VERSION_MINOR, GNUTLS_VERSION_PATCH, and
4198 GNUTLS_VERSION_NUMBER respectively.  The old symbols will continue to
4199 work but are deprecated.
4200
4201 ** certtool: allow setting arbitrary key purpose object identifiers.
4202
4203 ** libgnutls: Fix detection of C99 macros, to make debug logging work again.
4204
4205 ** libgnutls: Add missing prototype for gnutls_srp_set_prime_bits.
4206 Reported by Kevin Quick <quick@sparq.org> in
4207 <https://savannah.gnu.org/support/index.php?106454>.
4208
4209 ** libgnutls-extra: Make building with LZO compression work again.
4210 Build failure reported by Arfrever Frehtes Taifersar Arahesis
4211 <arfrever.fta@gmail.com> in
4212 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3194>.
4213
4214 ** libgnutls: Change detection of when to use a linker version script.
4215 Use --enable-ld-version-script or --disable-ld-version-script to
4216 override auto-detection logic.
4217
4218 ** doc: Change license on the manual to GFDLv1.3+.
4219
4220 ** doc: GTK-DOC fixes for new splitted configuration system.
4221
4222 ** doc: Texinfo stylesheet uses white background.
4223
4224 ** tests: Add cve-2008-4989.c self-test.
4225 Tests regressions of the GNUTLS-SA-2008-3 security problem, and the
4226 follow-on problem with crashes on length 1 certificate chains.
4227
4228 ** gnulib: Deprecated modules removed.
4229 Modules include memchr and memcmp.
4230
4231 ** Fix warnings and build GnuTLS with more warnings enabled.
4232
4233 ** minitasn1: Internal copy updated to libtasn1 v1.7.
4234
4235 ** API and ABI modifications:
4236 gnutls_certificate_set_x509_simple_pkcs12_mem: ADDED
4237 GNUTLS_VERSION: ADDED, replaces LIBGNUTLS_VERSION.
4238 GNUTLS_VERSION_MAJOR: ADDED, replaces LIBGNUTLS_VERSION_MAJOR.
4239 GNUTLS_VERSION_MINOR: ADDED, replaces LIBGNUTLS_VERSION_MINOR.
4240 GNUTLS_VERSION_PATCH: ADDED, replaces LIBGNUTLS_VERSION_PATCH.
4241 GNUTLS_VERSION_NUMBER: ADDED, replaces LIBGNUTLS_VERSION_NUMBER.
4242 LIBGNUTLS_VERSION: DEPRECATED.
4243 LIBGNUTLS_VERSION_MAJOR: DEPRECATED.
4244 LIBGNUTLS_VERSION_MINOR: DEPRECATED.
4245 LIBGNUTLS_VERSION_PATCH: DEPRECATED.
4246 LIBGNUTLS_VERSION_NUMBER: DEPRECATED.
4247
4248 * Version 2.7.1 (released 2008-10-31)
4249
4250 ** certtool: print a PKCS #8 key even if it is not encrypted.
4251
4252 ** Old libgnutls.m4 and libgnutls-config scripts removed.
4253 Please use pkg-config instead.
4254
4255 ** Configuration system modified.
4256 There is now a configure script in lib/ and libextra/ as well, because
4257 gnulib works better with a config.h per gnulib directory.
4258
4259 ** API and ABI modifications:
4260 No changes since last version.
4261
4262 * Version 2.7.0 (released 2008-10-16)
4263
4264 ** libgnutls: Added functions to handle CRL extensions.
4265
4266 ** libgnutls: Added functions to handle X.509 extensions in Certificate
4267 Requests.
4268
4269 ** libgnutls: Improved error string for GNUTLS_E_AGAIN.
4270 Suggested by "Lavrentiev, Anton (NIH/NLM/NCBI) [C]" <lavr@ncbi.nlm.nih.gov>.
4271
4272 ** certtool: Print and set CRL and CRQ extensions.
4273
4274 ** libgnutls-extra: Protect internal symbols with static.
4275 Fixes problem when linking certtool statically.  Tiny patch from Aaron
4276 Ucko <ucko@ncbi.nlm.nih.gov>.
4277
4278 ** libgnutls-openssl: fix out of bounds access.
4279 Problem in X509_get_subject_name and X509_get_issuer_name.  Tiny patch
4280 from Thomas Viehmann <tv@beamnet.de>.
4281
4282 ** libgnutlsxx: Define server_session::get_srp_username even if no SRP.
4283
4284 ** tests: Make tests compile when using internal libtasn1.
4285 Patch by ludo@gnu.org (Ludovic Courtès).
4286
4287 ** Changed detection of libtasn1 and libgcrypt to avoid depending on *-config.
4288 We now require a libgcrypt that has Camellia constants declared in
4289 gcrypt.h, which means v1.3.0 or later.
4290
4291 ** API and ABI modifications:
4292 gnutls_x509_crl_get_authority_key_id: ADDED
4293 gnutls_x509_crl_get_number: ADDED
4294 gnutls_x509_crl_get_extension_oid: ADDED
4295 gnutls_x509_crl_get_extension_info: ADDED
4296 gnutls_x509_crl_get_extension_data: ADDED
4297 gnutls_x509_crl_set_authority_key_id: ADDED
4298 gnutls_x509_crl_set_number: ADDED
4299 gnutls_x509_crq_get_key_rsa_raw: ADDED
4300 gnutls_x509_crq_get_attribute_info: ADDED
4301 gnutls_x509_crq_get_attribute_data: ADDED
4302 gnutls_x509_crq_get_extension_info: ADDED
4303 gnutls_x509_crq_get_extension_data: ADDED
4304 gnutls_x509_crq_get_key_usage: ADDED
4305 gnutls_x509_crq_get_basic_constraints: ADDED
4306 gnutls_x509_crq_get_subject_alt_name: ADDED
4307 gnutls_x509_crq_get_subject_alt_othername_oid: ADDED
4308 gnutls_x509_crq_get_extension_by_oid: ADDED
4309 gnutls_x509_crq_set_subject_alt_name: ADDED
4310 gnutls_x509_crq_set_basic_constraints: ADDED
4311 gnutls_x509_crq_set_key_usage: ADDED
4312 gnutls_x509_crq_get_key_purpose_oid: ADDED
4313 gnutls_x509_crq_set_key_purpose_oid: ADDED
4314 gnutls_x509_crq_print: ADDED
4315 gnutls_x509_crt_set_crq_extensions: ADDED
4316
4317 * Version 2.6.6 (released 2009-04-30)
4318
4319 ** libgnutls: Corrected double free on signature verification failure.
4320 Reported by Miroslav Kratochvil <exa.exa@gmail.com>.  See the advisory
4321 for more details.  [GNUTLS-SA-2009-1] [CVE-2009-1415]
4322
4323 ** libgnutls: Fix DSA key generation.
4324 Noticed when investigating the previous GNUTLS-SA-2009-1 problem.  All
4325 DSA keys generated using GnuTLS 2.6.x are corrupt.  See the advisory
4326 for more details.  [GNUTLS-SA-2009-2] [CVE-2009-1416]
4327
4328 ** libgnutls: Check expiration/activation time on untrusted certificates.
4329 Reported by Romain Francoise <romain@orebokech.com>.  Before the
4330 library did not check activation/expiration times on certificates, and
4331 was documented as not doing so.  We have realized that many
4332 applications that use libgnutls, including gnutls-cli, fail to perform
4333 proper checks.  Implementing similar logic in all applications leads
4334 to code duplication.  Hence, we decided to check whether the current
4335 time (as reported by the time function) is within the
4336 activation/expiration period of certificates when verifying untrusted
4337 certificates.
4338
4339 This changes the semantics of gnutls_x509_crt_list_verify, which in
4340 turn is used by gnutls_certificate_verify_peers and
4341 gnutls_certificate_verify_peers2.  We add two new
4342 gnutls_certificate_status_t codes for reporting the new error
4343 condition, GNUTLS_CERT_NOT_ACTIVATED and GNUTLS_CERT_EXPIRED.  We also
4344 add a new gnutls_certificate_verify_flags flag,
4345 GNUTLS_VERIFY_DISABLE_TIME_CHECKS, that can be used to disable the new
4346 behaviour.
4347
4348 More details about the vulnerabilities will be posted at
4349 <http://www.gnu.org/software/gnutls/security.html>.
4350
4351 ** gnutls-cli, gnutls-cli-debug: Fix AIX build problem.
4352 Reported by LAUPRETRE François (P) <francois.laupretre@ratp.fr> in
4353 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3468>.
4354
4355 ** tests: Fix linking of tests/openpgp/keyring self-test.
4356 Reported by Daniel Black in <https://savannah.gnu.org/support/?106543>.
4357
4358 ** API and ABI modifications:
4359 gnutls_x509_crt_list_verify: CHANGED, checks activation/expiration times.
4360 gnutls_certificate_verify_peers: Likewise.
4361 gnutls_certificate_verify_peers2: Likewise.
4362 GNUTLS_CERT_NOT_ACTIVATED: ADDED.
4363 GNUTLS_CERT_EXPIRED: ADDED.
4364 GNUTLS_VERIFY_DISABLE_TIME_CHECKS: ADDED.
4365
4366 * Version 2.6.5 (released 2009-04-11)
4367
4368 ** libgnutls: Added %SSL3_RECORD_VERSION priority string that allows to
4369 specify the client hello message record version. Used to overcome buggy
4370 TLS servers. Report by Martin von Gagern.
4371
4372 ** GnuTLS no longer uses the libtasn1-config script to find libtasn1.
4373 Libtasn1 0.3.4 or later is required.  This is to align with the
4374 upcoming libtasn1 v2.0 release that doesn't have a libtasn1-script.
4375
4376 ** API and ABI modifications:
4377 No changes since last version.
4378
4379 * Version 2.6.4 (released 2009-02-06)
4380
4381 ** libgnutls: Accept chains where intermediary certs are trusted.
4382 Before GnuTLS needed to validate the entire chain back to a
4383 self-signed certificate.  GnuTLS will now stop looking when it has
4384 found an intermediary trusted certificate.  The new behaviour is
4385 useful when chains, for example, contains a top-level CA, an
4386 intermediary CA signed using RSA-MD5, and an end-entity certificate.
4387 To avoid chain validation errors due to the RSA-MD5 cert, you can
4388 explicitly add the intermediary RSA-MD5 cert to your trusted certs.
4389 The signature on trusted certificates are not checked, so the chain
4390 has a chance to validate correctly.  Reported by "Douglas E. Engert"
4391 <deengert@anl.gov> in
4392 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3351>.
4393
4394 ** libgnutls: result_size in gnutls_hex_encode now holds
4395 the size of the result. Report by John Brooks <special@dereferenced.net>.
4396
4397 ** libgnutls: gnutls_handshake when sending client hello during a
4398 rehandshake, will not offer a version number larger than the current.
4399 Reported by Tristan Hill <stan@saticed.me.uk>.
4400
4401 ** libgnutls: Permit V1 Certificate Authorities properly.
4402 Before they were mistakenly rejected even though
4403 GNUTLS_VERIFY_ALLOW_ANY_X509_V1_CA_CRT and/or
4404 GNUTLS_VERIFY_ALLOW_X509_V1_CA_CRT were supplied.  Reported by
4405 "Douglas E. Engert" <deengert@anl.gov> in
4406 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3351>.
4407
4408 ** libgnutls: deprecate X.509 validation chains using MD5 and MD2 signatures.
4409 This is a bugfix -- the previous attempt to do this from internal x509
4410 certificate verification procedures did not return the correct value
4411 for certificates using a weak hash.  Reported by Daniel Kahn Gillmor
4412 <dkg@fifthhorseman.net> in
4413 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3332>,
4414 debugged and patch by Tomas Mraz <tmraz@redhat.com> and Daniel Kahn
4415 Gillmor <dkg@fifthhorseman.net>.
4416
4417 ** libgnutls: Fix compile error with Sun CC.
4418 Reported by Jeff Cai <jeff.cai@sun.com> in
4419 <https://savannah.gnu.org/support/?106549>.
4420
4421 ** API and ABI modifications:
4422 No changes since last version.
4423
4424 * Version 2.6.3 (released 2008-12-12)
4425
4426 ** libgnutls: Fix chain verification for chains that ends with RSA-MD2 CAs.
4427 Reported by Michael Kiefer <Michael-Kiefer@web.de> in
4428 <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=507633> forwarded by
4429 Andreas Metzler <ametzler@downhill.at.eu.org> in
4430 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3309>.
4431
4432 ** libgnutls: Fix memory leak in PSK authentication.
4433 Reported by Michael Weiser <michael@weiser.dinsnail.net> in
4434 <http://permalink.gmane.org/gmane.network.gnutls.general/1465>.
4435
4436 ** certtool: Move gcry_control(GCRYCTL_ENABLE_QUICK_RANDOM, 0) call earlier.
4437 It needs to be invoked before libgcrypt is initialized.
4438
4439 ** gnutls-cli: Return non-zero exit code on error conditions.
4440
4441 ** gnutls-cli: Corrected bug which caused a rehandshake request to be ignored.
4442
4443 ** API and ABI modifications:
4444 No changes since last version.
4445
4446 * Version 2.6.2 (released 2008-11-12)
4447
4448 ** libgnutls: Fix crash in X.509 validation code for self-signed certificates.
4449 The patch to fix the security problem GNUTLS-SA-2008-3 introduced a
4450 problem for certificate chains that contained just one self-signed
4451 certificate.  Reported by Michael Meskes <meskes@debian.org> in
4452 <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=505279>.
4453
4454 ** API and ABI modifications:
4455 No changes since last version.
4456
4457 * Version 2.6.1 (released 2008-11-10)
4458
4459 ** libgnutls: Fix X.509 certificate chain validation error. [GNUTLS-SA-2008-3]
4460 The flaw makes it possible for man in the middle attackers (i.e.,
4461 active attackers) to assume any name and trick GnuTLS clients into
4462 trusting that name.  Thanks for report and analysis from Martin von
4463 Gagern <Martin.vGagern@gmx.net>.  [CVE-2008-4989]
4464
4465 Any updates with more details about this vulnerability will be added
4466 to <http://www.gnu.org/software/gnutls/security.html>
4467
4468 ** libgnutls: Add missing prototype for gnutls_srp_set_prime_bits.
4469 Reported by Kevin Quick <quick@sparq.org> in
4470 <https://savannah.gnu.org/support/index.php?106454>.
4471
4472 ** libgnutls-extra: Protect internal symbols with static.
4473 Fixes problem when linking certtool statically.  Tiny patch from Aaron
4474 Ucko <ucko@ncbi.nlm.nih.gov>.
4475
4476 ** libgnutls-openssl: Fix patch against X509_get_issuer_name.
4477 It incorrectly returned the subject DN instead of issuer DN in v2.6.0.
4478 Thanks to Thomas Viehmann <tv@beamnet.de> for report.
4479
4480 ** certtool: Print a PKCS #8 key even if it is not encrypted.
4481
4482 ** tests: Make tests compile when using internal libtasn1.
4483 Patch by ludo@gnu.org (Ludovic Courtès).
4484
4485 ** API and ABI modifications:
4486 No changes since last version.
4487
4488 * Version 2.6.0 (released 2008-10-06)
4489
4490 ** libgnutls: Correct printing and parsing of IPv6 addresses.
4491
4492 ** libgnutls-openssl: fix out of bounds access.
4493 Problem in X509_get_subject_name and X509_get_issuer_name.  Tiny patch
4494 from Thomas Viehmann <tv@beamnet.de>.
4495
4496 ** certtool: Use inet_pton for parsing IPv6 addresses.
4497
4498 ** Major changes compared to the v2.4 branch:
4499
4500 *** Added API to replace and update the crypto backend.
4501
4502 *** certtool: can add several subject alternative names via template file.
4503
4504 *** opencdk: Parse (but not decrypt) encrypted secret keys.
4505
4506 *** libgnutls: gnutls_x509_crt_set_subject_alt_name() was added that can
4507 either set or append alternative names. It can also handle binary structures
4508 such as IP addresses.
4509
4510 *** libgnutls: New function to set minimum acceptable SRP bits.
4511 The function is gnutls_srp_set_prime_bits.
4512
4513 *** libgnutls: Add interface to deal with public key and signature algorithms.
4514 The functions are called gnutls_pk_list, gnutls_pk_get_id,
4515 gnutls_sign_list, and gnutls_sign_get_id.
4516
4517 *** libgnutls: New interfaces to get name of public key and signing algorithms.
4518 The functions are gnutls_sign_get_name and gnutls_pk_get_name.
4519
4520 *** libgnutls: New API to get a string corresponding to a error symbol.
4521 The function is gnutls_strerror_name.
4522
4523 *** libgnutls: New API to set the public parameters in a certificate request
4524 *** from a private key.
4525 The function is gnutls_x509_crq_set_key_rsa_raw.
4526
4527 *** libgnutls: New API to set a callback to extract TLS Finished data.
4528 The function to register is gnutls_session_set_finished_function and
4529 it takes a callback of the gnutls_finished_callback_func type.
4530
4531 *** libgnutls: Fix namespace problem with TLS_MASTER_SIZE and TLS_RANDOM_SIZE.
4532
4533 *** libgnutls: New interface to register a new TLS extension handler.
4534 The new function gnutls_ext_register can be used to register handlers
4535 for specific TLS extension types.  The callback functions have the new
4536 types gnutls_ext_recv_func and gnutls_ext_send_func.  A type to
4537 classify TLS extensions, gnutls_ext_parse_type_t, has been added as
4538 well.
4539
4540 *** libgnutls-extra: Add function to work with Libgcrypt in FIPS mode.
4541 The function is gnutls_register_md5_handler.  When libgcrypt is in
4542 FIPS mode, MD5 is disabled, but TLS normally requires use of MD5 in
4543 the PRF.
4544
4545 *** API/ABI changes in GnuTLS 2.6
4546 No functions have been removed or modified.  The library should be
4547 fully backwards compatible on both the source and binary level.
4548
4549 A new header file <gnutls/crypto.h> have been added.  It contains
4550 definitions related to replacing the internal crypto functionality.
4551 All definitions and the header itself is experimental but supported.
4552
4553 We have realized that the symbols TLS_MASTER_SIZE and TLS_RANDOM_SIZE
4554 does not use the normal namespace.  We have added GNUTLS_MASTER_SIZE
4555 and GNUTLS_RANDOM_SIZE, but the old symbols are still defined.
4556
4557 The following functions have been added to libgnutls:
4558
4559 GNUTLS_MASTER_SIZE
4560 GNUTLS_RANDOM_SIZE
4561 gnutls_crypto_bigint_register2
4562 gnutls_crypto_cipher_register2
4563 gnutls_crypto_digest_register2
4564 gnutls_crypto_mac_register2
4565 gnutls_crypto_pk_register2
4566 gnutls_crypto_rnd_register2
4567 gnutls_crypto_single_cipher_register2
4568 gnutls_crypto_single_digest_register2
4569 gnutls_crypto_single_mac_register2
4570 gnutls_ext_register
4571 gnutls_pk_get_id
4572 gnutls_pk_get_name
4573 gnutls_pk_list
4574 gnutls_session_set_finished_function
4575 gnutls_sign_get_id
4576 gnutls_sign_get_name
4577 gnutls_sign_list
4578 gnutls_srp_set_prime_bits:
4579 gnutls_strerror_name
4580 gnutls_x509_crq_set_key_rsa_raw
4581 gnutls_x509_crt_set_crl_dist_points2
4582 gnutls_x509_crt_set_subject_alt_name
4583
4584 The following functions have been added to libgnutls-extra:
4585
4586 gnutls_register_md5_handler
4587
4588 ** API and ABI modifications:
4589 No changes since last version.
4590
4591 * Version 2.5.9 (released 2008-09-29)
4592
4593 ** libgnutls: Fix several memory leaks.
4594 Reported by Sam Varshavchik <mrsam@courier-mta.com>.
4595
4596 ** libgnutls: Fix buffer overrun in gnutls_x509_crt_list_import.
4597 Report and patch by Jonathan Manktelow.
4598
4599 ** libgnutls: crypto.h gnutls_pk_params_st changes allocation strategy.
4600 The parameters are now allocated in the structure itself.
4601
4602 ** doc: Texinfo HTML manual uses a stylesheet to improve readability.
4603
4604 ** tests: Scripts now use EXEEXT properly.
4605 Modern libtool doesn't create wrapper script, so the self tests need
4606 to invoke certtool.exe under MinGW32+Wine.
4607
4608 ** Uses autoconf 2.63, automake 1.10.1, libtool 2.2.6a.
4609 Automake warnings are now also enabled.
4610
4611 ** API and ABI modifications:
4612 gnutls_pk_params_st: MODIFIED
4613
4614 * Version 2.5.8 (released 2008-09-21)
4615
4616 ** certtool: updated so it can add several subject alternative names using
4617 the template file.
4618
4619 ** libgnutls: gnutls_x509_crt_set_subject_alt_name() was added that can
4620 either set or append alternative names. It can also handle binary structures
4621 such as IP addresses.
4622
4623 ** libgnutls: Fix crash in hashing code when using non-libgcrypt handlers.
4624
4625 ** libgnutls: New function to set minimum acceptable SRP bits.
4626 The function is gnutls_srp_set_prime_bits.  Tiny patch by Kevin Quick
4627 <quick@sparq.org> in <https://savannah.gnu.org/support/index.php?106454>.
4628
4629 ** libgnutls: Check for overflows in gnutls_calloc and gnutls_secure_calloc.
4630 Also fix overflows in calls to those functions.  Reported by Werner
4631 Koch <wk@gnupg.org>.
4632
4633 ** libgnutls-extra: Add function to work with Libgcrypt in FIPS mode.
4634 The function is gnutls_register_md5_handler.  When libgcrypt is in
4635 FIPS mode, MD5 is disabled, but TLS normally requires use of MD5 in
4636 the PRF.
4637
4638 ** Opencdk: Add calls to gnutls_assert to ease debugging.
4639
4640 ** Indent code.
4641
4642 ** API and ABI modifications:
4643 gnutls_srp_set_prime_bits: ADDED
4644 gnutls_register_md5_handler: ADDED
4645 gnutls_x509_crt_set_crl_dist_points2: ADDED
4646 gnutls_x509_crt_set_subject_alt_name: ADDED
4647
4648 * Version 2.5.7 (released 2008-09-16)
4649
4650 ** libgnutls: New interfaces to get name of public key and signing algorithms.
4651 The functions are gnutls_sign_get_name and gnutls_pk_get_name.
4652
4653 ** libgnutls: Don't crash when gnutls_credentials_set is called twice.
4654
4655 ** libgnutls: Fix libgnutls shared library version.
4656 It wasn't properly incremented after adding symbols in the last
4657 release.
4658
4659 ** manual: Now mention supported public key and public key signing algorithms.
4660
4661 ** tests/openssl: initialize gnutls before use.
4662
4663 ** tests/setcredcrash: New test to catch regressions of gnutls_credentials_set.
4664
4665 ** GTK-DOC manual: mention new symbols in 2.6.x.  Mention crypto.h functions.
4666
4667 ** API and ABI modifications:
4668 gnutls_sign_get_name: ADDED
4669 gnutls_pk_get_name: ADDED
4670
4671 * Version 2.5.6 (released 2008-09-08)
4672
4673 ** libgnutls: Add interface to deal with public key and signature algorithms.
4674 The functions are called gnutls_pk_list, gnutls_pk_get_id,
4675 gnutls_sign_list, and gnutls_sign_get_id.  Suggested by Sam
4676 Varshavchik <mrsam@courier-mta.com>.
4677
4678 ** libgnutls: Refactor and clean up some code.
4679
4680 ** libgnutls: Fix compile error with Sun CC.
4681
4682 ** gnutls-cli: Improve --list output to include public key and signature algs.
4683
4684 ** gnutls-cli, gnutls-serv: Remove --copyright parameter.
4685 Use standard --version to get license info.
4686
4687 ** gnutls-cli.1: Document all new parameters.
4688 Thanks to James Westby <jw+debian@jameswestby.net>.
4689
4690 ** tests: New self-test pgps2kgnu to test parsing of encrypted secrets.
4691 Contributed by Daniel Kahn Gillmor <dkg-debian.org@fifthhorseman.net>.
4692
4693 ** API and ABI modifications:
4694 gnutls_pk_list: ADDED
4695 gnutls_pk_get_id: ADDED
4696 gnutls_sign_list: ADDED
4697 gnutls_sign_get_id: ADDED
4698
4699 * Version 2.5.5 (released 2008-08-29)
4700
4701 ** libgnutls: New API to get a string corresponding to a error symbol.
4702 The function is gnutls_strerror_name.
4703
4704 ** libgnutls: Fix include paths so that building with internal libtasn1 works.
4705 Reported by "jth.net ApS" <info@jth.net>.
4706
4707 ** libgnutls: Fix segmentation fault when generating private keys.
4708 Reported by Daniel Kahn Gillmor <dkg-debian.org@fifthhorseman.net>.
4709
4710 ** libgnutls: Remove code to import certificate chains in PKCS#7 format.
4711 The code has not worked since v0.9.0 and apparently nobody has missed
4712 it, so we decided to remove the code rather than fix it.  If you have
4713 old certificate chains stored in PKCS#7 format, you can convert them
4714 to a list of PEM certificates by using 'certtool --p7-info'.  Reported
4715 by Christian Grothoff <christian@grothoff.org>.
4716
4717 ** opencdk: Parse (but not decrypt) encrypted secret keys.
4718 Contributed by Daniel Kahn Gillmor <dkg-debian.org@fifthhorseman.net>.
4719
4720 ** libgnutls: Fix many warnings.
4721
4722 ** Included copy of libtasn1 is upgraded to version 1.5.
4723
4724 ** Add French translation, thanks to Nicolas Provost.
4725
4726 ** API and ABI modifications:
4727 gnutls_strerror_name: ADDED
4728
4729 * Version 2.5.4 (released 2008-08-19)
4730
4731 ** Fix secure memory initialization of libgcrypt.
4732 Reported by Joe Orton <joe@manyfish.co.uk> in
4733 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/2992>.
4734
4735 ** Doc fixes.
4736 Reference to NIST SP 800-57 in the manual on key size recommendations.
4737 Added 'Since:' tags to new APIs for gtk-doc.
4738
4739 ** API and ABI modifications:
4740 No changes since last version.
4741
4742 * Version 2.5.3 (released 2008-08-14)
4743
4744 ** libgnutls: New API to set the public parameters in a certificate request
4745 ** from a private key.
4746 The function is gnutls_x509_crq_set_key_rsa_raw.  Inspired by
4747 discussion with "Zach C." <fxchip@gmail.com>.
4748
4749 ** libgnutls: New API to set a callback to extract TLS Finished data.
4750 The function to register is gnutls_session_set_finished_function and
4751 it takes a callback of the gnutls_finished_callback_func type.
4752
4753 ** libgnutls: Drop final comma after GNUTLS_CRT_PRINT_UNSIGNED_FULL in enum.
4754 Reported in <https://savannah.gnu.org/support/?106453>.
4755
4756 ** libgnutls: Fix namespace problem with TLS_MASTER_SIZE and TLS_RANDOM_SIZE.
4757 The new names are GNUTLS_MASTER_SIZE and GNUTLS_RANDOM_SIZE.  The old
4758 names are mapped to the new names in compat.h.  These mappings will
4759 likely be removed more quickly than other mappings in that file due to
4760 the namespace violation.
4761
4762 ** libgnutlsxx: Make it build when SRP is disabled.
4763
4764 ** doc: Add doxygen files in doc/doxygen/.
4765
4766 ** API and ABI modifications:
4767 gnutls_x509_crq_set_key_rsa_raw: ADDED
4768 gnutls_session_set_finished_function: ADDED
4769 gnutls_finished_callback_func: ADDED
4770 GNUTLS_MASTER_SIZE: ADDED
4771 GNUTLS_RANDOM_SIZE: ADDED
4772 TLS_MASTER_SIZE: DEPRECATED
4773 TLS_RANDOM_SIZE: DEPRECATED
4774
4775 * Version 2.5.2 (released 2008-07-08)
4776
4777 ** libgnutls: Fix bug in gnutls_dh_params_generate2.
4778 The prime and generator was swapped.
4779
4780 ** libgnutls: New interface to register a new TLS extension handler.
4781 The new function gnutls_ext_register can be used to register handlers
4782 for specific TLS extension types.  The callback functions have the new
4783 types gnutls_ext_recv_func and gnutls_ext_send_func.  A type to
4784 classify TLS extensions, gnutls_ext_parse_type_t, has been added as
4785 well.
4786
4787 ** Move more code for TLS/IA extension from libgnutls to libgnutls-extra.
4788 This was made possible by using the new gnutls_ext_register interface.
4789 The TLS/IA functionality has only been supported through the
4790 libgnutls-extra library, so it makes sense for the code to belong
4791 there too.
4792
4793 ** API and ABI modifications:
4794 gnutls_ext_recv_func: ADDED
4795 gnutls_ext_send_func: ADDED
4796 gnutls_ext_parse_type_t: ADDED
4797 gnutls_ext_register: ADDED
4798
4799 * Version 2.5.1 (released 2008-07-02)
4800
4801 ** Indent code.
4802
4803 ** API and ABI modifications:
4804 No changes since last version.
4805
4806 * Version 2.5.0 (released 2008-07-02)
4807
4808 ** Port fixes from v2.4.1 release, see below.
4809
4810 ** Added API to replace and update the crypto backend.
4811 The header gnutls/crypto.h is now officially supported, and declares
4812 the symbols below.
4813
4814 ** Rewritten opencdk crypto backend, to use the gnutls internal one.
4815
4816 ** Update gnulib and translations.
4817 The gnulib gc crypto code has been removed since it was never finished
4818 and is no longer even used.  An internal non-libgcrypt crypto
4819 implementation may be added in the future, but we'll decide that later
4820 on.
4821
4822 ** API and ABI modifications:
4823 gnutls_crypto_bigint_register2: ADDED.
4824 gnutls_crypto_cipher_register2: ADDED.
4825 gnutls_crypto_digest_register2: ADDED.
4826 gnutls_crypto_mac_register2: ADDED.
4827 gnutls_crypto_pk_register2: ADDED.
4828 gnutls_crypto_rnd_register2: ADDED.
4829 gnutls_crypto_single_cipher_register2: ADDED.
4830 gnutls_crypto_single_digest_register2: ADDED.
4831 gnutls_crypto_single_mac_register2: ADDED.
4832
4833 * Version 2.4.3 (released 2009-02-06)
4834
4835 ** libgnutls: Accept chains where intermediary certs are trusted.
4836 Before GnuTLS needed to validate the entire chain back to a
4837 self-signed certificate.  GnuTLS will now stop looking when it has
4838 found an intermediary trusted certificate.  The new behaviour is
4839 useful when chains, for example, contains a top-level CA, an
4840 intermediary CA signed using RSA-MD5, and an end-entity certificate.
4841 To avoid chain validation errors due to the RSA-MD5 cert, you can
4842 explicitly add the intermediary RSA-MD5 cert to your trusted certs.
4843 The signature on trusted certificates are not checked, so the chain
4844 has a chance to validate correctly.  Reported by "Douglas E. Engert"
4845 <deengert@anl.gov> in
4846 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3351>.
4847
4848 ** libgnutls: Permit V1 Certificate Authorities properly.
4849 Before they were mistakenly rejected even though
4850 GNUTLS_VERIFY_ALLOW_ANY_X509_V1_CA_CRT and/or
4851 GNUTLS_VERIFY_ALLOW_X509_V1_CA_CRT were supplied.  Reported by
4852 "Douglas E. Engert" <deengert@anl.gov> in
4853 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3351>.
4854
4855 ** libgnutls: deprecate X.509 validation chains using MD5 and MD2 signatures.
4856 This is a bugfix -- the previous attempt to do this from internal x509
4857 certificate verification procedures did not return the correct value
4858 for certificates using a weak hash.  Reported by Daniel Kahn Gillmor
4859 <dkg@fifthhorseman.net> in
4860 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3332>,
4861 debugged and patch by Tomas Mraz <tmraz@redhat.com> and Daniel Kahn
4862 Gillmor <dkg@fifthhorseman.net>.
4863
4864 ** libgnutls: Fix chain verification for chains that ends with RSA-MD2 CAs.
4865 Reported by Michael Kiefer <Michael-Kiefer@web.de> in
4866 <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=507633> forwarded by
4867 Andreas Metzler <ametzler@downhill.at.eu.org> in
4868 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3309>.
4869
4870 ** libgnutls: Fix crash in X.509 validation code for self-signed certificates.
4871 The patch to fix the security problem GNUTLS-SA-2008-3 introduced a
4872 problem for certificate chains that contained just one self-signed
4873 certificate.  Reported by Michael Meskes <meskes@debian.org> in
4874 <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=505279>.
4875
4876 ** libgnutls: Fix X.509 certificate chain validation error. [GNUTLS-SA-2008-3]
4877 The flaw makes it possible for man in the middle attackers (i.e.,
4878 active attackers) to assume any name and trick GnuTLS clients into
4879 trusting that name.  Thanks for report and analysis from Martin von
4880 Gagern <Martin.vGagern@gmx.net>.  [CVE-2008-4989]
4881
4882 Any updates with more details about this vulnerability will be added
4883 to <http://www.gnu.org/software/gnutls/security.html>
4884
4885 ** libgnutls: Fix buffer overrun in gnutls_x509_crt_list_import.
4886 Report and patch by Jonathan Manktelow.
4887
4888 ** libgnutls: Avoid use of non-thread safe strerror.
4889
4890 ** API and ABI modifications:
4891 No changes since last version.
4892
4893 * Version 2.4.2 (released 2008-09-15)
4894
4895 ** libgnutls: Don't crash when gnutls_credentials_set is called twice.
4896
4897 ** libgnutls: Corrected memory leak in X.509 functions.
4898 Thanks to Colin Leroy <colin@colino.net>.
4899
4900 ** libgnutls: Fix compile error with Sun CC.
4901
4902 ** gnutls-cli.1: Document all new parameters.
4903 Thanks to James Westby <jw+debian@jameswestby.net>.
4904
4905 ** tests/openssl: initialize gnutls before use.
4906 Fixes crash with libgcrypt 1.4.2.  Reported by Ludovic Courtes
4907 <ludovic.courtes@laas.fr>.
4908
4909 ** doc/: Fix texinfo markup for old texinfo versions.
4910
4911 ** Included copy of libtasn1 is upgraded to version 1.5.
4912
4913 ** API and ABI modifications:
4914 No changes since last version.
4915
4916 * Version 2.4.1 (released 2008-06-30)
4917
4918 ** libgnutls: Fix local crash in gnutls_handshake.  [GNUTLS-SA-2008-2]
4919 If the gnutls_handshake function is called for a normal session, which
4920 can happen for re-handshakes, the library would crash because it tried
4921 to hash some data using a libgcrypt handle that had been deallocated.
4922 Report and tiny patch from Tomas Mraz <tmraz@redhat.com>.  Any updates
4923 with more details about this vulnerability will be added to
4924 <http://www.gnu.org/software/gnutls/security.html>
4925
4926 ** libgnutls: Fix memory leaks when doing a re-handshake.
4927 Reported by Sam Varshavchik <mrsam@courier-mta.com> in
4928 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/2928>.
4929
4930 ** Fix compiler warnings.
4931 Reported by Massimo Gaspari <massimo.gaspari@alice.it> in
4932 <http://thread.gmane.org/gmane.network.gnutls.general/1281>.
4933
4934 ** Fix ordering of -I's to avoid opencdk.h conflict with system headers.
4935 Reported by Roman Bogorodskiy <novel@FreeBSD.org> in
4936 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/2930>.
4937
4938 ** srptool: Fix a problem where --verify check does not succeed.
4939 Report and tiny patch by Matthias Koenig <mkoenig@suse.de> in
4940 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/2944>.
4941
4942 ** API and ABI modifications:
4943 No changes since last version.
4944
4945 * Version 2.4.0 (released 2008-06-19)
4946
4947 ** Major changes compared to the v2.2 branch:
4948
4949 *** The OpenPGP sub-system has been improved and now supports subkeys.
4950
4951 *** The PSK sub-system has been improved and now supports password
4952 *** derivation and PSK identity hints.
4953 The password derivation algorithms support is documented in
4954 draft-ietf-netconf-tls-02.txt.
4955
4956 *** The certtool --inder and --outder has been replaced by --inraw and --outraw.
4957 This aligns terminology with OpenPGP, which doesn't use DER encoding.
4958 The old parameters will continue to work for some time.
4959
4960 *** Certtool now confirm passwords and changes permissions of private key files.
4961
4962 *** The default handshake size limit has been increased to 48kb.
4963 It appears as if some valid handshakes are large due to sending many
4964 CA certificates.  (The earlier limit was 16kb.)
4965
4966 *** LZO compression is now disabled by default.
4967 The main reason is that LZO compression in TLS is not standardized,
4968 but license compatiblity issues with minilzo triggered us to make this
4969 decision now.
4970
4971 *** Improvements for cross-compilation to Windows and OpenWRT.
4972
4973 *** The look of the GTK-DOC manual has been improved.
4974 Major developer visible changes compared to the v2.2 branch:
4975
4976 *** Full OpenPGP support is part of libgnutls, licensed under the LGPL.
4977
4978 *** New APIs to access the raw X.509 Subject and Issuer DN's and
4979 *** elements from the certificate credentials structure.
4980 Thanks to Joe Orton.
4981
4982 *** New APIs to improve working with username/passwords and PSK.
4983
4984 *** Names of constants to affect certificate printing changed.
4985 The constants are used for OpenPGP too, which the names didn't
4986 reflect, so the following name change has been made:
4987
4988             Old name                         New name
4989      GNUTLS_X509_CRT_FULL            GNUTLS_CRT_PRINT_FULL
4990      GNUTLS_X509_CRT_ONELINE         GNUTLS_CRT_PRINT_ONELINE
4991      GNUTLS_X509_CRT_UNSIGNED_FULL   GNUTLS_CRT_PRINT_UNSIGNED_FULL
4992
4993 The old names will be mapped to the new names for some time.
4994
4995 *** The function gnutls_openpgp_privkey_get_id has been renamed to
4996 *** gnutls_openpgp_privkey_get_key_id.
4997 A compatibility mapping exists to avoid breaking API backwards
4998 compatibility.
4999
5000 *** Replaced all uses of alloca with malloc and free.
5001
5002 *** We no longer build with -D_REENTRANT -D_THREAD_SAFE.
5003 We have been unable to find a documented rationale for this practice.
5004
5005 *** Of course, many smaller fixes have been made, see the ChangeLog file.
5006
5007 *** API/ABI changes in GnuTLS 2.4
5008 All OpenPGP related functions have been moved from libgnutls-extra to
5009 libgnutls, and several new functions have been added (see below).
5010 Before making the release, we discussed whether moving functions from
5011 libgnutls-extra to libgnutls would require us to increment the ABI
5012 version, but the general opinion was that this would not be required.
5013 All older functions continue to work the same.  We are open to the
5014 possibility that this decision will lead to problem on some platform,
5015 and if it turns out that the Right Thing should have been to increment
5016 the shared library version, we would need to release an update within
5017 the 2.4.x branch that increments the shared library version.
5018
5019 This release adds the following functions:
5020
5021   gnutls_psk_client_get_hint
5022   gnutls_psk_set_server_credentials_hint
5023   gnutls_psk_netconf_derive_key
5024
5025     Used to get/set the PSK identity hint, and derive PSK keys from
5026     passwords a'la netconf.
5027
5028   gnutls_x509_dn_deinit
5029   gnutls_x509_dn_export
5030   gnutls_x509_dn_import
5031   gnutls_x509_dn_init
5032
5033     Used to handle X.509 Certificate DN's directly.
5034
5035   gnutls_hex2bin
5036
5037     Converts a data buffer to hex.  Useful for handling PSK/SRP shared
5038     secrets.
5039
5040   gnutls_certificate_get_x509_cas
5041   gnutls_certificate_get_x509_crls
5042   gnutls_certificate_get_openpgp_keyring
5043
5044     Functions for direct access to credential elements.
5045
5046   gnutls_openpgp_crt_get_auth_subkey
5047   gnutls_openpgp_crt_get_key_id
5048   gnutls_openpgp_crt_get_pk_dsa_raw
5049   gnutls_openpgp_crt_get_pk_rsa_raw
5050   gnutls_openpgp_crt_get_preferred_key_id
5051   gnutls_openpgp_crt_get_revoked_status
5052   gnutls_openpgp_crt_get_subkey_count
5053   gnutls_openpgp_crt_get_subkey_creation_time
5054   gnutls_openpgp_crt_get_subkey_expiration_time
5055   gnutls_openpgp_crt_get_subkey_fingerprint
5056   gnutls_openpgp_crt_get_subkey_id
5057   gnutls_openpgp_crt_get_subkey_idx
5058   gnutls_openpgp_crt_get_subkey_pk_algorithm
5059   gnutls_openpgp_crt_get_subkey_pk_dsa_raw
5060   gnutls_openpgp_crt_get_subkey_pk_rsa_raw
5061   gnutls_openpgp_crt_get_subkey_revoked_status
5062   gnutls_openpgp_crt_get_subkey_usage
5063   gnutls_openpgp_crt_print
5064   gnutls_openpgp_crt_set_preferred_key_id
5065   gnutls_openpgp_keyring_get_crt
5066   gnutls_openpgp_keyring_get_crt_count
5067   gnutls_openpgp_privkey_export
5068   gnutls_openpgp_privkey_export_dsa_raw
5069   gnutls_openpgp_privkey_export_rsa_raw
5070   gnutls_openpgp_privkey_export_subkey_dsa_raw
5071   gnutls_openpgp_privkey_export_subkey_rsa_raw
5072   gnutls_openpgp_privkey_get_fingerprint
5073   gnutls_openpgp_privkey_get_key_id
5074   gnutls_openpgp_privkey_get_pk_algorithm
5075   gnutls_openpgp_privkey_get_preferred_key_id
5076   gnutls_openpgp_privkey_get_revoked_status
5077   gnutls_openpgp_privkey_get_subkey_count
5078   gnutls_openpgp_privkey_get_subkey_creation_time
5079   gnutls_openpgp_privkey_get_subkey_expiration_time
5080   gnutls_openpgp_privkey_get_subkey_fingerprint
5081   gnutls_openpgp_privkey_get_subkey_id
5082   gnutls_openpgp_privkey_get_subkey_idx
5083   gnutls_openpgp_privkey_get_subkey_pk_algorithm
5084   gnutls_openpgp_privkey_get_subkey_revoked_status
5085   gnutls_openpgp_privkey_set_preferred_key_id
5086
5087     New OpenPGP related functions.
5088
5089     The function gnutls_openpgp_crt_get_key_id is the same as the old
5090     from gnutls_openpgp_crt_get_id, see above.
5091
5092 The release also adds a new header file 'gnutls/crypto.h', however it
5093 is currently not used.
5094
5095 ** libgnutls [OpenPGP]: New APIs to retrieve fingerprint from OpenPGP subkeys.
5096 Contributed by Daniel Kahn Gillmor <dkg-debian.org@fifthhorseman.net>.
5097
5098 ** API and ABI modifications:
5099 gnutls_openpgp_crt_get_subkey_fingerprint: ADDED.
5100 gnutls_openpgp_privkey_get_subkey_fingerprint: ADDED.
5101
5102 * Version 2.3.15 (released 2008-06-15)
5103
5104 ** Disable the openpgp-certs self-tests.
5105 It results in failure under Wine and doesn't work on Debian buildds.
5106
5107 ** API and ABI modifications:
5108 No changes since last version.
5109
5110 * Version 2.3.14 (released 2008-06-11)
5111
5112 ** libgnutls [OpenPGP]: Changed OpenPGP verification behaviour.
5113 An OpenPGP certificate is now only considered verified if all the user
5114 IDs are verified.
5115
5116 ** Examples: Make C++ example compile.
5117 Earlier it may have failed with an unresolved reference to strlen.
5118
5119 ** Documentation: Doc fix for gnutls_x509_crt_get_extension_oid.
5120 Reported by Sam Varshavchik <mrsam@courier-mta.com>.
5121
5122 ** API and ABI modifications:
5123 No changes since last version.
5124
5125 * Version 2.3.13 (released 2008-06-07)
5126
5127 ** libgnutls [OpenPGP]: Make OpenPGP handshakes work again.
5128
5129 ** doc/: Add psktool to info index.  Some minor cleanups.
5130
5131 ** tests/: Added non-forking TLS handshake test, see tests/mini.c.
5132
5133 ** tests/: Added libgcrypt.supp which can be used with valgrind.
5134 The file suppresses the known libgcrypt memory leaks, so they aren't
5135 printed when you run valgrind on the gnutls self-tests.  Use it as
5136 follows: valgrind --suppressions=libgcrypt.supp ./x509self or add
5137 '--suppressions=/home/you/src/gnutls/tests/libgcrypt.supp' to your
5138 ~/.valgrindrc file.
5139
5140 ** tests/: Reduce amount of debugging output by default.
5141 Use --verbose for each test to get the full output.
5142
5143 ** tests/: Fix memory leaks in several self-tests.
5144 None of the self tests should be leaking memory when running valgrind
5145 or similar tools.  (Known exceptions are dhepskself, pskself, and
5146 set_pkcs12_cred, which appear likely to be due to memory leaks in the
5147 library.)
5148
5149 ** API and ABI modifications:
5150 No changes since last version.
5151
5152 * Version 2.3.12 (released 2008-06-04)
5153
5154 ** Merge gnutls_with_netconf branch.
5155
5156 *** libgnutls [PSK]: New API to retrieve PSK identity hint in client.
5157 The function is gnutls_psk_client_get_hint.
5158
5159 *** libgnutls [PSK]: New API to set PSK identity hint in server.
5160 The function is gnutls_psk_set_server_credentials_hint.
5161
5162 *** libgnutls [PSK]: Support server key exchange with PSK identity hint.
5163 In the client, the message is parsed and the application can use
5164 gnutls_psk_client_get_hint to retrieve the hint.  In the server, the
5165 message is sent if the application has specified a PSK identity hint
5166 using gnutls_psk_set_server_credentials_hint.
5167
5168 *** libgnutls [PSK]: Support Netconf PSK key derivation.
5169 The function gnutls_psk_netconf_derive_key supports the PSK key
5170 derivation as specified in draft-ietf-netconf-tls-02.txt.  New self
5171 test netconf-psk.c.
5172
5173 *** psktool: Support new --netconf-hint to generate PSK key from password.
5174 Uses the Netconf algorithm to derive PSK key from password.
5175
5176 *** gnutls-serv: Support new --pskhint parameter to set PSK identity hint.
5177
5178 *** gnutls-cli: Always support PSK modes, through a callback.
5179 The callback will derive a PSK key using Netconf algorithm.  It will
5180 print the PSK identity hint to help the user.
5181
5182 *** New PSK example client and server.
5183 See doc/examples/ex-client-psk.c and doc/examples/ex-serv-psk.c.
5184
5185 ** libgnutls: Fix gnutls_x509_crl_set_version on arm platforms.
5186 The code didn't work properly on platforms where 'char' is unsigned,
5187 when you set version 0.  Reported by Laurence Withers
5188 <l@lwithers.me.uk> in
5189 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/2825>.
5190
5191 ** libgnutls-openssl: added RAND_pseudo_bytes API.
5192 Patch from Robert Millan <rmh@aybabtu.com>.
5193
5194 ** API and ABI modifications:
5195 RAND_pseudo_bytes: ADDED to libgnutls-openssl.
5196 gnutls_psk_client_get_hint: ADDED.
5197 gnutls_psk_set_server_credentials_hint: ADDED.
5198 gnutls_psk_netconf_derive_key: ADDED
5199
5200 * Version 2.3.11 (released 2008-05-20)
5201
5202 ** Fix flaw in fix for GNUTLS-SA-2008-1-3.
5203 The flaw would result in incorrectly terminated sessions with the
5204 error "Decryption has failed" when the server sends a small packet
5205 (typically when the session is closed).  Reported by Andreas Metzler
5206 <ametzler@downhill.at.eu.org> in
5207 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/2807>.
5208
5209 ** Don't use gnulib headers when building C++ library.
5210 Fixes builds under Windows.
5211
5212 ** Make umask a requirement.
5213 We don't know of any system that lacks it, even GNU CoreUtils use it
5214 unconditionally.
5215
5216 ** Update gnulib files.
5217 Fixes a problem where it pulled in a replacement for memcmp under
5218 MinGW, which caused the C++ example to fail to build.
5219
5220 ** API and ABI modifications:
5221 No changes since last version.
5222
5223 * Version 2.3.10 (released 2008-05-19)
5224
5225 ** Added wide wildcard hostname matching.
5226 Tiny patch by Jean-Philippe Garcia Ballester.
5227
5228 ** Fix three security vulnerabilities.  [GNUTLS-SA-2008-1]
5229 Thanks to CERT-FI for finding the bugs and providing detailed reports,
5230 which allowed the bugs to be reproduced and fixed easily.  Patches
5231 developed by Simon Josefsson and Nikos Mavrogiannopoulos.  Any updates
5232 with more details about these vulnerabilities will be added to
5233 <http://www.gnu.org/software/gnutls/security.html>
5234
5235 *** [GNUTLS-SA-2008-1-1]
5236 *** libgnutls: Fix crash when sending invalid server name.
5237 The crash can be triggered remotely before authentication, which can
5238 lead to a Daniel of Service attack to disable the server.  The bug
5239 cause gnutls to store more session resumption data than what was
5240 allocated for, thus overwriting unallocated memory.
5241
5242 *** [GNUTLS-SA-2008-1-2]
5243 *** libgnutls: Fix crash when sending repeated client hellos.
5244 The crash can be triggered remotely before authentication, which can
5245 lead to a Daniel of Service attack to disable the server.  The bug
5246 triggers a null-pointer dereference.
5247
5248 *** [GNUTLS-SA-2008-1-3]
5249 *** libgnutls: Fix crash in cipher padding decoding for invalid record lengths.
5250 The crash can be triggered remotely before authentication, which can
5251 lead to a Daniel of Service attack to disable the server.  The bug
5252 cause gnutls to read memory beyond the end of the received record.
5253
5254 ** libgnutlsxx: Updated API according to patches from Eduardo 
5255 Villanueva Che (discussion at
5256 <http://lists.gnu.org/archive/html/gnutls-devel/2007-02/msg00017.html>)
5257
5258 ** Use umask to restrict permissions to owner before creating a file.
5259
5260 ** API and ABI modifications:
5261 No changes since last version.
5262
5263 * Version 2.3.9 (released 2008-05-16)
5264
5265 ** libgnutls: Fix build failures if SRP/OpenPGP is disabled.
5266 Based on report and tiny patches from
5267 <jared.jennings.ctr@eglin.af.mil>, see
5268 <https://savannah.gnu.org/support/index.php?106342>.
5269
5270 ** libgnutls: Translation fixes.
5271
5272 ** gnutls-cli: Fix so that PSK authentication works.
5273 Also improve manual to give example for gnutls-cli PSK authentication.
5274
5275 ** certtool: Encrypting a private key now require a confirmed password.
5276 Before './certtool -k -8' would merely ask for a password once.
5277 Reported by Daniel 'NebuchadnezzaR' Dehennin
5278 <nebuchadnezzar@asgardr.info> see
5279 <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=364287>.
5280
5281 ** certtool: When writing private keys to files, change permissions of file.
5282 Now the file which the private key is saved to is chmod'ed 0600.
5283 Reported by martin f krafft <madduck@debian.org> see
5284 <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=373169>.
5285
5286 ** guile: Fix -fgnu89-inline test.
5287
5288 ** Removed --enable-profile-mode.
5289 The code linked gnutls with the libfc project (Function Check) which
5290 appears to have been stalled since around 2002.
5291
5292 ** Clean up header file checks by ./configure.
5293
5294 ** Update of gnulib files.
5295
5296 ** API and ABI modifications:
5297 No changes since last version.
5298
5299 * Version 2.3.8 (released 2008-04-29)
5300
5301 ** libgnutls: Increase default handshake packet size limit to 48kb.
5302 The old limit was 16kb and some servers send huge list of trusted CAs,
5303 thus running into the limit.  FYI, applications can further increase
5304 this limit using gnutls_handshake_set_max_packet_length.  Thanks to
5305 Marc Haber <mh+debian-bugs@zugschlus.de> and "Marc F. Clemente"
5306 <marc@mclemente.net> for reporting and providing test servers.
5307
5308 ** libgnutls: Add new error code: GNUTLS_E_HANDSHAKE_TOO_LARGE
5309 Returned when the handshake data size is too large.  Before
5310 GNUTLS_E_MEMORY_ERROR was used, which could be confused with other
5311 error situations.
5312
5313 ** libgnutls: Hide definitions in crypto.h.
5314 We have decided that the APIs defined in crypto.h are not stable
5315 enough for v2.4, so don't use any of those functions.
5316
5317 ** gnutls-cli: exit when hostname doesn't match certificate.
5318 Use --insecure to avoid hostname comparison.
5319
5320 ** certtool: --inder and --outder replaced by --inraw and --outraw.
5321 The reason is to align terminology with OpenPGP, which doesn't use
5322 DER.  The old parameters will continue to work for some time.
5323
5324 ** doc: Add section 'Index of new symbols in 2.4.0' to the GTK-DOC manual.
5325
5326 ** doc: Many cosmetic fixes, to silence (most) gtk-doc warnings.
5327
5328 ** Mingw32: Revert libgcrypt vasprintf work-around added in last release.
5329 Use libgcrypt 1.4.1 or later when building on MinGW32, it removes the
5330 vasprintf symbol from the libgcrypt library which caused problems.
5331
5332 ** Update of gnulib files.
5333
5334 ** tests: New self-test of crypto.h RNG code tests/crypto_rng.
5335
5336 ** API and ABI modifications:
5337 GNUTLS_E_HANDSHAKE_TOO_LARGE: ADDED.
5338
5339 * Version 2.3.7 (released 2008-04-21)
5340
5341 ** opencdk now properly sets the key usage bits into openpgp keys.
5342
5343 ** gnutls-cli: Fix crash on TLS handshake failures.
5344 Reported by "Marc F. Clemente" <marc@mclemente.net> in Debian BTS #466477.
5345 This is similar to <http://bugs.debian.org/429183>.
5346
5347 ** certtool: with --generate-request and newly generated keys, print the key.
5348
5349 ** Build fixes for MinGW.
5350 Missing rpl_fseeko symbol in lib/opencdk/.  Better checks for linking
5351 with -lws2_32 when needed.  Use ASCII only isprint() when printing
5352 X.509 certificate information, to avoid non-ASCII but printable
5353 characters.  Thanks to Massimo Gaspari <massimo.gaspari@alice.it> for
5354 reports.
5355
5356 ** Update internal copy of libtasn1 to version 1.4.
5357
5358 ** API and ABI modifications:
5359 No changes since last version.
5360
5361 * Version 2.3.6 (released 2008-04-17)
5362
5363 ** Make gnutls_x509_crq_sign2 set certificate request version if not set.
5364 ** Improve documentation for gnutls_x509_crq_sign2.
5365 Based on report from "John Brooks" <aspecialj@gmail.com> in
5366 <http://permalink.gmane.org/gmane.network.gnutls.general/1154>.
5367
5368 ** tests/pathlen: run diff without parameters to improve portability.
5369 Based on HPUX build hints in
5370 <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>.
5371
5372 ** Don't use %e specifier with strftime, it doesn't work under Windows.
5373 Reported by Massimo Gaspari <massimo.gaspari@alice.it> in
5374 <http://permalink.gmane.org/gmane.network.gnutls.general/1170>.
5375
5376 ** Remove all uses of gnutls_alloca/gnutls_afree.
5377 Use normal gnutls_malloc instead.  One reason is increased portability
5378 to Windows, the other is that several of the uses may be unsafe
5379 because the size of data allocated could be large.  Reported by
5380 Massimo Gaspari <massimo.gaspari@alice.it> in
5381 <http://permalink.gmane.org/gmane.network.gnutls.general/1170>.
5382
5383 ** Build Guile code with -fgnu89-inline only when supported.
5384 Reported by Kris Karas <ktk@enterprise.bidmc.harvard.edu> in
5385 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/2708>.
5386
5387 ** Several GTK-DOC related fixes.
5388
5389 ** Clean up OpenCDK related code.
5390 GnuTLS now requires its internal OpenCDK code rather than the external
5391 GPL library OpenCDK.  Unfortunately, we don't have resources to
5392 maintain an external library (help welcome).
5393
5394 ** API and ABI modifications:
5395 No changes since last version.
5396
5397 * Version 2.3.5 (released 2008-04-14)
5398
5399 ** Build fix for MinGW and --disable-shared.
5400 Reported by Massimo Gaspari <massimo.gaspari@alice.it> in
5401 <http://permalink.gmane.org/gmane.network.gnutls.general/1145>.
5402
5403 ** Document how to generate CRLs.
5404 Suggested by "Rainer Gerhards" <rgerhards@gmail.com>.
5405
5406 ** Documented the --priority option to gnutls-cli and gnutls-serv.
5407
5408 ** Several minor fixes in the OpenPGP interface.
5409 Thanks to Daniel Kahn Gillmor.
5410
5411 ** Fix fopen file descriptor leak in PSK server code.
5412 Thanks to Laurence Withers <l@lwithers.me.uk>, see
5413 <http://lists.gnu.org/archive/html/gnutls-devel/2008-04/msg00002.html>.
5414
5415 ** Translations files not stored directly in git to avoid merge conflicts.
5416
5417 ** New APIs to let applications replace the RNG used.
5418 Update all RNG callers in the code to use the new interface.
5419
5420 ** Guile code now built with -fgnu89-inline to fix inline semantic problem.
5421
5422 ** Update gnulib files.
5423
5424 ** API and ABI modifications:
5425 gnutls_crypto_rnd_register: ADDED
5426 gnutls_rnd_level_t: ADDED
5427 GNUTLS_RND_KEY: ADDED, gnutls_rnd_level_t member
5428 GNUTLS_RND_RANDOM: ADDED, gnutls_rnd_level_t member
5429 GNUTLS_RND_NONCE: ADDED, gnutls_rnd_level_t member
5430 gnutls_crypto_rnd_st: ADDED
5431 GNUTLS_DIG_SHA224: ADDED
5432 GNUTLS_SIGN_RSA_SHA224: ADDED
5433 gnutls_openpgp_crt_get_auth_subkey: MODIFIED
5434
5435 * Version 2.3.4 (released 2008-03-19)
5436
5437 ** Finish renaming of gnutls_certificate_export_x509_cas etc.
5438 They weren't renamed in the public header file.
5439
5440 ** Added functions to register a cipher/mac/digest. This allows to 
5441 override the included ones.
5442
5443 ** Fix a bunch of compiler warnings.
5444
5445 ** API and ABI modifications:
5446 gnutls_crypto_cipher_st: ADDED
5447 gnutls_crypto_mac_st: ADDED
5448 gnutls_crypto_digest_st: ADDED
5449 gnutls_crypto_cipher_register: ADDED
5450 gnutls_crypto_mac_register: ADDED
5451 gnutls_crypto_digest_register: ADDED
5452 GNUTLS_E_CRYPTO_ALREADY_REGISTERED: ADDED
5453
5454 * Version 2.3.3 (released 2008-03-10)
5455
5456 ** Fix build failure in libextra/gnutls_extra.c that needed opencdk.h.
5457 Reported by Roman Bogorodskiy <novel@FreeBSD.org>.
5458
5459 ** No longer compiled using -D_REENTRANT -D_THREAD_SAFE.
5460 We could not find any modern justification for enabling these flags by
5461 default.  If you know of some platform that needs one of the flags to
5462 work properly, please let us know.  (Actually introduced in v2.3.0 but
5463 not documented until now.)
5464
5465 ** Importing many CA certificates are now considerably faster.
5466 This affect gnutls_certificate_set_x509_trust_mem,
5467 gnutls_certificate_set_x509_trust, and
5468 gnutls_certificate_set_x509_trust_file.  The complexity was reduced
5469 from O(2*n^2) to O(n).  When adding 206 files containing 408
5470 certificates, using gnutls_certificate_set_x509_trust_file, the time
5471 dropped from 40 seconds to 0.3 seconds.  Thanks to Edgar Fuß for code
5472 to trigger the problem.  See also
5473 <http://blog.josefsson.org/2008/02/27/real-world-performance-tuning-with-callgrind/>.
5474
5475 ** Clarify documentation for gnutls_x509_crt_set_subject_alternative_name
5476 ** to be explicit that it takes zero terminated data.
5477
5478 ** gnutls-cli --print-cert now print PKCS#3 format Diffie-Hellman parameters.
5479
5480 ** Documentation fixes for the GTK-DOC manual.
5481
5482 ** Fix compilation error related to __FUNCTION__ on some systems.
5483 Reported by Tim Mooney, see
5484 <https://savannah.gnu.org/support/?106267>.
5485
5486 ** Updated translations.
5487
5488 ** Update gnulib files.
5489
5490 ** API and ABI modifications:
5491 gnutls_hex2bin: MODIFIED, uses size_t instead of int for string length,
5492                 and char* instead of void* for output buffer.
5493
5494 * Version 2.3.2 (released 2008-02-26)
5495
5496 ** Fix srcdir!=objdir failure in openpgpself test.
5497
5498 ** Improved API documentation output from GTK-DOC.
5499
5500 ** Added gnutls_x509_dn_export(). Patch by Joe Orton.
5501
5502 ** Renamed gnutls_certificate_export_x509_cas and friends.
5503 See <http://lists.gnu.org/archive/html/gnutls-devel/2008-02/msg00043.html>.
5504
5505 ** Internal header files cleanup.
5506
5507 ** API and ABI modifications:
5508 gnutls_certificate_export_x509_cas: RENAMED to gnutls_certificate_get_x509_cas
5509 gnutls_certificate_export_x509_crls: RENAMED to gnutls_certificate_get_x509_crls
5510 gnutls_certificate_export_openpgp_keyring: RENAMED to gnutls_certificate_get_openpgp_keyring
5511 gnutls_x509_dn_export: ADDED
5512
5513 * Version 2.3.1 (released 2008-02-21)
5514
5515 ** OpenPGP support merged into libgnutls and is now licensed under LGPL.
5516 The included copy of OpenCDK has been stripped down and re-licensed
5517 under the LGPL.
5518
5519 ** Cipher priority string handling now handle strings that starts with NULL.
5520 Thanks to Laurence Withers <l@lwithers.me.uk>.
5521
5522 ** gnutls-cli: When -d is used, also prints RNG information from libgcrypt.
5523
5524 ** Corrected memory leaks in session resuming and DHE ciphersuites. Reported
5525 by Daniel Stenberg.
5526
5527 ** Increased the default certificate verification chain limits and allowed
5528 for checks without limitation.
5529
5530 ** Corrected the behaviour of gnutls_x509_crt_get_subject_alt_name()
5531 and gnutls_x509_crt_get_subject_alt_name() to not null terminate binary
5532 strings and return the proper size.
5533
5534 ** Add section 'On Record Padding' to the manual.
5535 This collects all problems related to record padding with
5536 Nokia/Sony-Ericsson phones that we know about.
5537
5538 ** Several improvements in the OpenPGP authentication.
5539 Now subkeys can be used for authentication, according to
5540 draft-mavrogiannopoulos-rfc5081bis-00.txt.
5541
5542 ** certtool can print information on OpenPGP certificates and keys.
5543
5544 ** Added gnutls_x509_dn_import/init/deinit() to access raw DER DN.
5545 Patch by Joe Orton.
5546
5547 ** Added gnutls_certificate_export_x509_cas and other functions to
5548 export elements from the certificate credentials structure.  Based on
5549 suggestion from Joe Orton.
5550
5551 ** Doc fixes.
5552 Clarify that srp_base64 is not the same as normal base64.
5553
5554 ** Fix non-portable use of brace expansion in makefiles.
5555
5556 ** API and ABI modifications:
5557 gnutls_certificate_export_x509_cas: ADDED
5558 gnutls_certificate_export_x509_crls: ADDED
5559 gnutls_certificate_export_openpgp_keyring: ADDED
5560 gnutls_openpgp_keyid_t: ADDED, instead of hard-coded 'unsigned char[8]'.
5561 gnutls_openpgp_crt_get_key_id: ADDED, obsoletes gnutls_openpgp_crt_get_id.
5562 gnutls_openpgp_crt_get_revoked_status: ADDED
5563 gnutls_openpgp_crt_get_subkey_count: ADDED
5564 gnutls_openpgp_crt_get_subkey_idx: ADDED
5565 gnutls_openpgp_crt_get_subkey_revoked_status: ADDED
5566 gnutls_openpgp_crt_get_subkey_pk_algorithm: ADDED
5567 gnutls_openpgp_crt_get_subkey_creation_time: ADDED
5568 gnutls_openpgp_crt_get_subkey_expiration_time: ADDED
5569 gnutls_openpgp_crt_get_subkey_id: ADDED
5570 gnutls_openpgp_crt_get_subkey_usage: ADDED
5571 gnutls_openpgp_privkey_get_fingerprint: ADDED
5572 gnutls_openpgp_privkey_get_key_id: ADDED
5573 gnutls_openpgp_privkey_get_subkey_count: ADDED
5574 gnutls_openpgp_privkey_get_subkey_idx: ADDED
5575 gnutls_openpgp_privkey_get_subkey_revoked_status: ADDED
5576 gnutls_openpgp_privkey_get_revoked_status: ADDED
5577 gnutls_openpgp_privkey_get_subkey_pk_algorithm: ADDED
5578 gnutls_openpgp_privkey_get_subkey_expiration_time: ADDED
5579 gnutls_openpgp_privkey_get_subkey_id: ADDED
5580 gnutls_openpgp_privkey_get_subkey_creation_time: ADDED
5581 gnutls_openpgp_crt_get_subkey_pk_dsa_raw: ADDED
5582 gnutls_openpgp_crt_get_subkey_pk_rsa_raw: ADDED
5583 gnutls_openpgp_crt_get_pk_dsa_raw: ADDED
5584 gnutls_openpgp_crt_get_pk_rsa_raw: ADDED
5585 gnutls_openpgp_privkey_export_subkey_dsa_raw: ADDED
5586 gnutls_openpgp_privkey_export_subkey_rsa_raw: ADDED
5587 gnutls_openpgp_privkey_export_dsa_raw: ADDED
5588 gnutls_openpgp_privkey_export_rsa_raw: ADDED
5589 gnutls_openpgp_privkey_export: ADDED
5590 gnutls_certificate_set_openpgp_key_file2: ADDED
5591 gnutls_certificate_set_openpgp_key_mem2: ADDED
5592 gnutls_x509_dn_init: ADDED
5593 gnutls_x509_dn_import: ADDED
5594 gnutls_x509_dn_deinit: ADDED
5595 GNUTLS_E_OPENPGP_SUBKEY_ERROR: ADDED
5596 gnutls_hex2bin: ADDED
5597 GNUTLS_CRT_PRINT_FULL: ADDED, same as old GNUTLS_X509_CRT_FULL.
5598 GNUTLS_CRT_PRINT_ONELINE: ADDED, same as old GNUTLS_X509_CRT_ONELINE.
5599 GNUTLS_CRT_PRINT_UNSIGNED_FULL: ADDED, same as
5600                                 old GNUTLS_X509_CRT_UNSIGNED_FULL.
5601
5602 * Version 2.3.0 (released 2008-01-08)
5603
5604 ** LZO compression is now disabled by default.
5605 The reason is that LZO compression is not standardized in TLS.  If you
5606 wish to experiment with it, you will have to supply --with-lzo when
5607 invoking ./configure.  The internal copy of minilzo is no longer
5608 included with GnuTLS, so you will need to install liblzo or liblzo2 on
5609 your system to have --with-lzo to be effective.
5610
5611 ** More than one server name field is now sent to the server properly.
5612 Thanks to mark.phillips@virgin.net.
5613
5614 ** Fixes the post_client_hello_function(). The extensions are now parsed
5615 in a callback friendly way.
5616
5617 ** Fix for certificate selection in servers with certificate callbacks.
5618
5619 ** Updated translations.
5620
5621 ** Update gnulib files.
5622
5623 ** API and ABI modifications:
5624 No changes since last version.
5625
5626 * Version 2.2.5 (released 2008-05-19)
5627
5628 ** Fix flaw in fix for GNUTLS-SA-2008-1-3.
5629 The flaw would result in incorrectly terminated sessions with the
5630 error "Decryption has failed" when the server sends a small packet
5631 (typically when the session is closed).  Reported by Andreas Metzler
5632 <ametzler@downhill.at.eu.org> in
5633 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/2807>.
5634
5635 ** API and ABI modifications:
5636 No changes since last version.
5637
5638 * Version 2.2.4 (released 2008-05-19)
5639
5640 ** Fix three security vulnerabilities.  [GNUTLS-SA-2008-1]
5641 Thanks to CERT-FI for finding the bugs and providing detailed reports,
5642 which allowed the bugs to be reproduced and fixed easily.  Patches
5643 developed by Simon Josefsson and Nikos Mavrogiannopoulos.  Any updates
5644 with more details about these vulnerabilities will be added to
5645 <http://www.gnu.org/software/gnutls/security.html>
5646
5647 *** [GNUTLS-SA-2008-1-1]
5648 *** libgnutls: Fix crash when sending invalid server name.
5649 The crash can be triggered remotely before authentication, which can
5650 lead to a Daniel of Service attack to disable the server.  The bug
5651 cause gnutls to store more session resumption data than what was
5652 allocated for, thus overwriting unallocated memory.
5653
5654 *** [GNUTLS-SA-2008-1-2]
5655 *** libgnutls: Fix crash when sending repeated client hellos.
5656 The crash can be triggered remotely before authentication, which can
5657 lead to a Daniel of Service attack to disable the server.  The bug
5658 triggers a null-pointer dereference.
5659
5660 *** [GNUTLS-SA-2008-1-3]
5661 *** libgnutls: Fix crash in cipher padding decoding for invalid record lengths.
5662 The crash can be triggered remotely before authentication, which can
5663 lead to a Daniel of Service attack to disable the server.  The bug
5664 cause gnutls to read memory beyond the end of the received record.
5665
5666 ** API and ABI modifications:
5667 No changes since last version.
5668
5669 * Version 2.2.3 (released 2008-05-06)
5670
5671 ** Increase default handshake packet size limit to 48kb.
5672 The old limit was 16kb and some servers send huge list of trusted CAs,
5673 thus running into the limit.  FYI, applications can further increase
5674 this limit using gnutls_handshake_set_max_packet_length.  Thanks to
5675 Marc Haber <mh+debian-bugs@zugschlus.de> and "Marc F. Clemente"
5676 <marc@mclemente.net> for reporting and providing test servers.
5677
5678 ** Fix compilation error related to __FUNCTION__ on some systems.
5679 Reported by Tim Mooney, see
5680 <https://savannah.gnu.org/support/?106267>.
5681
5682 ** Documented the --priority option to gnutls-cli and gnutls-serv.
5683
5684 ** Fix fopen file descriptor leak in PSK server code.
5685 Thanks to Laurence Withers <l@lwithers.me.uk>, see
5686 <http://lists.gnu.org/archive/html/gnutls-devel/2008-04/msg00002.html>.
5687
5688 ** Build Guile code with -fgnu89-inline only when supported.
5689 Reported by Kris Karas <ktk@enterprise.bidmc.harvard.edu> in
5690 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/2708>.
5691
5692 ** Make Camellia encryption work.
5693 Reported by Yoshisato YANAGISAWA <yanagisawa@csg.is.titech.ac.jp> in
5694 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/2746>.
5695
5696 ** API and ABI modifications:
5697 No changes since last version.
5698
5699 * Version 2.2.2 (released 2008-02-21)
5700
5701 ** Cipher priority string handling now handle strings that starts with NULL.
5702 Thanks to Laurence Withers <l@lwithers.me.uk>.
5703
5704 ** Corrected memory leaks in session resuming and DHE ciphersuites. Reported
5705 by Daniel Stenberg.
5706
5707 ** Increased the default certificate verification chain limits and allowed
5708 for checks without limitation.
5709
5710 ** Corrected the behaviour of gnutls_x509_crt_get_subject_alt_name()
5711 and gnutls_x509_crt_get_subject_alt_name() to not null terminate binary
5712 strings and return the proper size.
5713
5714 ** API and ABI modifications:
5715 No changes since last version.
5716
5717 * Version 2.2.1 (released 2008-01-17)
5718
5719 ** Prevent linking libextra against previously installed libgnutls.
5720 Tiny patch from "Alon Bar-Lev" <alon.barlev@gmail.com>, see
5721 <http://bugs.gentoo.org/show_bug.cgi?id=202269>.
5722
5723 ** Fixes the post_client_hello_function(). The extensions are now parsed
5724 in a callback friendly way.
5725
5726 ** Fix for certificate selection in servers with certificate callbacks.
5727
5728 ** API and ABI modifications:
5729 No changes since last version.
5730
5731 * Version 2.2.0 (released 2007-12-14)
5732
5733 ** Update internal copy of libtasn1 to version 1.2.
5734
5735 ** Certtool --verify-chain now handle inputs larger than 64kb.
5736 This fixes the self-test "rsa-md5-collision" under MinGW+Wine with
5737 recent versions of libgcrypt.  The problem was that Wine with the
5738 libgcrypt RNG generates huge amounts of debugging output.
5739
5740 ** Translation updates.
5741 Added Dutch translation.  Updated Polish and Swedish translation.
5742
5743 ** Major changes compared to the v2.0 branch:
5744
5745 *** SRP support aligned with newly published RFC 5054.
5746
5747 *** OpenPGP support aligned with newly published RFC 5081.
5748
5749 *** Support for DSA2 keys.
5750
5751 *** Support for Camellia cipher.
5752
5753 *** Support for Opaque PRF Input extension.
5754
5755 *** PKCS#8 parser now handle DSA keys.
5756
5757 *** Change from GPLv2 to GPLv3 for command-line tools, libgnutls-extra, etc.
5758 Notice that liblzo2 2.02 is licensed under GPLv2 only.  Earlier
5759 versions, such as 2.01 which is included with GnuTLS, is available
5760 under GPLv2 or later.  If this incompatibility causes problems, we
5761 recommend you to disable LZO using --without-lzo.  LZO compression is
5762 not a standard TLS compression algorithm, so the impact should be
5763 minimal.
5764
5765 *** Functions for disabling record protocol padding.
5766 Works around bugs on Nokia/Ericsson phones.
5767
5768 *** New functions gnutls_priority_set() for setting cipher priorities easily.
5769 Priorities like "COMPAT" also enables other work arounds, such as
5770 disabling padding.
5771
5772 *** Other minor improvements and bug fixes.
5773
5774 ** Backwards incompatible API/ABI changes in GnuTLS 2.2
5775 To adapt to changes in the TLS extension specifications for OpenPGP
5776 and SRP, the GnuTLS API had to be modified.  This means breaking the
5777 API and ABI backwards compatibility.  That is something we try to
5778 avoid unless it is necessary.  We decided to also remove the already
5779 deprecated stub functions for X.509 to XML conversion and TLS
5780 authorization (see below) when we had the opportunity.
5781
5782 Generally, most applications does not need to be modified.  Just
5783 re-compile them against the latest GnuTLS release, and it should work
5784 fine.
5785
5786 Applications that use the OpenPGP or SRP features needs to be
5787 modified.  Below is a list of the modified APIs and discussion of what
5788 the minimal things you need to modify in your application to make it
5789 work with GnuTLS 2.2.
5790
5791 Note that GnuTLS 2.2 also introduces new APIs -- such as
5792 gnutls_set_priority() that is superior to
5793 gnutls_set_default_priority() -- that you may want to start using.
5794 However, using those new APIs is not required to use GnuTLS 2.2 since
5795 the old functions continue are still supported.  This text only
5796 discuss what you minimally have to modify.
5797
5798 *** XML related changes
5799 The function `gnutls_x509_crt_to_xml' has been removed.  It has been
5800 deprecated and only returned an error code since GnuTLS version
5801 1.2.11.  Nobody has complained, so users doesn't seem to miss the
5802 functionality.  We don't know of any other library to convert X.509
5803 certificates into XML format, but we decided (long ago) that GnuTLS
5804 isn't the right place for this kind of functionality.  If you want
5805 help to find some other library to use here, please explain and
5806 discuss your use case on help-gnutls@gnu.org.
5807
5808 *** TLS Authorization related changes
5809 Everything related to TLS authorizations have been removed, they were
5810 only stub functions that returned an error code:
5811
5812  GNUTLS_SUPPLEMENTAL_AUTHZ_DATA
5813  gnutls_authz_data_format_type_t
5814  gnutls_authz_recv_callback_func
5815  gnutls_authz_send_callback_func
5816  gnutls_authz_enable
5817  gnutls_authz_send_x509_attr_cert
5818  gnutls_authz_send_saml_assertion
5819  gnutls_authz_send_x509_attr_cert_url
5820  gnutls_authz_send_saml_assertion_url
5821
5822 *** SRP related changes
5823 The callback gnutls_srp_client_credentials_function has a new
5824 prototype, and its semantic has changed.  You need to rewrite the
5825 callback, see the updated function documentation and SRP example code
5826 (doc/examples/ex-client-srp.c and doc/examples/ex-serv-srp.c) for more
5827 information.
5828
5829 The alert codes GNUTLS_A_MISSING_SRP_USERNAME and
5830 GNUTLS_A_UNKNOWN_SRP_USERNAME are no longer used by the SRP
5831 specification, instead the GNUTLS_A_UNKNOWN_PSK_IDENTITY alert is
5832 used.  There are #define's to map the old names to the new.  You may
5833 run into problems if you have a switch-case with cases for both SRP
5834 alerts, since they are now mapped to the same value.  The solution is
5835 to drop the SRP alerts from such switch cases, as they are now
5836 deprecated in favor of GNUTLS_A_UNKNOWN_PSK_IDENTITY.
5837
5838 *** OpenPGP related changes
5839 The function `gnutls_certificate_set_openpgp_keyserver' have been
5840 removed.  There is no replacement functionality inside GnuTLS.  If you
5841 need keyserver functionality, consider using the GnuPG tools.
5842
5843 All functions, types, and error codes related to OpenPGP trustdb
5844 format have been removed.  The trustdb format is a non-standard
5845 GnuPG-specific format, and we recommend you to use key rings instead.
5846 The following have been removed:
5847
5848  gnutls_certificate_set_openpgp_trustdb
5849  gnutls_openpgp_trustdb_init
5850  gnutls_openpgp_trustdb_deinit
5851  gnutls_openpgp_trustdb_import
5852  gnutls_openpgp_key_verify_trustdb
5853  gnutls_openpgp_trustdb_t
5854  GNUTLS_E_OPENPGP_TRUSTDB_VERSION_UNSUPPORTED
5855
5856 The following functions has an added parameter of the (new) type
5857 `gnutls_openpgp_crt_fmt_t'.  The type specify the format of the data
5858 (binary or base64).  The functions are:
5859  gnutls_certificate_set_openpgp_key_file
5860  gnutls_certificate_set_openpgp_key_mem
5861  gnutls_certificate_set_openpgp_keyring_mem
5862  gnutls_certificate_set_openpgp_keyring_file
5863
5864 To improve terminology and align with the X.509 interface, some
5865 functions have been renamed.  Compatibility mappings exists.  The old
5866 and new names of the affected functions and types are:
5867
5868         Old name                                New name
5869  gnutls_openpgp_key_t                    gnutls_openpgp_crt_t
5870  gnutls_openpgp_key_fmt_t                gnutls_openpgp_crt_fmt_t
5871  gnutls_openpgp_key_status_t             gnutls_openpgp_crt_status_t
5872  GNUTLS_OPENPGP_KEY                      GNUTLS_OPENPGP_CERT
5873  GNUTLS_OPENPGP_KEY_FINGERPRINT          GNUTLS_OPENPGP_CERT_FINGERPRINT
5874  gnutls_openpgp_key_init                 gnutls_openpgp_crt_init
5875  gnutls_openpgp_key_deinit               gnutls_openpgp_crt_deinit
5876  gnutls_openpgp_key_import               gnutls_openpgp_crt_import
5877  gnutls_openpgp_key_export               gnutls_openpgp_crt_export
5878  gnutls_openpgp_key_get_key_usage        gnutls_openpgp_crt_get_key_usage
5879  gnutls_openpgp_key_get_fingerprint      gnutls_openpgp_crt_get_fingerprint
5880  gnutls_openpgp_key_get_pk_algorithm     gnutls_openpgp_crt_get_pk_algorithm
5881  gnutls_openpgp_key_get_name             gnutls_openpgp_crt_get_name
5882  gnutls_openpgp_key_get_version          gnutls_openpgp_crt_get_version
5883  gnutls_openpgp_key_get_creation_time    gnutls_openpgp_crt_get_creation_time
5884  gnutls_openpgp_key_get_expiration_time  gnutls_openpgp_crt_get_expiration_time
5885  gnutls_openpgp_key_get_id               gnutls_openpgp_crt_get_id
5886  gnutls_openpgp_key_check_hostname       gnutls_openpgp_crt_check_hostname
5887  gnutls_openpgp_send_key                 gnutls_openpgp_send_cert
5888
5889 ** API and ABI modifications:
5890 No changes since last version.
5891
5892 * Version 2.1.8 (released 2007-12-10)
5893
5894 ** The GPL version has been changed from version 2 to version 3.
5895 This affects the self-tests, command-line tools, the libgnutls-extra
5896 library, the relevant guile parts, and the build environment.
5897
5898 ** Added gnutls_x509_crt_get_subject_alt_name2().
5899
5900 ** Corrected a segfault when setting an empty gnutls_priority_t
5901 at gnutls_priority_set().
5902
5903 ** Use gettext 0.17 which updates m4/lib-*.m4 macros.
5904 Fixes a problem with spurious -L/usr/lib additions.
5905
5906 ** API and ABI modifications:
5907 gnutls_x509_crt_get_subject_alt_name2: ADD.
5908
5909 * Version 2.1.7 (released 2007-11-29)
5910
5911 ** PKCS #8 parser can now encode/decode DSA keys.
5912
5913 ** Updated gnutls_set_default_priority2() now renamed to
5914 gnutls_priority_set() and gnutls_priority_set_direct() which
5915 accept a string to indicate preferences of ciphersuite parameters.
5916
5917 ** gnutls-cli and gnutls-serv now have a --priority option to set
5918 the priority string.
5919
5920 ** The gnutls_*_convert_priority() functions were deprecated by
5921 the gnutls_priority_set() and gnutls_priority_set_direct().
5922
5923 ** Internal copy of OpenCDK upgraded to version 0.6.6.
5924
5925 ** API and ABI modifications:
5926 gnutls_priority_init: ADD.
5927 gnutls_priority_deinit: ADD.
5928 gnutls_priority_set: ADD.
5929 gnutls_priority_set_direct: ADD.
5930 gnutls_set_default_priority2: RENAMED to gnutls_priority_set_direct()
5931 gnutls_mac_convert_priority: REMOVED
5932 gnutls_compression_convert_priority: REMOVED
5933 gnutls_protocol_convert_priority: REMOVED
5934 gnutls_kx_convert_priority: REMOVED
5935 gnutls_cipher_convert_priority: REMOVED
5936 gnutls_certificate_type_convert_priority: REMOVED
5937 gnutls_set_default_priority: UNDEPRECATED
5938 gnutls_set_default_priority_export: UNDEPRECATED
5939
5940 ** Undocumented API and ABI modifications earlier in the 2.1.x series:
5941 GNUTLS_CIPHER_UNKNOWN: ADD.
5942 GNUTLS_CIPHER_CAMELLIA_128_CBC: ADD.
5943 GNUTLS_CIPHER_CAMELLIA_256_CBC: ADD.
5944 GNUTLS_KX_UNKNOWN: ADD.
5945 GNUTLS_COMP_UNKNOWN: ADD.
5946 GNUTLS_CRT_UNKNOWN: ADD.
5947 gnutls_mac_get_id: ADD.
5948 gnutls_compression_get_id: ADD.
5949 gnutls_cipher_get_id: ADD.
5950 gnutls_kx_get_id: ADD.
5951 gnutls_protocol_get_id: ADD.
5952 gnutls_certificate_type_get_id: ADD.
5953 gnutls_handshake_post_client_hello_func: ADD.
5954 gnutls_certificate_send_x509_rdn_sequence: ADD prototype to gnutls.h.in.
5955
5956 * Version 2.1.6 (released 2007-11-15)
5957
5958 ** Corrected bug in decompression of expanded compression data.
5959
5960 ** Added the --to-p8 option to certtool to convert private keys
5961 to PKCS #8 keys.
5962
5963 ** Introduced the GNUTLS_E_BASE64_UNEXPECTED_HEADER_ERROR error code.
5964
5965 ** gnutls_certificate_set_x509_key_* can now read PKCS #8 unencrypted
5966 private keys.
5967
5968 ** Fixed GNUTLS_E_UNKNOWN_ALGORITHM vs GNUTLS_E_UNKNOWN_HASH_ALGORITHM.
5969 During the 2.1.x series the GNUTLS_E_UNKNOWN_HASH_ALGORITHM error code
5970 was renamed to GNUTLS_E_UNKNOWN_ALGORITHM, unfortunately without being
5971 documented.  This caused some problems (e.g., debian #450854).  To
5972 avoid backwards compatibility problems, this release revert this
5973 change, so that GNUTLS_E_UNKNOWN_HASH_ALGORITHM works just like it has
5974 done in GnuTLS 2.0.x and earlier, and add a new error code
5975 GNUTLS_E_UNKNOWN_ALGORITHM.
5976
5977 ** Fixes several gtk-doc warnings.
5978
5979 ** API and ABI modifications:
5980 GNUTLS_E_UNKNOWN_ALGORITHM: CHANGED.
5981 GNUTLS_E_UNKNOWN_HASH_ALGORITHM: CHANGED.
5982 GNUTLS_E_BASE64_UNEXPECTED_HEADER_ERROR: ADD.
5983
5984 * Version 2.1.5 (released 2007-11-01)
5985
5986 ** Fix PKCS#3 parameter export problem.
5987
5988 ** Improve certtool queries, they now print the default value.
5989
5990 ** Fix ABI version.
5991
5992 ** Update gnulib files.
5993
5994 ** API and ABI modifications:
5995 No changes since last version.
5996
5997 * Version 2.1.4 (released 2007-10-27)
5998
5999 ** Added the --v1 option to certtool, to allow generating X.509
6000 version 1 certificates. 
6001
6002 ** certtool: Add option --disable-quick-random to enable the old behaviour
6003 of using /dev/random to generate keys.
6004
6005 ** Added priority functions that accept strings.
6006
6007 ** Added gnutls_set_default_priority2() which accepts a flag to indicate
6008 priorities preferences.
6009
6010 ** Added gnutls_record_disable_padding() to allow servers talking to 
6011 buggy clients that complain if the TLS 1.0 record protocol padding is
6012 used.
6013
6014 ** Introduced gnutls_session_enable_compatibility_mode() to allow enabling
6015 all supported compatibility options (like disabling padding).
6016
6017 ** The gnutls_certificate_set_openpgp_* functions were modified to include
6018 the format. This makes the interface consistent with the x509 functions.
6019
6020 ** Internal copy of OpenCDK upgraded to version 0.6.5.
6021
6022 ** Update gnulib files.
6023
6024 ** API and ABI modifications:
6025 gnutls_certificate_set_openpgp_key_mem: MODIFIED
6026 gnutls_certificate_set_openpgp_key_file: MODIFIED
6027 gnutls_certificate_set_openpgp_keyring_mem: MODIFIED
6028 gnutls_certificate_set_openpgp_keyring_file: MODIFIED
6029 gnutls_set_default_priority: DEPRECATED
6030 gnutls_set_default_priority_export: DEPRECATED
6031 gnutls_set_default_priority2: ADDED
6032 gnutls_session_enable_compatibility_mode: ADDED
6033 gnutls_record_disable_padding: ADDED
6034 gnutls_mac_convert_priority: ADDED
6035 gnutls_compression_convert_priority: ADDED
6036 gnutls_protocol_convert_priority: ADDED
6037 gnutls_kx_convert_priority: ADDED
6038 gnutls_cipher_convert_priority: ADDED
6039 gnutls_certificate_type_convert_priority: ADDED
6040 gnutls_openpgp_key_t: RENAMED to gnutls_openpgp_crt_t
6041 gnutls_openpgp_key_status_t: RENAMED to gnutls_openpgp_crt_status_t
6042 gnutls_openpgp_send_key: RENAMED to gnutls_openpgp_send_cert
6043 gnutls_openpgp_key_init: RENAMED to gnutls_openpgp_crt_init
6044 gnutls_openpgp_key_import: RENAMED to gnutls_openpgp_crt_import
6045 gnutls_openpgp_key_export: RENAMED to gnutls_openpgp_crt_export
6046 gnutls_openpgp_key_check_hostname: RENAMED to gnutls_openpgp_crt_check_hostname
6047 gnutls_openpgp_key_get_creation_time: RENAMED to gnutls_openpgp_crt_get_creation_time
6048 gnutls_openpgp_key_get_expiration_time: RENAMED to gnutls_openpgp_crt_get_expiration_time
6049 gnutls_openpgp_key_get_fingerprint: RENAMED to gnutls_openpgp_crt_get_fingerprint
6050 gnutls_openpgp_key_get_version: RENAMED to gnutls_openpgp_crt_get_version
6051 gnutls_openpgp_key_get_pk_algorithm: RENAMED to gnutls_openpgp_crt_get_pk_algorithm
6052 gnutls_openpgp_key_get_name: RENAMED to gnutls_openpgp_crt_get_name
6053 gnutls_openpgp_key_deinit: RENAMED to gnutls_openpgp_crt_deinit
6054 gnutls_openpgp_key_get_id: RENAMED to gnutls_openpgp_crt_get_id
6055 gnutls_openpgp_key_get_key_usage: RENAMED to gnutls_openpgp_crt_get_key_usage
6056 gnutls_openpgp_key_verify_ring: RENAMED to gnutls_openpgp_crt_verify_ring
6057 gnutls_openpgp_key_verify_self: RENAMED to gnutls_openpgp_crt_verify_self
6058
6059 * Version 2.1.3 (released 2007-10-17)
6060
6061 ** TLS authorization support removed.
6062 This technique may be patented in the future, and it is not of crucial
6063 importance for the Internet community.  After deliberation we have
6064 concluded that the best thing we can do in this situation is to
6065 encourage society not to adopt this technique.  We have decided to
6066 lead the way with our own actions.
6067
6068 ** Re-enabled the 256 bit ciphers in the default priorities.
6069
6070 ** Corrected bugs in openpgp key verification using a keyring (both in
6071 gnutls and opencdk)
6072
6073 ** API and ABI modifications:
6074 gnutls_certificate_set_openpgp_keyserver: REMOVED
6075 gnutls_authz_data_format_type_t,
6076 gnutls_authz_recv_callback_func,
6077 gnutls_authz_send_callback_func,
6078 gnutls_authz_enable,
6079 gnutls_authz_send_x509_attr_cert,
6080 gnutls_authz_send_saml_assertion,
6081 gnutls_authz_send_x509_attr_cert_url,
6082 gnutls_authz_send_saml_assertion_url: REMOVED.
6083 GNUTLS_SUPPLEMENTAL_USER_MAPPING_DATA: ADDED.  To avoid that the
6084     gnutls_supplemental_data_format_type_t enum type becomes empty.
6085
6086 * Version 2.1.2 (released 2007-10-14)
6087
6088 ** Removed all the trustdb code from openpgp authentication.
6089 We now use only the well-specified keyrings.
6090
6091 ** The 256 bit ciphers are not enabled in the default priorities.
6092
6093 ** Added support for DSA2 using libgcrypt 1.3.0.
6094
6095 ** certtool: Fixed data corruption when using --outder.
6096
6097 ** Removed all the xml related stubs and functions.
6098
6099 ** Added capability to set a callback after the client hello is received
6100 by the server in order to adjust parameters before the handshake.
6101
6102 ** SRP was corrected to adhere to the latest draft (published soon as RFC)
6103
6104 ** Corrected bug which did not allow a server to run without supporting
6105 certificates.
6106
6107 ** Updated the DN parser which now prints wrongly decoded values as hex
6108 strings.
6109
6110 ** certtool: Add option --quick-random.
6111 For generating low security test credentials.
6112
6113 ** API and ABI modifications:
6114 gnutls_x509_crt_to_xml: REMOVED
6115 gnutls_openpgp_key_to_xml: REMOVED
6116 gnutls_openpgp_key_verify_trustdb: REMOVED
6117 gnutls_openpgp_trustdb_init: REMOVED
6118 gnutls_openpgp_trustdb_deinit: REMOVED
6119 gnutls_openpgp_trustdb_import: REMOVED
6120 gnutls_certificate_set_openpgp_trustdb: REMOVED
6121 gnutls_srp_client_credentials_function: CHANGED
6122 gnutls_handshake_set_post_client_hello_function: ADDED
6123 gnutls_mac_get_key_size: ADDED
6124 GNUTLS_E_OPENPGP_TRUSTDB_VERSION_UNSUPPORTED: DEPRECATED.
6125 GNUTLS_A_MISSING_SRP_USERNAME: DEPRECATED
6126 GNUTLS_A_UNKNOWN_SRP_USERNAME: DEPRECATED
6127
6128 * Version 2.1.1 (released 2007-09-24)
6129
6130 ** Added support for Camellia cipher, thanks to Yoshisato YANAGISAWA.
6131 Camellia is only enabled in GnuTLS if the installed libgcrypt has been
6132 compiled with Camellia support.  See the libgcrypt documentation on
6133 how to enable it.  Unconditionally disable it using the configure
6134 option --disable-camellia.  Fixes #1.
6135
6136 ** Properly document in the NEWS file the API change in the last release.
6137
6138 ** API and ABI modifications:
6139 No changes since last version.
6140
6141 * Version 2.1.0 (released 2007-09-20)
6142
6143 ** Support for draft-rescorla-tls-opaque-prf-input-00.txt.
6144 The support is disabled by default.  Since no value has been allocated
6145 by the IANA for this extension yet, you will need to provide one
6146 yourself by invoking './configure --enable-opaque-prf-input=42'.
6147 Fixes #2.
6148
6149 ** Example code: Fix compilation flaw under MinGW.
6150
6151 ** API and ABI modifications:
6152 gnutls_oprfi_callback_func: ADD, new typedef function prototype.
6153 gnutls_oprfi_enable_client: ADD, new function.
6154 gnutls_oprfi_enable_server: ADD, new function.
6155
6156 * Version 2.0.4 (released 2007-11-16)
6157
6158 ** Corrected bug in decompression of expanded compression data.           
6159
6160 ** API and ABI modifications:
6161 No changes since last version.
6162
6163 * Version 2.0.3 (released 2007-11-10)
6164
6165 ** This version backports several fixes from the 2.1.x branch.
6166
6167 ** Fixed PKCS #3 parameter export.
6168
6169 ** Added gnutls_record_disable_padding() to allow servers talking to
6170 buggy clients that complain if the TLS 1.0 record protocol padding is
6171 used.
6172
6173 ** Introduced gnutls_session_enable_compatibility_mode() to allow enabling
6174 all supported compatibility options (like disabling padding).
6175
6176 ** Corrected bug which did not allow a server to run without supporting
6177 certificates.
6178
6179 ** API and ABI modifications:
6180 gnutls_session_enable_compatibility_mode: ADDED
6181 gnutls_record_disable_padding: ADDED
6182
6183 * Version 2.0.2 (released 2007-10-17)
6184
6185 ** TLS authorization support removed.
6186 This technique may be patented in the future, and it is not of crucial
6187 importance for the Internet community.  After deliberation we have
6188 concluded that the best thing we can do in this situation is to
6189 encourage society not to adopt this technique.  We have decided to
6190 lead the way with our own actions.
6191
6192 ** certtool: Fixed data corruption when using --outder.
6193
6194 ** Fix configure-time Guile detection.
6195
6196 ** API and ABI modifications:
6197 GNUTLS_SUPPLEMENTAL_USER_MAPPING_DATA: ADDED.  To avoid that the
6198     gnutls_supplemental_data_format_type_t enum type becomes empty.
6199
6200 * Version 2.0.1 (released 2007-09-20)
6201
6202 ** New directory doc/credentials/ with test credentials.
6203 This collects the test credentials from the web page and from src/.
6204 The script gnutls-http-serv has also been moved to that directory.
6205
6206 ** Update SRP extension type and cipher suite with official IANA values.
6207 This breaks backwards compatibility with SRP in older versions of
6208 GnuTLS, but this is intentional to speed up the adoption of the
6209 official values.  The old values we used were incorrect.
6210
6211 ** Guile: Fix `x509-certificate-dn-oid'
6212
6213 ** API and ABI modifications:
6214 No changes since last version.
6215
6216 * Version 2.0.0 (released 2007-09-04)
6217
6218 ** Included copy of Libtasn1 upgraded to version 1.1.
6219
6220 ** Disable building of some examples if anonymous ciphers are disabled.
6221
6222 ** Don't build examples for disabled features.
6223
6224 ** API and ABI modifications:
6225 No changes since last version.
6226
6227 * Version 1.7.19 (released 2007-08-27)
6228
6229 ** Fix gnutls_error_is_fatal so that positive "errors" are non-critical.
6230 This solves connection problems in mutt, see
6231 <http://bugs.debian.org/439640>.
6232
6233 ** Update gnulib files.
6234 In particular, the getpass module -- with its dependencies on getline,
6235 getdelim, fseeko etc -- where moved from the lgl/ (used by the core
6236 library) directory to the gl/ directory (only used by the command line
6237 tools).  The reason is that getpass is now only used by the
6238 command-line tools, and reducing the number of gnulib modules linked
6239 to the core library helps portability and reduces size.
6240
6241 ** Fix warnings.
6242
6243 ** Disable building of PGP examples if PGP is disabled.
6244
6245 ** Included copy of OpenCDK upgraded to version 0.6.4.
6246
6247 ** API and ABI modifications:
6248 No changes since last version.
6249
6250 * Version 1.7.18 (released 2007-08-16)
6251
6252 ** Install images for the info manual.
6253 This has a side effect of renaming the images.  See
6254 <http://thread.gmane.org/gmane.comp.tex.texinfo.bugs/3533> for
6255 discussions on the approach chosen.
6256
6257 ** Fix pointer mix to variables of different size.
6258 Patch extracted from
6259 <http://cvs.fedora.redhat.com/viewcvs/devel/gnutls/gnutls-1.6.3-incompat-pointers.patch?rev=1.1&view=auto>.
6260
6261 ** Fix warnings during build.
6262 Thanks to Andreas Metzler <ametzler@downhill.at.eu.org>.
6263
6264 ** API and ABI modifications:
6265 No changes since last version.
6266
6267 * Version 1.7.17 (released 2007-08-15)
6268
6269 ** New functions to perform external signing.
6270 Set the signing callback function (of the gnutls_sign_func prototype)
6271 using the gnutls_sign_callback_set function.  In the callback, you may
6272 find the new functions gnutls_x509_privkey_sign_hash and
6273 gnutls_openpgp_privkey_sign_hash useful.  A new function
6274 gnutls_sign_callback_get is also added, to retrieve the function
6275 pointer.  Thanks to "Alon Bar-Lev" <alon.barlev@gmail.com> for
6276 comments and testing.
6277
6278 ** New self test of client and server authenticated X.509 TLS sessions.
6279 See tests/x509self.c and tests/x509signself.c.  The latter also tests
6280 the new external signing callback interface.
6281
6282 ** New errors GNUTLS_E_APPLICATION_ERROR_MIN..GNUTLS_E_APPLICATION_ERROR_MAX.
6283 These two actually describe the outer limits of a range of error codes
6284 reserved to the application.  All of the errors are treated as fatal
6285 by the library (it has to since it doesn't know the semantics of the
6286 error codes).  This can be useful in callbacks, to signal some
6287 application-specific error condition, which will usually eventually
6288 cause some gnutls API to return the same error code as the callback,
6289 which then can be inspected by the application.  Note that error codes
6290 are negative.
6291
6292 ** gnutls_set_default_priority now disable TLS 1.2 by default.
6293 The RFC is not released yet, and we're approaching a major release so
6294 let's not enable it just yet.
6295
6296 ** Fix namespace so that gnutls_*_t is used consistently.
6297 Before, many places in the GnuTLS code used the old deprecated type
6298 names without the '_t' suffix.
6299
6300 ** Build fixes for Guile code.
6301 Patch from Ludovic Courtes <ludovic.courtes@laas.fr>.
6302
6303 ** More documentation fixes.
6304 In particular, the section headings were modified for casing.  By
6305 Ludovic Courtes <ludovic.courtes@laas.fr>.
6306
6307 ** Updated Polish and Swedish translations.
6308 Thanks to Jakub Bogusz <qboosh@pld-linux.org> and Daniel Nylander
6309 <po@danielnylander.se>.
6310
6311 ** API and ABI modifications:
6312 gnutls_sign_func: ADD, new type for sign callback.
6313 gnutls_sign_callback_set: ADD, new function to set sign callback.
6314 gnutls_sign_callback_get: ADD, new function to retrieve sign callback.
6315 gnutls_x509_privkey_sign_hash,
6316 gnutls_openpgp_privkey_sign_hash: ADD, new functions useful in sign callback.
6317 GNUTLS_E_APPLICATION_ERROR_MIN,
6318 GNUTLS_E_APPLICATION_ERROR_MAX: ADD, new CPP #defines for error codes.
6319
6320 * Version 1.7.16 (released 2007-08-07)
6321
6322 ** Fix sanity checks and return values in certificate selection.
6323 In some cases, GnuTLS omitted to report suitable error codes when no
6324 suitable certificate was found.
6325
6326 ** Fix gnutls-cli starttls EOF on Mac OS X.
6327 Thanks to Hal Eden <n.mavrogiannopoulos@gmail.com>.
6328
6329 ** Documentation fixes.
6330 In particular, the section headings were modified for casing.  By
6331 Ludovic Courtes <ludovic.courtes@laas.fr>.
6332
6333 ** Update gnulib files.
6334
6335 ** API and ABI modifications:
6336 No changes since last version.
6337
6338 * Version 1.7.15 (released 2007-07-02)
6339
6340 ** Fix self-tests key-id under mingw32.
6341
6342 ** Test that the Guile header files are recent enough to work.
6343 Before we just tested that the command line tool 'guile' was recent
6344 enough, which may not be sufficient if you still have an old
6345 libguile.h header installed.
6346
6347 ** Guile bindings are now installed under $prefix by default.
6348 Use --without-guile-site-dir to install it under $pkgdatadir/site/
6349 where $pkgdatadir is as returned by "guile-config info pkgdatadir".
6350 Use --with-guile-site-dir=/your/own/path to specify the path manually.
6351 The default, --with-guile-site-dir, will install the Guile bindings
6352 under $datadir/guile/site.  There is a new section 'Guile
6353 Preparations' in the manual that discuss these issues.
6354
6355 ** Fix run-time library path ordering in linking the Guile bindings.
6356
6357 ** Improved manual on downloading, installing, getting help, bug reports etc.
6358 Suggested by Ludovic Courtès <ludovic.courtes@laas.fr>.
6359
6360 ** Add Malay message translations.
6361 Thanks to Sharuzzaman Ahmat Raslan <sharuzzaman@myrealbox.com>.
6362
6363 ** API and ABI modifications:
6364 No changes since last version.
6365
6366 * Version 1.7.14 (released 2007-06-26)
6367
6368 ** Don't enable Guile bindings unless we have Guile 1.8 or later.
6369 Patch from Ludovic Courtès <ludovic.courtes@laas.fr>.
6370
6371 ** Fix memory leak during DSA signature verification.
6372 Patch from Ludovic Courtès <ludovic.courtes@laas.fr>.
6373
6374 ** Fix crash in gnutls-cli when TLS handshake fails.
6375 Reported by Marc Haber <mh+debian-bugs@zugschlus.de> and Andreas
6376 Metzler <ametzler@downhill.at.eu.org> via Debian BTS #429183, see
6377 <http://bugs.debian.org/429183>.
6378
6379 ** Minor OpenPGP fixes in stream_to_datum.
6380 Patch from Timo Schulz <twoaday@freakmail.de> and Ludovic Courtès
6381 <ludovic.courtes@laas.fr>.
6382
6383 ** Fix off-by-one in TLS 1.2 handshake.
6384 Patch from Ludovic Courtès <ludovic.courtes@laas.fr>.
6385
6386 ** Minor Guile binding self-test cleanup.
6387 Patch from Ludovic Courtès <ludovic.courtes@laas.fr>.
6388
6389 ** Update gnulib files.
6390
6391 ** API and ABI modifications:
6392 No changes since last version.
6393
6394 * Version 1.7.13 (released 2007-06-11)
6395
6396 ** OpenCDK copy updated to version 0.6.3.
6397
6398 ** Build fixes for GnuTLS Guile bindings.
6399 Patch from Ludovic Courtès <ludovic.courtes@laas.fr>.
6400
6401 ** Build fix for GTK-DOC manual.
6402
6403 ** Update gnulib files.
6404
6405 ** API and ABI modifications:
6406 No changes since last version.
6407
6408 * Version 1.7.12 (released 2007-06-08)
6409
6410 ** Guile bindings for GnuTLS have been included.
6411 Contributed by Ludovic Courtès <ludovic.courtes@laas.fr>.  There is a
6412 new chapter 'Guile Bindings' in the manual.
6413
6414 ** Have PKCS8 parser return better error codes.
6415 Reported by Nate Nielsen <nielsen-list@memberwebs.com>, see
6416 <http://lists.gnupg.org/pipermail/gnutls-dev/2007-May/001653.html> and
6417 <http://lists.gnupg.org/pipermail/gnutls-dev/2007-May/001654.html>.
6418
6419 ** Fix mem leak for sessions with client authentication via certificates.
6420 Reported by Andrew W. Nosenko <andrew.w.nosenko@gmail.com>, see
6421 <http://lists.gnupg.org/pipermail/gnutls-dev/2007-April/001539.html>.
6422
6423 ** Fix mem leaks.
6424 Reported by Dennis Vshivkov <walrus@amur.ru>, see
6425 <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=333050>.  Added
6426 self-test tests/parse_ca.c to test regressions.
6427
6428 ** Fix build failures related to missing images in manual.
6429 Reported by Andreas Metzler <ametzler@downhill.at.eu.org>.
6430
6431 ** Update gnulib files.
6432
6433 ** API and ABI modifications:
6434 No changes since last version.
6435
6436 * Version 1.7.11 (released 2007-05-26)
6437
6438 ** Include opencdk.h in the release.
6439 Reported by Roman Bogorodskiy <novel@FreeBSD.org>.
6440
6441 ** API and ABI modifications:
6442 No changes since last version.
6443
6444 * Version 1.7.10 (released 2007-05-25)
6445
6446 ** New API functions to extract DER encoded X.509 Subject/Issuer DN.
6447 Suggested by Nate Nielsen <nielsen-list@memberwebs.com>.
6448
6449 ** Update of gnulib files.
6450
6451 ** GnuTLS is now developed in GIT instead of CVS.
6452 See <http://repo.or.cz/w/gnutls.git> for a public repository.
6453
6454 ** API and ABI modifications:
6455 gnutls_x509_crt_get_raw_issuer_dn: ADD.
6456 gnutls_x509_crt_get_raw_dn: ADD.
6457
6458 * Version 1.7.9 (released 2007-05-12)
6459
6460 ** X.509 certificates are preferred over OpenPGP keys.
6461 This is a change in the semantics of gnutls_set_default_priority.
6462
6463 ** The included copy of OpenCDK has been updated to 0.6.1.
6464 There has been some API changes in OpenCDK, and the GnuTLS layer have
6465 been modified as well.  Note that while there are API/ABI incompatible
6466 changes in OpenCDK, this does not influence GnuTLS's API/ABI because
6467 its API/ABI have not changed.  From this version on, GnuTLS requires
6468 OpenCDK 0.6.0 or later.
6469
6470 ** Fix build failure caused by missing doc/gnutls-logo.pdf.
6471
6472 ** Change certtool's default serial number from 0 to a time-based value.
6473
6474 ** Fix X.509 signing with RSA-PKCS#1 to set a NULL parameters fields.
6475 Before, we remove the parameters field, which resulted in a slightly
6476 different DER encoding which in turn caused signature verification
6477 failures of GnuTLS-generated RSA certificates in some other
6478 implementations (e.g., GnuPG 2.x's gpgsm).  Depending on which RFCs
6479 you read, this may or may not be correct, but our new behaviour appear
6480 to be consistent with other widely used implementations.
6481
6482 ** Fix mem leaks in gnutls_x509_crt_print.
6483
6484 ** API and ABI modifications:
6485 No changes since last version.
6486
6487 * Version 1.7.8 (released 2007-04-16)
6488
6489 ** Added examples for the authorization extension.
6490 See doc/examples/ex-client-authz.c and doc/examples/ex-serv-authz.c.
6491
6492 ** The examples only use gnutls_set_default_priority().
6493 The exception is when DH_ANON is needed.
6494
6495 ** Improve gnutls_set_default_priority() priorities.
6496 The new approach is for it to try and negotiate all secure and
6497 standard mechanisms available.  Currently, DH_ANON ciphersuites and
6498 LZO compressions are not enabled by default, because they are,
6499 respectively, insecure and non-standardized.  Note that TLS 1.2 will
6500 not be enabled by default in non-experimental release until it has
6501 been approved by the IETF.
6502
6503 ** gnutls-cli and gnutls-serv now uses the library's default priorities.
6504 This means that to get DH_ANON and LZO compression, you'll need to
6505 specify that manually using '--kx anon' or '--comp lzo'.
6506
6507 ** Minor fixes to the human display format of X.509 certificates.
6508
6509 ** New APIs to extract Distinguished Name's from X.509 certificates.
6510 Based on patch from Howard Chu <hyc@symas.com>.
6511
6512 ** Improved library searching for opencdk.
6513 It will now add the appropriate -R or -Wl,-rpath flags as necessary.
6514 The deprecated opencdk.m4 is no longer used.
6515
6516 ** New APIs to list supported algorithms in the library.
6517 The APIs are gnutls_cipher_list, gnutls_mac_list,
6518 gnutls_compression_list, gnutls_protocol_list,
6519 gnutls_certificate_type_list, gnutls_kx_list, and
6520 gnutls_cipher_suite_info.  Suggested by Howard Chu <hyc@symas.com>.
6521
6522 ** The gnutls_x509_crt_get_key_id API now handle non-RSA/DSA keys.
6523
6524 ** New configure option --disable-tls-authorization to disable tls-authz.
6525
6526 ** Fix prototype for `gnutls_psk_set_client_credentials'.
6527 The last parameter was renamed from 'flags' to 'format' and the type
6528 changed from 'unsigned int' to 'gnutls_psk_key_flags' (an enum type),
6529 which shouldn't cause any ABI changes.  Reported by ludo@chbouib.org
6530 (Ludovic Courtès).
6531
6532 ** Fix allocation in gnutls_certificate_set_openpgp_key.
6533 Tiny patch from ludo@chbouib.org (Ludovic Courtès).
6534
6535 ** API and ABI modifications:
6536 gnutls_x509_dn_t: ADD.
6537 gnutls_x509_ava_st: ADD.
6538 gnutls_x509_crt_get_subject,
6539 gnutls_x509_crt_get_issuer: ADD.
6540 gnutls_x509_dn_get_rdn_ava: ADD.
6541 gnutls_cipher_list: ADD.
6542 gnutls_mac_list: ADD.
6543 gnutls_compression_list: ADD.
6544 gnutls_protocol_list: ADD.
6545 gnutls_certificate_type_list: ADD.
6546 gnutls_kx_list: ADD.
6547 gnutls_cipher_suite_info: ADD.
6548
6549 * Version 1.7.7 (released 2007-02-22)
6550
6551 ** Support for supplemental handshake messages and authorization data.
6552 Supplemental data is described in RFC 4680 and the authorization
6553 extensions in draft-housley-tls-authz-extns-07.
6554
6555 ** Support for authorization data in gnutls-cli and gnutls-serv.
6556 New parameters --authz-x509-attr-cert and --authz-saml-assertion.
6557
6558 ** Fix for gnutls_x509_crt_check_hostname.
6559 Before it would have reported that the certificate matched a hostname
6560 when it did not have any dNSName or any CN field.  Report and tiny
6561 patch from "Richard W.M. Jones" <rjones@redhat.com>.
6562
6563 ** New self test for RFC 2818 comparison in gnutls_x509_crt_check_hostname.
6564 Tests regressions of the bug, and several other features.
6565
6566 ** GnuTLS now matches URI's with IP Addresses against iPAddress SAN's.
6567 Before there were no support for iPAddress SAN's during comparison.
6568
6569 ** New API to print information about CRL's.
6570 The function is gnutls_x509_crl_print.
6571
6572 ** New API to extract signature value from CRL's.
6573 The function is gnutls_x509_crl_get_signature.
6574
6575 ** Support for directoryName Subject Alternative Name's.
6576 The gnutls_x509_crt_get_subject_alt_name function returns the DN as a
6577 string in the provided buffer.
6578
6579 ** Internal improvements to certtool.
6580 It uses gnutls_x509_crl_print to print CRL information.  It uses some
6581 more gnulib modules to simplify error handling.
6582
6583 ** API and ABI modifications:
6584 GNUTLS_HANDSHAKE_SUPPLEMENTAL: ADD, new gnutls_handshake_description_t element.
6585 gnutls_supplemental_data_format_type_t: ADD.
6586 gnutls_authz_data_format_type_t: ADD.
6587 gnutls_supplemental_get_name: ADD.
6588 gnutls_authz_recv_callback_func,
6589 gnutls_authz_send_callback_func: ADD, callback prototypes.
6590 gnutls_authz_enable: ADD.
6591 gnutls_authz_send_x509_attr_cert,
6592 gnutls_authz_send_saml_assertion,
6593 gnutls_authz_send_x509_attr_cert_url,
6594 gnutls_authz_send_saml_assertion_url: ADD.
6595 GNUTLS_SAN_DN: ADD, new gnutls_x509_subject_alt_name_t element.
6596 gnutls_x509_crl_print: ADD.
6597 gnutls_x509_crl_get_signature: ADD.
6598
6599 * Version 1.7.6 (released 2007-02-12)
6600
6601 ** Support for 'otherName' Subject Alternative Names.
6602 The existing API gnutls_x509_crt_get_subject_alt_name may now return
6603 the new type GNUTLS_SAN_OTHERNAME together with the otherName value.
6604 To find out the otherName OID (necessary for proper parsing of the
6605 value), use the new API gnutls_x509_crt_get_subject_alt_othername_oid.
6606 For known OIDs, gnutls_x509_crt_get_subject_alt_othername_oid will
6607 return "virtual" SAN values, e.g., GNUTLS_SAN_OTHERNAME_XMPP to
6608 simplify OID matching.  Suggested by Matthias Wimmer <m@tthias.eu>.
6609
6610 ** Certtool can print otherName SAN values for certificates.
6611 For known otherName OIDs (currently only id-on-xmppAddr as defined by
6612 RFC 3920), it will also print the name.
6613
6614 ** Fix TLS 1.2 RSA signing in servers.
6615 Before it used the old-style MD5+SHA1 signature, but the TLS
6616 signatures should be normal PKCS#1 signatures.  FYI, we use and
6617 require that DigestInfo parameters are present and NULL for TLS 1.2.
6618
6619 ** Add APIs to access X.509 extensions sequentially.
6620 The existing APIs gnutls_x509_crt_get_extension_oid() and
6621 gnutls_x509_crt_get_extension_by_oid() does not permit callers to
6622 inspect the extensions in the order defined by the certificate.
6623
6624 ** Add API to extract signature value from X.509 certificates.
6625 The function is gnutls_x509_crt_get_signature.
6626
6627 ** Fix crash when generating proxy certificates in batch mode.
6628 If you don't specify a proxy policy in batch mode, it will use
6629 id-ppl-inheritALL.
6630
6631 ** Add API to print information about X.509 certificates.
6632 The function is gnutls_x509_crt_print.
6633
6634 ** Certtool uses the new API gnutls_x509_crt_print to print certificate info.
6635 One consequence of this is that the output syntax has changed
6636 slightly.  Some more fields are printed.
6637
6638 ** Doc fixes.
6639
6640 ** API and ABI modifications:
6641 gnutls_x509_crt_print: ADD
6642 gnutls_certificate_print_formats_t: ADD, new enum.
6643 gnutls_x509_crt_get_signature: ADD.
6644 gnutls_x509_crt_get_extension_data: ADD.
6645 gnutls_x509_crt_get_extension_info: ADD.
6646 gnutls_x509_crt_get_subject_alt_othername_oid: ADD.
6647 GNUTLS_SAN_OTHERNAME: ADD, new gnutls_x509_subject_alt_name_t element.
6648 GNUTLS_SAN_OTHERNAME_XMPP: ADD, new gnutls_x509_subject_alt_name_t element.
6649
6650 * Version 1.7.5 (released 2007-02-06)
6651
6652 ** Servers won't negotiate SRP RSA/DSS cipher suites if no SRP credential
6653 ** is set.
6654
6655 ** Default behaviour for the gnutls-cli and gnutls-serv tools improved.
6656
6657 ** Fix --list output for gnutls-cli and gnutls-serv.
6658 Mention TLS1.2, SHA512 etc.
6659
6660 ** Manual contains new section on setting up a test HTTP server.
6661 A server set up following those descriptions are available online via
6662 <http://www.gnutls.org/server.html>.
6663
6664 ** Update of gnulib files.
6665
6666 ** API and ABI modifications:
6667 No changes since last version.
6668
6669 * Version 1.7.4 (released 2007-02-05)
6670
6671 ** Support for RSA signing using SHA-256/384/512.
6672 A new self test "sha2" tries to build a long X.509 certificate chain
6673 testing all new hashes.
6674
6675 ** The gnutls-serv tool now use static DH parameters if none are supplied.
6676
6677 ** Discuss proxy certificates in the manual.
6678
6679 ** Improve bibliographical citations in the manual.
6680
6681 ** Update of gnulib files.
6682
6683 ** Fix certtool template handling of pathLenConstraints.
6684 It now defaults to -1 instead of 0, which causes the field to be
6685 missing unless the template specify it.
6686
6687 ** API and ABI modifications:
6688 GNUTLS_MAC_SHA256,
6689 GNUTLS_MAC_SHA384,
6690 GNUTLS_MAC_SHA512: New gnutls_mac_algorithm_t values.
6691 GNUTLS_DIG_SHA256,
6692 GNUTLS_DIG_SHA384,
6693 GNUTLS_DIG_SHA512: New gnutls_digest_algorithm_t values.
6694 GNUTLS_SIGN_RSA_SHA256,
6695 GNUTLS_SIGN_RSA_SHA384,
6696 GNUTLS_SIGN_RSA_SHA512: New gnutls_sign_algorithm_t values.
6697
6698 * Version 1.7.3 (released 2007-02-01)
6699
6700 ** New option to certtool: --generate-proxy.
6701 This will generate a Proxy Certificate from an end entity certificate.
6702 Proxy Certificates are documented in RFC 3820.  You will need to
6703 specify the proxy certificate's private key with --load-privkey, the
6704 user certificate with --load-certificate and the private key used to
6705 sign the new proxy certificate with --load-ca-privkey.  Certtool will
6706 query for proxy path length and the policy language OID.  Currently
6707 only OIDs that have an empty policy are supported (which includes the
6708 two OIDs defined by RFC 3820).
6709
6710 ** Certtool --certificate-info now prints information for Proxy Certificates.
6711 Before the proxy extension was just printed as DER encoded data.
6712
6713 ** New APIs to set proxy subject names and get/set proxy cert extension.
6714
6715 ** Fix parsing of pathLenConstraints in BasicConstraints with missing cA.
6716
6717 ** Added self-test to test for regressions of pathLenConstraint bug.
6718 Incidentally, this also test (some) other regressions or changes in
6719 the output from certtool --certificate-info.
6720
6721 ** When certtool generates CA certificates, pressing enter on the path
6722 ** length constraint query will now remove the field.
6723 Before it set the path length constraint to 0, which is a rather poor
6724 default.
6725
6726 ** Certtool now print times in UTC when printing certificate/CRL info.
6727
6728 ** Add better fix to work around C++ compiler bug on Mac OS X.
6729 Reported and tiny patch provided by Matthias Scheler <tron@NetBSD.org>.
6730
6731 ** Fix import of ASCII armored OpenPGP keys.
6732 Patch by ludovic.courtes@laas.fr (Ludovic Courtès).
6733
6734 ** Update of gnulib files.
6735
6736 ** API and ABI modifications:
6737 gnutls_x509_crt_set_proxy_dn: ADD.
6738 gnutls_x509_crt_set_proxy: ADD.
6739 gnutls_x509_crt_get_proxy: ADD.
6740
6741 * Version 1.7.2 (released 2007-01-14)
6742
6743 ** Certtool now print the value of the pathLenConstraints field for certs.
6744
6745 ** Certtool now query for path length constraints when generating CA certs.
6746 For batch uses, the certtool configuration name is "path_len".
6747 Suggested by Sascha Ziemann <sascha.ziemann@secunet.com>.
6748
6749 ** Add new API to get/set pathLenConstraint in the Basic Constraints.
6750 The new functions gnutls_x509_crt_get_basic_constraints and
6751 gnutls_x509_crt_set_basic_constraints provide a superset of the
6752 functionality in the old gnutls_x509_crt_get_ca_status and
6753 gnutls_x509_crt_set_ca_status (respectively), but the old functions
6754 will continue to be supported.
6755
6756 ** Add new API in OpenCDK to extract public/secret OpenPGP key to S-expr.
6757 The functions are cdk_pubkey_to_sexp and cdk_seckey_to_sexp.  A proper
6758 OpenCDK release with this patch will be made soon, which should bump
6759 the OpenCDK version number.  Patch by Mario Lenz <mario.lenz@gmx.net>.
6760
6761 ** Certtool --to-p12 can now store more than one certificate in the blob.
6762 Before it could only store one certificate, but now it will read and
6763 store as many certificate there are from the --load-certificate file.
6764 Suggested by Sascha Ziemann <sascha.ziemann@secunet.com>.
6765
6766 ** Clean up separation of gnutls and gnutls-extra for OpenPGP.
6767 In particular, the OpenPGP function variables are no longer part of
6768 the exported libgnutls interface, and no header files from
6769 libgnutls-extra (GPL) are needed by libgnutls (LGPL).  The variables
6770 were never intended for non-internal purposes, and thus this does not
6771 imply a change in the external API/ABI.
6772
6773 ** Print URL to gaa when missing, and fix srcdir!=builddir for GAA files.
6774 Reported by ludovic.courtes@laas.fr (Ludovic Courtès).
6775
6776 ** GnuTLS no longer uses -mms-bitfields --enable-runtime-pseudo-reloc.
6777 Before these parameters were set to make GnuTLS build under mingw32,
6778 however, they appear to no longer be necessary.
6779
6780 ** A minor fix to the C++ library to make it build.
6781 Reported by Pavlov Konstantin <thresh@altlinux.ru>.
6782
6783 ** Update of gnulib files.
6784
6785 ** API and ABI modifications:
6786 gnutls_x509_crt_get_basic_constraints: ADD.
6787 gnutls_x509_crt_set_basic_constraints: ADD.
6788 cdk_pubkey_to_sexp: ADD (in opencdk).
6789 cdk_seckey_to_sexp: ADD (in opencdk).
6790
6791 * Version 1.7.1 (released 2006-12-28)
6792
6793 ** TLS 1.2 server side fix.
6794 The Certificate Request sent did not contain the list of supported
6795 hashes field, thus violating the protocol.  It will now contain an
6796 empty list.  Reported by ludovic.courtes@laas.fr (Ludovic Courtès).
6797
6798 ** TLS 1.2 DSA signature verification fix.
6799 Reported by ludovic.courtes@laas.fr (Ludovic Courtès).
6800
6801 ** Fix the list of trusted CAs that server's send to clients.
6802 Before, the list contained issuer DN's instead of subject DN's of the
6803 trusted CAs.  Reported by Max Kellermann <max@duempel.org>.
6804
6805 ** Fix gnutls_certificate_set_x509_crl to initialize the CRL before using it.
6806 Also added a self-test in tests/certificate_set_x509_crl.c to test the
6807 function.  Reported by Max Kellermann <max@duempel.org>.
6808
6809 ** Encode UID fields in DN's as DirectoryString.
6810 Before GnuTLS encoded and parsed UID fields as IA5String.  This was
6811 incorrect, it should have used DirectoryString.  Now it will use
6812 DirectoryString for the UID field, but for backwards compatibility it
6813 will also accept IA5String UID's.  Reported by Max Kellermann
6814 <max@duempel.org>.
6815
6816 ** Improve out-of-sourcedir builds from CVS.
6817 Reported by ludovic.courtes@laas.fr (Ludovic Courtès).
6818
6819 ** Bootstrap tools changed.
6820 We now require autoconf 2.61, automake 1.10, and gettext 0.16, when
6821 building GnuTLS from CVS.  Libtool 1.5.22 is used.
6822
6823 ** Fixed a syntax error in lib/gnutls.asn.
6824 Reported by Paul Millar <p.millar@physics.gla.ac.uk>.
6825
6826 ** Added German translation of GnuTLS messages.
6827
6828 ** Update of gnulib files.
6829
6830 ** API and ABI modifications:
6831 No changes since last version.
6832
6833 * Version 1.7.0 (released 2006-11-29)
6834
6835 ** The default protocol priority try TLS 1.1 and TLS 1.2 too.
6836 The details is that the protocol priority set by
6837 `gnutls_set_default_priority' has been changed from TLS 1.0 and SSL
6838 3.0 to TLS 1.2, TLS 1.1, TLS 1.0 and SSL 3.0.
6839
6840 ** Preliminary support for TLS 1.2.
6841 The client has been successfully tested against
6842 https://www.mikestoolbox.org:4433/.
6843
6844 ** Anonself test now print a lot of debugging info, including TLS version.
6845
6846 ** Doc fixes in OpenCDK, to avoid some gtk-doc warnings.
6847
6848 ** Update of gnulib files.
6849
6850 ** API and ABI modifications:
6851 GNUTLS_TLS1_2: New gnutls_protocol_t enum member.
6852
6853 *** Pulled up from stable 1.6.x branch:
6854
6855 ** Fix ./configure failure with non-GCC compilers.
6856 This fixes the following error message:
6857 configure: error: conditional "HAVE_LD_OUTPUT_DEF" was never defined.
6858 Reported by "Michael C. Vergallen" <mvergall@telenet.be>.
6859
6860 * Version 1.6.3 (released 2007-05-26)
6861
6862 ** New API functions to extract DER encoded X.509 Subject/Issuer DN.
6863 Suggested by Nate Nielsen <nielsen-list@memberwebs.com>.  Backported
6864 from the 1.7.x branch, see
6865 <http://lists.gnu.org/archive/html/help-gnutls/2007-05/msg00029.html>.
6866
6867 ** Have PKCS8 parser return better error codes.
6868 Reported by Nate Nielsen <nielsen-list@memberwebs.com>, see
6869 <http://lists.gnupg.org/pipermail/gnutls-dev/2007-May/001653.html> and
6870 <http://lists.gnupg.org/pipermail/gnutls-dev/2007-May/001654.html>.
6871
6872 ** Fix mem leak for sessions with client authentication via certificates.
6873 Reported by Andrew W. Nosenko <andrew.w.nosenko@gmail.com>, see
6874 <http://lists.gnupg.org/pipermail/gnutls-dev/2007-April/001539.html>.
6875
6876 ** Fix building of 'tlsia' self test.
6877 Earlier some gcc are known to build tlsia linking to
6878 $prefix/lib/libgnutls-extra.so rather than the libgnutls-extra.so in
6879 the build directory, even though command line parameters look OK.
6880 Changing order of some parameters fixes it.
6881
6882 ** API and ABI modifications:
6883 gnutls_x509_crt_get_raw_issuer_dn: ADD.
6884 gnutls_x509_crt_get_raw_dn: ADD.
6885
6886 * Version 1.6.2 (released 2007-04-18)
6887
6888 ** Fix X.509 signing with RSA-PKCS#1 to set a NULL parameters fields.
6889 Before, we remove the parameters field, which resulted in a slightly
6890 different DER encoding which in turn caused signature verification
6891 failures of GnuTLS-generated RSA certificates in some other
6892 implementations (e.g., GnuPG 2.x's gpgsm).  Depending on which RFCs
6893 you read, this may or may not be correct, but our new behaviour appear
6894 to be consistent with other widely used implementations.
6895
6896 ** Regenerate the PKIX ASN.1 syntax tree.
6897 For some reason, after changing the ASN.1 type of ldap-UID in the last
6898 release, the generated C file built from the ASN.1 schema was not
6899 refreshed.  This can cause problems when reading/writing UID
6900 components inside X.500 Distinguished Names.  Reported by devel
6901 <dev001@pas-world.com>.
6902
6903 ** Updated translations.
6904
6905 ** API and ABI modifications:
6906 No changes since last version.
6907
6908 * Version 1.6.1 (released 2006-12-28)
6909
6910 ** Fix the list of trusted CAs that server's send to clients.
6911 Before, the list contained issuer DN's instead of subject DN's of the
6912 trusted CAs.  Reported by Max Kellermann <max@duempel.org>.
6913
6914 ** Fix gnutls_certificate_set_x509_crl to initialize the CRL before using it.
6915 Reported by Max Kellermann <max@duempel.org>.
6916
6917 ** Encode UID fields in DN's as DirectoryString.
6918 Before GnuTLS encoded and parsed UID fields as IA5String.  This was
6919 incorrect, it should have used DirectoryString.  Now it will use
6920 DirectoryString for the UID field, but for backwards compatibility it
6921 will also accept IA5String UID's.  Reported by Max Kellermann
6922 <max@duempel.org>.
6923
6924 ** Fix ./configure failure with non-GCC compilers.
6925 This fixes the following error message:
6926 configure: error: conditional "HAVE_LD_OUTPUT_DEF" was never defined.
6927 Reported by "Michael C. Vergallen" <mvergall@telenet.be>.
6928
6929 ** API and ABI modifications:
6930 No changes since last version.
6931
6932 * Version 1.6.0 (released 2006-11-17)
6933
6934 ** No changes since 1.5.5.
6935 The major changes compared to the 1.4.x branch are:
6936
6937 *** A GnuTLS C++ library is part of the official distribution.
6938 Currently there are no examples or documentation, but hopefully this
6939 will change.  See gnutlsxx.h for the API.
6940
6941 *** Windows is a supported platform.
6942 There are, however, two know bugs.  One is related to select() in
6943 command line tools (not, nota bene, in the library), the other is a
6944 problem with libgcrypt that causes delays.  Help is needed to resolve
6945 those issues, so we feel we can't delay the release because of this.
6946
6947 *** New APIs for custom push/pull function error reporting.
6948 The new APIs are gnutls_transport_set_errno and
6949 gnutls_transport_set_global_errno.  See the release notes for version
6950 1.5.4 for more information.
6951
6952 *** Self tests are run under valgrind, if available.  See --disable-valgrind.
6953
6954 * Version 1.5.5 (released 2006-11-16)
6955
6956 ** Correctly bump shared library version after adding new APIs.
6957 This was forgotten in the last release.
6958
6959 ** Fix unsigned vs signed problem in ex-x509-info.c example.
6960 Reported by Tim Kosse <tim.kosse@filezilla-project.org>.
6961
6962 ** Fix the rsa-md5-collision self test to work for MinGW+Wine.
6963
6964 ** Update of gnulib files.
6965
6966 ** API and ABI modifications:
6967 No changes since last version.
6968
6969 * Version 1.5.4 (released 2006-11-07)
6970
6971 ** New API functions to set errno in push/pull functions.
6972 Under Windows, setting the errno variable in a push/pull replacement
6973 may end up setting the wrong errno variable, and GnuTLS send/recv
6974 functions become confused about the real errno returned from a failed
6975 push/pull function.  Therefor, we have added two APIs to set the errno
6976 variable used by GnuTLS.  The APIs can also help to keep things
6977 thread-safe, by avoiding potentially global variables.  Typically,
6978 instead of setting errno in your push/pull function, you will call one
6979 of these functions.  It is recommended to use
6980 gnutls_transport_set_errno, but if you don't have the session variable
6981 easily accessible in the push/pull replacement function, you can use
6982 gnutls_transport_set_global_errno.  Suggested by Tim Kosse
6983 <tim.kosse@filezilla-project.org>.
6984
6985 void gnutls_transport_set_errno (gnutls_session_t session, int err);
6986 void gnutls_transport_set_global_errno (int err);
6987
6988 ** When calling `recv' or `send' Windows errors are handled properly.
6989 The Windows recv/send functions doesn't use errno, and GnuTLS now use
6990 WSAGetLastError to access the error condition instead.
6991
6992 ** Several OpenPGP API fixes.
6993 All suggested by ludovic.courtes@laas.fr (Ludovic Courtès).  The most
6994 important fix is to change the return value of
6995 gnutls_openpgp_privkey_get_pk_algorithm and
6996 gnutls_openpgp_key_get_pk_algorithm from 'int' to
6997 'gnutls_pk_algorithm_t', which is an enum type (and thus API/ABI
6998 compatible with 'int').
6999
7000 ** When a GnuTLS server receive a SSLv2 Client Hello for an unknown TLS
7001 ** version, try to negotiate the highest version support by the GnuTLS server,
7002 ** instead of the lowest.
7003 Reported by <Pasi.Eronen@nokia.com>.
7004
7005 ** Replace old constructs with use of gnulib modules.
7006 For example, we can now assume unistd.h, sys/stat.h, sys/socket.h in
7007 the code.  If the headers doesn't exist on the target system, gnulib
7008 will make sure its replacement header files are used instead.
7009
7010 ** Fix SOVERSION computation for *.def files.
7011 This fixes build errors similar to "No rule to make target
7012 `libgnutls-`expr', needed by `all-am'." when building for Windows.
7013
7014 ** gnutls_check-version uses strverscmp from gnulib.
7015
7016 ** Update of gnulib files.
7017
7018 ** API and ABI modifications:
7019 gnutls_transport_set_errno: ADD
7020 gnutls_transport_set_global_errno: ADD
7021
7022 * Version 1.5.3 (released 2006-10-26)
7023
7024 ** Add new self-test of RSA-MD5 signature chains.
7025 Note that we already, since GnuTLS 1.2.9, reject RSA-MD5 signatures
7026 when verifying X.509 chains.  The code is in tests/rsa-md5-collision/
7027 and is based on the work by Marc Stevens et al, see
7028 <http://www.win.tue.nl/hashclash/TargetCollidingCertificates/>.
7029
7030 ** Re-factor self tests.
7031
7032 ** The include copy of Libtasn1 is updated to version 0.3.7.
7033
7034 ** The included copy of OpenCDK is updated to version 0.5.11.
7035
7036 ** Fix the filename of the *.def file on Windows after library version bump.
7037
7038 ** Separated the gnulib directory into one for LGPL modules and one for GPL.
7039 This allows the GPL'd part of GnuTLS to take advantage of the GPL'd
7040 gnulib modules.  Earlier we could only use the LGPL'ed module from
7041 gnulib, because two gnulib directories in the same project didn't
7042 work.
7043
7044 ** API and ABI modifications:
7045 No changes since last version.
7046
7047 * Version 1.5.2 (released 2006-10-03)
7048
7049 ** Decrement the shared library version back to 13 (as in the 1.4.x branch).
7050 Note that if you installed 1.5.0 or 1.5.1, they will have a higher
7051 shared library version than this version, so you'll have to remove
7052 them and possibly relink your applications.  The reason for this is
7053 that no API/ABI changes have been made since the 1.4.x branch, and
7054 that incrementing the shared library version was a mistake.  Reported
7055 by Andreas Metzler <ametzler@downhill.at.eu.org>.
7056
7057 ** Fix off-by-one error when computing length to malloc.
7058 The code is used by gnutls_openpgp_add_keyring_file and
7059 gnutls_openpgp_add_keyring_mem.  Reported by "Adam Langley"
7060 <agl@imperialviolet.org>.
7061
7062 ** Add version script for the GnuTLS C++ library.
7063 Reported by Andreas Metzler <ametzler@downhill.at.eu.org>.
7064
7065 ** Fix the C++ compiler detection logic.
7066 Reported by Andreas Metzler <ametzler@downhill.at.eu.org>.
7067
7068 ** Update of gnulib files.
7069
7070 ** API and ABI modifications:
7071 No changes since last version.
7072
7073 * Version 1.5.1 (released 2006-09-21)
7074
7075 ** Fix PKCS#1 verification to avoid a variant of Bleichenbacher's
7076 ** Crypto 06 rump session attack.
7077 In particular, we check that the digestAlgorithm.parameters field is
7078 missing or empty, to avoid that it can contain "garbage" that may be
7079 used to alter the numeric properties of the signature.  See
7080 <http://www.imc.org/ietf-openpgp/mail-archive/msg14307.html> (which is
7081 not exactly the same as the problem we fix here).  Reported by Yutaka
7082 OIWA <y.oiwa@aist.go.jp>.
7083
7084 See GNUTLS-SA-2006-4 on http://www.gnutls.org/security.html for more
7085 up to date information.
7086
7087 ** Add self test to test for above flaw.
7088
7089 ** Fix gnutls-cli-debug regarding resume support detection.
7090 Earlier, if the session-id from the server had a length of 0, it would
7091 indicate that the server supports resumption, which isn't the case.
7092 Reported by Kataja Kai <kai.kataja@op.fi>.
7093
7094 ** Fix building of examples on FreeBSD by including netinet/in.h.
7095 Reported by Roman Bogorodskiy <novel@FreeBSD.org>.
7096
7097 ** Fix certtool bug that caused the private key to not be loaded when
7098 generating a certificate with --load-request, which in turn triggered
7099 another unrelated bug in gnutls_x509_crt_sign2 (also fixed).  Reported
7100 by Sascha Ziemann <sascha.ziemann@secunet.com>.
7101
7102 ** gnutls-cli and gnutls-serv works on Windows.
7103 The problem was the select() call that doesn't work on file
7104 descriptors (stdin) on Windows.  We borrowed some code from plibc to
7105 solve this.  It appears to be somewhat unreliable though.
7106
7107 ** Autoconf 2.60 is now used.
7108
7109 ** API and ABI modifications:
7110 No changes since last version.
7111
7112 * Version 1.5.0 (released 2006-08-13)
7113
7114 ** Change SRP and Cert-Type extensions to match IANA registry.
7115
7116 ** Fixed bug in OpenPGP authentication handshake.
7117
7118 ** Improvements for building under MinGW.
7119 Provides internal inet_ntop and inet_pton functions and arpa/inet.h
7120 header.  Calls WSAStartup and WSACleanup in gnutls_global_init and
7121 gnutls_global_deinit, respectively.  Loads getaddrinfo and getnameinfo
7122 at run-time from ws2_32.dll, and falls back on a simple replacement if
7123 it is not available.  Builds the library with -mms-bitfields
7124 -Wl,--enable-runtime-pseudo-reloc.  Links with --output-def, to
7125 create *.def files, which are installed.
7126
7127 ** The examples now (conditionally) include config.h and link to gnulib.
7128 No other source changes were necessary, so the examples should
7129 continue to be possible to use stand-alone without any autoconf or
7130 gnulib stuff.
7131
7132 ** Added C++ header "gnutlsxx.h" and library "libgnutlsxx".
7133 You may unconditionally disable it with --disable-cxx.  See
7134 includes/gnutls/gnutlsxx.h and lib/gnutlsxx.cpp for the
7135 implementation.
7136
7137 ** Made command line tool '--version' behave according to GNU Standards.
7138 This enables 'make distcheck' to succeed.
7139
7140 ** OpenCDK updated to 0.5.9 to fix some problems with OpenPGP support.
7141
7142 ** Make --without-included-libtasn1 work.
7143 Reported by Daniel Black <dragonheart@gentoo.org>.
7144
7145 ** Fix a crash (strcmp() on a NULL value) in the certificate verification logic.
7146 See http://www.gnu.org/software/gnutls/security.html regardging
7147 GNUTLS-SA-2006-2 for more up to date information.  Reported by
7148 satyakumar <satyam_kkd@hyd.hellosoft.com>.
7149
7150 ** API and ABI modifications:
7151 No changes since last version.
7152
7153 * Version 1.4.5 (released 2006-11-06)
7154
7155 ** When a GnuTLS server receive a SSLv2 Client Hello for an unknown TLS
7156 ** version, try to negotiate the highest version support by the GnuTLS server,
7157 ** instead of the lowest.
7158 Reported by <Pasi.Eronen@nokia.com>.
7159
7160 ** Fix typo in doc/examples/ex-serv-pgp.c.
7161 Reported by Adam Langley" <agl@imperialviolet.org>.
7162
7163 ** API and ABI modifications:
7164 No changes since last version.
7165
7166 * Version 1.4.4 (released 2006-09-12)
7167
7168 ** Relax the test that caught signatures that exploit the variant of
7169 ** Bleichenbacher's Crypto 06 rump session attack on our
7170 ** verification logic flaw.
7171 In particular, we now permit the digestAlgorithm.parameters field to
7172 be present but empty, whereas in 1.4.3 we actually checked that the
7173 field was absent.
7174
7175 ** Revert the removal of debug information for the GNUTLS-SA-2006-3 problem.
7176 The messages are only printed in debug mode, which is not recommended
7177 for normal use, and thus logging this situation cannot be abused as an
7178 oracle in typical recommended situations.
7179
7180 ** API and ABI modifications:
7181 No changes since last version.
7182
7183 * Version 1.4.3 (released 2006-09-08)
7184
7185 ** Fix PKCS#1 verification to avoid a variant of Bleichenbacher's
7186 ** Crypto 06 rump session attack.
7187 In particular, we check that the digestAlgorithm.parameters field is
7188 empty, to avoid that it can contain "garbage" that may be used to
7189 alter the numeric properties of the signature.  See
7190 <http://www.imc.org/ietf-openpgp/mail-archive/msg14307.html> (which is
7191 not exactly the same as the problem we fix here).  Reported by Yutaka
7192 OIWA <y.oiwa@aist.go.jp>.
7193
7194 See GNUTLS-SA-2006-4 on http://www.gnutls.org/security.html for more
7195 up to date information.
7196
7197 ** Fix PKCS#1 decryption to avoid Bleichenbacher's Crypto 98 attack.
7198 See <http://www.bell-labs.com/user/bleichen/papers/pkcs.ps.gz>.
7199 Reported by Werner Koch <wk@gnupg.org>.
7200
7201 See GNUTLS-SA-2006-3 on http://www.gnutls.org/security.html for more
7202 up to date information.
7203
7204 ** Fix crash in gnutls_x509_crt_sign2 if passed a NULL issuer_key.
7205
7206 ** API and ABI modifications:
7207 No changes since last version.
7208
7209 * Version 1.4.2 (released 2006-08-12)
7210
7211 ** Fix a crash (strcmp() on a NULL value) in the certificate verification logic.
7212 This can happen if you call gnutls_certificate_verify_peers2 and have
7213 a certain mix of local CA certificates and the peer send special
7214 certificates, that together trigger certain behaviour.  It is not
7215 known at this point whether the crash can be triggered without the
7216 special local CA certificate, and thus turn this into a remote crash
7217 of clients that verify server certificates when they talk to a server
7218 with the special server certificate.  See GNUTLS-SA-2006-2 on
7219 http://www.gnu.org/software/gnutls/security.html for more up to date
7220 information.  Reported by satyakumar <satyam_kkd@hyd.hellosoft.com>.
7221
7222 ** Change SRP and Cert-Type extensions to match IANA registry.
7223
7224 ** OpenCDK updated to 0.5.9 to fix some problems with OpenPGP support.
7225
7226 ** Make --without-included-libtasn1 work.
7227 Reported by Daniel Black <dragonheart@gentoo.org>.
7228
7229 ** API and ABI modifications:
7230 No changes since last version.
7231
7232 * Version 1.4.1 (released 2006-06-14)
7233
7234 ** Replaced inactive ifdefs to enable openpgp support in test programs.
7235
7236 ** Fixed bug in OpenPGP authentication handshake.
7237
7238 ** Fixed typographical in man pages.
7239
7240 ** Build fixes of the manual.
7241
7242 ** Added Swedish translation.
7243
7244 ** API and ABI modifications:
7245 No changes since last version.
7246
7247 * Version 1.4.0 (released 2006-05-15)
7248
7249 ** Remove GnuTLS 0.8.x compatibility functions.
7250
7251 ** The libgcrypt RNG is initialized in gnutls_global_init().
7252
7253 ** TLS/IA API changes from Emile van Bergen.
7254 A dummy credential structure is not needed now, if you wish to use the
7255 low-level TLS/IA API, simply call gnutls_ia_enable to enable TLS/IA on
7256 a session.
7257
7258 ** The self-tests are now run under valgrind, if it is installed.
7259
7260 ** Libtasn1 is updated to 0.3.4, and that version is now required.
7261
7262 ** The command line tools now use getaddrinfo and support IPv6.
7263
7264 ** API and ABI modifications:
7265 _gnutls_x509_get_raw_crt_activation_time,
7266 _gnutls_x509_get_raw_crt_expiration_time: Removed.
7267 gnutls_ia_require_inner_phase: Removed, replaced by gnutls_ia_enable.
7268 gnutls_ia_enable: Added.
7269
7270 * Version 1.3.5 (released 2006-03-08)
7271
7272 ** Error messages are now translated using GNU Gettext.
7273
7274 ** The function gnutls_x509_crt_to_xml now return an internal error.
7275 This means that the code to convert X.509 certificates to XML format
7276 does not work any more.  The reason is that the function called
7277 libtasn1 internal functions.  It seems unclean for libtasn1 to export
7278 the APIs needed here.  Instead it would be better to implement XML
7279 support inside libtasn1 properly.  If you need this functionality
7280 strongly, please consider looking into implementing this suggested
7281 approach instead.  As a workaround, you may also modify lib/x509/xml.c
7282 (change '#if 1' to '#if 0') and build using --with-included-libtasn1.
7283
7284 ** Libraries are now built with libtool's -no-undefined.
7285 This helps producing libraries for Windows using mingw32.
7286
7287 ** Doc fixes to explain that gnutls_record_send can block.
7288
7289 ** Libtasn1 0.3.1 or later is now required.
7290 The include copy has been updated too.
7291
7292 ** gnutls-cli can now recognize services and port numbers with the -p option.
7293
7294 ** API and ABI modifications:
7295 No changes since last version.
7296
7297 * Version 1.3.4 (released 2006-02-09)
7298
7299 ** Fix read of out bounds bug in DER parser.
7300 Reported by Evgeny Legerov <admin@gleg.net>, and debugging help from
7301 Protover SSL.  Libtasn1 0.2.18 is now required, which contains the
7302 previous bug fix.  The included libtasn1 version in GnuTLS has been
7303 updated.
7304
7305 ** Fixed bug in non-blocking gnutls_bye(). gnutls_record_send() will no 
7306 longer invalidate a session if the underlying send fails, but it will 
7307 prevent future writes. That is to allow reading the already received data.
7308 Patches and bug reports by Yoann Vandoorselaere <yoann@prelude-ids.org>
7309
7310 ** Corrected bugs in gnutls_certificate_set_x509_crl() and
7311 gnutls_certificate_set_x509_trust(), that caused memory corruption if 
7312 more than one certificates were added. Report and patch by Max Kellermann.
7313
7314 ** Fix build problems of OpenCDK on AIX.
7315 Thanks to "Heiden, John" <JHeiden@UTNet.UToledo.Edu>.
7316
7317 ** API and ABI modifications:
7318 No changes since last version.
7319
7320 * Version 1.3.3 (released 2006-01-12)
7321
7322 ** New API to access the TLS master secret.
7323 When possible, you should use the TLS PRF functions instead.
7324 Suggested by Jouni Malinen <jkmaline@cc.hut.fi>.
7325
7326 ** Improved handling when multiple libraries use GnuTLS at the same time.
7327 Now gnutls_global_init() can be called multiple times, and
7328 gnutls_global_deinit() will only deallocate the structure when it has
7329 been called as many times as gnutls_global_init() was called.
7330
7331 ** Added a self test of TLS resume functionality.
7332
7333 ** Fix crash in TLS resume code, caused by TLS/IA changes.
7334
7335 ** Documentation fixes about thread unsafety, prompted by
7336 ** discussion with bryanh@giraffe-data.com (Bryan Henderson).
7337 In particular, gnutls_global_init() and gnutls_global_deinit() are not
7338 thread safe.  Careful callers may want to protect the call using a
7339 mutex.  The problem could also be ignored, which would cause a memory
7340 leak under rare conditions when two threads invoke the function
7341 roughly at the same time.
7342
7343 ** Add 'const' keywords in various places, from Frediano ZIGLIO.
7344
7345 ** The code was indented again, including the external header files.
7346
7347 ** API and ABI modifications:
7348 New functions to retrieve the master secret value:
7349   gnutls_session_get_master_secret
7350
7351 Add a 'const' keyword to existing API:
7352   gnutls_x509_crq_get_challenge_password
7353
7354 * Version 1.3.2 (released 2005-12-15)
7355
7356 ** GnuTLS now support TLS Inner application (TLS/IA).
7357 This is per draft-funk-tls-inner-application-extension-01.  This
7358 functionality is added to libgnutls-extra, so it is licensed under the
7359 GNU General Public License.
7360
7361 ** New APIs to access the TLS Pseudo-Random-Function (PRF).
7362 The PRF is used by some protocols building on TLS, such as EAP-PEAP
7363 and EAP-TTLS.  One function to access the raw PRF and one to access
7364 the PRF seeded with the client/server random fields are provided.
7365 Suggested by Jouni Malinen <jkmaline@cc.hut.fi>.
7366
7367 ** New APIs to acceess the client and server random fields in a session.
7368 These fields can be useful by protocols using TLS.  Note that these
7369 fields are typically used as input to the TLS PRF, and if this is your
7370 intended use, you should use the TLS PRF API that use the
7371 client/server random field directly.  Suggested by Jouni Malinen
7372 <jkmaline@cc.hut.fi>.
7373
7374 ** Internal type cleanups.
7375 The uint8, uint16, uint32 types have been replaced by uint8_t,
7376 uint16_t, uint32_t.  Gnulib is used to guarantee the presence of
7377 correct types on platforms that lack them.  The uint type have been
7378 replaced by unsigned.
7379
7380 ** API and ABI modifications:
7381 New functions to invoke the TLS Pseudo-Random-Function (PRF):
7382   gnutls_prf
7383   gnutls_prf_raw
7384
7385 New functions to retrieve the session's client and server random values:
7386   gnutls_session_get_server_random
7387   gnutls_session_get_client_random
7388
7389 New function, to perform TLS/IA handshake:
7390   gnutls_ia_handshake
7391
7392 New function to decide whether to do a TLS/IA handshake:
7393   gnutls_ia_handshake_p
7394
7395 New functions to allocate a TLS/IA credential:
7396   gnutls_ia_allocate_client_credentials
7397   gnutls_ia_free_client_credentials
7398   gnutls_ia_allocate_server_credentials
7399   gnutls_ia_free_server_credentials
7400
7401 New functions to handle the AVP callback:
7402   gnutls_ia_set_client_avp_function
7403   gnutls_ia_set_client_avp_ptr
7404   gnutls_ia_get_client_avp_ptr
7405   gnutls_ia_set_server_avp_function
7406   gnutls_ia_set_server_avp_ptr
7407   gnutls_ia_get_server_avp_ptr
7408
7409 New functions, to toggle TLS/IA application phases:
7410   gnutls_ia_require_inner_phase
7411
7412 New function to mix session keys with inner secret:
7413   gnutls_ia_permute_inner_secret
7414
7415 Low-level API (used internally by gnutls_ia_handshake):
7416   gnutls_ia_endphase_send
7417   gnutls_ia_send
7418   gnutls_ia_recv
7419
7420 New functions that can be used after successful TLS/IA negotiation:
7421   gnutls_ia_generate_challenge
7422   gnutls_ia_extract_inner_secret
7423
7424 Enum type with TLS/IA modes:
7425   gnutls_ia_mode_t
7426
7427 Enum type with TLS/IA packet types:
7428   gnutls_ia_apptype_t
7429
7430 Enum values for TLS/IA alerts:
7431   GNUTLS_A_INNER_APPLICATION_FAILURE
7432   GNUTLS_A_INNER_APPLICATION_VERIFICATION
7433
7434 New error codes, to signal when an application phase has finished:
7435   GNUTLS_E_WARNING_IA_IPHF_RECEIVED
7436   GNUTLS_E_WARNING_IA_FPHF_RECEIVED
7437
7438 New error code to signal TLS/IA verify failure:
7439   GNUTLS_E_IA_VERIFY_FAILED
7440
7441 * Version 1.3.1 (released 2005-12-08)
7442
7443 ** Support for DHE-PSK cipher suites has been added.
7444 This method offers perfect forward secrecy.
7445
7446 ** Fix gnutls-cli STARTTLS hang when SIGINT is sent too quickly, thanks to
7447 Otto Maddox <ottomaddox@fastmail.fm> and Nozomu Ando <nand@mac.com>.
7448
7449 ** Corrected a bug in certtool for 64 bit machines. Reported
7450 by Max Kellermann <max@duempel.org>.
7451
7452 ** New function to set a X.509 private key and certificate pairs, and/or
7453 CRLs, from an PKCS#12 file, suggested by Emile van Bergen
7454 <emile@e-advies.nl>.
7455
7456 The integrity of the PKCS#12 file is protected through a password
7457 based MAC; public-key based signatures for integrity protection are
7458 not supported.  PKCS#12 bags may be encrypted using password derived
7459 symmetric keys, public-key based encryption is not supported.  The
7460 PKCS#8 keys may be encrypted using passwords.  The API use the same
7461 password for all operations.  We believe that any more flexibility
7462 create too much complexity that would hurt overall security, but may
7463 add more PKCS#12 related APIs if real-world experience indicate
7464 otherwise.
7465
7466 ** gnutls_x509_privkey_import_pkcs8 now accept unencrypted PEM PKCS#8 keys,
7467 reported by Emile van Bergen <emile@e-advies.nl>.
7468 This will enable "certtool -k -8" to parse those keys.
7469
7470 ** Certtool now generate keys in unencrypted PKCS#8 format for empty passwords.
7471 Use "certtool -p -8" and press press enter at the prompt.  Earlier,
7472 certtool would have encrypted the key using an empty password.
7473
7474 ** Certtool now accept --password for --key-info and encrypted PKCS#8 keys.
7475 Earlier it would have prompted the user for it, even if --password was
7476 supplied.
7477
7478 ** Added self test of PKCS#8 parsing.
7479 Unencrypted and encrypted (pbeWithSHAAnd3-KeyTripleDES-CBC and
7480 pbeWithSHAAnd40BitRC2-CBC) formats are tested.  The test is in
7481 tests/pkcs8.
7482
7483 ** API and ABI modifications:
7484 New function to set X.509 credentials from a PKCS#12 file:
7485   gnutls_certificate_set_x509_simple_pkcs12_file
7486
7487 New gnutls_kx_algorithm_t enum type:
7488   GNUTLS_KX_DHE_PSK
7489
7490 New API to return session data (basically same as gnutls_session_get_data):
7491   gnutls_session_get_data2
7492
7493 New API to set PSK Diffie-Hellman parameters:
7494   gnutls_psk_set_server_dh_params
7495
7496 * Version 1.3.0 (2005-11-15)
7497
7498 ** Support for TLS Pre-Shared Key (TLS-PSK) ciphersuites have been added.
7499 This add several new APIs, see below.  Read the updated manual for
7500 more information.  A new self test "pskself" has been added, that will
7501 test this functionality.
7502
7503 ** The session resumption data are now system independent.
7504
7505 ** The code has been re-indented to conform to the GNU coding style.
7506
7507 ** Removed the RIPEMD ciphersuites.
7508
7509 ** Added a discussion of the internals of gnutls in manual.
7510
7511 ** Fixes for Tru64 UNIX 4.0D that lack MAP_FAILED, from Albert Chin.
7512
7513 ** Remove trailing comma in enums, for IBM C v6, from Albert Chin.
7514
7515 ** Make sure config.h is included first in a few files, from Albert Chin.
7516
7517 ** Don't use C++ comments ("//") as they are invalid, from Albert Chin.
7518
7519 ** Don't install SRP programs and man pages if --disable-srp-authentication,
7520 from Albert Chin.
7521
7522 ** API and ABI modifications:
7523 New gnutls_kx_algorithm_t key exchange type: GNUTLS_KX_PSK
7524
7525 New gnutls_credentials_type_t credential type:
7526   GNUTLS_CRD_PSK
7527
7528 New credential types:
7529   gnutls_psk_server_credentials_t
7530   gnutls_psk_client_credentials_t
7531
7532 New functions to allocate PSK credentials:
7533   gnutls_psk_allocate_client_credentials
7534   gnutls_psk_free_client_credentials
7535   gnutls_psk_free_server_credentials
7536   gnutls_psk_allocate_server_credentials
7537
7538 New enum type for PSK key flags:
7539   gnutls_psk_key_flags
7540
7541 New function prototypes for credential callback:
7542   gnutls_psk_client_credentials_function
7543   gnutls_psk_server_credentials_function
7544
7545 New function to set PSK username and key:
7546   gnutls_psk_set_client_credentials
7547
7548 New function to set PSK passwd file:
7549   gnutls_psk_set_server_credentials_file
7550
7551 New function to extract PSK user in server:
7552   gnutls_psk_server_get_username
7553
7554 New functions to set PSK callback:
7555   gnutls_psk_set_server_credentials_function
7556   gnutls_psk_set_client_credentials_function
7557
7558 Use size_t instead of int for output size parameter:
7559   gnutls_srp_base64_encode
7560   gnutls_srp_base64_decode
7561
7562 * Version 1.2.11 (2006-05-11)
7563 - The function gnutls_x509_crt_to_xml is not supported any more, and
7564   return an internal error.  The reason is that the function called
7565   internal libtasn1 functions which are no longer exported from
7566   libtasn1.
7567 - Updated libtasn1 requirement to 0.3.4 and refreshed internal mintiasn1.
7568 - Updated gnulib compatibility files.
7569 - Fixed _gnutls_x509_get_raw_crt_expiration_time and
7570   _gnutls_x509_get_raw_crt_activation_time to return (time_t)-1 on errors.
7571 - API and ABI modifications:
7572   No changes since last version.
7573
7574 * Version 1.2.10 (2006-02-09)
7575 - Fix read out bounds bug in DER parser.  Reported by Evgeny Legerov
7576   <admin@gleg.net>, and debugging help from Protover SSL.
7577 - Libtasn1 0.2.18 is now required (contains the previous bug fix).
7578   The included version has been updated too.
7579 - Fix gnutls-cli STARTTLS hang when SIGINT is sent too quickly, thanks to
7580   Otto Maddox <ottomaddox@fastmail.fm> and Nozomu Ando <nand@mac.com>.
7581 - Corrected a bug in certtool for 64 bit machines. Reported
7582   by Max Kellermann <max@duempel.org>.
7583 - Corrected bugs in gnutls_certificate_set_x509_crl() and
7584   gnutls_certificate_set_x509_trust(), that caused memory corruption if
7585   more than one certificates were added. Report and patch by Max Kellermann.
7586 - Fixed bug in non-blocking gnutls_bye(). gnutls_record_send() will no 
7587   longer invalidate a session if the underlying send fails, but it will 
7588   prevent future writes. That is to allow reading the already received data.
7589   Patches and bug reports by Yoann Vandoorselaere <yoann@prelude-ids.org>
7590
7591 * Version 1.2.9 (2005-11-07)
7592 - Documentation was updated and improved.
7593 - RSA-MD2 is now supported for verifying digital signatures.
7594 - Due to cryptographic advances, verifying untrusted X.509
7595   certificates signed with RSA-MD2 or RSA-MD5 will now fail with a
7596   GNUTLS_CERT_INSECURE_ALGORITHM verification output.  For
7597   applications that must remain interoperable, you can use the
7598   GNUTLS_VERIFY_ALLOW_SIGN_RSA_MD2 or GNUTLS_VERIFY_ALLOW_SIGN_RSA_MD5
7599   flags when verifying certificates.  Naturally, this is not
7600   recommended default behaviour for applications.  To enable the
7601   broken algorithms, call gnutls_certificate_set_verify_flags with the
7602   proper flag, to change the verification mode used by
7603   gnutls_certificate_verify_peers2.
7604 - Make it possible to send empty data through gnutls_record_send,
7605   to align with the send(2) API.
7606 - Some changes in the certificate receiving part of handshake to prevent
7607   some possible errors with non-blocking servers.
7608 - Added numeric version symbols to permit simple CPP-based feature
7609   tests, suggested by Daniel Stenberg <daniel@haxx.se>.
7610 - The (experimental) low-level crypto alternative to libgcrypt used
7611   earlier (Nettle) has been replaced with crypto code from gnulib.
7612   This leads to easier re-use of these components in other projects,
7613   leading to more review and simpler maintenance.  The new configure
7614   parameter --with-builtin-crypto replace the old --with-nettle, and
7615   must be used if you wish to enable this functionality.  See README
7616   under "Experimental" for more information.  Internally, GnuTLS has
7617   been updated to use the new "Generic Crypto" API in gl/gc.h.  The
7618   API is similar to the old crypto/gc.h, because the gnulib code were
7619   based on GnuTLS's gc.h.
7620 - Fix compiler warning in the "anonself" self test.
7621 - API and ABI modifications:
7622 gnutls_x509_crt_list_verify: Added 'const' to prototype in <gnutls/x509.h>.
7623                              This doesn't reflect a change in behaviour,
7624                              so we don't break backwards compatibility.
7625 GNUTLS_MAC_MD2: New gnutls_mac_algorithm_t value.
7626 GNUTLS_DIG_MD2: New gnutls_digest_algorithm_t value.
7627 GNUTLS_VERIFY_ALLOW_SIGN_RSA_MD2,
7628 GNUTLS_VERIFY_ALLOW_SIGN_RSA_MD5: New gnutls_certificate_verify_flags values.
7629                                   Use when calling
7630                                   gnutls_x509_crt_list_verify,
7631                                   gnutls_x509_crt_verify, or
7632                                   gnutls_certificate_set_verify_flags.
7633 GNUTLS_CERT_INSECURE_ALGORITHM: New gnutls_certificate_status_t value,
7634                                 used when broken signature algorithms
7635                                 is used (currently RSA-MD2/MD5).
7636 LIBGNUTLS_VERSION_MAJOR,
7637 LIBGNUTLS_VERSION_MINOR,
7638 LIBGNUTLS_VERSION_PATCH,
7639 LIBGNUTLS_VERSION_NUMBER: New CPP symbols, indicating the GnuTLS
7640                           version number, can be used for feature existence
7641                           tests.
7642
7643 * Version 1.2.8 (2005-10-07)
7644 - Libgcrypt 1.2.2 is required to fix a bug for forking GnuTLS servers.
7645 - Don't install the auxilliary libexamples library used by the
7646   examples in doc/examples/ on "make install", report and tiny patch
7647   from Thomas Klausner <tk@giga.or.at>.
7648 - If you pass a X.509 CA or PGP trust database to the command line
7649   tool, it will now abort the connection if the server certificate
7650   validation fails.  Use the parameter --insecure to continue even
7651   after certificate validation failures.  Inspired from discussion
7652   with Alexander Kotelnikov <sacha@myxomop.com>.
7653 - The test for socklen_t has been moved to gnulib.
7654 - Link failures for duplicate or missing "program_name" symbol has been fixed,
7655   patch from Martin Lambers <marlam@marlam.de>.
7656 - The command line tool and the examples no longer uses mmap or bzero,
7657   to make them more portable, patch from Martin Lambers
7658   <marlam@marlam.de>.
7659 - Made the PKCS #12 API handle null passwords. Based on patch by
7660   Anton Altaparmakov <aia21@cam.ac.uk>.
7661 - The GTK-DOC manual should build with current released tools.
7662   (But a copy of the output is included, so the tools are not required.)
7663 - The inet_ntop function is now used through gnulib.
7664 - API and ABI modifications:
7665   No changes since last version.
7666
7667 * Version 1.2.7 (2005-09-09)
7668 - The GnuTLS and GnuTLS-extra libraries are now built with versioned symbols.
7669 - Certtool now complains when reading out-of-range X.509 serial
7670   numbers, suggested by Fran <e_agf@yahoo.es>.
7671 - Certtool now uses the readline library (when available) when reading
7672   X.509 serial numbers.
7673 - Fixed build problems in getpass on uClibc and Mingw32 platforms.
7674 - Fixed compile warning regarding socklen_t on Mingw32, reported by
7675   Martin Lambers <marlam@marlam.de>.
7676 - Fixed examples in doc/examples/, suggested by Fran <e_agf@yahoo.es>.
7677 - Gnulib is now used for the core library, enabling future code cleanups.
7678 - The gnutls-cli tool now use gnutls_certificate_verify_peers2,
7679   suggested by Daniel Stenberg <daniel@haxx.se>.
7680 - Doc fixes for gnutls_transport_set_push and gnutls_transport_set_pull.
7681 - Minilibtasn1 is now 0.2.17 (removed optional use of C99 macros).
7682 - Disable zlib support if zlib.h is not present.
7683 - A number of internal cleanups.
7684 - API and ABI modifications:
7685   No changes since last version.
7686
7687 * Version 1.2.6 (2005-07-16)
7688 - MiniLZO updated to version 2.01 and moved to separate directory.
7689 - Collision between system LZO header files and MiniLZO header file
7690   fixed, reported by Matthias Urlichs <smurf@smurf.noris.de>.
7691 - Will now test for liblzo functionality in liblzo2 too, reported by
7692   Thomas Klausner <tk@giga.or.at>.
7693 - Minilibtasn1 is now 0.2.14 (no code changes).
7694 - Some code changes to avoid GTK-DOC warnings.
7695 - API and ABI modifications:
7696   No changes since last version.
7697
7698 * Version 1.2.5 (2005-07-03)
7699 - More builddir != srcdir fixes, reported by Mike Castle
7700   <dalgoda@ix.netcom.com>.
7701 - Fixed off-by-one bug in the size parameter of gnutls_x509_crt_get*_dn,
7702   reported by Adam Langley <alangley@gmail.com>.
7703 - Corrected some stuff in minilzo detection. Pointed out by 
7704   Sergey Lipnevich.
7705 - MiniLZO updated to version 2.00.
7706 - gnutls_x509_crt_list_import now accept a DER formatted CRL.
7707 - API and ABI modifications:
7708   No changes since last version.
7709
7710 * Version 1.2.4 (2005-05-28)
7711 - Corrected some bugs that could affect 64 bit systems.
7712 - Some corrections in the header files to include the prototype
7713   of memmem properly (affected 64 bit systems). Report and patch
7714   by Yoann Vandoorselaere <yoann@prelude-ids.org>.
7715 - Introduced the --fix-key option to certtool, which can be used to
7716   regenerate the (optional) parameters in a private key. It should
7717   be used together with --key-info.
7718 - Corrected a bug in certificate chain verification that could lead
7719   to marking a trusted chain as non trusted, if the last certificate in
7720   the chain was a self signed one.
7721 - Gnulib portability files were updated.
7722 - License were updated to reflect new FSF address.
7723 - API and ABI modifications:
7724   No changes since last version.
7725
7726 * Version 1.2.3 (2005-04-28)
7727 - Corrected bug in record packet parsing that could lead
7728   to a denial of service attack.
7729 - Corrected bug in RSA key export. Previously exported keys
7730   can be fixed using certtool. Use certtool -k <infile >outfile
7731 - API and ABI modifications:
7732     gnutls_x509_privkey_fix(): Add.
7733
7734 * Version 1.2.2 (2005-04-25)
7735 - gnutls_error_to_alert() now considers
7736   GNUTLS_E_UNEXPECTED_HANDSHAKE_PACKET.
7737 - Fixed error in session resuming that could cause a crash in a session.
7738 - Fixed pkcs12 friendly name and local key identifier decoding.
7739 - Internal cleanups, removed duplicate typedef/struct definitions,
7740   and made source code include external include file, to check
7741   function prototypes during compile time.
7742 - API and ABI modifications:
7743   No changes since last version.  At least not intentional, but due
7744   to the include header changes, there may be inadvertant changes,
7745   please let us know if you find any.
7746
7747 * Version 1.2.1 (2005-04-04)
7748 - gnutls_bye() will no longer fail when RDWR is used and application
7749   data are available for reading.
7750 - Added more strict checks for the SRP parameters (g,n), when they
7751   are not in the included list.
7752 - Added warning to certtool when MD5 is being used for digital
7753   signatures.
7754 - Optimizations ("-O2 -finline-functions") are not enabled by default,
7755   instead the standard autoconf defaults are used.  Use `./configure
7756   CFLAGS="-O2 -finline-functions"' to get the old optimizations.
7757 - Added the option --get-dh-params to certtool, in order to get the
7758   parameters included in the library primes and generators.
7759 - Improved the semantics of GNUTLS_VERIFY_ALLOW_X509_V1_CA_CRT, to
7760   allow only trusted Version 1 CAs and introduced
7761   GNUTLS_VERIFY_ALLOW_ANY_X509_V1_CA_CRT which has the old semantics.
7762 - Nettle self tests now build properly, reported by Pierre
7763   <pierre42d@9online.fr>.
7764 - Eliminated some memory leaks in DHE and RSA-EXPORT cipher suites.
7765   Reported by Yoann Vandoorselaere <yoann@prelude-ids.org>.
7766 - If the library has been compiled with features disabled, a warning is 
7767   issued during the compilation of any program.
7768 - API and ABI modifications:
7769     gnutls_x509_crt_list_import(): Add
7770     gnutls_x509_crq_get_attribute_by_oid(): Add.
7771     gnutls_x509_crq_set_attribute_by_oid(): Add
7772     gnutls_x509_crt_set_extension_by_oid(): Add.
7773     GNUTLS_VERIFY_ALLOW_X509_V1_CA_CRT: Modify semantics.
7774     GNUTLS_VERIFY_ALLOW_ANY_X509_V1_CA_CRT: Add, old behaviour.
7775
7776 * Version 1.2.0 (2005-01-27)
7777 - Added the definitions and OIDs for the RIPEMD-160 hash algorithm.
7778 - Introduced gnutls_x509_crt_sign2(), gnutls_x509_crq_sign2() and 
7779   gnutls_x509_crl_sign2().
7780 - Fixed license header in source code files.
7781
7782 * Version 1.1.23 (2005-01-18)
7783 - It is now possible to generate PKCS#12 structures without private
7784   keys using "certtool --to-p12", suggested by Fabian Fagerholm
7785   <fabbe@paniq.net>.
7786 - Certtool now prints information for the RSA and DSA parameters of
7787   certificates and private keys.
7788 - Corrected the write of CRL distribution points.
7789 - The certificate chain verification function now checks certificates
7790   in the reverse order to minimize the spent resources.
7791 - Corrected several bugs found by Marcin Garski <mgarski@post.pl>
7792 - The functions gnutls_x509_crl_get_issuer_dn, gnutls_x509_crq_get_dn,
7793   gnutls_x509_crt_get_issuer_dn, gnutls_x509_crt_get_dn, and
7794   gnutls_x509_rdn_get now set *sizeof_buf to the buffer length that is
7795   required, instead of the string length.  That is, the value has been
7796   incremented by 1 to account for the terminating zero. Reported by
7797   Martin Lambers <marlam@web.de>.
7798 - Debug output shouldn't crash on platforms that doesn't handle NULL
7799   printf %s values.  Reported by Michael.Ringe@aachen.utimaco.de.
7800 - Sync included copy of libtasn1 with version 0.2.13.
7801 - Client X.509 authenticated connections via gnutls-cli should now work again.
7802
7803 * Version 1.1.22 (2004-11-04)
7804 - Replace GNU LD version script with Libtool -export-symbols-regex,
7805   from Joe Orton <joe@manyfish.co.uk>.
7806 - Documentation improvements.
7807 - Code indented using 'indent -i4 -kr'.
7808 - The API manual is included in Devhelp format.  (Was in last release too,
7809   but the NEWS entry was forgotten.)
7810 - The OpenSSL compatibility code now use the internal crypto interface.
7811 - Added simple self test of OpenSSL compatibility library.
7812 - Internally, libtool convenience libraries are used.
7813 - Cleanups to configure.ac.
7814
7815 * Version 1.1.21 (2004-10-27)
7816 - Print DN of certificates with unknown characters in them, but in hexform
7817   only.
7818 - Added second precision to the X.509 parsing and generation functions.
7819 - Corrected bug in _gnutls_x509_get_dn_oid(), and returns the
7820   actual OID.
7821 - Add parameter --la-file to libgnutls-config and libgnutls-extra-config,
7822   tiny patch contributed by Joe Orton <joe@manyfish.co.uk>.
7823 - Add pkg-config meta files, suggested by Stéphane LOEUILLET
7824   <stephane.loeuillet@tiscali.fr>.
7825 - Fix memory initializaion bug in gnutls_certificate_set_x509_trust,
7826   tiny patch by Aleix Conchillo Flaque <aleix@member.fsf.org>.
7827 - Add self test of PKCS#12 functionality in "certtool", based on test
7828   vectors from Joe Orton <joe@manyfish.co.uk>.
7829 - Fix library order in libgnutls*-config --libs output, to permit
7830   static linking, reported by Yoann Vandoorselaere
7831   <yoann@prelude-ids.org>.
7832
7833 * Version 1.1.20 (2004-10-12)
7834 - Fix compile problem in gl/getpass.c on some systems.
7835
7836 * Version 1.1.19 (2004-10-07)
7837 - Fix memory leak in gnutls_certificate_verify_peers and
7838   gnutls_certificate_free_credentials, report and patch by Simon
7839   Posnjak <simon.posnjak@cetrtapot.si>.
7840 - Fix crash in `certtool --to-p12 --load-privkey foo', i.e. exporting
7841   a key and no certificate to PKCS#12.
7842 - Fix objdir != srcdir builds, reported by "Gerrit P. Haase"
7843   <gp@familiehaase.de>.
7844 - Fixes faulty getpass implementation in libextra/opencdk/, reported
7845   by Yoann Vandoorselaere <yoann@prelude-ids.org>.
7846 - Uses memmem instead of strnstr in lib/.
7847 - Using more GNULib portability files, although not yet inside lib/.
7848 - Added gnutls_certificate_verify_peers to gnutls/compat.h.
7849   Nikos deprecated gnutls_certificate_verify_peers in favor of
7850   gnutls_certificate_verify_peers2 earlier in the 1.1 branch.
7851 - Improvements to the manual.
7852 - Add new example "ex-rfc2818" for certificate verification, from Nikos.
7853 - Known bug: the library require snprintf.  This has not yet been
7854   fixed, but will be handled via GNULib later on.
7855
7856 * Version 1.1.18 (2004-08-24)
7857 - Corrected handling of certificate with dates after year 2038.
7858 - Corrected DER decoder which could incorrectly treat input as BER and fail.
7859 - Correct certtool --smime-to-p7 end of line character handling.
7860 - Added example client and server for anonymous authentication.
7861 - Added self test that tests anonymous TLS client and server.
7862 - Added self tests of Nettle and generic crypto layer.
7863 - Added API reference manual in HTML format in doc/reference/ using GTK-DOC.
7864   Online version at <http://www.gnu.org/software/gnutls/reference/>.
7865 - Assume C89 or better; removed checks for size_t, ptrdiff_t and time_t.
7866 - Man pages for API functions are included.
7867
7868 * Version 1.1.17 (2004-08-18)
7869 - Bug fix of padding string in RSA PKCS#1 v1.5 type 2 encryption,
7870   reported by Robey Pointer <robey@danger.com>.
7871 - Generic crypto interface for secret key ciphers, hashes and randomness added.
7872   See section "Experimental" within section "COMPILATION ISSUES" in README.
7873 - Removed length limit on passwords read by 'certtool'.
7874 - Documentation fixes.
7875
7876 * Version 1.1.16 (2004-08-15)
7877 - Fix missing gnulib linker parameter when building certtool.
7878 - Add gnulib module 'progname', needed by module 'error'.
7879 - Improve building with srcdir != objdir.
7880
7881 * Version 1.1.15 (2004-08-15)
7882 - Certtool has simplistic --smime-to-p7 to translate RFC 2633 messages into
7883   PKCS #7 format.
7884 - Ported to Mac OS X / Darwin.
7885 - Ported to FreeBSD.
7886
7887 * Version 1.1.14 (2004-08-09)
7888 - Documentation converted to Texinfo format.
7889 - Bug fix of test suite.
7890 - Configure now print build information, used by Autobuild.
7891
7892 * Version 1.1.13 (2004-08-05)
7893 - Added simple self test suite.
7894
7895 * Version 1.1.12 (2004-08-02)
7896 - Updated the SRP authentication to conform to the
7897   latest (yet unreleased) draft. Unfortunately this breaks
7898   compatibility with previous versions.
7899 - Changed the makefiles to be more portable.
7900 - SRP ciphersuites were moved to the gnutls library.
7901 - Added some default limits in the verification of certificate
7902   chains, to avoid denial of service attacks. Also added 
7903   gnutls_certificate_set_verify_limits() to override them.
7904   Issue pointed out by Patrik Hornik <patrik@hornik.sk>.
7905 - Added gnutls_certificate_verify_peers2().
7906
7907 * Version 1.1.11 (2004-07-16)
7908 - Added the '_t' suffix to all exported symbols.
7909 - Fixed bug in RSA encryption, report and patch by Martijn Koster 
7910   <mak@greenhills.co.uk>.
7911 - Corrected a bug in certificate verification. Pointed out by
7912   Yoann Vandoorselaere <yoann@prelude-ids.org>
7913 - Added the GNUTLS_VERIFY_DO_NOT_ALLOW_SAME flags to the
7914   verification functions.
7915 - The ephemeral DH and RSA parameters are no longer stored in the
7916   session resume DB.
7917 - Do not free the SRP (prime and generator) parameters obtained from the 
7918   callback if they are the static ones defined in extra.h
7919 - Eliminated some memory leaks. Reported by Yoann Vandoorselaere.
7920
7921 * Version 1.1.10 (2004-06-12)
7922 - Added gnutls_sign_algorithm_get_name() and gnutls_pk_algorithm_get_name()
7923 - Corrected bug in TLS renegotiation.
7924 - Corrected bug in OpenPGP key loading using a callback.
7925 - gnutls-srpcrypt was renamed to srptool
7926 - Allow handshake requests by the client.
7927 - Automatically disable certificate types that do not have corresponding
7928   certificates.
7929 - Added gnutls_auth_client_get_type() and gnutls_auth_server_get_type()
7930 - Opencdk library is being included if not found.
7931 - certtool can now add ip address SAN extension.
7932 - certtool has now support for more X.520 DN attribute types.
7933 - Better handling of EOF in gnutls_record_recv().
7934 - _gnutls_deinit() is no longer used. Sessions are not
7935   automatically removed any more, on abnormal termination.
7936 - Corrected session resuming in SRP ciphersuites.
7937 - Updated to conform to the latest srp draft (draft-ietf-tls-srp-07)
7938 - Added new functions to allow access to the ephemeral
7939   Diffie Hellman parameters.
7940 - Added the functions gnutls_x509_crt_get_pk_rsa_raw() and
7941   gnutls_x509_crt_get_pk_dsa_raw() to retrieve parameters from certificates.
7942 - Added the functions gnutls_dh_get_group(), gnutls_dh_get_pubkey() and
7943   gnutls_rsa_export_get_pubkey() to retrieve parameters of the DH or
7944   RSA-EXPORT key exchange.
7945 - Some fixes in the session resuming code.
7946 - Added gnutls_openpgp_keyring_check_id().
7947
7948 * Version 1.1.9 (2004-04-14)
7949 - Added support for authority key identifier and the extended key usage
7950   X.509 extension fields. The certtoool was updated to support them.
7951 - The RC2 cipher is no more included. The one in libgcrypt is now used.
7952 - Added batch support to certtool. Now it can use templates.
7953
7954 * Version 1.1.8 (2004-04-07)
7955 - Implemented all the tests for the SRP group parameters in
7956   client side. This may lead to incompatibility with very
7957   old gnutls servers.
7958 - Corrected bug in RSA parameters handling which could cause
7959   unexpected crashes.
7960 - Optimized the copying of rsa_params.
7961
7962 * Version 1.1.7 (2004-03-29)
7963 - Added gnutls_certificate_set_params_function() and 
7964   gnutls_anon_set_params_function() that set the RSA or DH
7965   parameters using a callback.
7966 - Added functions gnutls_rsa_params_cpy(), gnutls_dh_params_cpy()
7967   and gnutls_x509_privkey_cpy().
7968 - Corrected a compilation issue when opencdk was installed in a
7969   non standard directory.
7970 - Deprecated: gnutls_srp_server_set_select_function(), 
7971   gnutls_certificate_client_set_select_function(), gnutls_srp_server_set_select_function().
7972
7973 * Version 1.1.6 (2004-02-24)
7974 - Several bug fixes, by Arne Thomassen.
7975 - Fixed a bug where 'server name' extension was always sent.
7976
7977 * Version 1.1.5 (2004-01-06)
7978 - Added the gnutls_sign_algorithm type.
7979
7980 * Version 1.1.4 (2004-01-04)
7981 - Improved gnutls-cli's SRP behaviour in SRP ciphersuites.
7982   If they are of highest priority then the abbreviated handshake
7983   is used.
7984 - Removed all references of missing files.
7985 - Changed handshake behaviour to send the lowest TLS version
7986   when an unsupported version was advertized. The current behaviour
7987   is to send the maximum version we support.
7988 - Corrected problem printing the DC attributes in a DN.
7989
7990 * Version 1.1.3 (2003-12-30)
7991 - Implemented TLS 1.1 (and also obsoleted the TLS 1.0 CBC protection
7992   hack).
7993
7994 * Version 1.1.2 (2003-12-28)
7995 - Added CRL verification functionality to certtool.
7996 - Corrected the CRL distribution point extension handling.
7997
7998 * Version 1.1.1 (2003-12-26)
7999 - Added PKCS #7 support to certtool utility.
8000 - Added support for reading and generating CRL distribution
8001   points extensions in certificates.
8002 - Added support for generating CRLs in the library and the
8003   certtool utility.
8004 - Added support for the Subject Key ID PKIX extension.
8005
8006 * Version 1.1.0 (2003-12-21)
8007 - The error codes GNUTLS_E_NO_TEMPORARY_DH_PARAMS and GNUTLS_E_NO_TEMPORARY_RSA_PARAMS
8008   are no longer returned by the handshake function. Ciphersuites that
8009   require temporary parameters are removed when such parameters do not exist.
8010 - Added the callbacks gnutls_certificate_client_retrieve_function() and
8011   gnutls_certificate_server_retrieve_function(), to allow a client or a server
8012   to specify certificates for the handshake without storing them to the
8013   credentials structure.
8014 - Added support for generating and exporting DSA private keys.
8015 - Added gnutls_x509_crt_set_key_usage() and certtool can now set the
8016   certificate's key usage.
8017 - Added gnutls_openpgp_key_get_key_usage().
8018
8019 * Version 1.0.25 (2005-04-27)
8020 - Corrected bug in record packet parsing that could lead
8021   to a denial of service attack.
8022 - Corrected bug in RSA key export.
8023
8024 * Version 1.0.24 (2005-01-18)
8025 - Corrected several bugs found by Marcin Garski <mgarski@post.pl>
8026
8027 * Version 1.0.23 (2004-11-13)
8028 - Replace GNU LD version script with Libtool -export-symbols-regex,
8029   from Joe Orton <joe@manyfish.co.uk>.
8030 - Copy libtasn1 has been updated to version 0.2.11.
8031 - Corrected the write of CRL distribution points.
8032 - It is now possible to generate PKCS#12 structures without private
8033   keys using "certtool --to-p12", suggested by Fabian Fagerholm
8034   <fabbe@paniq.net>.
8035
8036 * Version 1.0.22 (2004-10-28)
8037 - Print DN of certificates with unknown characters in them, but in hexform
8038   only.
8039 - Corrected bug in _gnutls_x509_get_dn_oid(), and returns the
8040   actual OID.
8041 - Added second precision to the X.509 parsing functions.
8042 - Add parameter --la-file to libgnutls-config and libgnutls-extra-config,
8043   tiny patch contributed by Joe Orton <joe@manyfish.co.uk>.
8044 - Add pkg-config meta files, suggested by Stéphane LOEUILLET
8045   <stephane.loeuillet@tiscali.fr>.
8046 - Fix memory initializaion bug in gnutls_certificate_set_x509_trust,
8047   tiny patch by Aleix Conchillo Flaque <aleix@member.fsf.org>.
8048 - Fix certtool --password for PKCS #12, back ported from 1.1.x branch.
8049 - Fix library order in libgnutls*-config --libs output, to permit
8050   static linking, reported by Yoann Vandoorselaere
8051   <yoann@prelude-ids.org>.
8052
8053 * Version 1.0.21 (2004-10-07)
8054 - Fix memory leak in gnutls_certificate_verify_peers and
8055   gnutls_certificate_free_credentials, report and patch by Simon
8056   Posnjak <simon.posnjak@cetrtapot.si>.
8057 - Fix crash in `certtool --to-p12 --load-privkey foo', i.e. exporting
8058   a key and no certificate to PKCS#12.
8059 - Fix objdir != srcdir builds, reported by "Gerrit P. Haase"
8060   <gp@familiehaase.de>.
8061 - Avoid redefining getpass if system already has it, reported by
8062   Yoann Vandoorselaere <yoann@prelude-ids.org>.
8063 - Add new example "ex-rfc2818" for certificate verification, from Nikos.
8064 - Known bug: the library require snprintf.
8065
8066 * Version 1.0.20 (2004-08-18)
8067 - Bug fix of padding string in RSA PKCS#1 v1.5 type 2 encryption,
8068   reported by Robey Pointer <robey@danger.com>.
8069
8070 * Version 1.0.19 (2004-08-09)
8071 - Bug fix of test suite.
8072
8073 * Version 1.0.18 (2004-08-05)
8074 - Added simple self test suite.
8075
8076 * Version 1.0.17 (2004-08-02)
8077 - Updated the SRP authentication to conform to the
8078   latest (yet unreleased) draft. Unfortunately this breaks
8079   compatibility with previous versions.
8080 - Changed the makefiles to be more portable.
8081 - Added some default limits in the verification of certificate
8082   chains, to avoid denial of service attacks. Also added 
8083   gnutls_certificate_set_verify_limits() to override them.
8084   Issue pointed out by Patrik Hornik <patrik@hornik.sk>.
8085 - Added gnutls_certificate_verify_peers2().
8086
8087 * Version 1.0.16 (2004-07-10)
8088 - Do not free the SRP (prime and generator) parameters obtained from the 
8089   callback if they are the static ones defined in extra.h.
8090 - Eliminated some memory leaks. Reported by Yoann Vandoorselaere.
8091 - Some fixes in the makefiles.
8092
8093 * Version 1.0.15 (2004-06-29)
8094 - Fixed bug in RSA encryption, report and patch by Martijn Koster 
8095   <mak@greenhills.co.uk>.
8096 - Corrected a bug in certificate verification. Pointed out by
8097   Yoann Vandoorselaere <yoann@prelude-ids.org>.
8098
8099 * Version 1.0.14 (2004-06-12)
8100 - Automatically disable certificate types that do not have corresponding
8101   certificates.
8102 - Updates in the documentation.
8103 - certtool can now add ip address SAN extension.
8104 - certtool has now support for more X.520 DN attribute types.
8105 - Opencdk library is being included if not found.
8106 - Added gnutls_openpgp_keyring_check_id().
8107 - Corrected a serious bug in the included libtasn1 library.
8108 - Corrected session resuming in SRP ciphersuites.
8109 - Updated to conform to the latest srp draft (draft-ietf-tls-srp-07)
8110 - Added the functions gnutls_x509_crt_get_pk_rsa_raw() and
8111   gnutls_x509_crt_get_pk_dsa_raw() to retrieve parameters from certificates.
8112 - Some fixes in the session resuming code.
8113
8114 * Version 1.0.13 (2004-04-29)
8115 - Some complilation fixes.
8116 - Added the --xml parameter to the certtool utility.
8117
8118 * Version 1.0.12 (2004-04-23)
8119 - Corrected bug in OpenPGP key loading using a callback.
8120 - Renamed gnutls-srpcrypt to srptool
8121 - Allow handshake requests by the client.
8122 * Things backported from the development branch:
8123 - Added support for authority key identifier and the extended key usage
8124   X.509 extension fields. The certtoool was updated to support them.
8125 - Added batch support to certtool. Now it can use templates.
8126 - The RC2 cipher is no more included. The one in libgcrypt is now used.
8127
8128 * Version 1.0.11 (2004-04-17)
8129 - Added gnutls_sign_algorithm_get_name() and gnutls_pk_algorithm_get_name()
8130 - Corrected bug in TLS renegotiation.
8131
8132 * Version 1.0.10 (2004-04-03)
8133 - Corrected bug in RSA parameters handling which could cause
8134   unexpected crashes.
8135 - Corrected bug in SSL 3.0 authentication.
8136
8137 * Version 1.0.9 (2004-03-29)
8138 - Added gnutls_certificate_set_params_function() and 
8139   gnutls_anon_set_params_function() that set the RSA or DH
8140   parameters using a callback.
8141 - Added functions gnutls_rsa_params_cpy(), gnutls_dh_params_cpy()
8142   and gnutls_x509_privkey_cpy().
8143 - Corrected a compilation issue when opencdk was installed in a
8144   non standard directory.
8145 - Documented the changes need in multi-threaded application due
8146   to the new libgcrypt.
8147
8148 * Version 1.0.8 (2004-02-28)
8149 - Corrected bug in mutual certificate authentication in SSL 3.0.
8150
8151 * Version 1.0.7 (2004-02-25)
8152 - Implemented TLS 1.1 (and also obsoleted the TLS 1.0 CBC protection
8153   hack).
8154 - Some updates in the documentation.
8155
8156 * Version 1.0.6 (2004-02-12)
8157 * Backported things from the development branch (while maintaining
8158   backwards compatibility):
8159 - Improved gnutls-cli's SRP behaviour in SRP ciphersuites.
8160   If they are of highest priority then the abbreviated handshake
8161   is used.
8162 - The error codes GNUTLS_E_NO_TEMPORARY_DH_PARAMS and GNUTLS_E_NO_TEMPORARY_RSA_PARAMS
8163   are no longer returned by the handshake function. Ciphersuites that
8164   require temporary parameters are removed when such parameters do not exist.
8165 - Added the callbacks gnutls_certificate_client_retrieve_function() and
8166   gnutls_certificate_server_retrieve_function(), to allow a client or a server
8167   to specify certificates for the handshake without storing them to the
8168   credentials structure.
8169 - Added support for generating and exporting DSA private keys.
8170
8171 * Version 1.0.5 (2004-02-11)
8172 - Fixed a bug where 'server name' extension was always sent.
8173 * Backported things from the development branch:
8174 - Added CRL verification functionality to certtool.
8175 - Corrected the CRL distribution point extension handling.
8176 - Added PKCS #7 support to certtool utility.
8177 - Added support for reading and generating CRL distribution
8178   points extensions in certificates.
8179 - Added support for generating CRLs in the library and the
8180   certtool utility.
8181 - Added support for the Subject Key ID PKIX extension.
8182 - Added the gnutls_sign_algorithm type.
8183
8184 * Version 1.0.4 (2004-01-04)
8185 - Changed handshake behaviour to send the lowest TLS version
8186   when an unsupported version was advertized. The current behaviour
8187   is to send the maximum version we support.
8188 - certtool no longer asks the password in unencrypted private
8189   keys.
8190 - The source is now compiled to use the reentrant libc functions.
8191
8192 * Version 1.0.3 (2003-12-21)
8193 - Corrected bug in gnutls_bye() which made it return an error code
8194   of INVALID_REQUEST instead of success.
8195 - Corrected a bug in the GNUTLS_KEY key usage definitions.
8196
8197 * Version 1.0.2 (2003-12-18)
8198 - Corrected a bug in the RSA key generation. This was
8199   generating unusable RSA keys.
8200
8201 * Version 1.0.1 (2003-12-10)
8202 - Some minor fixes in the makefiles. They now include CFLAGS
8203   from libgcrypt or opencdk if installed in a non standard directory.
8204 - Fixed the SRP detection test in gnutls-cli-debug.
8205 - Added gnutls_rsa_params_export_pkcs1() and gnutls_rsa_params_import_pkcs1().
8206
8207 * Version 1.0.0 (2003-12-04)
8208 - Exported the static SRP group parameters.
8209 - Some fixes in the certificate authenticated SRP ciphersuites.
8210 - Improved the support for draft-ietf-tls-srp-05. The two-phase
8211   handshake is now fully supported without any interaction with
8212   the application layer (except for a callback).
8213
8214 * Version 0.9.99 (2003-11-28)
8215 - Some fixes in the gnutls.h header for the gnutls_server_name_set()
8216   and gnutls_server_name_get() prototypes.
8217 - Exported the gnutls_x509_privkey_sign_data(), gnutls_x509_privkey_verify_data() 
8218   and gnutls_x509_crt_verify_data().
8219 - Some fixes in the openpgp authentication.
8220 - Removed the Twofish cipher.
8221
8222 * Version 0.9.98 (2003-11-16)
8223 - The openssl compatibility layer was moved to gnutls-openssl
8224   library instead of being included in the gnutls-extra library.
8225 - Added the RIPEMD ciphersuites defined in draft-ietf-tls-openpgp-keys-04.
8226 - Building with openpgp support is now mandatory.
8227 - gnutls4 compatibility header is no longer included by default in
8228   gnutls.h.
8229 - gnutls8 function usage yelds a deprecation warning in gcc3.
8230 - gnutls_x509_*_set_dn_by_oid() and gnutls_x509_*_get_*_dn_by_oid()
8231   functions have a raw_flag parameter added.
8232 - Added gnutls_x509_*_get_dn_oid() and gnutls_x509_crt_get_extension_oid()
8233   functions which return the available OIDs.
8234
8235 * Version 0.9.97 (2003-11-11)
8236 - The certtool utility can now generate PKCS #12 structures
8237   without specifying a certificate.
8238 - Added capability to read CRLs to certtool.
8239 - Corrected some functions which return GNUTLS_E_SHORT_MEMORY_BUFFER
8240   to properly set the required buffer size.
8241 - Corrected a bug in libgcrypt detection.
8242
8243 * Version 0.9.96 (2003-11-09)
8244 - Some changes to allow compilation with mingw32.
8245 - Several code cleanups.
8246
8247 * Version 0.9.95 (2003-11-02)
8248 - Improved the verification functions. Added new verification
8249   output flags and removed the unused and redundant ones.
8250 - Improved the OpenPGP key support.
8251 - The prime utility was removed, and its functionality was moved
8252   to certtool.
8253
8254 * Version 0.9.94 (2003-10-30)
8255 - Added manpages for the included programs.
8256 - Documented and improved the certtool utility. 
8257 - Added PKCS #12 support to certtool utility.
8258
8259 * Version 0.9.93 (2003-10-26)
8260 - Corrected some compilation issues.
8261 - Improved the certtool command line utility.
8262
8263 * Version 0.9.92 (2003-10-25)
8264 - The RFC2818 hostname verification is now case insensitive.
8265 - Added support for generating X.509 certificates.
8266 - Added the certtool, a tool for generating X.509 certificates
8267
8268 * Version 0.9.91 (2003-10-17)
8269 - Fixed a compilation issue in the openpgp authentication part.
8270
8271 * Version 0.9.90 (2003-10-08)
8272 - Updated the openpgp key API (depends on the unreleased new
8273   opencdk).
8274
8275 * Version 0.9.8 (2003-10-02)
8276 - Updated the SRP implementation to follow the latest draft
8277   (draft-ietf-tls-srp-05).
8278 - Improved the gnutls-cli behaviour in error handling,
8279   and added a check for the peer's hostname.
8280 - Use versioned symbols in the library (where available).
8281 - RIJNDAEL ciphersuites were renamed to AES.
8282
8283 * Version 0.9.7 (2003-08-25)
8284 - The tex files are now included in the distribution.
8285 - The library can now decrypt PKCS #12 files encrypted with
8286   the RC2-40 cipher.
8287 - The missing rfc2818_hostname object is now included.
8288 - Several corrections and bug fixes in the library by 
8289   Arne Thomassen <arne@arne-thomassen.de>.
8290 - CR is now allowed in the base64 decoder.
8291
8292 * Version 0.9.6 (2003-06-28)
8293 - Added gnutls_x509_privkey_get_key_id() and gnutls_x509_crt_get_key_id()
8294   functions which return a unique (per public key) ID. These can
8295   be used to check if the private key corresponds to a given certificate.
8296 - Corrections in the TLS layer openpgp certificate packet parser.
8297 - Corrected a bug in the record layer buffering, which affected
8298   the case where external pull function was used. Report and patch
8299   by Sergey Poznyakoff <gray@Mirddin.farlep.net>.
8300 - Corrected a bug in gnutls-srpcrypt where a non allocated variable
8301   was freed.
8302 - SRP programs are now built by default.
8303 - Added API to read and write to PKCS #12 structures. Prototypes
8304   in gnutls/pkcs12.h.
8305 - The gnutls_transport_ptr type was changed to a pointer type (void*).
8306
8307 * Version 0.9.5 (2003-04-06)
8308 - Several improvements in the PKCS #7 handling
8309 - Eliminated several hard coded constants in MPI parameters.
8310
8311 * Version 0.9.4 (2003-03-28)
8312 - Corrected a parsing error in the Certificate request message.
8313 - Corrected behaviour when a certificate request message is received.
8314   Now a certificate packet is always sent, and in SSL 3.0 cipher suites
8315   a no_certificate alert is sent instead.
8316 - Added functionality to generate PKCS #7 structures (with certificates).
8317
8318 * Version 0.9.3 (2003-03-24)
8319 - Support for MD2 was dropped. 
8320 - Improved the error logging functions, by adding a level, and
8321   by allowing debugging messages just by increasing the level.
8322 - The diffie Hellman ciphersuites are now of higher priority than
8323   the plain RSA.
8324 - The RSA premaster secret version check can no longer be disabled.
8325 - Implemented the counter measure discussed in the paper "Attacking
8326   RSA-based Sessions in SSL/TLS", against the attack described in the
8327   same paper.
8328 - Added the functions: gnutls_handshake_get_last_in(), 
8329   gnutls_handshake_get_last_out().
8330 - The gnutls_certificate_set_rsa_params() was renamed to 
8331   gnutls_certificate_set_rsa_export_params().
8332 - Added the new functions: gnutls_certificate_set_x509_key()
8333   gnutls_certificate_set_x509_trust(), gnutls_certificate_set_x509_crl(),
8334   gnutls_x509_crt_export(), gnutls_x509_crl_export().
8335 - Added support for encoding and decoding PKCS #8 2.0 encrypted 
8336   RSA private keys.
8337
8338 * Version 0.9.2 (2003-03-15)
8339 - Some corrections in the memory mapping code (file is unmapped after 
8340   it is read).
8341 - Added support for PKCS#10 certificate requests generation.
8342
8343 * Version 0.9.1 (2003-03-12)
8344 - Corrected a bug in 64 bit architectures, which affected the
8345   serial number calculation in the record layer.
8346 - Added gnutls_certificate_free_keys() which deletes all the
8347   private keys and certificates from the credentials structure.
8348 - Corrected a broken buffer check in _gnutls_io_read_buffered(),
8349   which caused some unexpected packet length errors. Report and patch
8350   by Ian Peters <itp@ximian.com>.
8351 - Added ability to generate RSA keys.
8352 - Increased the maximum parameter size in order to read some large keys
8353   by some CAs. Patch by Ian Peters <itp@ximian.com>.
8354 - Added an strnstr() function and the requirement in some functions to
8355   use null terminated PEM structures is no more.
8356 - Use mmap() if available to read files.
8357 - Fixed a memory leak in SRP code reported by Rupert Kittinger 
8358   <r.kittinger@efkon.com>.
8359
8360 * Version 0.9.0 (2003-03-03)
8361 - This version is not binary compatible with the previous ones.
8362 - The library notifies the application on empty and illegal SRP usernames, 
8363   so that proper notification (via an alert) is sent to the peer.
8364 - Added ability to send some messages back to the application using
8365   the gnutls_global_set_log_function().
8366 - gnutls_dh_params_generate() and gnutls_rsa_params_generate() now use 
8367   gnutls_malloc() to allocate the output parameters.
8368 - Added support for MD2 algorithm in certificate signature verification.
8369 - The RSA and DH parameter generation interface was changed. Added
8370   ability to import and export from and to PKCS3 structures. This 
8371   was needed to read parameters generated using the openssl dhparam tool.
8372 - Several changes in the temporary (DH/RSA) parameter codebase. No DH 
8373   parameters are now included in the library. Also the credentials structure 
8374   can now hold only one temporary parameter of a kind.
8375 - Added a new Certificate, CRL, Private key and PKCS7 structures handling 
8376   API, defined in gnutls/x509.h
8377 - Added gnutls_certificate_set_verify_flags() function to allow setting the 
8378   verification flags in the credentials structure. They will be used in the
8379   *verify_peers functions.
8380 - Added protection against the new TLS 1.0 record layer timing attack.
8381 - Added support for Certificate revocation lists. Functions defined
8382   in gnutls/x509.h
8383 - The only functions that were removed are:
8384   gnutls_x509_certificate_to_xml()
8385   gnutls_x509_extract_dn_string()
8386 - Ported to libtasn1 0.2.x
8387
8388 * Version 0.8.1 (2003-01-22)
8389 - Improved the SRP support, to prevent attackers guessing the
8390   available usernames by brute force.
8391 - Improved the SRP detection in gnutls-cli-debug
8392 - Some fixes which now allow compilation.
8393
8394 * Version 0.8.0 (2003-01-20)
8395 - Added gnutls_x509_extract_dn_string() which returns a 
8396   distinguished name in a single string.
8397 - Added gnutls_openpgp_extract_key_name_string() which returns
8398   an openpgp user ID in a single string.
8399 - Added gnutls_x509_extract_certificate_ca_status() which returns
8400   the CA status of the given certificate.
8401 - Added SRP-6 support. Follows draft-ietf-tls-srp-04.
8402 - If libtasn1 is not present in the system, it is included in 
8403   the main gnutls library.
8404 - If liblzo is present in the system, then the included minilzo
8405   will not be used, and libgnutls-extra will depend on liblzo.
8406 - GNUTLS_E_PARSING_ERROR error code was replaced by GNUTLS_E_BASE64_DECODING_ERROR, 
8407   and GNUTLS_E_SRP_PWD_PARSING_ERROR. GNUTLS_E_ASCII_ARMOR_ERROR was also 
8408   replaced by GNUTLS_E_BASE64_DECODING_ERROR.
8409
8410 * Version 0.6.0 (2002-12-08)
8411 - Added "gnutls/compat4.h" header. This is included in gnutls.h
8412   to emulate the old 0.4.x API.
8413 - Example programs are now stored in doc/examples/
8414 - Several improvements and updates in the documentation.
8415 - Added the certificate authenticated SRP cipher suites.
8416 - gnutls_x509_extract_certificate_dn_string() was updated to return
8417   an RFC2253 conforming string.
8418 - Added the SRP related functions:
8419    gnutls_srp_verifier()
8420    gnutls_srp_base64_encode()
8421    gnutls_srp_base64_decode()
8422 - Added the function gnutls_srp_set_server_credentials_function()
8423   to allow retrieving SRP parameters from an external backend - other
8424   than password files.
8425 - Added the function gnutls_openpgp_set_recv_key_function()
8426   which can be used to set a callback, to get OpenPGP keys.
8427 - Exported the functions:
8428    gnutls_malloc()
8429    gnutls_free()
8430   which should be used by callback functions.
8431 - Changed the semantics of gnutls_pem_base64_encode_alloc()
8432   and gnutls_pem_base64_decode_alloc(). In the default case
8433   were the gnutls library is used with malloc/realloc/free,
8434   these are binary compatible.
8435
8436 * Version 0.5.11 (2002-11-05)
8437 - Some fixes in 'gnutls-cli' client program to prevent some segmentation 
8438   faults at exit.
8439 - Example programs found in the documentation can now be generated by
8440   running "make examples" in doc/tex directory.
8441 - Added more descriptive error strings, to gnutls_strerror().
8442 - Documented error codes, and the function reference list is now sorted.
8443 - Optimized buffering code.
8444 - gnutls_x509_extract_certificate_dn_string() was rewritten.
8445 - Added GNUTLS_E_SHORT_MEMORY_BUFFER error code, which is returned in the
8446   case where the memory buffer provided is not long enough.
8447 - Depends on the new OpenCDK 0.3.2.
8448
8449 * Version 0.5.10 (2002-10-13)
8450 - Updated documentation.
8451 - Added server name extension. This allows clients to specify the
8452   name of the server they connect to. Useful to HTTPS.
8453 - Several corrections in the code base, mostly in signed/unsigned,
8454   checkings.
8455
8456 * Version 0.5.9 (2002-10-10)
8457 - Corrected some code which worked fine in gcc 3.2, but not with any
8458   other compiler.
8459 - Updated 'gnutls-cli' with the '--starttls' option, to allow testing
8460   starttls implementations.
8461 - Added gnutls_x509_extract_key_pk_algorithm() function which extracts
8462   the private key type, of a DER encoded key.
8463 - Added gnutls_x509_extract_certificate_dn_string() which returns the 
8464   certificate's distinguished name in a single string.
8465 - Added gnutls_set_default_priority() and gnutls_set_default_export_priority()
8466   functions, to avoid calling all the *_priority() functions if the defaults
8467   are acceptable.
8468 - Added int gnutls_x509_check_certificates_hostname() which check whether
8469   the given hostname matches the owner of the given X.509 certificate.
8470
8471 * Version 0.5.8 (2002-09-25)
8472 - Updated documentation.
8473 - Added gnutls_record_get_direction() which replaces the obsolete
8474   gnutls_handshake_get_direction().
8475 - Added function to convert error codes to alert descriptions
8476 - Added LZO compression
8477
8478 * Version 0.5.7 (2002-09-11)
8479 - Some fixes in the memory allocation functions (realloc).
8480 - Improved the string functions used in XML certificate generation.
8481 - Removed dependency on libgdbm.
8482 - Corrected bug in gnutls_dh_params_set() which affected
8483   gnutls_dh_params_deinit().
8484 - Corrected bug in session resuming code in server side.
8485
8486 * Version 0.5.6 (2002-09-06)
8487 - Corrected bugs in SRP implementation, which prevented gnutls 
8488   to interoperate with other implementations. (interoperability testing
8489   was done by David Taylor)
8490 - Corrected bug in cert_type extension.
8491 - Corrected extension type checks which used an 8 bit extension size,
8492   instead of 16 bits.
8493 - Added versioning in the XML output of certificate functions.
8494 - Removed the X.509 test suite.
8495
8496 * Version 0.5.5 (2002-09-03)
8497 - Updated the SRP implementation to the latest draft. The blowfish
8498   crypt implementation was removed, since the new draft does not allow
8499   other hash algorithms except for the srpsha. 
8500 - Renamed all the constructed types in order to have more consistent
8501   names. 
8502 - Improved the certificate and key read functions. Now they can read 
8503   the certificate and the private key from the same file.
8504 - Updated and corrected documentation.
8505
8506 * Version 0.5.4 (2002-08-27)
8507 - Fixes in TLS 1.0 PRF and SSL3 random functions.
8508 - gnutls_handshake_set_exportable_detection() was obsoleted.
8509 - Added gnutls_openpgp_extract_key_id() which returns the key ID.
8510 - Corrected bug in DHE key exchange
8511 - Added support for temporary RSA keys which are needed for the
8512   export cipher suites.
8513 - Added the TLS_RSA_EXPORT_ARCFOUR_40_MD5 ciphersuite.
8514
8515 * Version 0.5.3 (2002-08-23)
8516 - No changes. Replaces the tarball of 0.5.2 which accidentally contained
8517   code from the unstable branch.
8518
8519 * Version 0.5.2 (2002-08-22)
8520 - Added an error code that is returned in clients which connect
8521   to export only servers. This must be enabled using the
8522   gnutls_handshake_set_exportable_detection() function.
8523 - Updated openssl compatibility layer.
8524 - Added gnutls_handshake_get_direction() function which returns
8525   the state of the handshake when interrupted.
8526
8527 * Version 0.5.1 (2002-07-17)
8528 - Corrected the m4 macros which used <gnutls.h> instead of
8529   <gnutls/gnutls.h>
8530 - Documentation fixes
8531 - Added gnutls_transport_set_ptr2() function, which accepts two
8532   different pointers, to be used while receiving, and 
8533   while sending data.
8534 - Semantic changes in gnutls_record_set_max_size(). The requested
8535   size is now immediately enforced at the output buffers.
8536 - gnutls_global_init_extra() now fails if the library versions do
8537   not match.
8538 - Fixes in client and server example programs. Null encryption can
8539   be used in these programs, to assist in debuging.
8540 - Fixes in zlib compression code.
8541
8542 * Version 0.5.0 (2002-07-06)
8543 - Added X.509 certificate tests in tests/ directory
8544 - Removed stubs for SRP and Anonymous authentication. They served
8545   no purpose since they are always included, unless it was requested
8546   not to do so.
8547 - Added gnutls_handshake_set_private_extensions() function. This
8548   function can be used to enable private (gnutls specific) cipher suites
8549   and compression algorithms.
8550 - Added check for C99 macro support by the compiler.
8551 - Added functions gnutls_b64_encode_fmt2() and gnutls_b64_decode_fmt2()
8552 - Added the new libtasn1 library.
8553 - Removed the gdbm backend. Applications are now responsible for the
8554   session resuming backend. The gnutls-serv application contains an
8555   simple example on how to use gdbm for resuming.
8556 - Headers for the gnutls library are now installed in $(includedir)/gnutls
8557 - Added an OpenSSL compatible interface (with some limitations).
8558 - Added functions to convert DER encoded certificates to XML format.
8559
8560 * Version 0.4.4 (2002-06-24)
8561 - Corrected bug in PKCS-1 RSA encryption which prevented gnutls to encrypt
8562   using keys of some specific size.
8563
8564 * Version 0.4.3 (2002-05-23)
8565 - The gnutls-extra library now compiles fine, if the opencdk library is
8566   not present.
8567 - Several bug fixes.
8568 - Added gnutls_global_set_mem_func() function, to set the memory allocation
8569   functions, if other than the defaults are to be used.
8570 - The default memory allocation functions are now the ones in libc.
8571
8572 * Version 0.4.2 (2002-05-21)
8573 - Separated ASN.1 structures parser documentation and TLS library
8574   documentation.
8575 - Added gnutls_handshake_set_rsa_pms() function, which disables the
8576   version check in RSA premaster secret.
8577 - Added gnutls_session_is_resumed() function, which reports if a session
8578   is a resumed one.
8579 - Added gnutls_state_set_ptr() and gnutls_state_get_ptr() functions, to
8580   assist in callback functions.
8581 - Replaced the included 1024 bit prime for Diffie Hellman, with a new
8582   random one.
8583 - Relicensed the library under the GNU Lesser General Public License
8584 - Added gnutls-extra library which contains the GPL covered code of gnutls.
8585
8586 * Version 0.4.1 (2002-04-07)
8587 - Now uses alloca() for temporary variables
8588 - Optimized RSA signing
8589 - Added functions to return the peer's certificate activation and
8590   expiration time.
8591 - Corrected time function's behaviour (the time value returned no longer
8592   relate to local timezone).
8593
8594 * Version 0.4.0 (2002-04-01)
8595 - Added support for RFC2630 (PKCS7) X.509 certificate sets
8596 - Added new functions: gnutls_x509_extract_certificate_pk_algorithm(),
8597   gnutls_openpgp_extract_key_pk_algorithm().
8598 - Several optimizations in the Handshake protocol
8599 - Several optimizations in RSA algorithm
8600 - Unified the return values because of small buffers.
8601
8602 * Version 0.3.92 (2002-03-23)
8603 - Updated documentation
8604 - Combined error codes of ASN.1 parser and gnutls
8605 - Removed GNUTLS_CERT_TRUSTED from the CertificateStatus enumeration
8606 - Added protection against CBC chosen plaintext attack (disabled by default)
8607 - Improved and optimized compression support
8608
8609 * Version 0.3.91 (2002-03-03)
8610 - Added gnutls-cli-debug program
8611 - Corrections in session resumption
8612 - Rehandshake can now handle negotiation of different authentication
8613   type.
8614 - gnutls-cli, gnutls-serv, gnutls-srpcrypt and gnutls-cli-debug are 
8615   now being installed.
8616
8617 * Version 0.3.90 (2002-02-24)
8618 - Handshake messages are not kept in memory any more. Now we use 
8619   less memory during a handshake
8620 - Added support for certificates with DSA parameters
8621 - Added DHE_DSS cipher suites
8622 - Key exchange methods changed so they do not depend on the 
8623   certificate type. Added certificate type negotiation TLS extension.
8624 - Added openpgp key support (EXPERIMENTAL)
8625 - Improved Diffie Hellman key exchange support.
8626 - Bug fixes in the RSA key exchange.
8627 - Added check for the requested TLS extensions
8628 - TLS extensions now use a 16 bit type field.
8629 - Added a minimal string library to assist in ASN.1 parsing
8630 - Changes in ASN.1 parser to work with the new bison
8631 - Added gnutls_x509_extract_subject_alt_name(), which deprecates 
8632   gnutls_x509_extract_subject_dns_name()
8633 - gnutls_x509_set_trust_(file/mem) can now be called multiple times
8634 - gnutls_srp_server_set_cred_file() can now be called multiple times
8635
8636 * Version 0.3.5 (2002-01-25)
8637 - Corrected the RSA key exchange method, to avoid attacks against
8638   PKCS-1 formating.
8639
8640 * Version 0.3.4 (2002-01-20)
8641 - Corrected bugs in DHE_RSA key exchange method
8642
8643 * Version 0.3.3 (2002-01-19)
8644 - Added gnutls_x509pki_verify_certificate()
8645 - Added gnutls_x509pki_set_trust_mem() and gnutls_x509pki_set_key_mem()
8646 - Bug fixes in srpcrypt (based on patch by Marc Huber)
8647 - Bug fixes in the Handshake protocol (based on patch by Guillaume Morin)
8648 - Corrected library versioning
8649
8650 * Version 0.3.2 (2002-01-05)
8651 - Corrected bug which did not allow a client to accept multiple CA names
8652 - Added gnutls_fingerprint()
8653 - Added gnutls_x509pki_extract_certificate_serial()
8654 - Added gnutls_b64_encode_fmt() and gnutls_b64_decode_fmt()
8655 - Corrected behaviour in version advertizing
8656 - Updated documentation
8657 - Prefixed all types in gnutls.h with 'GNUTLS_' to avoid namespace collisions
8658
8659 * Version 0.3.1 (2001-12-21)
8660 - Corrections in the configuration files
8661 - Fixes a bug in anonymous authentication
8662
8663 * Version 0.3.0 (2001-12-17)
8664 - Corrected bug in new integer formatting (now we use the old format again)
8665 - Several corrections and usual cleanups
8666
8667 * Version 0.2.91 (2001-12-10)
8668 - Fixes in MPI handling (fixes possible bug with signed integers)
8669 - Removed name indication extension
8670 - Added gnutls_transport_get_ptr() and gnutls_db_get_ptr()
8671 - Optimizations in server certificate callback.
8672 - Fixes in anonymous authentication
8673 - Corrections in client ciphersuite selection
8674
8675 * Version 0.2.90 (2001-12-07)
8676 - gnutls_handshake(), gnutls_read() etc. functions no longer require
8677   the 'SOCKET cd' argument. This argument is set using the function
8678   gnutls_set_transport_ptr().
8679 - introduced gnutls_x509pki_get_peer_certificate_list(). This function returns
8680   a list containing peer's certificate and issuers DER encoded.
8681 - Updated X.509 certificate handling API
8682 - Added callback to select the server certificate
8683 - More consistent function naming (changes in several function names)
8684 - Buffer overflow checking in ASN.1 structures parser
8685 - Updated documentation
8686
8687 * Version 0.2.11 (2001-11-16)
8688 - Changed the meaning of GNUTLS_E_REHANDSHAKE value. If this value
8689   is returned, then the caller should perform a handshake or send
8690   an alert to the peer.
8691 - Made receive buffer dynamic. Normally if no large chunks are received
8692   it occupies less space.
8693 - Added max_record_size extension
8694 - Bugfixes in session handling
8695 - Improved non blocking IO support in the Handshake Protocol
8696 - Usual bugfixes and cleanups
8697 - Documentation updated (includes ASN.1 documentation)
8698
8699 * Version 0.2.10 (2001-11-05)
8700 - Corrected bugs and improved non blocking IO
8701 - Added hooks to use external database to store sessions
8702 - Usual cleanups
8703
8704 * Version 0.2.9 (2001-10-27)
8705 - AUTH_INFO types and structures were moved to library internals
8706 - AUTH_FAILED is no longer returned in SRP authentication
8707   (any fatal error in SRP means auth failed)
8708 - Introduced GNUTLS_E_INTERRUPTED
8709 - Added support for non blocking IO
8710 - gnutls_recv() and gnutls_send() are now obsolete
8711 - Changed semantics of gnutls_rehandshake()
8712
8713 * Version 0.2.4 (2001-10-12)
8714 - Better handling of X.509 certificate extensions
8715 - Added DHE_RSA ciphersuites
8716 - Updated the Name Indication (dnsname) extension
8717 - Improvements in Diffie Hellman primes handling
8718
8719 * Version 0.2.3 (2001-09-19)
8720 - Memory optimizations in gnutls_recv()
8721 - Fixed several memory leaks
8722 - Added ability to specify callback for x509 client certificate selection
8723 - Better documentation
8724
8725 * Version 0.2.2 (2001-08-21)
8726 - Several bugfixes (library and documentation)
8727
8728 * Version 0.2.1 (2001-08-07)
8729 - SRP fixes
8730
8731 * Version 0.2.0 (2001-08-07)
8732 - Partial support for X.509v3 Certificate extensions.
8733 - Added Internal memory handlers
8734 - Removed gnutls_x509_set_cn()
8735 - Added X.509 client authentication
8736 - Several bug fixes and protocol fixes
8737
8738 * Version 0.1.9 (2001-07-30)
8739 - Corrected bug(s) in ChangeCipherSpec packet (fixes renegotiate)
8740 - SRP is updated to conform to the newest draft.
8741 - Added support for DNSNAME extension.
8742 - Reentracy fixes in ASN.1 Parsing.
8743 - Optimizations in hash/hmac functions
8744 - (Error) message handling has changed
8745 - Better Protocol Version handling
8746 - Added X.509 Certificate Verification
8747 - gnutls_read() semantics are now closer to read(2) - added EOF
8748 - Documented some part of gnutls in doc/tex/ using Latex
8749
8750 * Version 0.1.4 (2001-06-22)
8751 - Corrected (srp) base64 encoding.
8752 - Changed bcrypt algorithm to include username.
8753 - Added RSA Ciphersuites (no certificate checking).
8754 - Fixes in SSL 2.0 client hello parsing.
8755 - Added ASN.1 and DER parsers.
8756 - Bugfixes in session resuming
8757 - Updated Ciphersuite selection algorithm
8758 - Added internal representation of X.509 structures.
8759 - Added global state
8760
8761 * Version 0.1.3 (2001-06-01)
8762 - Updated API (and the way it is documented - we use inline documentation)
8763 - Added function to access alert messages.
8764 - Added support for renegotiating parameters.
8765 - Better and Faster Resume Database handling.
8766 - Several bugfixes
8767
8768 * Version 0.1.2 (2001-05-14)
8769 - Updated API
8770 - Fixes in extension handling
8771
8772 * Version 0.1.1 (2001-05-13)
8773 - Added compatibility with Stanford's libsrp library
8774
8775 * Version 0.1.0 (2001-05-09)
8776 - Added SSL 2.0 client hello support
8777 - GNUTLS is a gnu library
8778 - Added support for TLS extensions.
8779 - Added support for SRP
8780
8781 * Version 0.0.7 (2001-01-11)
8782 - Added server side session resuming (using gdbm)
8783 - Added twofish algorithm
8784
8785 * Version 0.0.6 (2000-12-20)
8786 - Added client side session resuming
8787 - Better documentation (check doc/API)
8788 - Better socket handling (gnutls can be used with select())
8789 - Some primitive support for non blocking IO and socket options has been added.
8790
8791 * Version 0.0.5 (2000-12-07)
8792 - Added Compression (using ZLIB)
8793 - Added SSL 3.0 support
8794
8795 ----------------------------------------------------------------------
8796 Copying and distribution of this file, with or without modification,
8797 are permitted in any medium without royalty provided the copyright
8798 notice and this notice are preserved.