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