changed license headers to 2.1. Reported by Andreas Metzler.
[gnutls:gnutls.git] / NEWS
1 GnuTLS NEWS -- History of user-visible changes.                -*- outline -*-
2 Copyright (C) 2000-2012 Free Software Foundation, Inc.
3 See the end for copying conditions.
4
5 * Version 3.2.0 (unreleased)
6
7 ** libgnutls: Added Salsa20 cipher (experimental)
8
9 ** libgnutls: Added UMAC-96 and UMAC-128 MACs (experimental)
10
11 ** API and ABI modifications:
12 gnutls_cipher_get_iv_size: Added
13 gnutls_hmac_set_nonce: Added
14 gnutls_mac_get_nonce_size: Added
15
16
17 * Version 3.1.10 (released 2013-03-22)
18
19 ** certtool: When generating PKCS #12 files use by default the 
20 ARCFOUR (RC4) cipher to be compatible with devices that don't
21 support AES with PKCS #12.
22
23 ** libgnutls: Load CA certificates in android 4.x systems.
24
25 ** libgnutls: Optimized CA certificate loading.
26
27 ** libgnutls: Private keys are overwritten on deinitialization.
28
29 ** libgnutls: PKCS #11 slots are scanned only when needed, not
30 on initialization. This speeds up gnutls initialization when smart
31 cards are present.
32
33 ** libgnutls: Corrected issue in the (deprecated) external key
34 signing interface, when used with TLS 1.2. Reported by Bjorn H. Christensen.
35
36 ** libgnutls: Fixes in openpgp handshake with fingerprints. Reported by 
37 Joke de Buhr.
38
39 ** libgnutls-dane: Updated DANE verification options.
40
41 ** configure: Trust store file must be explicitly set or unset when 
42 cross compiling.
43
44 ** API and ABI modifications:
45 gnutls_x509_crt_get_issuer_dn2: Added
46 gnutls_x509_crt_get_dn2: Added
47 gnutls_x509_crl_get_issuer_dn2: Added
48 gnutls_x509_crq_get_dn2: Added
49 gnutls_x509_trust_list_remove_trust_mem: Added
50 gnutls_x509_trust_list_remove_trust_file: Added
51 gnutls_x509_trust_list_remove_cas: Added
52 gnutls_session_get_desc: Added
53 gnutls_privkey_sign_raw_data: Added
54 gnutls_privkey_status: Added
55
56
57
58
59
60 * Version 3.1.9 (released 2013-02-27)
61
62 ** certtool: Option --to-p12 will now ask for a password to generate
63 a PKCS #12 file from an encrypted key file. Reported by Yan Fiz.
64
65 ** libgnutls: Corrected issue in gnutls_pubkey_verify_data().
66
67 ** libgnutls: Corrected parsing issue in XMPP within a subject 
68 alternative name. Reported by James Cloos.
69
70 ** libgnutls: gnutls_pkcs11_reinit() will reinitialize all PKCS #11
71 modules, and not only the ones loaded via p11-kit.
72
73 ** libgnutls: Added function to check whether the private key is
74 still available (inserted).
75
76 ** libgnutls: Try to detect fork even during nonce generation.
77
78 ** API and ABI modifications:
79 gnutls_handshake_set_random: Added
80 gnutls_transport_set_int2: Added
81 gnutls_transport_get_int2: Added
82 gnutls_transport_get_int: Added
83 gnutls_record_cork: Exported
84 gnutls_record_uncork: Exported
85 gnutls_pkcs11_privkey_status: Added
86
87
88 * Version 3.1.8 (released 2013-02-10)
89
90 ** libgnutls: Fixed issue in gnutls_x509_privkey_import2() which didn't return
91 GNUTLS_E_DECRYPTION_FAILED in all cases, and affect certtool operation
92 with encrypted keys. Reported by Yan Fiz.
93
94 ** libgnutls: The minimum DH bits accepted by priorities NORMAL and
95 PERFORMANCE was set to previous defaults 727 bits. Reported by Diego
96 Elio Petteno.
97
98 ** libgnutls: Corrected issue which prevented gnutls_pubkey_verify_hash() 
99 to operate with long keys. Reported by Erik A Jensen.
100
101 ** API and ABI modifications:
102 No changes since last version.
103
104
105 * Version 3.1.7 (released 2013-02-04)
106
107 ** certtool: Added option "dn" which allows to directly set the DN
108 in a template from an RFC4514 string.
109
110 ** danetool: Added options: --dlv and --insecure. Suggested by Paul Wouters.
111
112 ** libgnutls-xssl: Added a new library to simplify GnuTLS usage.
113
114 ** libgnutls-dane: Added function to specify a DLV file.
115
116 ** libgnutls: Heartbeat code was made optional.
117
118 ** libgnutls: Fixes in server side of DTLS-0.9.
119
120 ** libgnutls: DN variable 'T' was expanded to 'title'.
121
122 ** libgnutls: Fixes in record padding parsing to prevent a timing attack. 
123 Issue reported by Kenny Paterson and Nadhem Alfardan.
124
125 ** libgnutls: Added functions to directly set the DN in a certificate
126 or request from an RFC4514 string.
127
128 ** libgnutls: Optimizations in the random generator. The re-seeding of
129 it is now explicitly done on every session deinit.
130
131 ** libgnutls: Simplified the DTLS sliding window implementation.
132
133 ** libgnutls: The minimum DH bits accepted by a client are now set
134 by the specified priority string. The current values correspond to the
135 previous defaults (727 bits), except for the SECURE128 and SECURE192
136 strings which increase the minimum to 1248 and 1776 respectively.
137
138 ** libgnutls: Added the gnutls_record_cork() and uncork API to enable 
139 buffering in sending application data.
140
141 ** libgnutls: Removed default random padding, and added a length-hiding interface 
142 instead.  Both the server and the client must support this extension. Whether 
143 length-hiding can be used on a given session can be checked using
144 gnutls_record_can_use_length_hiding(). Contributed by Alfredo Pironti.
145
146 ** libgnutls: Added the experimental %NEW_PADDING priority string. It enables 
147 a new padding mechanism in TLS allowing arbitrary padding in TLS records
148 in all ciphersuites, which makes length-hiding more efficient and solves 
149 the issues with timing attacks on CBC ciphersuites.
150
151 ** libgnutls: Corrected gnutls_cipher_decrypt2() when used with AEAD
152 ciphers (i.e., AES-GCM). Reported by William McGovern.
153
154 ** API and ABI modifications:
155 gnutls_db_check_entry_time: Added
156 gnutls_record_set_timeout: Added
157 gnutls_record_get_random_padding_status: Added
158 gnutls_x509_crt_set_dn: Added
159 gnutls_x509_crt_set_issuer_dn: Added
160 gnutls_x509_crq_set_dn: Added
161 gnutls_range_split: Added
162 gnutls_record_send_range: Added
163 gnutls_record_set_max_empty_records: Added
164 gnutls_record_can_use_length_hiding: Added
165 gnutls_rnd_refresh: Added
166 xssl_deinit: Added
167 xssl_flush: Added
168 xssl_read: Added
169 xssl_getdelim: Added
170 xssl_write: Added
171 xssl_printf: Added
172 xssl_sinit: Added
173 xssl_client_init: Added
174 xssl_server_init: Added
175 xssl_get_session: Added
176 xssl_get_verify_status: Added
177 xssl_cred_init: Added
178 xssl_cred_deinit: Added
179 dane_state_set_dlv_file: Added
180 GNUTLS_SEC_PARAM_EXPORT: Added
181 GNUTLS_SEC_PARAM_VERY_WEAK: Added
182
183
184 * Version 3.1.6 (released 2013-01-02)
185
186 ** libgnutls: Fixed record padding parsing issue. Reported by Kenny
187 Patterson and Nadhem Alfardan.
188
189 ** libgnutls: Several updates in the ASN.1 string handling subsystem.
190
191 ** libgnutls: gnutls_x509_crt_get_policy() allows for a list of zero
192 policy qualifiers.
193
194 ** libgnutls: Ignore heartbeat messages when received out-of-order,
195 instead of issuing an error.
196
197 ** libgnutls: Stricter RSA PKCS #1 1.5 encoding and decoding. Reported
198 by Kikuchi Masashi.
199
200 ** libgnutls: TPM support is disabled by default because GPL programs
201 cannot link with it. Use --with-tpm to enable it.
202
203 ** libgnutls-guile: Fixed parallel compilation issue.
204
205 ** gnutls-cli: It will try to connect to all possible returned addresses
206 before failing.
207
208 ** API and ABI modifications:
209 No changes since last version.
210
211
212 * Version 3.1.5 (released 2012-11-24)
213
214 ** libgnutls: Added functions to parse the certificates policies
215 extension.
216
217 ** libgnutls: Handle BMPString (UCS-2) encoding in the Distinguished
218 Name by translating it to UTF-8 (works on windows or systems with iconv).
219
220 ** libgnutls: Added PKCS #11 key generation function that returns the 
221 public key on generation.
222
223 ** libgnutls: Corrected bug in priority string parsing, that mostly 
224 affected combined levels. Patch by Tim Kosse.
225
226 ** certtool: The --pubkey-info option can be combined with the
227 --load-privkey or --load-request to print the corresponding public keys.
228
229 ** certtool: It is able to set certificate policies via a template.
230
231 ** certtool: Added --hex-numbers option which prints big numbers in 
232 an easier to parse format.
233
234 ** p11tool: After key generation, outputs the public key (useful in
235 tokens that do not store the public key).
236
237 ** danetool: It is being built even without libgnutls-dane (the
238 --check functionality is disabled though).
239
240 ** API and ABI modifications:
241 gnutls_pkcs11_privkey_generate2: Added
242 gnutls_x509_crt_get_policy: Added
243 gnutls_x509_crt_set_policy: Added
244 gnutls_x509_policy_release: Added
245 gnutls_pubkey_import_x509_crq: Added
246 gnutls_pubkey_print: Added
247 GNUTLS_CRT_PRINT_FULL_NUMBERS: Added
248
249
250 * Version 3.1.4 (released 2012-11-10)
251
252 ** libgnutls: gnutls_certificate_verify_peers2() will set flags depending on
253 the available revocation data validity.
254
255 ** libgnutls: Added gnutls_certificate_verification_status_print(),
256 a function to print the verification status code in human readable text.
257
258 ** libgnutls: Added priority string %VERIFY_DISABLE_CRL_CHECKS.
259
260 ** libgnutls: Simplified certificate verification by adding
261 gnutls_certificate_verify_peers3().
262
263 ** libgnutls: Added support for extension to establish keys for SRTP.
264 Contributed by Martin Storsjo.
265
266 ** libgnutls: The X.509 verification functions check the key
267 usage bits and pathlen constraints and on failure output 
268 GNUTLS_CERT_SIGNER_CONSTRAINTS_FAILURE.
269
270 ** libgnutls: gnutls_x509_crl_verify() includes the time checks.
271
272 ** libgnutls: Added verification flag GNUTLS_VERIFY_DO_NOT_ALLOW_UNSORTED_CHAIN
273 and made GNUTLS_VERIFY_ALLOW_UNSORTED_CHAIN the default.
274
275 ** libgnutls: Always tolerate key usage violation errors from the side
276 of the peer, but also notify via an audit message.
277
278 ** gnutls-cli: Added --local-dns option.
279
280 ** danetool: Corrected bug that prevented loading PEM files.
281
282 ** danetool: Added --check option to allow querying and verifying
283 a site's DANE data.
284
285 ** libgnutls-dane: Added pkg-config file for the library.
286
287 ** API and ABI modifications:
288 gnutls_session_get_id2: Added
289 gnutls_sign_is_secure: Added
290 gnutls_certificate_verify_peers3: Added
291 gnutls_ocsp_status_request_is_checked: Added
292 gnutls_certificate_verification_status_print: Added
293 gnutls_srtp_set_profile: Added
294 gnutls_srtp_set_profile_direct: Added
295 gnutls_srtp_get_selected_profile: Added
296 gnutls_srtp_get_profile_name: Added
297 gnutls_srtp_get_profile_id: Added
298 gnutls_srtp_get_keys: Added
299 gnutls_srtp_get_mki: Added
300 gnutls_srtp_set_mki: Added
301 gnutls_srtp_profile_t: Added
302 dane_cert_type_name: Added
303 dane_match_type_name: Added
304 dane_cert_usage_name: Added
305 dane_verification_status_print: Added
306 GNUTLS_CERT_REVOCATION_DATA_SUPERSEDED: Added
307 GNUTLS_CERT_REVOCATION_DATA_ISSUED_IN_FUTURE: Added
308 GNUTLS_CERT_SIGNER_CONSTRAINTS_FAILURE: Added
309 GNUTLS_CERT_UNEXPECTED_OWNER: Added
310 GNUTLS_VERIFY_DO_NOT_ALLOW_UNSORTED_CHAIN: Added
311
312
313 * Version 3.1.3 (released 2012-10-12)
314
315 ** libgnutls: Added support for the OCSP Certificate Status
316 extension.
317
318 ** libgnutls: gnutls_certificate_verify_peers2() will use the OCSP
319 certificate status extension in verification.
320
321 ** libgnutls: Bug fixes in gnutls_x509_privkey_import_openssl().
322
323 ** libgnutls: Increased maximum password length in the PKCS #12
324 functions.
325
326 ** libgnutls: Fixed the receipt of session tickets during session resumption.
327 Reported by danblack at http://savannah.gnu.org/support/?108146
328
329 ** libgnutls: Added functions to export structures in an allocated buffer.
330
331 ** libgnutls: Added gnutls_ocsp_resp_check_crt() to check whether the OCSP
332 response corresponds to the given certificate.
333
334 ** libgnutls: In client side gnutls_init() enables the session ticket and
335 OCSP certificate status request extensions by default. The flag
336 GNUTLS_NO_EXTENSIONS can be used to prevent that.
337
338 ** libgnutls: Several updates in the OpenPGP code. The generating code
339 is fully RFC6091 compliant and RFC5081 support is only supported in client
340 mode.
341
342 ** libgnutls-dane: Added. It is a library to provide DANE with DNSSEC 
343 certificate verification.
344
345 ** gnutls-cli: Added --dane option to enable DANE certificate verification.
346
347 ** danetool: Added tool to generate DANE TLSA Resource Records (RR).
348
349 ** API and ABI modifications:
350 gnutls_certificate_get_peers_subkey_id: Added
351 gnutls_certificate_set_ocsp_status_request_function: Added
352 gnutls_certificate_set_ocsp_status_request_file: Added
353 gnutls_ocsp_status_request_enable_client: Added
354 gnutls_ocsp_status_request_get: Added
355 gnutls_ocsp_resp_check_crt: Added
356 gnutls_dh_params_export2_pkcs3: Added
357 gnutls_pubkey_export2: Added
358 gnutls_x509_crt_export2: Added
359 gnutls_x509_dn_export2: Added
360 gnutls_x509_crl_export2: Added
361 gnutls_pkcs7_export2: Added
362 gnutls_x509_privkey_export2: Added
363 gnutls_x509_privkey_export2_pkcs8: Added
364 gnutls_x509_crq_export2: Added
365 gnutls_openpgp_crt_export2: Added
366 gnutls_openpgp_privkey_export2: Added
367 gnutls_pkcs11_obj_export2: Added
368 gnutls_pkcs12_export2: Added
369 gnutls_pubkey_import_openpgp_raw: Added
370 gnutls_pubkey_import_x509_raw: Added
371 dane_state_init: Added
372 dane_state_deinit: Added
373 dane_query_tlsa: Added
374 dane_query_status: Added
375 dane_query_entries: Added
376 dane_query_data: Added
377 dane_query_deinit: Added
378 dane_verify_session_crt: Added
379 dane_verify_crt: Added
380 dane_strerror: Added
381
382
383 * Version 3.1.2 (released 2012-09-26)
384
385 ** libgnutls: Fixed bug in gnutls_x509_trust_list_add_system_trust()
386 and gnutls_x509_trust_list_add_trust_mem() that prevented the loading
387 of certificates in the windows platform.
388
389 ** libgnutls: Corrected bug in OpenPGP subpacket encoding.
390
391 ** libgnutls: Added support for DTLS/TLS heartbeats by Olga Smolenchuk.
392 (the work was done during Google Summer of Code).
393
394 ** libgnutls: Added X.509 certificate verification flag 
395 GNUTLS_VERIFY_ALLOW_UNSORTED_CHAIN. This flag allows the verification
396 of unsorted certificate chains and is enabled by default for
397 TLS certificate verification (if gnutls_certificate_set_verify_flags() 
398 does not override it).
399
400 ** libgnutls: Prints warning on certificates that contain keys of
401 an insecure level. If the %COMPAT priority flag is not specified
402 the TLS connection fails.
403
404 ** libgnutls: Correctly restore gnutls_record_recv() in DTLS mode
405 if interrupted during the retrasmition of handshake data.
406
407 ** libgnutls: Better mingw32 support (patch by LRN).
408
409 ** libgnutls: The %COMPAT keyword, if specified, will tolerate
410 key usage violation errors (they are far too common to ignore).
411
412 ** libgnutls: Added GNUTLS_STATELESS_COMPRESSION flag to gnutls_init(),
413 which provides a tool to counter compression-related attacks where
414 parts of the data are controlled by the attacker _and_ are placed in
415 separate records (use with care - do not use compression if not sure).
416
417 ** libgnutls: Depends on libtasn1 2.14 or later.
418
419 ** certtool: Prints the number of bits of the public key algorithm
420 parameter in a private key.
421
422 ** API and ABI modifications:
423 gnutls_x509_privkey_get_pk_algorithm2: Added
424 gnutls_heartbeat_ping: Added
425 gnutls_heartbeat_pong: Added
426 gnutls_heartbeat_allowed: Added
427 gnutls_heartbeat_enable: Added
428 gnutls_heartbeat_set_timeouts: Added
429 gnutls_heartbeat_get_timeout: Added
430 GNUTLS_SEC_PARAM_WEAK: Added
431 GNUTLS_SEC_PARAM_INSECURE: Added
432
433 * Version 3.1.1 (released 2012-09-02)
434
435 ** gnutls-serv: Listens on IPv6. Patch by Bernhard R. Link.
436
437 ** certtool: Changes in password handling of certtool.
438 Ask password when required and only if the '--password' option is not
439 given. If the '--password' option is given during key generation then 
440 assume the PKCS #8 file format, instead of ignoring the password.
441
442 ** tpmtool: No longer asks for key password in registered keys.
443
444 ** libgnutls: Elliptic curve code was optimized by Ilya Tumaykin.
445 wmNAF is now used for point multiplication and other optimizations.
446 (the major part of the work was done during Google Summer of Code).
447
448 ** libgnutls: The default pull_timeout_function only uses select
449 instead of a combination of select() and recv() to prevent issues
450 when used in stream sockets in some systems.
451
452 ** libgnutls: Be tolerant in ECDSA signature violations (e.g. using
453 SHA256 with a SECP384 curve instead of SHA-384), to interoperate with
454 openssl.
455
456 ** libgnutls: Fixed DSA and ECDSA signature generation in smart
457 cards. Thanks to Andreas Schwier from cardcontact.de for providing
458 me with ECDSA capable smart cards.
459
460 ** API and ABI modifications:
461 gnutls_sign_algorithm_get: Added
462 gnutls_sign_get_hash_algorithm: Added
463 gnutls_sign_get_pk_algorithm: Added
464
465
466 * Version 3.1.0 (released 2012-08-15)
467
468 ** libgnutls: Added direct support for TPM as a cryptographic module 
469 in gnutls/tpm.h. TPM keys can be used in functions accepting files
470 using URLs of the following types:
471   tpmkey:file=/path/to/file
472   tpmkey:uuid=7f468c16-cb7f-11e1-824d-b3a4f4b20343;storage=user
473
474 ** libgnutls: Priority string level keywords can be combined.
475 For example the string "SECURE256:+SUITEB128" is now allowed.
476
477 ** libgnutls: requires libnettle 2.5.
478
479 ** libgnutls: Use the PKCS #1 1.5 encoding provided by nettle (2.5)
480 for encryption and signatures.
481
482 ** libgnutls: Added GNUTLS_CERT_SIGNATURE_FAILURE to differentiate between
483 generic errors and signature verification errors in the verification
484 functions.
485
486 ** libgnutls: Added gnutls_pkcs12_simple_parse() as a helper function
487 to simplify parsing in most PKCS #12 use cases.
488
489 ** libgnutls: gnutls_certificate_set_x509_simple_pkcs12_file() adds
490 the whole certificate chain (if any) to the credentials structure, instead
491 of only the end-user certificate.
492
493 ** libgnutls: Key import functions such as gnutls_pkcs12_simple_parse()
494 and gnutls_x509_privkey_import_pkcs8(), return consistently 
495 GNUTLS_E_DECRYPTION_FAILED if the input structure is encrypted but no 
496 password was provided.
497
498 ** libgnutls: Added gnutls_handshake_set_timeout() a function that
499 allows to set the maximum time spent in a handshake.
500
501 ** libgnutlsxx: Added session::set_transport_vec_push_function. Patch
502 by Alexandre Bique.
503
504 ** tpmtool: Added. It is a tool to generate private keys in the
505 TPM.
506
507 ** gnutls-cli: --benchmark-tls was split to --benchmark-tls-kx
508 and --benchmark-tls-ciphers
509
510 ** certtool: generated PKCS #12 structures may hold more than one
511 private key. Patch by Lucas Fisher.
512
513 ** certtool: Added option --null-password to generate/decrypt keys
514 that use a NULL password (in schemas that distinguish between NULL
515 an empty passwords).
516
517 ** minitasn1: Upgraded to libtasn1 version 2.13.
518
519 ** API and ABI modifications:
520 GNUTLS_CERT_SIGNATURE_FAILURE: Added
521 GNUTLS_CAMELLIA_192_CBC: Added
522 GNUTLS_PKCS_NULL_PASSWORD: Added
523 gnutls_url_is_supported: Added
524 gnutls_pkcs11_obj_list_import_url2: Added
525 gnutls_pkcs11_obj_set_pin_function: Added
526 gnutls_pkcs11_privkey_set_pin_function: Added
527 gnutls_pkcs11_get_pin_function: Added
528 gnutls_privkey_import_tpm_raw: Added
529 gnutls_privkey_import_tpm_url: Added
530 gnutls_privkey_import_pkcs11_url: Added
531 gnutls_privkey_import_openpgp_raw: Added
532 gnutls_privkey_import_x509_raw: Added
533 gnutls_privkey_import_ext2: Added
534 gnutls_privkey_import_url: Added
535 gnutls_privkey_set_pin_function: Added
536 gnutls_tpm_privkey_generate: Added
537 gnutls_tpm_key_list_deinit: Added
538 gnutls_tpm_key_list_get_url: Added
539 gnutls_tpm_get_registered: Added
540 gnutls_tpm_privkey_delete: Added
541 gnutls_pubkey_import_tpm_raw: Added
542 gnutls_pubkey_import_tpm_url: Added
543 gnutls_pubkey_import_url: Added
544 gnutls_pubkey_verify_hash2: Added
545 gnutls_pubkey_set_pin_function: Added
546 gnutls_x509_privkey_import2: Added
547 gnutls_x509_privkey_import_openssl: Added
548 gnutls_x509_crt_set_pin_function: Added
549 gnutls_load_file: Added
550 gnutls_pkcs12_simple_parse: Added
551 gnutls_certificate_set_x509_system_trust: Added
552 gnutls_certificate_set_pin_function: Added
553 gnutls_x509_trust_list_add_system_trust: Added
554 gnutls_x509_trust_list_add_trust_file: Added
555 gnutls_x509_trust_list_add_trust_mem: Added
556 gnutls_pk_to_sign: Added
557 gnutls_handshake_set_timeout: Added
558 gnutls_pubkey_verify_hash: Deprecated (use gnutls_pubkey_verify_hash2)
559 gnutls_pubkey_verify_data: Deprecated (use gnutls_pubkey_verify_data2)
560
561
562 * Version 3.0.22 (released 2012-08-04)
563
564 ** libgnutls: gnutls_certificate_set_x509_system_trust()
565 is now supported on OpenBSD.
566
567 ** libgnutls: When verifying a certificate chain make sure it is chain.
568 If the chain is wronly interrupted at some point then truncate it,
569 and only try to verify the correct part. Patch by David Woodhouse
570
571 ** libgnutls: Restored the behavior of gnutls_x509_privkey_import_pkcs8()
572 which now may (again) accept a NULL password.
573
574 ** certtool: Allow the user to choose the hash algorithm
575 when signing certificate request or certificate revocation list.
576 Patch by Petr Písař.
577
578 ** API and ABI modifications:
579 No changes since last version.
580
581
582 * Version 3.0.21 (released 2012-07-02)
583
584 ** libgnutls: fixed bug in gnutls_x509_privkey_import() 
585 that prevented the loading of EC private keys when DER
586 encoded. Reported by David Woodhouse.
587
588 ** libgnutls: In DTLS larger to mtu records result to 
589 GNUTLS_E_LARGE_PACKET instead of being truncated.
590
591 ** libgnutls: gnutls_dtls_get_data_mtu() is more precise. Based
592 on patch by David Woodhouse.
593
594 ** libgnutls: Fixed memory leak in PKCS #8 key import.
595
596 ** libgnutls: Added support for an old version of the DTLS protocol
597 used by openconnect vpn client for compatibility with Cisco's AnyConnect 
598 SSL VPN. It is marked as GNUTLS_DTLS0_9. Do not use it for newer protocols
599 as it has issues.
600
601 ** libgnutls: Corrected bug that prevented resolving PKCS #11 URLs 
602 if only the label is specified. Patch by David Woodhouse.
603
604 ** libgnutls: When EMSGSIZE errno is seen then GNUTLS_E_LARGE_PACKET
605 is returned.
606
607 ** API and ABI modifications:
608 gnutls_dtls_set_data_mtu: Added
609 gnutls_session_set_premaster: Added
610
611
612 * Version 3.0.20 (released 2012-06-05)
613
614 ** libgnutls: Corrected bug which prevented the parsing of
615 handshake packets spanning multiple records.
616
617 ** libgnutls: Check key identifiers when checking for an issuer.
618
619 ** libgnutls: Added gnutls_pubkey_verify_hash2()
620
621 ** libgnutls: Added gnutls_certificate_set_x509_system_trust()
622 that loads the trusted CA certificates from system locations
623 (e.g. trusted storage in windows and CA bundle files in other systems).
624
625 ** certtool: Added support for the URI subject alternative
626 name type in certtool.
627
628 ** certtool: Increase to 128 the maximum number of distinct options
629 (e.g. dns_names) allowed.
630
631 ** gnutls-cli: If --print-cert is given, print the certificate, 
632 even on verification failure.
633
634 ** API and ABI modifications:
635 gnutls_pk_to_sign: Added
636 gnutls_pubkey_verify_hash2: Added
637 gnutls_certificate_set_x509_system_trust: Added
638
639
640 * Version 3.0.19 (released 2012-04-22)
641
642 ** libgnutls: When decoding a PKCS #11 URL the pin-source field
643 is assumed to be a file that stores the pin. Based on patch
644 by David Smith.
645
646 ** libgnutls: gnutls_record_check_pending() no longer
647 returns unprocessed data, and thus ensure the non-blocking
648 of the next call to gnutls_record_recv(). 
649
650 ** libgnutls: Added strict tests in Diffie-Hellman and
651 SRP key exchange public keys.
652
653 ** libgnutls: in ECDSA and DSA TLS 1.2 authentication be less
654 strict in hash selection, and allow a stronger hash to
655 be used than the appropriate, to improve interoperability
656 with openssl.
657
658 ** tests: Disabled floating point test, and corrections
659 in pkcs12 decoding tests.
660
661 ** API and ABI modifications:
662 No changes since last version.
663
664
665 * Version 3.0.18 (released 2012-04-02)
666
667 ** certtool: Avoid a Y2K38 bug when generating certificates.
668 Patch by Robert Millan.
669
670 ** libgnutls: Make sure that GNUTLS_E_PREMATURE_TERMINATION
671 is returned on premature termination (and added unit test).
672
673 ** libgnutls: Fixes for W64 API. Patch by B. Scott Michel.
674
675 ** libgnutls: Corrected VIA padlock detection for old 
676 VIA processors. Reported by Kris Karas.
677
678 ** libgnutls: Updated assembler files.
679
680 ** libgnutls: Time in generated certificates is stored
681 as GeneralizedTime instead of UTCTime (which only stores
682 2 digits of a year).
683
684 ** minitasn1: Upgraded to libtasn1 version 2.13 (pre-release).
685
686 ** API and ABI modifications:
687 gnutls_x509_crt_set_private_key_usage_period: Added
688 gnutls_x509_crt_get_private_key_usage_period: Added
689 gnutls_x509_crq_set_private_key_usage_period: Added
690 gnutls_x509_crq_get_private_key_usage_period: Added
691 gnutls_session_get_random: Added
692
693
694 * Version 3.0.17 (released 2012-03-17)
695
696 ** command line apps: Always link with local libopts.
697
698 ** API and ABI modifications:
699 No changes since last version.
700
701
702 * Version 3.0.16 (released 2012-03-16)
703
704 ** minitasn1: Upgraded to libtasn1 version 2.12 (pre-release).
705
706 ** libgnutls: Corrected SRP-RSA ciphersuites when used under TLS 1.2.
707
708 ** libgnutls: included assembler files for MacOSX.
709
710 ** p11tool: Small fixes in handling of the --private command 
711 line option.
712
713 ** certtool: The template option allows for setting the domain
714 component (DC) option of the distinguished name, and the ocsp_uri
715 as well as the ca_issuers_uri options.
716
717 ** API and ABI modifications:
718 gnutls_x509_crt_set_authority_info_access: Added
719
720
721 * Version 3.0.15 (released 2012-03-02)
722
723 ** test suite: Only run under valgrind in the development
724 system (the full git repository)
725
726 ** command line apps: Link with local libopts if the 
727 installed is an old one.
728
729 ** libgnutls: Eliminate double free during SRP
730 authentication. Reported by Peter Penzov.
731
732 ** libgnutls: Corrections in record packet parsing.
733 Reported by Matthew Hall.
734
735 ** libgnutls: Cryptodev updates and fixes.
736
737 ** libgnutls: Corrected issue with select() that affected
738 FreeBSD. This prevented establishing DTLS sessions.
739 Reported by Andreas Metzler.
740
741 ** libgnutls: Corrected rehandshake and resumption
742 operations in DTLS. Reported by Sean Buckheister.
743
744 ** libgnutls: PKCS #11 objects that do not have ID
745 no longer crash listing. Reported by Sven Geggus.
746
747 ** API and ABI modifications:
748 No changes since last version.
749
750
751 * Version 3.0.14 (released 2012-02-24)
752
753 ** command line apps: Included libopts doesn't get installed
754 by default.
755
756 ** libgnutls: Eliminate double free on wrongly formatted
757 certificate list. Reported by Remi Gacogne.
758
759 ** libgnutls: cryptodev code corrected, updated to account
760 for hashes and GCM mode.
761
762 ** libgnutls: Eliminated memory leak in PCKS #11 initialization.
763 Report and fix by Sam Varshavchik.
764
765 ** API and ABI modifications:
766 No changes since last version.
767
768
769 * Version 3.0.13 (released 2012-02-18)
770
771 ** gnutls-cli: added the --ocsp option which will verify
772 the peer's certificate with OCSP.
773
774 ** gnutls-cli: added the --tofu option and if specified, gnutls-cli
775 will use an ssh-style authentication method.
776
777 ** gnutls-cli: if no --x509cafile is provided a default is
778 assumed (/etc/ssl/certs/ca-certificates.crt), if it exists.
779
780 ** ocsptool: Added --ask parameter, to verify a certificate's
781 status from an ocsp server.
782
783 ** command line apps: Use gnu autogen (libopts) to parse command
784 line arguments and template files.
785
786 ** tests: Added stress test for DTLS packet losses and 
787 out-of-order receival. Contributed by Sean Buckheister.
788
789 ** libgnutls: Several updates and corrections in the DTLS
790 DTLS lost packet handling and retransmission timeouts.
791 Report and patches by Sean Buckheister.
792
793 ** libgnutls: Added new functions to easily allow the usage of
794 a trust on first use (SSH-style) authentication.
795
796 ** libgnutls: SUITEB128 and SUITEB192 priority strings account
797 for the RFC6460 requirements.
798
799 ** libgnutls: Added new security parameter GNUTLS_SEC_PARAM_LEGACY
800 to account for security level of 96-bits.
801
802 ** libgnutls: In client side if server does not advertise any
803 known CAs and only a single certificate is set in the credentials,
804 sent that one.
805
806 ** libgnutls: Added functions to parse authority key identifiers
807 when stored as a 'general name' and serial combo.
808
809 ** libgnutls: Added function to force explicit reinitialization
810 of PKCS #11 modules. This is required on the child process after
811 a fork (if PKCS #11 functionality is desirable).
812
813 ** libgnutls: Depend on p11-kit 0.11.
814
815 ** API and ABI modifications:
816 gnutls_dtls_get_timeout: Added
817 gnutls_verify_stored_pubkey: Added
818 gnutls_store_pubkey: Added
819 gnutls_store_commitment: Added
820 gnutls_x509_crt_get_authority_key_gn_serial: Added
821 gnutls_x509_crl_get_authority_key_gn_serial: Added
822 gnutls_pkcs11_reinit: Added
823 gnutls_ecc_curve_list: Added
824 gnutls_priority_certificate_type_list: Added
825 gnutls_priority_sign_list: Added
826 gnutls_priority_protocol_list: Added
827 gnutls_priority_compression_list: Added
828 gnutls_priority_ecc_curve_list: Added
829 gnutls_tdb_init: Added
830 gnutls_tdb_set_store_func: Added
831 gnutls_tdb_set_store_commitment_func: Added
832 gnutls_tdb_set_verify_func: Added
833 gnutls_tdb_deinit: Added
834
835
836 * Version 3.0.12 (released 2012-01-20)
837
838 ** libgnutls: Added OCSP support.
839 There is a new header file gnutls/ocsp.h and a set of new functions
840 under the gnutls_ocsp namespace.  Currently the functionality provided
841 is to parse and extract information from OCSP requests/responses, to
842 generate OCSP requests and to verify OCSP responses.  See the manual
843 for more information.  Run ./configure with --disable-ocsp to build
844 GnuTLS without OCSP support.
845
846 This work was sponsored by Smoothwall <http://smoothwall.net/>.
847
848 ** ocsptool: Added new command line tool.
849 The tool can parse OCSP request/responses, generate OCSP requests and
850 verify OCSP responses.  See the manual for more information.
851
852 ** certtool: --outder option now works for private
853 and public keys as well.
854
855 ** libgnutls: Added error code GNUTLS_E_NO_PRIORITIES_WERE_SET
856 to warn when no or insufficient priorities were set.
857
858 ** libgnutls: Corrected an alignment issue in ECDH
859 key generation which prevented some keys from being
860 correctly aligned in rare circumstances.
861
862 ** libgnutls: Corrected memory leaks in DH parameter
863 generation and ecc_projective_check_point().
864
865 ** libgnutls: Added gnutls_x509_dn_oid_name() to 
866 return a descriptive name of a DN OID.
867
868 ** API and ABI modifications:
869 gnutls_pubkey_encrypt_data: Added
870 gnutls_x509_dn_oid_name: Added
871 gnutls_session_resumption_requested: Added
872 gnutls/ocsp.h: Added new header file.
873 gnutls_ocsp_print_formats_t: Added new type.
874 gnutls_ocsp_resp_status_t: Added new type.
875 gnutls_ocsp_cert_status_t: Added new type.
876 gnutls_x509_crl_reason_t: Added new type.
877 gnutls_ocsp_req_add_cert: Added.
878 gnutls_ocsp_req_add_cert_id: Added.
879 gnutls_ocsp_req_deinit: Added.
880 gnutls_ocsp_req_export: Added.
881 gnutls_ocsp_req_get_cert_id: Added.
882 gnutls_ocsp_req_get_extension: Added.
883 gnutls_ocsp_req_get_nonce: Added.
884 gnutls_ocsp_req_get_version: Added.
885 gnutls_ocsp_req_import: Added.
886 gnutls_ocsp_req_init: Added.
887 gnutls_ocsp_req_print: Added.
888 gnutls_ocsp_req_randomize_nonce: Added.
889 gnutls_ocsp_req_set_extension: Added.
890 gnutls_ocsp_req_set_nonce: Added.
891 gnutls_ocsp_resp_deinit: Added.
892 gnutls_ocsp_resp_export: Added.
893 gnutls_ocsp_resp_get_certs: Added.
894 gnutls_ocsp_resp_get_extension: Added.
895 gnutls_ocsp_resp_get_nonce: Added.
896 gnutls_ocsp_resp_get_produced: Added.
897 gnutls_ocsp_resp_get_responder: Added.
898 gnutls_ocsp_resp_get_response: Added.
899 gnutls_ocsp_resp_get_signature: Added.
900 gnutls_ocsp_resp_get_signature_algorithm: Added.
901 gnutls_ocsp_resp_get_single: Added.
902 gnutls_ocsp_resp_get_status: Added.
903 gnutls_ocsp_resp_get_version: Added.
904 gnutls_ocsp_resp_import: Added.
905 gnutls_ocsp_resp_init: Added.
906 gnutls_ocsp_resp_print: Added.
907 gnutls_ocsp_resp_verify: Added.
908
909 * Version 3.0.11 (released 2012-01-06)
910
911 ** libgnutls: Corrected functionality of 
912 gnutls_record_get_direction(). Reported by Philip Allison.
913
914 ** libgnutls: Provide less timing information when decoding
915 TLS/DTLS record packets. Patch by Nadhem Alfardan.
916
917 ** API and ABI modifications:
918 No changes since last version.
919
920
921 * Version 3.0.10 (released 2012-01-04)
922
923 ** gnutls-cli/serv: Set don't fragment bit in DTLS sessions
924 in Linux as well as in BSD.
925
926 ** gnutls-cli: Fixed reading from windows terminals.
927
928 ** libgnutls: When GNUTLS_OPENPGP_FMT_BASE64 is specified
929 the stream is assumed to be base64 encoded (previously
930 the encoding was auto-detected). This avoids a decoding
931 issue in windows systems.
932
933 ** libgnutls: Corrected ciphersuite GNUTLS_ECDHE_PSK_AES_256_CBC_SHA384
934
935 ** libgnutls: Added ciphersuites: GNUTLS_PSK_WITH_AES_256_GCM_SHA384
936 and GNUTLS_DHE_PSK_WITH_AES_256_GCM_SHA384.
937
938 ** libgnutls: Added function gnutls_random_art() to convert 
939 fingerprints to images (currently ascii-art).
940
941 ** libgnutls: Corrected bug in DSA private key parsing, which
942 prevented the verification of the key.
943
944 ** API and ABI modifications:
945 gnutls_random_art: Added
946
947
948 * Version 3.0.9 (released 2011-12-13)
949
950 ** certtool: Added new parameter --dh-info.
951
952 ** certtool: -l option was overloaded so if combined with --priority
953 it will only list the ciphersuites that are enabled by the given
954 priority string.
955
956 ** libgnutls: Added new priority string %SERVER_PRECEDENCE, which
957 changes the ciphersuite selection procedure. If specified the server
958 priorities will be used for selection instead of the client's.
959
960 ** libgnutls: Optimizations in Diffie-Hellman parameters generation
961 and key exchange.
962
963 ** libgnutls: When session tickets are negotiated and used in a
964 session, a server will not store that session data into its cache.
965
966 ** libgnutls: Added the SECP192R1 curve.
967
968 ** libgnutls: Added gnutls_priority_get_cipher_suite_index() to
969 allow listing the ciphersuites enabled in a priority structure.
970 It outputs an index to be used in gnutls_get_cipher_suite_info().
971
972 ** libgnutls: Optimizations in the elliptic curve code --timing
973 attacks resistant code is only used in ECDSA private key operations.
974
975 ** doc: man pages for API functions generation was fixed and are
976 now added again in the distribution.
977
978 ** API and ABI modifications:
979 GNUTLS_ECC_CURVE_SECP192R1: New curve definition
980 gnutls_priority_get_cipher_suite_index: Added
981
982
983 * Version 3.0.8 (released 2011-11-12)
984
985 ** certtool: Certtool -e returns error code on verification
986 failure.
987
988 ** certtool: Verifies parameters of generated keys.
989
990 ** libgnutls: Corrected ECC key generation (introduced in 3.0.6)
991
992 ** libgnutls: Provide less timing information when decoding
993 TLS/DTLS record packets.
994
995 ** doc: man pages for API functions were removed.
996 The reason was that the code that auto-generated the man pages missed
997 many APIs and we couldn't fix it (volunteers welcome).  See the info
998 manual or the GTK-DOC manual instead.
999
1000 ** API and ABI modifications:
1001 gnutls_x509_privkey_verify_params: Added
1002
1003
1004 * Version 3.0.7 (released 2011-11-08)
1005
1006 ** libgnutls: Corrected fix in gnutls_session_get_data()
1007 to report the actual session size when the provided buffer
1008 is not enough.
1009
1010 ** libgnutls: Fixed ciphersuite GNUTLS_ECDHE_RSA_AES_128_CBC_SHA256,
1011 which was using a wrong MAC algorithm. Reported by Fabrice Gautier.
1012
1013 ** API and ABI modifications:
1014 No changes since last version.
1015
1016
1017 * Version 3.0.6 (released 2011-11-07)
1018
1019 ** gnutls-guile: Compilation fixes.
1020
1021 ** libgnutls: Fixed possible buffer overflow in 
1022 gnutls_session_get_data(). Reported and fix by Alban Crequy.
1023
1024 ** libgnutls: Bug fixes in the ciphersuites with NULL cipher.
1025 Reported by Fabrice Gautier.
1026
1027 ** libgnutls: Bug fixes in ECC code for 64-bit MIPS systems. 
1028 Thanks to Joseph Graham for providing access to such a system.
1029
1030 ** libgnutls: Correctly report ECC private key parsing errors.
1031 Reported by Fabrice Gautier.
1032
1033 ** libgnutls: In ECDHE verify that the received point lies on
1034 the selected curve. The ECDHE ciphersuites now take precendence
1035 to plain DHE.
1036
1037 ** API and ABI modifications:
1038 No changes since last version.
1039
1040
1041 * Version 3.0.5 (released 2011-10-27)
1042
1043 ** libgnutls-extra: is no more
1044
1045 ** libgnutls: Corrections in order to compile with mingw32.
1046
1047 ** libgnutls: Corrections in VIA padlock code for VIA C5 processor
1048 and new detection of PHE with support for partial hashing.
1049
1050 ** libgnutls: Corrected bug in gnutls_x509_data2hex. Report and fix 
1051 by Vincent Untz.
1052
1053 ** minitasn1: Upgraded to libtasn1 version 2.10.
1054
1055 ** API and ABI modifications:
1056 No changes since last version.
1057
1058
1059 * Version 3.0.4 (released 2011-10-15)
1060
1061 ** libgnutls-extra: gnutls_register_md5_handler() was
1062 removed.
1063
1064 ** gnutls-cli-debug: Added more tests including AES-GCM,
1065 SHA256 and elliptic curves.
1066
1067 ** gnutls-cli: Added --benchmark-soft-ciphers to benchmark
1068 the software version of the ciphers instead of hw accelerated 
1069 (where available)
1070
1071 ** libgnutls: Public key ID calculation is consistent among
1072 all structures. It uses a SHA-1 hash of the subjectPublicKeyInfo.
1073
1074 ** libgnutls: gnutls_privkey_t allows setting external callback
1075 to perform signing or decryption. Can be set using
1076 gnutls_privkey_import_ext()
1077
1078 ** libgnutls: A certificate credentials structure can be
1079 used with a gnutls_privkey_t and a gnutls_pcert_st
1080 structure using gnutls_certificate_set_key().
1081
1082 ** libgnutls: Fixes to enable external signing callback to
1083 operate with TLS 1.2. 
1084
1085 ** libgnutls: Fixed crash when printing ECDSA certificate key 
1086 ID. Reported by Erik Jensen.
1087
1088 ** libgnutls: Corrected VIA padlock code for C3. In C3 benchmarks 
1089 show a 50x increase in AES speed and a 14x increase in VIA nano. Added 
1090 support for hashes and HMACs.
1091
1092 ** libgnutls: Compilation fixed when p11-kit is not detected.
1093
1094 ** libgnutls: Fixed the deflate compression code.
1095
1096 ** libgnutls: Added gnutls_x509_crt_get_authority_info_access.
1097 Used to get the PKIX Authority Information Access (AIA) field.
1098
1099 ** libgnutls: gnutls_x509_crt_print supports printing AIA fields.
1100
1101 ** libgnutls: Added ability to gnutls_privkey_t to operate with
1102 signing callback function.
1103
1104 ** API and ABI modifications:
1105 gnutls_x509_crt_get_authority_info_access (x509.h): Added function.
1106 gnutls_privkey_import_ext: Added function.
1107 gnutls_certificate_set_key: Added function.
1108 gnutls_info_access_what_t (x509.h): Added enum.
1109 GNUTLS_OID_AIA (x509.h): Added symbol.
1110 GNUTLS_OID_AD_OCSP (x509.h): Added symbol.
1111 GNUTLS_OID_AD_CAISSUERS (x509.h): Added symbol.
1112
1113 * Version 3.0.3 (released 2011-09-18)
1114
1115 ** libgnutls: Added gnutls_record_get_discarded() to return the
1116 number of discarded records in a DTLS session.
1117
1118 ** libgnutls: All functions related to RSA-EXPORT were deprecated.
1119 Support for RSA-EXPORT ciphersuites will be ceased in future versions.
1120
1121 ** libgnutls: Memory leak fixes in credentials private key 
1122 deinitialization. Reported by Dan Winship.
1123
1124 ** libgnutls: Memory leak fixes in ECC ciphersuites.
1125
1126 ** libgnutls: Do not send an empty extension structure in server 
1127 hello. This affected old implementations that do not support extensions. 
1128 Reported by J. Cameijo Cerdeira.
1129
1130 ** libgnutls: Allow CA importing of 0 certificates to succeed.
1131 Reported by Jonathan Nieder <jrnieder@gmail.com> in
1132 <http://bugs.debian.org/640639>.
1133
1134 ** libgnutls: Added support for VIA padlock AES optimizations.
1135 (disabled by default)
1136
1137 ** libgnutls: Added support for elliptic curves in
1138 PKCS #11.
1139
1140 ** libgnutls: Added gnutls_pkcs11_privkey_generate()
1141 to allow generating a key in a token.
1142
1143 ** p11tool: Added generate-rsa, generate-dsa and 
1144 generate-ecc options to allow generating private
1145 keys in the token.
1146
1147 ** libgnutls: gnutls_transport_set_lowat dummy macro was 
1148 removed.
1149
1150 ** API and ABI modifications:
1151 gnutls_pkcs11_privkey_generate: Added
1152 gnutls_pubkey_import_ecc_raw: Added
1153 gnutls_pubkey_import_ecc_x962: Added
1154 gnutls_pubkey_get_pk_ecc_x962: Added
1155 gnutls_record_get_discarded: Added
1156
1157
1158 * Version 3.0.2 (released 2011-09-01)
1159
1160 ** libgnutls: OpenPGP certificate type is not enabled
1161 by default.
1162
1163 ** libgnutls: Added %NO_EXTENSIONS priority string.
1164
1165 ** libgnutls: Corrected issue in gnutls_record_recv()
1166 triggered on encryption or compression error.
1167
1168 ** libgnutls: Compatibility fixes in CPU ID detection 
1169 for i386 and old GCC.
1170
1171 ** gnutls-cli: Benchmark applications were incorporated
1172 with it.
1173
1174 ** libgnutls: Corrected parsing of XMPP subject
1175 alternative names.
1176
1177 ** libgnutls: Allow for out-of-order ChangeCipherSpec
1178 message in DTLS.
1179
1180 ** libgnutls: gnutls_certificate_set_x509_key() and
1181 gnutls_certificate_set_openpgp_key() operate as in 2.10.x
1182 and allow the release of the private key during the
1183 lifetime of the certificate structure.
1184
1185 ** API and ABI modifications:
1186 GNUTLS_PRIVKEY_IMPORT_COPY: new gnutls_privkey_import() flag
1187
1188
1189 * Version 3.0.1 (released 2011-08-20)
1190
1191 ** libgnutls: gnutls_certificate_set_x509_key_file() and 
1192 friends support server name indication. If multiple 
1193 certificates are set using these functions the proper one 
1194 will be selected during a handshake. 
1195
1196 ** libgnutls: Added AES-256-GCM which was left out from
1197 the previous release. Reported by Benjamin Hof.
1198
1199 ** libgnutls: When asking for a PKCS# 11 PIN multiple 
1200 times, the flags in the callback were not being updated 
1201 to reflect for PIN low count or final try.
1202
1203 ** libgnutls: Do not allow second instances of PKCS #11
1204 modules.
1205
1206 ** libgnutls: fixed alignment issue in AES-NI code.
1207
1208 ** libgnutls: The config file at gnutls_pkcs11_init()
1209 is being read if provided.
1210
1211 ** libgnutls: Ensure that a certificate list specified
1212 using gnutls_certificate_set_x509_key() and friends, is 
1213 sorted according to TLS specification (from subject to issuer).
1214
1215 ** libgnutls: Added GNUTLS_X509_CRT_LIST_FAIL_IF_UNSORTED flag for
1216 gnutls_x509_crt_list_import. It checks whether the list to be 
1217 imported is properly sorted.
1218
1219 ** crywrap: Added to the distribution. It is an application
1220 that proxies TLS session to a port using a plaintext service.
1221
1222 ** doc: Many GTK-DOC improvements.
1223
1224 ** i18n: Translations were updated.
1225
1226 ** API and ABI modifications:
1227 GNUTLS_X509_CRT_LIST_FAIL_IF_UNSORTED: New element in gnutls_certificate_import_flags
1228 GNUTLS_PKCS11_PIN_WRONG: New flag for PIN callback
1229
1230
1231 * Version 3.0.0 (released 2011-07-29)
1232
1233 ** libgnutls: writev_emu: stop on the first incomplete write. Patch by
1234 Sjoerd Simons.
1235
1236 ** libgnutls: Fix zlib handling in gnutls.pc. Patch by Andreas
1237 Metzler.
1238
1239 ** certtool: bug fixes in certificate request generation. Patch
1240 by Petr Písař.
1241
1242 ** API and ABI modifications:
1243 gnutls_pcert_list_import_x509_raw: ADDED
1244
1245
1246 * Version 2.99.4 (released 2011-07-23)
1247
1248 ** doc: documentation updates.
1249
1250 ** libgnutls: gnutls_rsa_params_t is now identical to gnutls_x509_privkey_t
1251 to avoid thread-safety issues. Reported by Sam Varshavchik.
1252
1253 ** libgnutls: Added compatibility mode with /etc/gnutls/pkcs11.conf
1254
1255 ** libgnutls: license upgraded to LGPLv3
1256
1257 ** libgnutls: gnutls_srp_verifier() returns data allocated with gnutls_malloc()
1258 for consistency.
1259
1260 ** API and ABI modifications:
1261 No changes since last version.
1262
1263
1264 * Version 2.99.3 (released 2011-06-18)
1265
1266 ** libgnutls: Added new PKCS #11 flags to force an object being private or
1267 not. (GNUTLS_PKCS11_OBJ_FLAG_MARK_PRIVATE and GNUTLS_PKCS11_OBJ_FLAG_MARK_NOT_PRIVATE)
1268
1269 ** libgnutls: Added SUITEB128 and SUITEB192 priority
1270 strings to enable the NSA SuiteB cryptography ciphersuites.
1271
1272 ** libgnutls: Added gnutls_pubkey_verify_data2() that will
1273 verify data provided the signature algorithm.
1274
1275 ** libgnutls: Simplified the handling of handshake messages to 
1276 be hashed. Instead of hashing during the handshake process we now 
1277 keep the data until handshake is over and hash them on request. 
1278 This uses more memory but eliminates issues with TLS 1.2 and 
1279 simplifies code.
1280
1281 ** libgnutls: Added AES-GCM optimizations using the PCLMULQDQ
1282 instruction. Uses Andy Polyakov's assembly code.
1283
1284 ** libgnutls: Added gnutls_x509_trust_list_add_named_crt() and
1285 gnutls_x509_trust_list_verify_named_crt() that allow having a
1286 list of certificates in the trusted list that will be associated
1287 with a name (e.g. server name) and will not be used as CAs.
1288
1289 ** libgnutls: PKCS #11 back-end rewritten to use p11-kit
1290 http://p11-glue.freedesktop.org/p11-kit.html. Rewrite by
1291 Stef Walter.
1292
1293 ** libgnutls: Added ECDHE-PSK ciphersuites for TLS (RFC 5489).
1294
1295 ** API and ABI modifications:
1296 gnutls_pubkey_verify_data2: ADDED
1297 gnutls_ecc_curve_get: ADDED
1298 gnutls_x509_trust_list_add_named_crt: ADDED
1299 gnutls_x509_trust_list_verify_named_crt: ADDED
1300 gnutls_x509_privkey_verify_data: REMOVED
1301 gnutls_crypto_bigint_register: REMOVED
1302 gnutls_crypto_cipher_register: REMOVED
1303 gnutls_crypto_digest_register: REMOVED
1304 gnutls_crypto_mac_register: REMOVED
1305 gnutls_crypto_pk_register: REMOVED
1306 gnutls_crypto_rnd_register: REMOVED
1307 gnutls_crypto_single_cipher_register: REMOVED
1308 gnutls_crypto_single_digest_register: REMOVED
1309 gnutls_crypto_single_mac_register: REMOVED
1310 GNUTLS_KX_ECDHE_PSK: New key exchange method
1311 GNUTLS_VERIFY_DISABLE_CRL_CHECKS: New certificate verification flag.
1312 GNUTLS_PKCS11_OBJ_FLAG_MARK_PRIVATE: New PKCS#11 object flag.
1313 GNUTLS_PKCS11_OBJ_FLAG_MARK_NOT_PRIVATE: New PKCS#11 object flag.
1314
1315
1316 * Version 2.99.2 (released 2011-05-26)
1317
1318 ** libgnutls: Added Elliptic curve support. This is not
1319 enabled by default. Requires priority strings:
1320 +CURVE-ALL: to add all supported curves
1321 +ECDHE-RSA: to add ephemeral ECDHE with an RSA-signed certificate
1322 +ECDHE-ECDSA: to add ephemeral ECDHE with an ECDSA-signed certificate
1323 +ANON-ECDHE: to add anonymous ECDH
1324
1325 ** libgnutls: PKCS #11 URLs conform to the latest draft
1326 being http://tools.ietf.org/html/draft-pechanec-pkcs11uri-04.
1327
1328 ** certtool: Can now load private keys and public keys from PKCS #11 tokens
1329 via URLs.
1330
1331 ** libgnutls: Added gnutls_global_set_audit_log_function() that allows
1332 to get important auditing information including the corresponding session.
1333 That might be useful to block DoS or other attacker from specific IPs.
1334
1335 ** libgnutls: gnutls_pkcs11_privkey_import_url() will now correctly read
1336 the public key algorithm of the key.
1337
1338 ** libgnutls: Added gnutls_certificate_get_issuer() and
1339 gnutls_x509_trust_list_get_issuer() to compensate for the
1340 missing gnutls_certificate_get_x509_cas().
1341
1342 ** libgnutls: Added gnutls_x509_crq_verify() to allow
1343 verification of the self signature in a certificate request.
1344 This allows verifying whether the owner of the private key
1345 is the generator of the request.
1346
1347 ** libgnutls: gnutls_x509_crt_set_crq() implicitly verifies
1348 the self signature of the request.
1349
1350 ** API and ABI modifications:
1351 gnutls_certificate_get_issuer: ADDED
1352 gnutls_x509_trust_list_get_issuer: ADDED
1353 gnutls_x509_crq_verify: ADDED
1354 gnutls_global_set_audit_log_function: ADDED
1355 gnutls_ecc_curve_get_name: ADDED
1356 gnutls_ecc_curve_get_size: ADDED
1357 gnutls_x509_privkey_import_ecc_raw: ADDED
1358 gnutls_x509_privkey_export_ecc_raw: ADDED
1359 gnutls_global_set_time_function: ADDED
1360
1361 GNUTLS_E_ECC_NO_SUPPORTED_CURVES: New error code
1362 GNUTLS_E_ECC_UNSUPPORTED_CURVE: New error code
1363 GNUTLS_KX_ECDHE_RSA: New key exchange method
1364 GNUTLS_KX_ECDHE_ECDSA: New key exchange method
1365 GNUTLS_KX_ANON_ECDH: New key exchange method
1366 GNUTLS_PK_ECC: New public key algorithm
1367 GNUTLS_SIGN_ECDSA_SHA1: New signature algorithm
1368 GNUTLS_SIGN_ECDSA_SHA256: New signature algorithm
1369 GNUTLS_SIGN_ECDSA_SHA384: New signature algorithm
1370 GNUTLS_SIGN_ECDSA_SHA512: New signature algorithm 
1371 GNUTLS_SIGN_ECDSA_SHA224: New signature algorithm
1372 GNUTLS_ECC_CURVE_INVALID: New curve definition
1373 GNUTLS_ECC_CURVE_SECP224R1: New curve definition
1374 GNUTLS_ECC_CURVE_SECP256R1: New curve definition
1375 GNUTLS_ECC_CURVE_SECP384R1: New curve definition
1376 GNUTLS_ECC_CURVE_SECP521R1: New curve definition
1377
1378
1379 * Version 2.99.1 (released 2011-04-23)
1380
1381 ** libgnutls: LZO support was removed.
1382
1383 ** libgnutls: Corrections in SSLv2 client hello parsing.
1384
1385 ** libgnutls: Added support for AES-NI if detected. Uses
1386 Andy Polyakov's AES-NI code.
1387
1388 ** libgnutls: Restored HMAC-MD5 for compatibility. Although considered 
1389 weak, several sites require it for connection. It is enabled for
1390 "NORMAL" and "PERFORMANCE" priority strings.
1391
1392 ** libgnutls: depend on libdl.
1393
1394 ** libgnutls-extra: Dropped support of LZO compression via liblzo.
1395
1396 ** libgnutls: gnutls_transport_set_global_errno() was removed. This
1397 function required GnuTLS to access system specific data, for no reason.
1398 Use gnutls_transport_set_errno(), or your system's errno fascility
1399 instead.
1400
1401 ** libgnutls: Added gnutls_certificate_set_retrieve_function2()
1402 to set a callback to retrieve a certificate. The certificate is
1403 received in a format that requires no processing from gnutls thus
1404 it is suitable when performance is required.
1405
1406 ** API and ABI modifications:
1407 gnutls_transport_set_global_errno: REMOVED
1408 gnutls_certificate_set_retrieve_function2: ADDED
1409
1410 * Version 2.99.0 (released 2011-04-09)
1411
1412 ** libgnutls: Added Datagram TLS support.
1413
1414 ** libgnutls: Uses a single configure file and a single
1415 gnulib library to save space.
1416
1417 ** libgnutls: Several bug fixes.
1418
1419 ** libgnutls: gnutls_transport_set_lowat() is no more.
1420
1421 ** libgnutls-openssl: modified to use modern gnutls' functions.
1422 This introduces an ABI incompatibility with previous versions.
1423
1424 ** libgnutls: Corrected signature generation and verification
1425 in the Certificate Verify message when in TLS 1.2. Reported
1426 by Todd A. Ouska.
1427
1428 ** libgnutlsxx: The C++ interface returns exception on
1429 every error and not only on fatal ones. This allows easier
1430 handling of errors.
1431
1432 ** libgnutls: Corrected issue in DHE-PSK ciphersuites that ignored    
1433 the PSK callback.
1434
1435 ** libgnutls: SRP and PSK are no longer set on the default priorities. 
1436 They have to be explicitly set.
1437
1438 ** libgnutls: During handshake message verification using DSS
1439 use the hash algorithm required by it.
1440
1441 ** libgnutls: gnutls_recv() return GNUTLS_E_PREMATURE_TERMINATION
1442 on unexpected EOF, instead of GNUTLS_E_UNEXPECTED_PACKET_LENGTH.
1443
1444 ** libgnutls: Added GCM mode (interoperates with tls.secg.org)
1445
1446 ** libgnutls-extra: Inner application extension was removed.
1447 It was never standardized nor published as an RFC.
1448
1449 ** libgnutls: Added new certificate verification functions, that
1450 can provide more details and are more efficient. Check 
1451 gnutls_x509_trust_list_*.
1452
1453 ** certtool: Uses the new certificate verification functions for
1454 --verify-chain.
1455
1456 ** certtool: Added new certificate verification functionality
1457 using the --verify option. Combined with --load-ca-certificate
1458 it can verify a certificate chain against a list of certificates.
1459
1460 ** Several files unnecessarily included <gcrypt.h>; this has been fixed.
1461
1462 ** API and ABI modifications:
1463 gnutls_dtls_set_timeouts: ADDED
1464 gnutls_dtls_get_mtu: ADDED
1465 gnutls_dtls_get_data_mtu: ADDED
1466 gnutls_dtls_set_mtu: ADDED
1467 gnutls_dtls_cookie_send: ADDED
1468 gnutls_dtls_cookie_verify: ADDED
1469 gnutls_dtls_prestate_set: ADDED
1470 gnutls_x509_trust_list_verify_crt: ADDED
1471 gnutls_x509_trust_list_add_crls: ADDED
1472 gnutls_x509_trust_list_add_cas: ADDED
1473 gnutls_x509_trust_list_init: ADDED
1474 gnutls_x509_trust_list_deinit: ADDED
1475 gnutls_cipher_add_auth: ADDED
1476 gnutls_cipher_tag: ADDED
1477 gnutls_psk_netconf_derive_key: REMOVED
1478 gnutls_certificate_verify_peers: REMOVED
1479 gnutls_session_set_finished_function: REMOVED
1480 gnutls_ext_register: REMOVED
1481 gnutls_certificate_get_x509_crls: REMOVED
1482 gnutls_certificate_get_x509_cas: REMOVED
1483 gnutls_certificate_get_openpgp_keyring: REMOVED
1484 gnutls_session_get_server_random: REMOVED
1485 gnutls_session_get_client_random: REMOVED
1486 gnutls_session_get_master_secret: REMOVED
1487 gnutls_ia_allocate_client_credentials: REMOVED
1488 gnutls_ia_allocate_server_credentials: REMOVED
1489 gnutls_ia_enable: REMOVED
1490 gnutls_ia_endphase_send: REMOVED
1491 gnutls_ia_extract_inner_secret: REMOVED
1492 gnutls_ia_free_client_credentials: REMOVED
1493 gnutls_ia_free_server_credentials: REMOVED
1494 gnutls_ia_generate_challenge: REMOVED
1495 gnutls_ia_get_client_avp_ptr: REMOVED
1496 gnutls_ia_get_server_avp_ptr: REMOVED
1497 gnutls_ia_handshake: REMOVED
1498 gnutls_ia_handshake_p: REMOVED
1499 gnutls_ia_permute_inner_secret: REMOVED
1500 gnutls_ia_recv: REMOVED
1501 gnutls_ia_send: REMOVED
1502 gnutls_ia_set_client_avp_function: REMOVED
1503 gnutls_ia_set_client_avp_ptr: REMOVED
1504 gnutls_ia_set_server_avp_function: REMOVED
1505 gnutls_ia_set_server_avp_ptr: REMOVED
1506 gnutls_ia_verify_endphase: REMOVED
1507
1508
1509 * Version 2.12.2 (released 2011-04-08)
1510
1511 ** libgnutls: Several updates and fixes for win32. Patches by LRN.
1512
1513 ** libgnutls: Several bug and memory leak fixes.
1514
1515 ** srptool: Accepts the -d option to enable debugging.
1516
1517 ** libgnutls: Corrected bug in gnutls_srp_verifier() that prevented
1518 the allocation of a verifier. Reported by Andrew Wiseman.
1519
1520 ** API and ABI modifications:
1521 No changes since last version.
1522
1523
1524 * Version 2.12.1 (released 2011-04-02)
1525
1526 ** certtool: Generated certificate request with stricter permissions.
1527 Reported by Luca Capello.
1528
1529 ** libgnutls: Bug fixes in opencdk code. Reported by Vitaly Kruglikov.
1530
1531 ** libgnutls: Corrected windows system_errno() function prototype.
1532
1533 ** libgnutls: C++ compatibility fix for compat.h. Reported by Mark Brand.
1534
1535 ** libgnutls: Fix size of gnutls_openpgp_keyid_t by using the
1536 GNUTLS_OPENPGP_KEYID_SIZE definition. Reported by Andreas Metzler.
1537
1538 ** API and ABI modifications:
1539 No changes since last version.
1540
1541
1542
1543
1544 * Version 2.12.0 (released 2011-03-24)
1545
1546 ** certtool: Warns on generation of DSA keys of over 1024 bits, about
1547 the incompatibility with TLS other than 1.2.
1548
1549 ** libgnutls: Modified signature algorithm selection in client
1550 certificate request, to avoid failures in DSA certificates.
1551
1552 ** libgnutls: Instead of failing with internal error, return 
1553 GNUTLS_E_INCOMPAT_DSA_KEY_WITH_TLS_PROTOCOL if an incompatible DSA
1554 key with the negotiated protocol is encountered.
1555
1556 ** libgnutls: Bug fixes in the RSA ciphersuite behavior with openpgp keys.
1557
1558 ** libgnutls: Force state update when fork is detected in the nettle
1559 rng.
1560
1561 ** libgnutls: modified gnutls_pubkey_import_openpgp() to use the preferred
1562 subkey instead of setting explicitly one.
1563
1564 ** libgnutls: Corrected default behavior in record version of Client Hellos.
1565
1566 ** libgnutls-openssl: modified to use modern gnutls' functions.
1567 This introduces an ABI incompatibility with previous versions.
1568
1569 ** API and ABI modifications:
1570 gnutls_pubkey_import_openpgp: MODIFIED
1571
1572
1573 * Version 2.11.7
1574
1575 ** libgnutls: The deprecated  gnutls_x509_privkey_sign_hash() was
1576 replaced by gnutls_privkey_sign_hash2().
1577
1578 ** libgnutls: gnutls_pubkey_verify_data, gnutls_pubkey_verify_hash,
1579 gnutls_x509_privkey_verify_data, gnutls_x509_crt_verify_data, 
1580 gnutls_x509_crt_verify_hash return the negative error code 
1581 GNUTLS_E_PK_SIG_VERIFY_FAILED if verification fails to simplify error 
1582 checking.
1583
1584 ** libgnutls: Added helper functions for signature verification:
1585 gnutls_pubkey_verify_data() and gnutls_pubkey_import_privkey().
1586
1587 ** libgnutls: Modified gnutls_privkey_sign_data().
1588
1589 ** gnutls_x509_crl_privkey_sign2(), gnutls_x509_crq_sign2()
1590 gnutls_x509_privkey_sign_hash(), gnutls_x509_privkey_sign_data(),
1591 gnutls_x509_crt_verify_hash(), gnutls_x509_crt_verify_data(), were
1592 deprecated for gnutls_x509_crl_privkey_sign(),
1593 gnutls_x509_crq_privkey_sign(), gnutls_privkey_sign_hash(),
1594 gnutls_privkey_sign_data(), gnutls_pubkey_verify_hash()
1595 gnutls_pubkey_verify_data() respectively.
1596
1597 ** libgnutls: gnutls_*_export_raw() functions now add leading zero in
1598 integers.
1599
1600 ** libgnutls: Added convenience functions gnutls_x509_crl_list_import2()
1601 and gnutls_x509_crt_list_import2().
1602
1603 ** crypto.h: Fix use with C++.
1604 Reported by "Brendan Doherty" <brendand@gentrack.com>.
1605
1606 ** API and ABI modifications:
1607 gnutls_x509_crl_list_import: ADDED
1608 gnutls_x509_crl_list_import2: ADDED
1609 gnutls_x509_crt_list_import2: ADDED
1610 gnutls_x509_crl_get_raw_issuer_dn: ADDED
1611 gnutls_pubkey_import_privkey: ADDED
1612 gnutls_pubkey_verify_data: ADDED
1613 gnutls_privkey_sign_hash: MODIFIED (was added in 2.11.0)
1614 gnutls_privkey_sign_data: MODIFIED (was added in 2.11.0)
1615 gnutls_x509_crq_sign2: DEPRECATED (use: gnutls_x509_crq_privkey_sign)
1616 gnutls_x509_crq_sign: DEPRECATED (use: gnutls_x509_crq_privkey_sign)
1617 gnutls_x509_crq_get_preferred_hash_algorithm: REMOVED (was added in 2.11.0)
1618 gnutls_x509_crl_sign: DEPRECATED (use: gnutls_x509_crl_privkey_sign)
1619 gnutls_x509_crl_sign2: DEPRECATED (use: gnutls_x509_crl_privkey_sign)
1620 gnutls_x509_privkey_sign_data: DEPRECATED (use: gnutls_privkey_sign_data2)
1621 gnutls_x509_privkey_sign_hash: DEPRECATED (use: gnutls_privkey_sign_hash2)
1622 gnutls_x509_privkey_verify_data: DEPRECATED (use: gnutls_pubkey_verify_data)
1623 gnutls_session_set_finished_function: DEPRECATED
1624 gnutls_x509_crt_verify_hash: DEPRECATED (use: gnutls_pubkey_verify_hash)
1625 gnutls_x509_crt_verify_data: DEPRECATED (use: gnutls_pubkey_verify_data)
1626 gnutls_x509_crt_get_verify_algorithm: DEPRECATED (use: gnutls_pubkey_get_verify_algorithm)
1627 gnutls_x509_crt_get_preferred_hash_algorithm: DEPRECATED (use: gnutls_pubkey_get_preferred_hash_algorithm)
1628 gnutls_openpgp_privkey_sign_hash: DEPRECATED (use: gnutls_privkey_sign_hash2)
1629 gnutls_pkcs11_privkey_sign_hash: REMOVED (was added in 2.11.0)
1630 gnutls_pkcs11_privkey_decrypt_data: REMOVED (was added in 2.11.0)
1631 gnutls_privkey_sign_hash: REMOVED (was added in 2.11.0)
1632
1633 * Version 2.11.6 (released 2010-12-06)
1634
1635 ** libgnutls: Record version of Client Hellos is now set by default to
1636 SSL 3.0. To restore the previous default behavior use %LATEST_RECORD_VERSION
1637 priority string.
1638
1639 ** libgnutls: Use ASN1_NULL when writing parameters for RSA signatures. 
1640 This makes us comply with RFC3279. Reported by Michael Rommel.
1641
1642 ** gnutls-serv: Corrected a buffer overflow. Reported and patch by Tomas Mraz.
1643
1644 ** API and ABI modifications:
1645 No changes since last version.
1646
1647 * Version 2.11.5 (released 2010-12-01)
1648
1649 ** libgnutls: Reverted default behavior for verification and
1650 introduced GNUTLS_VERIFY_DO_NOT_ALLOW_X509_V1_CA_CRT. Thus by default
1651 V1 trusted CAs are allowed, unless the new flag is specified.
1652
1653 ** libgnutls: Correctly add leading zero to PKCS #8 encoded DSA key.
1654 Reported by Jeffrey Walton.
1655
1656 ** libgnutls: Added SIGN-ALL, CTYPE-ALL, COMP-ALL, and VERS-TLS-ALL
1657 as priority strings. Those allow to set all the supported algorithms
1658 at once.
1659
1660 ** p11tool: Introduced. It allows manipulating pkcs 11 tokens.
1661
1662 ** gnutls-cli: Print channel binding only in verbose mode.
1663 Before it printed it after the 'Compression:' output, thus breaking
1664 Emacs starttls.el string searches.
1665
1666 ** API and ABI modifications:
1667 gnutls_pkcs11_token_init: New function
1668 gnutls_pkcs11_token_set_pin: New function
1669
1670 * Version 2.11.4 (released 2010-10-15)
1671
1672 ** libgnutls: Add new API gnutls_session_channel_binding.
1673 The function is used to get the channel binding data.  Currently only
1674 the "tls-unique" (RFC 5929) channel binding type is supported, through
1675 the GNUTLS_CB_TLS_UNIQUE type.  See new section "Channel Bindings" in
1676 the manual.
1677
1678 ** gnutls-cli, gnutls-serv: Print 'tls-unique' Channel Bindings.
1679
1680 ** doc: Added pkcs11.h header file to GTK-DOC manual.
1681
1682 ** build: Update gnulib files.
1683
1684 ** i18n: Update translations.
1685
1686 ** tests: Add self tests gendh.c.  Speed up Guile self checks.
1687
1688 ** API and ABI modifications:
1689 gnutls_session_channel_binding: New function.
1690 gnutls_channel_binding_t: New enumeration.
1691 GNUTLS_CB_TLS_UNIQUE: New gnutls_channel_binding_t enum member.
1692 GNUTLS_E_CHANNEL_BINDING_NOT_AVAILABLE: New error code.
1693
1694 * Version 2.11.3 (released 2010-10-14)
1695
1696 ** Indent code to follow the GNU Coding Standard.
1697 You should be able to unpack the 2.11.2 release and run 'make indent'
1698 twice to get exactly the same content as 2.11.3 except for generated
1699 files.  Using GNU Indent 2.2.11.
1700
1701 ** API and ABI modifications:
1702 No changes since last version.
1703
1704 * Version 2.11.2 (released 2010-10-08)
1705
1706 ** libgnutls: Several bug fixes on session resumption
1707 and session tickets support.
1708
1709 ** libgnutls: Add new extended key usage ipsecIKE.
1710
1711 ** certtool: Renamed PKCS #11 options to: --p11-provider,
1712 --p11-export-url, --p11-list-certs, --p11-list-certs,
1713 --p11-list-privkeys, --p11-list-trusted, --p11-list-all-certs,
1714 --p11-list-all, --p11-list-tokens, --p11-login, --p11-write,
1715 --p11-write-label, --p11-write-trusted, --p11-detailed-url,
1716 --p11-delete-url
1717
1718 ** libgnutls: Corrected bug that caused importing DSA keys as RSA,
1719 introduced with the new nettle code.
1720
1721 ** libgnutls: Corrected advertizing issue for session tickets.
1722
1723 ** API and ABI modifications:
1724 gnutls_x509_crt_get_subject_unique_id: ADDED.
1725 gnutls_x509_crt_get_issuer_unique_id: ADDED.
1726
1727 * Version 2.11.1 (released 2010-09-14)
1728
1729 ** libgnutls: Nettle is the default crypto back end. Use --with-libgcrypt
1730 to use the libgcrypt back end.
1731
1732 ** libgnutls: Depend on nettle 2.1. This makes nettle a fully working
1733 backend crypto library.
1734
1735 ** libgnutls: Added RSA_NULL_SHA1 and SHA256 ciphersuites.
1736
1737 ** libgnutls: Several updates in the buffering internal interface.
1738
1739 ** libgnutls: Is now more liberal in the PEM decoding. That is spaces and 
1740 tabs are being skipped.
1741
1742 ** libgnutls: Added support for draft-pechanec-pkcs11uri-02.
1743
1744 ** libgnutls: The %COMPAT flag now allows larger records that violate the
1745 TLS spec.
1746
1747 ** libgnutls: by default lowat level has been set to zero to avoid unnecessary
1748 system calls. Applications that depended on it being 1 should explicitly call
1749 gnutls_transport_set_lowat().
1750
1751 ** libgnutls: Updated documentation and gnutls_pk_params_t mappings
1752 to ECRYPT II recommendations. Mappings were moved to a single location
1753 and DSA keys are handled differently (since DSA2 allows for 1024,2048
1754 and 3072 keys only).
1755
1756 ** libgnutls: gnutls_x509_privkey_import() will fallback to
1757 gnutls_x509_privkey_import_pkcs8() without a password, if it
1758 is unable to decode the key.
1759
1760 ** libgnutls: HMAC-MD5 no longer used by default.
1761
1762 ** API and ABI modifications:
1763 gnutls_openpgp_privkey_sec_param: ADDED
1764 gnutls_x509_privkey_sec_param: ADDED
1765
1766 * Version 2.11.0 (released 2010-07-22)
1767
1768 ** libgnutls: support scattered write using writev(). This takes
1769 advantage of the new buffering layer and allows queuing of packets
1770 and flushing them. This is currently used for handshake messages
1771 only.
1772
1773 ** libgnutls: Added gnutls_global_set_mutex() to allow setting
1774 alternative locking procedures. By default the system available
1775 locking is used. In *NIX pthreads are used and in windows the
1776 critical section API. This follows a different approach than the
1777 previous versions that depended on libgcrypt initialization. The
1778 locks are now set by default in systems that support it. Programs
1779 that used gcry_control() to set thread locks should insert it into
1780 a block of
1781 #if GNUTLS_VERSION_NUMBER <= 0x020b00
1782         gcry_control(...)
1783 #endif
1784
1785 ** libgnutls: Added support for reading DN from EV-certificates.
1786 New DN values:
1787 jurisdictionOfIncorporationLocalityName,
1788 jurisdictionOfIncorporationStateOrProvinceName,
1789 jurisdictionOfIncorporationCountryName
1790
1791 ** libgnutls: Added support for DSA signing/verifying with bit 
1792 length over 1024.
1793
1794 ** libgnutls-extra: When in FIPS mode gnutls_global_init_extra()
1795 has to be called to register any required md5 handlers.
1796
1797 ** libgnutls: Internal buffering code was replaced by simpler
1798 code contributed by Jonathan Bastien-Filiatrault.
1799
1800 ** libgnutls: Internal API for extensions augmented to allow
1801 safe storing and loading of data on resumption. This allows writing
1802 self-contained extensions (when possible). As a side effect
1803 the OPRFI extension was removed.
1804
1805 ** libgnutls: Added support for DSA-SHA256 and DSA-SHA224
1806
1807 ** libgnutls: Added PKCS #11 support and an API to access objects in
1808 gnutls/pkcs11.h. Currently certificates and public keys can be
1809 imported from tokens, and operations can be performed on private keys.
1810
1811 ** libgnutls: Added abstract gnutls_privkey_t and gnutls_pubkey_t
1812
1813 ** libgnutls: Added initial support for the nettle library. It uses
1814 the system's random generator for seeding. That is /dev/urandom in Linux, 
1815 system calls in Win32 and EGD on other systems.
1816
1817 ** libgnutls: Corrected issue on the %SSL3_RECORD_VERSION priority string. It now
1818     works even when resuming a session.
1819
1820 ** libgnutls: Added gnutls_certificate_set_retrieve_function() to replace the
1821 similar gnutls_certificate_set_server_retrieve_function() and
1822 gnutls_certificate_set_client_retrieve_function(). In addition it support
1823 PKCS #11 private keys.
1824
1825 ** libgnutls: Added  gnutls_pkcs11_copy_x509_crt(), gnutls_pkcs11_copy_x509_privkey(),
1826 and gnutls_pkcs11_delete_url() to allow copying and deleting data in tokens.
1827
1828 ** libgnutls: Added gnutls_sec_param_to_pk_bits() et al. to allow select bit
1829 sizes for private keys using a human understandable scale.
1830
1831 ** certtool: Added new options: --pkcs11-list-tokens, --pkcs11-list-all
1832 --pkcs11-list-all-certs, --pkcs11-list-trusted, --pkcs11-list-certs,
1833 --pkcs11-delete-url, --pkcs11-write
1834
1835 certtool: The --pkcs-cipher is taken into account when generating a
1836 private key. The default cipher used now is aes-128. The old behavior can
1837 be simulated by specifying "--pkcs-cipher 3des-pkcs12".
1838
1839 certtool: Added --certificate-pubkey to print the public key of the
1840 certificate.
1841
1842 ** gnutls-cli/gnutls-serv: --x509cafile, --x509certfile and --x509keyfile
1843 can now accept a PKCS #11 URL in addition to a file. This will allow for
1844 example to use the Gnome-keyring trusted certificate list to verify
1845 connections using a url such as:
1846 pkcs11:token=Root%20CA%20Certificates;serial=1%3AROOTS%3ADEFAULT;model=1%2E0;manufacturer=Gnome%20Keyring
1847
1848 ** API and ABI modifications:
1849 gnutls_certificate_set_server_retrieve_function: DEPRECATED
1850 gnutls_certificate_set_client_retrieve_function: DEPRECATED
1851 gnutls_sign_callback_set: DEPRECATED
1852 gnutls_global_set_mutex: ADDED
1853 gnutls_pubkey_get_preferred_hash_algorithm: ADDED
1854 gnutls_x509_crt_get_preferred_hash_algorithm: ADDED
1855 gnutls_x509_privkey_export_rsa_raw2: ADDED
1856 gnutls_rnd: ADDED
1857 gnutls_sec_param_to_pk_bits: ADDED
1858 gnutls_pk_bits_to_sec_param: ADDED
1859 gnutls_sec_param_get_name: ADDED
1860 gnutls_pkcs11_type_get_name: ADDED
1861 gnutls_certificate_set_retrieve_function: ADDED
1862 gnutls_pkcs11_init: ADDED
1863 gnutls_pkcs11_deinit: ADDED
1864 gnutls_pkcs11_set_pin_function: ADDED
1865 gnutls_pkcs11_set_token_function: ADDED
1866 gnutls_pkcs11_add_provider: ADDED
1867 gnutls_pkcs11_obj_init: ADDED
1868 gnutls_pkcs11_obj_import_url: ADDED
1869 gnutls_pkcs11_obj_export_url: ADDED
1870 gnutls_pkcs11_obj_deinit: ADDED
1871 gnutls_pkcs11_obj_export: ADDED
1872 gnutls_pkcs11_obj_list_import_url: ADDED
1873 gnutls_pkcs11_obj_export: ADDED
1874 gnutls_x509_crt_import_pkcs11: ADDED
1875 gnutls_pkcs11_obj_get_type: ADDED
1876 gnutls_x509_crt_list_import_pkcs11: ADDED
1877 gnutls_x509_crt_import_pkcs11_url: ADDED
1878 gnutls_pkcs11_obj_get_info: ADDED
1879 gnutls_pkcs11_token_get_info: ADDED
1880 gnutls_pkcs11_token_get_url: ADDED
1881 gnutls_pkcs11_privkey_init: ADDED
1882 gnutls_pkcs11_privkey_deinit: ADDED
1883 gnutls_pkcs11_privkey_get_pk_algorithm: ADDED
1884 gnutls_pkcs11_privkey_get_info: ADDED
1885 gnutls_pkcs11_privkey_import_url: ADDED
1886 gnutls_pkcs11_privkey_sign_data: ADDED
1887 gnutls_pkcs11_privkey_sign_hash: ADDED
1888 gnutls_pkcs11_privkey_decrypt_data: ADDED
1889 gnutls_privkey_init: ADDED
1890 gnutls_privkey_deinit: ADDED
1891 gnutls_privkey_get_pk_algorithm: ADDED
1892 gnutls_privkey_get_type: ADDED
1893 gnutls_privkey_import_pkcs11: ADDED
1894 gnutls_privkey_import_x509: ADDED
1895 gnutls_privkey_import_openpgp: ADDED
1896 gnutls_privkey_sign_data: ADDED
1897 gnutls_privkey_sign_hash: ADDED
1898 gnutls_privkey_decrypt_data: ADDED
1899 gnutls_pkcs11_privkey_export_url: ADDED
1900 gnutls_x509_crq_privkey_sign: ADDED
1901 gnutls_x509_crl_privkey_sign: ADDED
1902 gnutls_x509_crt_privkey_sign: ADDED
1903 gnutls_pubkey_init: ADDED
1904 gnutls_pubkey_deinit: ADDED
1905 gnutls_pubkey_get_pk_algorithm: ADDED
1906 gnutls_pubkey_import_x509: ADDED
1907 gnutls_pubkey_import_openpgp: ADDED
1908 gnutls_pubkey_get_pk_rsa_raw: ADDED
1909 gnutls_pubkey_get_pk_dsa_raw: ADDED
1910 gnutls_pubkey_export: ADDED
1911 gnutls_pubkey_get_key_id: ADDED
1912 gnutls_pubkey_get_key_usage: ADDED
1913 gnutls_pubkey_verify_hash: ADDED
1914 gnutls_pubkey_get_verify_algorithm: ADDED
1915 gnutls_pkcs11_type_get_name: ADDED
1916 gnutls_pubkey_import_pkcs11_url: ADDED
1917 gnutls_pubkey_import: ADDED
1918 gnutls_pubkey_import_pkcs11: ADDED
1919 gnutls_pubkey_import_dsa_raw: ADDED
1920 gnutls_pubkey_import_rsa_raw: ADDED
1921 gnutls_x509_crt_set_pubkey: ADDED
1922 gnutls_x509_crq_set_pubkey: ADDED
1923 gnutls_pkcs11_copy_x509_crt: ADDED
1924 gnutls_pkcs11_copy_x509_privkey: ADDED
1925 gnutls_pkcs11_delete_url: ADDED
1926
1927 * Version 2.10.1 (released 2010-07-25)
1928
1929 ** libgnutls: Added support for broken certificates that indicate RSA
1930 with strange OIDs.
1931
1932 ** gnutls-cli: Allow verification using V1 CAs.
1933
1934 ** libgnutls: gnutls_x509_privkey_import() will fallback to
1935 gnutls_x509_privkey_import_pkcs8() without a password, if it
1936 is unable to decode the key.
1937
1938 ** libgnutls: Correctly deinitialize crypto API functions to prevent
1939 a memory leak.  Reported by Mads Kiilerich.
1940
1941 ** certtool: If asked to generate DSA keys of size more than 1024 bits,
1942 issue a warning, that the output key might not be working everywhere.
1943
1944 ** certtool: The --pkcs-cipher is taken into account when generating a
1945 private key. The default cipher used now is aes-128. The old behavior
1946 can be simulated by specifying "--pkcs-cipher 3des-pkcs12".
1947
1948 ** API and ABI modifications:
1949 No changes since last version.
1950
1951 * Version 2.10.0 (released 2010-06-25)
1952
1953 ** API and ABI modifications:
1954 No changes since last version.
1955
1956 * Version 2.9.12 (released 2010-06-17)
1957
1958 ** gnutls-cli: Make --starttls work again.
1959 Problem introduced in patch to use read() instead of fgets() committed
1960 on 2010-01-27.
1961
1962 ** API and ABI modifications:
1963 No changes since last version.
1964
1965 * Version 2.9.11 (released 2010-06-07)
1966
1967 ** libgnutls: Removed two APIs related to safe renegotiation.
1968 Use priority strings instead.  The APIs were
1969 gnutls_safe_negotiation_set_initial and gnutls_safe_renegotiation_set.
1970 (Remember that we don't promise ABI stability during development
1971 series, so this doesn't cause an shared library ABI increment.)
1972
1973 ** tests: More self testing of safe renegotiation extension.
1974 See tests/safe-renegotiation/README for more information.
1975
1976 ** doc: a PDF version of the API reference manual (GTK-DOC) is now built.
1977
1978 ** doc: Terms 'GNUTLS' and 'GNU TLS' were changed to 'GnuTLS' for consistency.
1979
1980 ** API and ABI modifications:
1981 gnutls_safe_negotiation_set_initial: REMOVED.
1982 gnutls_safe_renegotiation_set: REMOVED.
1983
1984 * Version 2.9.10 (released 2010-04-22)
1985
1986 ** libgnutls: Time verification extended to trusted certificate list.
1987 Unless new constant GNUTLS_VERIFY_DISABLE_TRUSTED_TIME_CHECKS flag is
1988 specified.
1989
1990 ** certtool: Display postalCode and Name X.509 DN attributes correctly.
1991 Based on patch by Pavan Konjarla.  Adds new constant
1992 GNUTLS_OID_X520_POSTALCODE and GNUTLS_OID_X520_NAME.
1993
1994 ** libgnutls: Added Steve Dispensa's patch for safe renegotiation (RFC 5746)
1995 Solves the issue discussed in:
1996 <http://www.ietf.org/mail-archive/web/tls/current/msg03928.html> and
1997 <http://www.ietf.org/mail-archive/web/tls/current/msg03948.html>.
1998 Note that to allow connecting to unpatched servers the full protection
1999 is only enabled if the priority string %SAFE_RENEGOTIATION is
2000 specified. You can check whether protection is in place by querying
2001 gnutls_safe_renegotiation_status().  New error codes
2002 GNUTLS_E_SAFE_RENEGOTIATION_FAILED and
2003 GNUTLS_E_UNSAFE_RENEGOTIATION_DENIED added.
2004
2005 ** libgnutls: When checking openpgp self signature also check the signatures
2006 ** of all subkeys.
2007 Ilari Liusvaara noticed and reported the issue and provided test
2008 vectors as well.
2009
2010 ** libgnutls: Added cryptodev support (/dev/crypto).
2011 Tested with http://www.logix.cz/michal/devel/cryptodev/.  Added
2012 benchmark utility for AES.  Adds new error codes
2013 GNUTLS_E_CRYPTODEV_IOCTL_ERROR and GNUTLS_E_CRYPTODEV_DEVICE_ERROR.
2014
2015 ** libgnutls: Exported API to access encryption and hash algorithms.
2016 The new API functions are gnutls_cipher_decrypt, gnutls_cipher_deinit,
2017 gnutls_cipher_encrypt, gnutls_cipher_get_block_size,
2018 gnutls_cipher_init, gnutls_hash, gnutls_hash_deinit, gnutls_hash_fast,
2019 gnutls_hash_get_len, gnutls_hash_init, gnutls_hash_output,
2020 gnutls_hmac, gnutls_hmac_deinit, gnutls_hmac_fast,
2021 gnutls_hmac_get_len, gnutls_hmac_init, gnutls_hmac_output.  New API
2022 constants are GNUTLS_MAC_SHA224 and GNUTLS_DIG_SHA224.
2023
2024 ** libgnutls: Added gnutls_certificate_set_verify_function() to allow
2025 verification of certificate upon receipt rather than waiting until the
2026 end of the handshake.
2027
2028 ** libgnutls: Don't send alerts during handshake.
2029 Instead new error code GNUTLS_E_UNKNOWN_SRP_USERNAME is added.
2030
2031 ** certtool: Corrected two issues that affected certificate request generation.
2032 (1) Null padding is added on integers (found thanks to Wilankar Trupti),
2033 (2) In optional SignatureAlgorithm parameters field for DSA keys the DSA
2034 parameters were added. Those were rejected by Verisign. Gnutls no longer adds 
2035 those parameters there since other implementations don't do either and having 
2036 them does not seem to offer anything (anyway you need the signer's certificate
2037 to verify thus public key will be available). Found thanks to Boyan Kasarov.
2038 This however has the side-effect that public key IDs shown by certtool are
2039 now different than previous gnutls releases.
2040 (3) the option --pgp-certificate-info will verify self signatures
2041
2042 ** certtool: Allow exporting of Certificate requests on DER format.
2043
2044 ** certtool: New option --no-crq-extensions to avoid extensions in CSRs.
2045
2046 ** gnutls-cli: Handle reading binary data from server.
2047 Reported by and tiny patch from Vitaly Mayatskikh
2048 <v.mayatskih@gmail.com> in
2049 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/4096>.
2050
2051 ** minitasn1: Upgraded to libtasn1 version 2.6.
2052
2053 ** i18n: Updated Czech, Dutch, French, Polish, Swedish translation.
2054 ** Added Italian and Simplified Chinese translation.
2055 Thanks to Petr Pisar, Erwin Poeze, Nicolas Provost, Jakub Bogusz,
2056 Daniel Nylander, Sergio Zanchetta, Tao Wei, and Aron Xu.
2057
2058 ** doc: The GTK-DOC manual is significantly improved.
2059
2060 ** API and ABI modifications:
2061 %DISABLE_SAFE_RENEGOTIATION: Added to priority strings (do not use).
2062 %INITIAL_SAFE_RENEGOTIATION: Added to priority strings.
2063 %UNSAFE_RENEGOTIATION: Added to priority strings.
2064 GNUTLS_DIG_SHA224: ADDED.
2065 GNUTLS_E_CRYPTODEV_DEVICE_ERROR: ADDED.
2066 GNUTLS_E_CRYPTODEV_IOCTL_ERROR: ADDED.
2067 GNUTLS_E_SAFE_RENEGOTIATION_FAILED: ADDED.
2068 GNUTLS_E_UNKNOWN_SRP_USERNAME: ADDED.
2069 GNUTLS_E_UNSAFE_RENEGOTIATION_DENIED: ADDED.
2070 GNUTLS_MAC_SHA224: ADDED.
2071 GNUTLS_OID_X520_NAME: ADDED.
2072 GNUTLS_OID_X520_POSTALCODE: ADDED.
2073 GNUTLS_VERIFY_DISABLE_TRUSTED_TIME_CHECKS: ADDED.
2074 GNUTLS_VERSION_MAX: ADDED.
2075 gnutls_certificate_set_verify_function: ADDED.
2076 gnutls_cipher_decrypt: ADDED.
2077 gnutls_cipher_deinit: ADDED.
2078 gnutls_cipher_encrypt: ADDED.
2079 gnutls_cipher_get_block_size: ADDED.
2080 gnutls_cipher_init: ADDED.
2081 gnutls_hash: ADDED.
2082 gnutls_hash_deinit: ADDED.
2083 gnutls_hash_fast: ADDED.
2084 gnutls_hash_get_len: ADDED.
2085 gnutls_hash_init: ADDED.
2086 gnutls_hash_output: ADDED.
2087 gnutls_hmac: ADDED.
2088 gnutls_hmac_deinit: ADDED.
2089 gnutls_hmac_fast: ADDED.
2090 gnutls_hmac_get_len: ADDED.
2091 gnutls_hmac_init: ADDED.
2092 gnutls_hmac_output: ADDED.
2093 gnutls_safe_negotiation_set_initial: ADDED.
2094 gnutls_safe_renegotiation_set: ADDED.
2095 gnutls_safe_renegotiation_status: ADDED.
2096
2097 * Version 2.9.9 (released 2009-11-09)
2098
2099 ** libgnutls: Cleanups and several bug fixes.
2100 Found by Steve Grubb and Tomas Mraz.
2101
2102 ** Link libgcrypt explicitly to certtool, gnutls-cli, gnutls-serv.
2103
2104 ** Fix --disable-valgrind-tests.
2105 Reported by Ingmar Vanhassel in
2106 <https://savannah.gnu.org/support/?107029>.
2107
2108 ** API and ABI modifications:
2109 No changes since last version.
2110
2111 * Version 2.9.8 (released 2009-11-05)
2112
2113 ** libgnutls: Fix for memory leaks on interrupted handshake.
2114 Reported by Tang Tong.
2115
2116 ** libgnutls: Addition of support for TLS 1.2 signature algorithms
2117 ** extension and certificate verify field.
2118 This requires changes for TLS 1.2 servers and clients that use
2119 callbacks for certificate retrieval.  They are now required to check
2120 with gnutls_sign_algorithm_get_requested() whether the certificate
2121 they send complies with the peer's preferences in signature
2122 algorithms.
2123
2124 ** libgnutls: In server side when resuming a session do not overwrite the 
2125 ** initial session data with the resumed session data.
2126
2127 ** libgnutls: Added support for AES-128, AES-192 and AES-256 in PKCS #8
2128 ** encryption.
2129 This affects also PKCS #12 encoded files.  This adds the following new
2130 enums: GNUTLS_CIPHER_AES_192_CBC, GNUTLS_PKCS_USE_PBES2_AES_128,
2131 GNUTLS_PKCS_USE_PBES2_AES_192, GNUTLS_PKCS_USE_PBES2_AES_256.
2132
2133 ** libgnutls: Fix PKCS#12 encoding.
2134 The error you would get was "The OID is not supported.".  Problem
2135 introduced for the v2.8.x branch in 2.7.6.
2136
2137 ** certtool: Added the --pkcs-cipher option.
2138 To explicitely specify the encryption algorithm to use.
2139
2140 ** tests: Added "pkcs12_encode" self-test to check PKCS#12 functions.
2141
2142 ** tests: Fix time bomb in chainverify self-test.
2143 Reported by Andreas Metzler <ametzler@downhill.at.eu.org> in
2144 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3925>.
2145
2146 ** tests: Fix expired cert in chainverify self-test.
2147
2148 ** i18n: Vietnamese translation updated.
2149 Thanks to Clytie Siddall.
2150
2151 ** API and ABI modifications:
2152 GNUTLS_CIPHER_AES_192_CBC: ADDED to gnutls/gnutls.h.
2153 GNUTLS_PKCS_USE_PBES2_AES_128: ADDED to gnutls/x509.h.
2154 GNUTLS_PKCS_USE_PBES2_AES_192: ADDED to gnutls/x509.h.
2155 GNUTLS_PKCS_USE_PBES2_AES_256: ADDED to gnutls/x509.h.
2156 GNUTLS_BAG_SECRET: ADDED to gnutls/pkcs12.h.
2157 GNUTLS_DIG_UNKNOWN: ADDED to gnutls/gnutls.h.
2158 gnutls_sign_algorithm_get_requested: ADDED.
2159
2160 * Version 2.9.7 (released 2009-10-06)
2161
2162 ** libgnutls: TLS 1.2 server mode fixes.
2163 Now interoperates against Opera.  Contributed by Daiki Ueno.
2164
2165 ** libgnutlsxx: Fix link problems.
2166 Tiny patch from Boyan Kasarov <bkasarov@gmail.com>.
2167
2168 ** guile: Compatibility with guile 2.x.
2169 By Ludovic Courtes <ludovic.courtes@laas.fr>.
2170
2171 ** API and ABI modifications:
2172 No changes since last version.
2173
2174 * Version 2.9.6 (released 2009-09-22)
2175
2176 ** libgnutls: Enable Camellia ciphers by default.
2177
2178 ** API and ABI modifications:
2179 No changes since last version.
2180
2181 * Version 2.9.5 (released 2009-09-10)
2182
2183 ** libgnutls: Add new functions to extract X.509 Issuer Alternative Names.
2184 The new functions are gnutls_x509_crt_get_issuer_alt_name2,
2185 gnutls_x509_crt_get_issuer_alt_name, and
2186 gnutls_x509_crt_get_issuer_alt_othername_oid.  Contributed by Brad
2187 Hards <bradh@frogmouth.net>.
2188
2189 ** API and ABI modifications:
2190 gnutls_x509_crt_get_issuer_alt_name2: ADDED.
2191 gnutls_x509_crt_get_issuer_alt_name: ADDED.
2192 gnutls_x509_crt_get_issuer_alt_othername_oid: ADDED.
2193
2194 * Version 2.9.4 (released 2009-09-03)
2195
2196 ** libgnutls: Client-side TLS 1.2 and SHA-256 ciphersuites now works.
2197 The new supported ciphersuites are AES-128/256 in CBC mode with
2198 ANON-DH/RSA/DHE-DSS/DHE-RSA.  Contributed by Daiki Ueno.  Further,
2199 SHA-256 is now the preferred default MAC (however it is only used with
2200 TLS 1.2).
2201
2202 ** libgnutls: Make OpenPGP hostname checking work again.
2203 The patch to resolve the X.509 CN/SAN issue accidentally broken
2204 OpenPGP hostname comparison.
2205
2206 ** libgnutls: When printing X.509 certificates, handle XMPP SANs better.
2207 Reported by Howard Chu <hyc@symas.com> in
2208 <https://savannah.gnu.org/support/?106975>.
2209
2210 ** Fix use of deprecated types internally.
2211 Use of deprecated types in GnuTLS from now on will lead to a compile
2212 error, to prevent this from happening again.
2213
2214 ** API and ABI modifications:
2215 No changes since last version.
2216
2217 * Version 2.9.3 (released 2009-08-19)
2218
2219 ** libgnutls: Support for TLS tickets was contributed by Daiki Ueno.
2220 The new APIs are gnutls_session_ticket_enable_client,
2221 gnutls_session_ticket_enable_server, and
2222 gnutls_session_ticket_key_generate.
2223
2224 ** gnutls-cli, gnutls-serv: New parameter --noticket to disable TLS tickets.
2225
2226 ** API and ABI modifications:
2227 gnutls_session_ticket_key_generate: ADDED.
2228 gnutls_session_ticket_enable_client: ADDED.
2229 gnutls_session_ticket_enable_server: ADDED.
2230
2231 * Version 2.9.2 (released 2009-08-14)
2232
2233 ** libgnutls: Fix problem with NUL bytes in X.509 CN and SAN fields.
2234 By using a NUL byte in CN/SAN fields, it was possible to fool GnuTLS
2235 into 1) not printing the entire CN/SAN field value when printing a
2236 certificate and 2) cause incorrect positive matches when matching a
2237 hostname against a certificate.  Some CAs apparently have poor
2238 checking of CN/SAN values and issue these (arguable invalid)
2239 certificates.  Combined, this can be used by attackers to become a
2240 MITM on server-authenticated TLS sessions.  The problem is mitigated
2241 since attackers needs to get one certificate per site they want to
2242 attack, and the attacker reveals his tracks by applying for a
2243 certificate at the CA.  It does not apply to client authenticated TLS
2244 sessions.  Research presented independently by Dan Kaminsky and Moxie
2245 Marlinspike at BlackHat09.  Thanks to Tomas Hoger <thoger@redhat.com>
2246 for providing one part of the patch.  [GNUTLS-SA-2009-4] [CVE-2009-2730].
2247
2248 ** libgnutls: Fix rare failure in gnutls_x509_crt_import.
2249 The function may fail incorrectly when an earlier certificate was
2250 imported to the same gnutls_x509_crt_t structure.
2251
2252 ** minitasn1: Internal copy updated to libtasn1 v2.3.
2253
2254 ** libgnutls: Fix return value of gnutls_certificate_client_get_request_status.
2255 Before it always returned false.  Reported by Peter Hendrickson
2256 <pdh@wiredyne.com> in
2257 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3668>.
2258
2259 ** libgnutls: Fix off-by-one size computation error in unknown DN printing.
2260 The error resulted in truncated strings when printing unknown OIDs in
2261 X.509 certificate DNs.  Reported by Tim Kosse
2262 <tim.kosse@filezilla-project.org> in
2263 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3651>.
2264
2265 ** libgnutls: Fix PKCS#12 decryption from password.
2266 The encryption key derived from the password was incorrect for (on
2267 average) 1 in every 128 input for random inputs.  Reported by "Kukosa,
2268 Tomas" <tomas.kukosa@siemens-enterprise.com> in
2269 <http://permalink.gmane.org/gmane.network.gnutls.general/1663>.
2270
2271 ** libgnutls: Return correct bit lengths of some MPIs.
2272 gnutls_dh_get_prime_bits, gnutls_rsa_export_get_modulus_bits, and
2273 gnutls_dh_get_peers_public_bits.  Before the reported value was
2274 overestimated.  Reported by Peter Hendrickson <pdh@wiredyne.com> in
2275 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3607>.
2276
2277 ** libgnutls: Avoid internal error when invoked after GNUTLS_E_AGAIN.
2278 Report and patch by Tim Kosse <tim.kosse@filezilla-project.org> in
2279 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3671>
2280 and
2281 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3670>.
2282
2283 ** libgnutls: Relax checking of required libtasn1/libgcrypt versions.
2284 Before we required that the runtime library used the same (or more
2285 recent) libgcrypt/libtasn1 as it was compiled with.  Now we just check
2286 that the runtime usage is above the minimum required.  Reported by
2287 Marco d'Itri <md@linux.it> via Andreas Metzler
2288 <ametzler@downhill.at.eu.org> in <http://bugs.debian.org/540449>.
2289
2290 ** tests: Added new self-test pkcs12_s2k_pem to detect MPI bit length error.
2291
2292 ** tests: Improved test vectors in self-test pkcs12_s2k.
2293
2294 ** tests: Added new self-test dn2 to detect off-by-one size error.
2295
2296 ** tests: Fix failure in "chainverify" because a certificate have expired.
2297
2298 ** API and ABI modifications:
2299 No changes since last version.
2300
2301 * Version 2.9.1 (released 2009-06-08)
2302
2303 ** libgnutls: Fix crash in gnutls_global_init after earlier init/deinit cycle.
2304 Forwarded by Martin von Gagern <Martin.vGagern@gmx.net> from
2305 <http://bugs.gentoo.org/272388>.
2306
2307 ** tests: Added new self-tests init_roundtrip.c to detect previous problem.
2308
2309 ** Reduce stack usage for some CRQ functions.
2310
2311 ** Doc fixes for CRQ functions.
2312
2313 ** API and ABI modifications:
2314 No changes since last version.
2315
2316 * Version 2.9.0 (released 2009-05-28)
2317
2318 ** Doc fixes.
2319
2320 ** API and ABI modifications:
2321 No changes since last version.
2322
2323 * Version 2.8.6 (released 2010-03-15)
2324
2325 ** libgnutls: For CSRs, don't null pad integers for RSA/DSA value.
2326 VeriSign rejected CSRs with this padding.  Reported by Wilankar Trupti
2327 <trupti.wilankar@hp.com> and Boyan Kasarov <bkasarov@gmail.com>.
2328
2329 Note: As a side effect of this change, the "public key identifier"
2330 value computed for a certificate using this version of GnuTLS will be
2331 different from values computed using earlier versions of GnuTLS.
2332
2333 ** libgnutls: For CSRs on DSA keys, don't add DSA parameters to the
2334 ** optional SignatureAlgorithm parameter field.
2335 VeriSign rejected these CSRs.  They are stricly speaking not needed
2336 since you need the signer's certificate to verify the certificate
2337 signature anyway.  Reported by Wilankar Trupti
2338 <trupti.wilankar@hp.com> and Boyan Kasarov <bkasarov@gmail.com>.
2339
2340 ** libgnutls: When checking openpgp self signature also check the signatures
2341 ** of all subkeys.
2342 Ilari Liusvaara noticed and reported the issue and provided test
2343 vectors as well.
2344
2345 ** libgnutls: Cleanups and several bug fixes.
2346 Found by Steve Grubb and Tomas Mraz.
2347
2348 ** Link libgcrypt explicitly to certtool, gnutls-cli, gnutls-serv.
2349
2350 ** Fix --disable-valgrind-tests.
2351 Reported by Ingmar Vanhassel in
2352 <https://savannah.gnu.org/support/?107029>.
2353
2354 ** examples: Use the new APIs for printing X.509 certificate information.
2355
2356 ** Fix build failures on Solaris.
2357 Thanks to Dagobert Michelsen <dam@opencsw.org>.
2358
2359 ** i18n: Updated Czech, Dutch, French, Polish, Swedish and Vietnamese
2360 ** translations.  Added Simplified Chinese translation.
2361
2362 ** API and ABI modifications:
2363 No changes since last version.
2364
2365 * Version 2.8.5 (released 2009-11-02)
2366
2367 ** libgnutls: In server side when resuming a session do not overwrite the 
2368 ** initial session data with the resumed session data.
2369
2370 ** libgnutls: Fix PKCS#12 encoding.
2371 The error you would get was "The OID is not supported.".  Problem
2372 introduced for the v2.8.x branch in 2.7.6.
2373
2374 ** guile: Compatibility with guile 2.x.
2375 By Ludovic Courtes <ludovic.courtes@laas.fr>.
2376
2377 ** tests: Fix expired cert in chainverify self-test.
2378
2379 ** tests: Fix time bomb in chainverify self-test.
2380 Reported by Andreas Metzler <ametzler@downhill.at.eu.org> in
2381 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3925>.
2382
2383 ** API and ABI modifications:
2384 No changes since last version.
2385
2386 * Version 2.8.4 (released 2009-09-18)
2387
2388 ** libgnutls: Enable Camellia ciphers by default.
2389
2390 ** libgnutls: Make OpenPGP hostname checking work again.
2391 The patch to resolve the X.509 CN/SAN issue accidentally broken
2392 OpenPGP hostname comparison.
2393
2394 ** libgnutls: When printing X.509 certificates, handle XMPP SANs better.
2395 Reported by Howard Chu <hyc@symas.com> in
2396 <https://savannah.gnu.org/support/?106975>.
2397
2398 ** API and ABI modifications:
2399 No changes since last version.
2400
2401 * Version 2.8.3 (released 2009-08-13)
2402
2403 ** libgnutls: Fix patch for NUL in CN/SAN in last release.
2404 Code intended to be removed would lead to an read-out-bound error in
2405 some situations.  Reported by Tomas Hoger <thoger@redhat.com>.  A CVE
2406 code have been allocated for the vulnerability: [CVE-2009-2730].
2407
2408 ** libgnutls: Fix rare failure in gnutls_x509_crt_import.
2409 The function may fail incorrectly when an earlier certificate was
2410 imported to the same gnutls_x509_crt_t structure.
2411
2412 ** libgnutls-extra, libgnutls-openssl: Fix MinGW cross-compiling build error.
2413
2414 ** tests: Made self-test mini-eagain take less time.
2415
2416 ** doc: Typo fixes.
2417
2418 ** API and ABI modifications:
2419 No changes since last version.
2420
2421 * Version 2.8.2 (released 2009-08-10)
2422
2423 ** libgnutls: Fix problem with NUL bytes in X.509 CN and SAN fields.
2424 By using a NUL byte in CN/SAN fields, it was possible to fool GnuTLS
2425 into 1) not printing the entire CN/SAN field value when printing a
2426 certificate and 2) cause incorrect positive matches when matching a
2427 hostname against a certificate.  Some CAs apparently have poor
2428 checking of CN/SAN values and issue these (arguable invalid)
2429 certificates.  Combined, this can be used by attackers to become a
2430 MITM on server-authenticated TLS sessions.  The problem is mitigated
2431 since attackers needs to get one certificate per site they want to
2432 attack, and the attacker reveals his tracks by applying for a
2433 certificate at the CA.  It does not apply to client authenticated TLS
2434 sessions.  Research presented independently by Dan Kaminsky and Moxie
2435 Marlinspike at BlackHat09.  Thanks to Tomas Hoger <thoger@redhat.com>
2436 for providing one part of the patch.  [GNUTLS-SA-2009-4].
2437
2438 ** libgnutls: Fix return value of gnutls_certificate_client_get_request_status.
2439 Before it always returned false.  Reported by Peter Hendrickson
2440 <pdh@wiredyne.com> in
2441 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3668>.
2442
2443 ** libgnutls: Fix off-by-one size computation error in unknown DN printing.
2444 The error resulted in truncated strings when printing unknown OIDs in
2445 X.509 certificate DNs.  Reported by Tim Kosse
2446 <tim.kosse@filezilla-project.org> in
2447 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3651>.
2448
2449 ** libgnutls: Return correct bit lengths of some MPIs.
2450 gnutls_dh_get_prime_bits, gnutls_rsa_export_get_modulus_bits, and
2451 gnutls_dh_get_peers_public_bits.  Before the reported value was
2452 overestimated.  Reported by Peter Hendrickson <pdh@wiredyne.com> in
2453 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3607>.
2454
2455 ** libgnutls: Avoid internal error when invoked after GNUTLS_E_AGAIN.
2456 Report and patch by Tim Kosse <tim.kosse@filezilla-project.org> in
2457 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3671>
2458 and
2459 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3670>.
2460
2461 ** libgnutls: Relax checking of required libtasn1/libgcrypt versions.
2462 Before we required that the runtime library used the same (or more
2463 recent) libgcrypt/libtasn1 as it was compiled with.  Now we just check
2464 that the runtime usage is above the minimum required.  Reported by
2465 Marco d'Itri <md@linux.it> via Andreas Metzler
2466 <ametzler@downhill.at.eu.org> in <http://bugs.debian.org/540449>.
2467
2468 ** minitasn1: Internal copy updated to libtasn1 v2.3.
2469
2470 ** tests: Fix failure in "chainverify" because a certificate have expired.
2471
2472 ** API and ABI modifications:
2473 No changes since last version.
2474
2475 * Version 2.8.1 (released 2009-06-10)
2476
2477 ** libgnutls: Fix crash in gnutls_global_init after earlier init/deinit cycle.
2478 Forwarded by Martin von Gagern <Martin.vGagern@gmx.net> from
2479 <http://bugs.gentoo.org/272388>.
2480
2481 ** libgnutls: Fix PKCS#12 decryption from password.
2482 The encryption key derived from the password was incorrect for (on
2483 average) 1 in every 128 input for random inputs.  Reported by "Kukosa,
2484 Tomas" <tomas.kukosa@siemens-enterprise.com> in
2485 <http://permalink.gmane.org/gmane.network.gnutls.general/1663>.
2486
2487 ** API and ABI modifications:
2488 No changes since last version.
2489
2490 * Version 2.8.0 (released 2009-05-27)
2491
2492 ** doc: Fix gnutls_dh_get_prime_bits.  Fix error codes and algorithm lists.
2493
2494 ** Major changes compared to the v2.4 branch:
2495
2496 *** lib: Linker version scripts reduces number of exported symbols.
2497
2498 *** lib: Limit exported symbols on systems without LD linker scripts.
2499
2500 *** libgnutls: Fix namespace issue with version symbols.
2501
2502 *** libgnutls: Add functions to verify a hash against a certificate.
2503 gnutls_x509_crt_verify_hash: ADDED
2504 gnutls_x509_crt_get_verify_algorithm: ADDED
2505
2506 *** gnutls-serv: Listen on all interfaces, including both IPv4 and IPv6.
2507
2508 *** i18n: The GnuTLS gettext domain is now 'libgnutls' instead of 'gnutls'.
2509
2510 *** certtool: Query for multiple dnsName subjectAltName in interactive mode.
2511
2512 *** gnutls-cli: No longer accepts V1 CAs by default during X.509 chain verify.
2513
2514 *** gnutls-serv: No longer disable MAC padding by default.
2515
2516 *** gnutls-cli: Certificate information output format changed.
2517
2518 *** libgnutls: New priority strings %VERIFY_ALLOW_SIGN_RSA_MD5
2519 *** and %VERIFY_ALLOW_X509_V1_CA_CRT.
2520
2521 *** libgnutls: gnutls_x509_crt_print prints signature algorithm in oneline mode.
2522
2523 *** libgnutls: gnutls_openpgp_crt_print supports oneline mode.
2524
2525 *** libgnutls: gnutls_handshake when sending client hello during a
2526 rehandshake, will not offer a version number larger than the current.
2527
2528 *** libgnutls: New interface to get key id for certificate requests.
2529 gnutls_x509_crq_get_key_id: ADDED.
2530
2531 *** libgnutls: gnutls_x509_crq_print will now also print public key id.
2532
2533 *** certtool: --verify-chain now prints results of using library verification.
2534
2535 *** libgnutls: Libgcrypt initialization changed.
2536
2537 *** libgnutls: Small byte reads via gnutls_record_recv() optimized.
2538
2539 *** gnutls-cli: Return non-zero exit code on error conditions.
2540
2541 *** gnutls-cli: Corrected bug which caused a rehandshake request to be ignored.
2542
2543 *** certtool: allow setting arbitrary key purpose object identifiers.
2544
2545 *** libgnutls: Change detection of when to use a linker version script.
2546 Use --enable-ld-version-script or --disable-ld-version-script to
2547 override auto-detection logic.
2548
2549 *** Fix warnings and build GnuTLS with more warnings enabled.
2550
2551 *** New API to set X.509 credentials from PKCS#12 memory structure.
2552 gnutls_certificate_set_x509_simple_pkcs12_mem: ADDED
2553
2554 *** Old libgnutls.m4 and libgnutls-config scripts removed.
2555 Please use pkg-config instead.
2556
2557 *** libgnutls: Added functions to handle CRL extensions.
2558 gnutls_x509_crl_get_authority_key_id: ADDED
2559 gnutls_x509_crl_get_number: ADDED
2560 gnutls_x509_crl_get_extension_oid: ADDED
2561 gnutls_x509_crl_get_extension_info: ADDED
2562 gnutls_x509_crl_get_extension_data: ADDED
2563 gnutls_x509_crl_set_authority_key_id: ADDED
2564 gnutls_x509_crl_set_number: ADDED
2565
2566 *** libgnutls: Added functions to handle X.509 extensions in Certificate
2567 Requests.
2568 gnutls_x509_crq_get_key_rsa_raw: ADDED
2569 gnutls_x509_crq_get_attribute_info: ADDED
2570 gnutls_x509_crq_get_attribute_data: ADDED
2571 gnutls_x509_crq_get_extension_info: ADDED
2572 gnutls_x509_crq_get_extension_data: ADDED
2573 gnutls_x509_crq_get_key_usage: ADDED
2574 gnutls_x509_crq_get_basic_constraints: ADDED
2575 gnutls_x509_crq_get_subject_alt_name: ADDED
2576 gnutls_x509_crq_get_subject_alt_othername_oid: ADDED
2577 gnutls_x509_crq_get_extension_by_oid: ADDED
2578 gnutls_x509_crq_set_subject_alt_name: ADDED
2579 gnutls_x509_crq_set_basic_constraints: ADDED
2580 gnutls_x509_crq_set_key_usage: ADDED
2581 gnutls_x509_crq_get_key_purpose_oid: ADDED
2582 gnutls_x509_crq_set_key_purpose_oid: ADDED
2583 gnutls_x509_crq_print: ADDED
2584 gnutls_x509_crt_set_crq_extensions: ADDED
2585
2586 *** certtool: Print and set CRL and CRQ extensions.
2587
2588 *** minitasn1: Internal copy updated to libtasn1 v2.1.
2589
2590 *** examples: Now released into the public domain.
2591
2592 *** The Texinfo and GTK-DOC manuals were improved.
2593
2594 *** Several self-tests were added and others improved.
2595
2596 *** API/ABI changes in GnuTLS 2.8 compared to GnuTLS 2.6.x
2597 No offically supported interfaces have been modified or removed.  The
2598 library should be completely backwards compatible on both the source
2599 and binary level.
2600
2601 The shared library no longer exports some symbols that have never been
2602 officially supported, i.e., not mentioned in any of the header files.
2603 The symbols are:
2604
2605   _gnutls*
2606   gnutls_asn1_tab
2607   
2608 Normally when symbols are removed, the shared library version has to
2609 be incremented.  This leads to a significant cost for everyone using
2610 the library.  Because none of the above symbols have ever been
2611 intended for use by well-behaved applications, we decided that the it
2612 would be better for those applications to pay the price rather than
2613 incurring problems on the majority of applications.
2614
2615 If it turns out that applications have been using unofficial
2616 interfaces, we will need to release a follow-on release on the v2.8
2617 branch to exports additional interfaces.  However, initial testing
2618 suggests that few if any applications have been using any of the
2619 internal symbols.
2620
2621 Although not a new change compared to 2.6.x, we'd like to remind you
2622 interfaces have been modified so that X.509 chain verification now
2623 also checks activation/expiration times on certificates.  The affected
2624 functions are:
2625
2626 gnutls_x509_crt_list_verify: CHANGED, checks activation/expiration times.
2627 gnutls_certificate_verify_peers: Likewise.
2628 gnutls_certificate_verify_peers2: Likewise.
2629 GNUTLS_CERT_NOT_ACTIVATED: ADDED.
2630 GNUTLS_CERT_EXPIRED: ADDED.
2631 GNUTLS_VERIFY_DISABLE_TIME_CHECKS: ADDED.
2632
2633 This change in behaviour was made during the GnuTLS 2.6.x cycle, and
2634 we gave our rationale for it in earlier release notes.
2635
2636 The following symbols have been added to the library:
2637
2638 gnutls_certificate_set_x509_simple_pkcs12_mem: ADDED
2639 gnutls_x509_crl_get_authority_key_id: ADDED
2640 gnutls_x509_crl_get_extension_data: ADDED
2641 gnutls_x509_crl_get_extension_info: ADDED
2642 gnutls_x509_crl_get_extension_oid: ADDED
2643 gnutls_x509_crl_get_number: ADDED
2644 gnutls_x509_crl_set_authority_key_id: ADDED
2645 gnutls_x509_crl_set_number: ADDED
2646 gnutls_x509_crq_get_attribute_data: ADDED
2647 gnutls_x509_crq_get_attribute_info: ADDED
2648 gnutls_x509_crq_get_basic_constraints: ADDED
2649 gnutls_x509_crq_get_extension_by_oid: ADDED
2650 gnutls_x509_crq_get_extension_data: ADDED
2651 gnutls_x509_crq_get_extension_info: ADDED
2652 gnutls_x509_crq_get_key_id: ADDED.
2653 gnutls_x509_crq_get_key_purpose_oid: ADDED
2654 gnutls_x509_crq_get_key_rsa_raw: ADDED
2655 gnutls_x509_crq_get_key_usage: ADDED
2656 gnutls_x509_crq_get_subject_alt_name: ADDED
2657 gnutls_x509_crq_get_subject_alt_othername_oid: ADDED
2658 gnutls_x509_crq_print: ADDED
2659 gnutls_x509_crq_set_basic_constraints: ADDED
2660 gnutls_x509_crq_set_key_purpose_oid: ADDED
2661 gnutls_x509_crq_set_key_usage: ADDED
2662 gnutls_x509_crq_set_subject_alt_name: ADDED
2663 gnutls_x509_crt_get_verify_algorithm: ADDED
2664 gnutls_x509_crt_set_crq_extensions: ADDED
2665 gnutls_x509_crt_verify_hash: ADDED
2666
2667 The following interfaces have been added to the header files:
2668
2669 GNUTLS_VERSION: ADDED, replaces LIBGNUTLS_VERSION.
2670 GNUTLS_VERSION_MAJOR: ADDED, replaces LIBGNUTLS_VERSION_MAJOR.
2671 GNUTLS_VERSION_MINOR: ADDED, replaces LIBGNUTLS_VERSION_MINOR.
2672 GNUTLS_VERSION_PATCH: ADDED, replaces LIBGNUTLS_VERSION_PATCH.
2673 GNUTLS_VERSION_NUMBER: ADDED, replaces LIBGNUTLS_VERSION_NUMBER.
2674 GNUTLS_EXTRA_VERSION: ADDED, replaces LIBGNUTLS_EXTRA_VERSION.
2675
2676 The following interfaces have been deprecated:
2677
2678 LIBGNUTLS_VERSION: DEPRECATED.
2679 LIBGNUTLS_VERSION_MAJOR: DEPRECATED.
2680 LIBGNUTLS_VERSION_MINOR: DEPRECATED.
2681 LIBGNUTLS_VERSION_PATCH: DEPRECATED.
2682 LIBGNUTLS_VERSION_NUMBER: DEPRECATED.
2683 LIBGNUTLS_EXTRA_VERSION: DEPRECATED.
2684
2685 * Version 2.7.14 (released 2009-05-26)
2686
2687 ** libgnutls: Fix namespace issue with version symbol for libgnutls-extra.
2688 The symbol LIBGNUTLS_EXTRA_VERSION were renamed to
2689 GNUTLS_EXTRA_VERSION.  The old symbol will continue to work but is
2690 deprecated.
2691
2692 ** Doc: Several typo fixes in documentation.
2693 Reported by Peter Hendrickson <pdh@wiredyne.com>.
2694
2695 ** API and ABI modifications:
2696 GNUTLS_VERSION: ADDED, replaces LIBGNUTLS_EXTRA_VERSION.
2697 LIBGNUTLS_EXTRA_VERSION: DEPRECATED.
2698
2699 * Version 2.7.13 (released 2009-05-25)
2700
2701 ** libgnutls: Fix version of some exported symbols in the shared library.
2702 Reported by Andreas Metzler <ametzler@downhill.at.eu.org> in
2703 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3576>.
2704
2705 ** tests: Handle recently expired certificates in chainverify self-test.
2706 Reported by Andreas Metzler <ametzler@downhill.at.eu.org> in
2707 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3580>.
2708
2709 ** API and ABI modifications:
2710 No changes since last version.
2711
2712 * Version 2.7.12 (released 2009-05-20)
2713
2714 ** gnutls-serv, gnutls-cli-debug: Make them work on Windows.
2715
2716 ** tests/crq_key_id: Don't read entropy from /dev/random in self-test.
2717 Reported by Andreas Metzler <ametzler@downhill.at.eu.org> in
2718 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3570>.
2719
2720 ** Fix build failures.
2721 Missing sa_family_t and vsnprintf on IRIX.  Reported by "Tom
2722 G. Christensen" <tgc@jupiterrise.com> in
2723 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3571>.
2724
2725 ** minitasn1: Internal copy updated to libtasn1 v2.2.
2726 GnuTLS should work fine with libtasn1 v1.x and that is still
2727 supported.
2728
2729 ** API and ABI modifications:
2730 No changes since last version.
2731
2732 * Version 2.7.11 (released 2009-05-18)
2733
2734 ** minitasn1: Fix build failure when using internal libtasn1.
2735 Reported by "Tom G. Christensen" <tgc@jupiterrise.com> in
2736 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3548>.
2737
2738 ** libgnutls: Fix build failure with --disable-cxx.
2739 Reported by Andreas Metzler <ametzler@downhill.at.eu.org> in
2740 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3557>.
2741
2742 ** gnutls-serv: Fix build failure for unportable NI_MAXHOST/NI_MAXSERV.
2743 Reported by "Tom G. Christensen" <tgc@jupiterrise.com> in
2744 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3560>
2745
2746 ** Building with many warning flags now requires --enable-gcc-warnings.
2747 This avoids crying wolf for normal compiles.
2748
2749 ** API and ABI modifications:
2750 No changes since last version.
2751
2752 * Version 2.7.10 (released 2009-05-13)
2753
2754 ** examples: Now released into the public domain.
2755 This makes the license of the example code compatible with more
2756 licenses, including the (L)GPL.
2757
2758 ** minitasn1: Internal copy updated to libtasn1 v2.1.
2759 GnuTLS should work fine with libtasn1 v1.x and that is still
2760 supported.
2761
2762 ** libgnutls: Fix crash in signature verification
2763 The fix for the CVE-2009-1415 problem wasn't merged completely.
2764
2765 ** doc: Fixes for GTK-DOC output.
2766
2767 ** API and ABI modifications:
2768 No changes since last version.
2769
2770 * Version 2.7.9 (released 2009-05-11)
2771
2772 ** doc: Fix strings in man page of gnutls_priority_init.
2773
2774 ** doc: Fix tables of error codes and supported algorithms.
2775
2776 ** Fix build failure when cross-compiled using MinGW.
2777
2778 ** Fix build failure when LZO is enabled.
2779 Reported by Arfrever Frehtes Taifersar Arahesis
2780 <arfrever.fta@gmail.com> in
2781 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3522>.
2782
2783 ** Fix build failure on systems without AF_INET6, e.g., Solaris 2.6.
2784 Reported by "Tom G. Christensen" <tgc@jupiterrise.com> in
2785 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3524>.
2786
2787 ** Fix warnings in self-tests.
2788
2789 ** API and ABI modifications:
2790 No changes since last version.
2791
2792 * Version 2.7.8 (released 2009-05-03)
2793
2794 ** libgnutls: Fix DSA key generation.
2795 Merged from stable branch.  [GNUTLS-SA-2009-2] [CVE-2009-1416]
2796
2797 ** libgnutls: Check expiration/activation time on untrusted certificates.
2798 Merged from stable branch.  Reported by Romain Francoise
2799 <romain@orebokech.com>.  This changes the semantics of
2800 gnutls_x509_crt_list_verify, which in turn is used by
2801 gnutls_certificate_verify_peers and gnutls_certificate_verify_peers2.
2802 We add two new gnutls_certificate_status_t codes for reporting the new
2803 error condition, GNUTLS_CERT_NOT_ACTIVATED and GNUTLS_CERT_EXPIRED.
2804 We also add a new gnutls_certificate_verify_flags flag,
2805 GNUTLS_VERIFY_DISABLE_TIME_CHECKS, that can be used to disable the new
2806 behaviour.  [GNUTLS-SA-2009-3] [CVE-2009-1417]
2807
2808 ** lib: Linker version scripts reduces number of exported symbols.
2809 The linker version script now lists all exported ABIs explicitly, to
2810 avoid accidentally exporting unintended functions.  Compared to
2811 before, most symbols beginning with _gnutls* are no longer exported.
2812 These functions have never been intended for use by applications, and
2813 there were no prototypes for these function in the public header
2814 files.  Thus we believe it is possible to do this without incrementing
2815 the library ABI version which normally has to be done when removing an
2816 interface.
2817
2818 ** lib: Limit exported symbols on systems without LD linker scripts.
2819 Before all symbols were exported.  Now we limit the exported symbols
2820 to (for libgnutls and libgnutls-extra) gnutls* and (for libgnutls)
2821 _gnutls*.  This is a superset of the actual supported ABI, but still
2822 an improvement compared to before.  This is implemented using Libtool
2823 -export-symbols-regex.  It is more portable than linker version
2824 scripts.
2825
2826 ** libgnutls: Incremented CURRENT/AGE libtool version to reflect new symbols.
2827 This should have been done in the last release.
2828
2829 ** gnutls-serv: Listen on all interfaces, including both IPv4 and IPv6.
2830 Reported by Peter Hendrickson <pdh@wiredyne.com> in
2831 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3476>.
2832
2833 ** doc: Improved sections for the info manual.
2834 We now follow the advice given by the texinfo manual on which
2835 directory categories to use.  In particular, libgnutls moved from the
2836 'GNU Libraries' section to the 'Software libraries' and the command
2837 line tools moved from 'Network Applications' to 'System
2838 Administration'.
2839
2840 ** API and ABI modifications:
2841 gnutls_x509_crt_list_verify: CHANGED, checks activation/expiration times.
2842 gnutls_certificate_verify_peers: Likewise.
2843 gnutls_certificate_verify_peers2: Likewise.
2844 GNUTLS_CERT_NOT_ACTIVATED: ADDED.
2845 GNUTLS_CERT_EXPIRED: ADDED.
2846 GNUTLS_VERIFY_DISABLE_TIME_CHECKS: ADDED.
2847
2848 * Version 2.7.7 (released 2009-04-20)
2849
2850 ** libgnutls: Applied patch by Cedric Bail to add functions
2851 gnutls_x509_crt_verify_hash() and gnutls_x509_crt_get_verify_algorithm().
2852
2853 ** gnutls.pc: Add -ltasn1 to 'pkg-config --libs --static gnutls' output.
2854 Reported by Andreas Metzler <ametzler@downhill.at.eu.org> in
2855 <http://article.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3467>.
2856
2857 ** minitasn1: Internal copy updated to libtasn1 v1.8.
2858 GnuTLS is also internally ready to be used with libtasn1 v2.0.
2859
2860 ** doc: Fix build failure of errcodes/printlist.
2861 Reported by Roman Bogorodskiy <novel@FreeBSD.org> in
2862 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3435>.
2863
2864 ** i18n: The GnuTLS gettext domain is now 'libgnutls' instead of 'gnutls'.
2865 It is currently only used by the core library.  This will enable a new
2866 domain 'gnutls' for translations of the command line tools.
2867
2868 ** Corrected possible memory corruption on signature verification failure. 
2869 Reported by Miroslav Kratochvil <exa.exa@gmail.com>
2870
2871 ** API and ABI modifications:
2872 gnutls_x509_crt_verify_hash: ADDED
2873 gnutls_x509_crt_get_verify_algorithm: ADDED
2874
2875 * Version 2.7.6 (released 2009-02-27)
2876
2877 ** certtool: Query for multiple dnsName subjectAltName in interactive mode.
2878 This applies both to generating certificates and certificate requests.
2879
2880 ** pkix.asn: Removed unneeded definitions to reduce memory usage.
2881
2882 ** gnutls-cli: No longer accepts V1 CAs by default during X.509 chain verify.
2883 Use --priority NORMAL:%VERIFY_ALLOW_X509_V1_CA_CRT to permit V1 CAs to
2884 be used for chain verification.
2885
2886 ** gnutls-serv: No longer disable MAC padding by default.
2887 Use --priority NORMAL:%COMPAT to disable MAC padding again.
2888
2889 ** gnutls-cli: Certificate information output format changed.
2890 The tool now uses libgnutls' functions to print certificate
2891 information.  This avoids code duplication.
2892
2893 ** libgnutls: New priority strings %VERIFY_ALLOW_SIGN_RSA_MD5
2894 ** and %VERIFY_ALLOW_X509_V1_CA_CRT.
2895 They can be used to override the default certificate chain validation
2896 behaviour.
2897
2898 ** libgnutls: Added %SSL3_RECORD_VERSION priority string that allows to 
2899 specify the client hello message record version. Used to overcome buggy 
2900 TLS servers. Report by Martin von Gagern.
2901
2902 ** libgnutls: gnutls_x509_crt_print prints signature algorithm in oneline mode.
2903
2904 ** libgnutls: gnutls_openpgp_crt_print supports oneline mode.
2905
2906 ** doc: Update gnutls-cli and gnutls-serv --help output descriptions.
2907
2908 ** API and ABI modifications:
2909 No changes since last version.
2910
2911 * Version 2.7.5 (released 2009-02-06)
2912
2913 ** libgnutls: Accept chains where intermediary certs are trusted.
2914 Before GnuTLS needed to validate the entire chain back to a
2915 self-signed certificate.  GnuTLS will now stop looking when it has
2916 found an intermediary trusted certificate.  The new behaviour is
2917 useful when chains, for example, contains a top-level CA, an
2918 intermediary CA signed using RSA-MD5, and an end-entity certificate.
2919 To avoid chain validation errors due to the RSA-MD5 cert, you can
2920 explicitly add the intermediary RSA-MD5 cert to your trusted certs.
2921 The signature on trusted certificates are not checked, so the chain
2922 has a chance to validate correctly.  Reported by "Douglas E. Engert"
2923 <deengert@anl.gov> in
2924 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3351>.
2925
2926 ** libgnutls: result_size in gnutls_hex_encode now holds
2927 the size of the result. Report by John Brooks <special@dereferenced.net>.
2928
2929 ** libgnutls: gnutls_handshake when sending client hello during a
2930 rehandshake, will not offer a version number larger than the current.
2931 Reported by Tristan Hill <stan@saticed.me.uk>.
2932
2933 ** libgnutls: Permit V1 Certificate Authorities properly.
2934 Before they were mistakenly rejected even though
2935 GNUTLS_VERIFY_ALLOW_ANY_X509_V1_CA_CRT and/or
2936 GNUTLS_VERIFY_ALLOW_X509_V1_CA_CRT were supplied.  Reported by
2937 "Douglas E. Engert" <deengert@anl.gov> in
2938 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3351>.
2939
2940 ** API and ABI modifications:
2941 No changes since last version.
2942
2943 * Version 2.7.4 (released 2009-01-07)
2944
2945 ** libgnutls: deprecate X.509 validation chains using MD5 and MD2 signatures.
2946 This is a bugfix -- the previous attempt to do this from internal x509
2947 certificate verification procedures did not return the correct value
2948 for certificates using a weak hash.  Reported by Daniel Kahn Gillmor
2949 <dkg@fifthhorseman.net> in
2950 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3332>,
2951 debugged and patch by Tomas Mraz <tmraz@redhat.com> and Daniel Kahn
2952 Gillmor <dkg@fifthhorseman.net>.
2953
2954 ** libgnutls: New interface to get key id for certificate requests.
2955 Patch from David Marín Carreño <davefx@gmail.com> in
2956 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3321>.
2957
2958 ** libgnutls: gnutls_x509_crq_print will now also print public key id.
2959
2960 ** certtool: --verify-chain now prints results of using library verification.
2961 Earlier, certtool --verify-chain used its own validation algorithm
2962 which wasn't guaranteed to give the same result as the libgnutls
2963 internal validation algorithm.  Now this command print a new final
2964 line with header 'Chain verification output:' that contains the result
2965 from using the internal verification algorithm on the same chain.
2966
2967 ** tests: Add crq_key_id self-test of gnutls_x509_crq_get_key_id.
2968
2969 ** API and ABI modifications:
2970 gnutls_x509_crq_get_key_id: ADDED.
2971
2972 * Version 2.7.3 (released 2008-12-10)
2973
2974 ** libgnutls: Fix chain verification for chains that ends with RSA-MD2 CAs.
2975 Reported by Michael Kiefer <Michael-Kiefer@web.de> in
2976 <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=507633> forwarded by
2977 Andreas Metzler <ametzler@downhill.at.eu.org> in
2978 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3309>.
2979
2980 ** libgnutls: Libgcrypt initialization changed.
2981 If libgcrypt has not already been initialized, GnuTLS will now
2982 initialize libgcrypt with disabled secure memory.  Initialize
2983 libgcrypt explicitly in your application if you want to enable secure
2984 memory.  Before GnuTLS initialized libgcrypt to use GnuTLS's memory
2985 allocation functions, which doesn't use secure memory, so there is no
2986 real change in behaviour.
2987
2988 ** libgnutls: Fix memory leak in PSK authentication.
2989 Reported by Michael Weiser <michael@weiser.dinsnail.net> in
2990 <http://permalink.gmane.org/gmane.network.gnutls.general/1465>.
2991
2992 ** libgnutls: Small byte reads via gnutls_record_recv() optimized.
2993
2994 ** certtool: Move gcry_control(GCRYCTL_ENABLE_QUICK_RANDOM, 0) call earlier.
2995 It needs to be invoked before libgcrypt is initialized.
2996
2997 ** gnutls-cli: Return non-zero exit code on error conditions.
2998
2999 ** gnutls-cli: Corrected bug which caused a rehandshake request to be ignored.
3000
3001 ** tests: Added chainverify self-test that tests X.509 chain verifications.
3002
3003 ** API and ABI modifications:
3004 No changes since last version.
3005
3006 * Version 2.7.2 (released 2008-11-18)
3007
3008 ** libgnutls: Fix X.509 certificate chain validation error. [GNUTLS-SA-2008-3]
3009 The flaw makes it possible for man in the middle attackers (i.e.,
3010 active attackers) to assume any name and trick GnuTLS clients into
3011 trusting that name.  Thanks for report and analysis from Martin von
3012 Gagern <Martin.vGagern@gmx.net>.  [CVE-2008-4989]
3013
3014 Any updates with more details about this vulnerability will be added
3015 to <http://www.gnu.org/software/gnutls/security.html>
3016
3017 ** libgnutls: Fix namespace issue with version symbols.
3018 The symbols LIBGNUTLS_VERSION, LIBGNUTLS_VERSION_MAJOR,
3019 LIBGNUTLS_VERSION_MINOR, LIBGNUTLS_VERSION_PATCH, and
3020 LIBGNUTLS_VERSION_NUMBER were renamed to GNUTLS_VERSION_NUMBER,
3021 GNUTLS_VERSION_MAJOR, GNUTLS_VERSION_MINOR, GNUTLS_VERSION_PATCH, and
3022 GNUTLS_VERSION_NUMBER respectively.  The old symbols will continue to
3023 work but are deprecated.
3024
3025 ** certtool: allow setting arbitrary key purpose object identifiers.
3026
3027 ** libgnutls: Fix detection of C99 macros, to make debug logging work again.
3028
3029 ** libgnutls: Add missing prototype for gnutls_srp_set_prime_bits.
3030 Reported by Kevin Quick <quick@sparq.org> in
3031 <https://savannah.gnu.org/support/index.php?106454>.
3032
3033 ** libgnutls-extra: Make building with LZO compression work again.
3034 Build failure reported by Arfrever Frehtes Taifersar Arahesis
3035 <arfrever.fta@gmail.com> in
3036 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3194>.
3037
3038 ** libgnutls: Change detection of when to use a linker version script.
3039 Use --enable-ld-version-script or --disable-ld-version-script to
3040 override auto-detection logic.
3041
3042 ** doc: Change license on the manual to GFDLv1.3+.
3043
3044 ** doc: GTK-DOC fixes for new splitted configuration system.
3045
3046 ** doc: Texinfo stylesheet uses white background.
3047
3048 ** tests: Add cve-2008-4989.c self-test.
3049 Tests regressions of the GNUTLS-SA-2008-3 security problem, and the
3050 follow-on problem with crashes on length 1 certificate chains.
3051
3052 ** gnulib: Deprecated modules removed.
3053 Modules include memchr and memcmp.
3054
3055 ** Fix warnings and build GnuTLS with more warnings enabled.
3056
3057 ** minitasn1: Internal copy updated to libtasn1 v1.7.
3058
3059 ** API and ABI modifications:
3060 gnutls_certificate_set_x509_simple_pkcs12_mem: ADDED
3061 GNUTLS_VERSION: ADDED, replaces LIBGNUTLS_VERSION.
3062 GNUTLS_VERSION_MAJOR: ADDED, replaces LIBGNUTLS_VERSION_MAJOR.
3063 GNUTLS_VERSION_MINOR: ADDED, replaces LIBGNUTLS_VERSION_MINOR.
3064 GNUTLS_VERSION_PATCH: ADDED, replaces LIBGNUTLS_VERSION_PATCH.
3065 GNUTLS_VERSION_NUMBER: ADDED, replaces LIBGNUTLS_VERSION_NUMBER.
3066 LIBGNUTLS_VERSION: DEPRECATED.
3067 LIBGNUTLS_VERSION_MAJOR: DEPRECATED.
3068 LIBGNUTLS_VERSION_MINOR: DEPRECATED.
3069 LIBGNUTLS_VERSION_PATCH: DEPRECATED.
3070 LIBGNUTLS_VERSION_NUMBER: DEPRECATED.
3071
3072 * Version 2.7.1 (released 2008-10-31)
3073
3074 ** certtool: print a PKCS #8 key even if it is not encrypted.
3075
3076 ** Old libgnutls.m4 and libgnutls-config scripts removed.
3077 Please use pkg-config instead.
3078
3079 ** Configuration system modified.
3080 There is now a configure script in lib/ and libextra/ as well, because
3081 gnulib works better with a config.h per gnulib directory.
3082
3083 ** API and ABI modifications:
3084 No changes since last version.
3085
3086 * Version 2.7.0 (released 2008-10-16)
3087
3088 ** libgnutls: Added functions to handle CRL extensions.
3089
3090 ** libgnutls: Added functions to handle X.509 extensions in Certificate
3091 Requests.
3092
3093 ** libgnutls: Improved error string for GNUTLS_E_AGAIN.
3094 Suggested by "Lavrentiev, Anton (NIH/NLM/NCBI) [C]" <lavr@ncbi.nlm.nih.gov>.
3095
3096 ** certtool: Print and set CRL and CRQ extensions.
3097
3098 ** libgnutls-extra: Protect internal symbols with static.
3099 Fixes problem when linking certtool statically.  Tiny patch from Aaron
3100 Ucko <ucko@ncbi.nlm.nih.gov>.
3101
3102 ** libgnutls-openssl: fix out of bounds access.
3103 Problem in X509_get_subject_name and X509_get_issuer_name.  Tiny patch
3104 from Thomas Viehmann <tv@beamnet.de>.
3105
3106 ** libgnutlsxx: Define server_session::get_srp_username even if no SRP.
3107
3108 ** tests: Make tests compile when using internal libtasn1.
3109 Patch by ludo@gnu.org (Ludovic Courtès).
3110
3111 ** Changed detection of libtasn1 and libgcrypt to avoid depending on *-config.
3112 We now require a libgcrypt that has Camellia constants declared in
3113 gcrypt.h, which means v1.3.0 or later.
3114
3115 ** API and ABI modifications:
3116 gnutls_x509_crl_get_authority_key_id: ADDED
3117 gnutls_x509_crl_get_number: ADDED
3118 gnutls_x509_crl_get_extension_oid: ADDED
3119 gnutls_x509_crl_get_extension_info: ADDED
3120 gnutls_x509_crl_get_extension_data: ADDED
3121 gnutls_x509_crl_set_authority_key_id: ADDED
3122 gnutls_x509_crl_set_number: ADDED
3123 gnutls_x509_crq_get_key_rsa_raw: ADDED
3124 gnutls_x509_crq_get_attribute_info: ADDED
3125 gnutls_x509_crq_get_attribute_data: ADDED
3126 gnutls_x509_crq_get_extension_info: ADDED
3127 gnutls_x509_crq_get_extension_data: ADDED
3128 gnutls_x509_crq_get_key_usage: ADDED
3129 gnutls_x509_crq_get_basic_constraints: ADDED
3130 gnutls_x509_crq_get_subject_alt_name: ADDED
3131 gnutls_x509_crq_get_subject_alt_othername_oid: ADDED
3132 gnutls_x509_crq_get_extension_by_oid: ADDED
3133 gnutls_x509_crq_set_subject_alt_name: ADDED
3134 gnutls_x509_crq_set_basic_constraints: ADDED
3135 gnutls_x509_crq_set_key_usage: ADDED
3136 gnutls_x509_crq_get_key_purpose_oid: ADDED
3137 gnutls_x509_crq_set_key_purpose_oid: ADDED
3138 gnutls_x509_crq_print: ADDED
3139 gnutls_x509_crt_set_crq_extensions: ADDED
3140
3141 * Version 2.6.6 (released 2009-04-30)
3142
3143 ** libgnutls: Corrected double free on signature verification failure.
3144 Reported by Miroslav Kratochvil <exa.exa@gmail.com>.  See the advisory
3145 for more details.  [GNUTLS-SA-2009-1] [CVE-2009-1415]
3146
3147 ** libgnutls: Fix DSA key generation.
3148 Noticed when investigating the previous GNUTLS-SA-2009-1 problem.  All
3149 DSA keys generated using GnuTLS 2.6.x are corrupt.  See the advisory
3150 for more details.  [GNUTLS-SA-2009-2] [CVE-2009-1416]
3151
3152 ** libgnutls: Check expiration/activation time on untrusted certificates.
3153 Reported by Romain Francoise <romain@orebokech.com>.  Before the
3154 library did not check activation/expiration times on certificates, and
3155 was documented as not doing so.  We have realized that many
3156 applications that use libgnutls, including gnutls-cli, fail to perform
3157 proper checks.  Implementing similar logic in all applications leads
3158 to code duplication.  Hence, we decided to check whether the current
3159 time (as reported by the time function) is within the
3160 activation/expiration period of certificates when verifying untrusted
3161 certificates.
3162
3163 This changes the semantics of gnutls_x509_crt_list_verify, which in
3164 turn is used by gnutls_certificate_verify_peers and
3165 gnutls_certificate_verify_peers2.  We add two new
3166 gnutls_certificate_status_t codes for reporting the new error
3167 condition, GNUTLS_CERT_NOT_ACTIVATED and GNUTLS_CERT_EXPIRED.  We also
3168 add a new gnutls_certificate_verify_flags flag,
3169 GNUTLS_VERIFY_DISABLE_TIME_CHECKS, that can be used to disable the new
3170 behaviour.
3171
3172 More details about the vulnerabilities will be posted at
3173 <http://www.gnu.org/software/gnutls/security.html>.
3174
3175 ** gnutls-cli, gnutls-cli-debug: Fix AIX build problem.
3176 Reported by LAUPRETRE François (P) <francois.laupretre@ratp.fr> in
3177 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3468>.
3178
3179 ** tests: Fix linking of tests/openpgp/keyring self-test.
3180 Reported by Daniel Black in <https://savannah.gnu.org/support/?106543>.
3181
3182 ** API and ABI modifications:
3183 gnutls_x509_crt_list_verify: CHANGED, checks activation/expiration times.
3184 gnutls_certificate_verify_peers: Likewise.
3185 gnutls_certificate_verify_peers2: Likewise.
3186 GNUTLS_CERT_NOT_ACTIVATED: ADDED.
3187 GNUTLS_CERT_EXPIRED: ADDED.
3188 GNUTLS_VERIFY_DISABLE_TIME_CHECKS: ADDED.
3189
3190 * Version 2.6.5 (released 2009-04-11)
3191
3192 ** libgnutls: Added %SSL3_RECORD_VERSION priority string that allows to
3193 specify the client hello message record version. Used to overcome buggy
3194 TLS servers. Report by Martin von Gagern.
3195
3196 ** GnuTLS no longer uses the libtasn1-config script to find libtasn1.
3197 Libtasn1 0.3.4 or later is required.  This is to align with the
3198 upcoming libtasn1 v2.0 release that doesn't have a libtasn1-script.
3199
3200 ** API and ABI modifications:
3201 No changes since last version.
3202
3203 * Version 2.6.4 (released 2009-02-06)
3204
3205 ** libgnutls: Accept chains where intermediary certs are trusted.
3206 Before GnuTLS needed to validate the entire chain back to a
3207 self-signed certificate.  GnuTLS will now stop looking when it has
3208 found an intermediary trusted certificate.  The new behaviour is
3209 useful when chains, for example, contains a top-level CA, an
3210 intermediary CA signed using RSA-MD5, and an end-entity certificate.
3211 To avoid chain validation errors due to the RSA-MD5 cert, you can
3212 explicitly add the intermediary RSA-MD5 cert to your trusted certs.
3213 The signature on trusted certificates are not checked, so the chain
3214 has a chance to validate correctly.  Reported by "Douglas E. Engert"
3215 <deengert@anl.gov> in
3216 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3351>.
3217
3218 ** libgnutls: result_size in gnutls_hex_encode now holds
3219 the size of the result. Report by John Brooks <special@dereferenced.net>.
3220
3221 ** libgnutls: gnutls_handshake when sending client hello during a
3222 rehandshake, will not offer a version number larger than the current.
3223 Reported by Tristan Hill <stan@saticed.me.uk>.
3224
3225 ** libgnutls: Permit V1 Certificate Authorities properly.
3226 Before they were mistakenly rejected even though
3227 GNUTLS_VERIFY_ALLOW_ANY_X509_V1_CA_CRT and/or
3228 GNUTLS_VERIFY_ALLOW_X509_V1_CA_CRT were supplied.  Reported by
3229 "Douglas E. Engert" <deengert@anl.gov> in
3230 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3351>.
3231
3232 ** libgnutls: deprecate X.509 validation chains using MD5 and MD2 signatures.
3233 This is a bugfix -- the previous attempt to do this from internal x509
3234 certificate verification procedures did not return the correct value
3235 for certificates using a weak hash.  Reported by Daniel Kahn Gillmor
3236 <dkg@fifthhorseman.net> in
3237 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3332>,
3238 debugged and patch by Tomas Mraz <tmraz@redhat.com> and Daniel Kahn
3239 Gillmor <dkg@fifthhorseman.net>.
3240
3241 ** libgnutls: Fix compile error with Sun CC.
3242 Reported by Jeff Cai <jeff.cai@sun.com> in
3243 <https://savannah.gnu.org/support/?106549>.
3244
3245 ** API and ABI modifications:
3246 No changes since last version.
3247
3248 * Version 2.6.3 (released 2008-12-12)
3249
3250 ** libgnutls: Fix chain verification for chains that ends with RSA-MD2 CAs.
3251 Reported by Michael Kiefer <Michael-Kiefer@web.de> in
3252 <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=507633> forwarded by
3253 Andreas Metzler <ametzler@downhill.at.eu.org> in
3254 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3309>.
3255
3256 ** libgnutls: Fix memory leak in PSK authentication.
3257 Reported by Michael Weiser <michael@weiser.dinsnail.net> in
3258 <http://permalink.gmane.org/gmane.network.gnutls.general/1465>.
3259
3260 ** certtool: Move gcry_control(GCRYCTL_ENABLE_QUICK_RANDOM, 0) call earlier.
3261 It needs to be invoked before libgcrypt is initialized.
3262
3263 ** gnutls-cli: Return non-zero exit code on error conditions.
3264
3265 ** gnutls-cli: Corrected bug which caused a rehandshake request to be ignored.
3266
3267 ** API and ABI modifications:
3268 No changes since last version.
3269
3270 * Version 2.6.2 (released 2008-11-12)
3271
3272 ** libgnutls: Fix crash in X.509 validation code for self-signed certificates.
3273 The patch to fix the security problem GNUTLS-SA-2008-3 introduced a
3274 problem for certificate chains that contained just one self-signed
3275 certificate.  Reported by Michael Meskes <meskes@debian.org> in
3276 <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=505279>.
3277
3278 ** API and ABI modifications:
3279 No changes since last version.
3280
3281 * Version 2.6.1 (released 2008-11-10)
3282
3283 ** libgnutls: Fix X.509 certificate chain validation error. [GNUTLS-SA-2008-3]
3284 The flaw makes it possible for man in the middle attackers (i.e.,
3285 active attackers) to assume any name and trick GnuTLS clients into
3286 trusting that name.  Thanks for report and analysis from Martin von
3287 Gagern <Martin.vGagern@gmx.net>.  [CVE-2008-4989]
3288
3289 Any updates with more details about this vulnerability will be added
3290 to <http://www.gnu.org/software/gnutls/security.html>
3291
3292 ** libgnutls: Add missing prototype for gnutls_srp_set_prime_bits.
3293 Reported by Kevin Quick <quick@sparq.org> in
3294 <https://savannah.gnu.org/support/index.php?106454>.
3295
3296 ** libgnutls-extra: Protect internal symbols with static.
3297 Fixes problem when linking certtool statically.  Tiny patch from Aaron
3298 Ucko <ucko@ncbi.nlm.nih.gov>.
3299
3300 ** libgnutls-openssl: Fix patch against X509_get_issuer_name.
3301 It incorrectly returned the subject DN instead of issuer DN in v2.6.0.
3302 Thanks to Thomas Viehmann <tv@beamnet.de> for report.
3303
3304 ** certtool: Print a PKCS #8 key even if it is not encrypted.
3305
3306 ** tests: Make tests compile when using internal libtasn1.
3307 Patch by ludo@gnu.org (Ludovic Courtès).
3308
3309 ** API and ABI modifications:
3310 No changes since last version.
3311
3312 * Version 2.6.0 (released 2008-10-06)
3313
3314 ** libgnutls: Correct printing and parsing of IPv6 addresses.
3315
3316 ** libgnutls-openssl: fix out of bounds access.
3317 Problem in X509_get_subject_name and X509_get_issuer_name.  Tiny patch
3318 from Thomas Viehmann <tv@beamnet.de>.
3319
3320 ** certtool: Use inet_pton for parsing IPv6 addresses.
3321
3322 ** Major changes compared to the v2.4 branch:
3323
3324 *** Added API to replace and update the crypto backend.
3325
3326 *** certtool: can add several subject alternative names via template file.
3327
3328 *** opencdk: Parse (but not decrypt) encrypted secret keys.
3329
3330 *** libgnutls: gnutls_x509_crt_set_subject_alt_name() was added that can
3331 either set or append alternative names. It can also handle binary structures
3332 such as IP addresses.
3333
3334 *** libgnutls: New function to set minimum acceptable SRP bits.
3335 The function is gnutls_srp_set_prime_bits.
3336
3337 *** libgnutls: Add interface to deal with public key and signature algorithms.
3338 The functions are called gnutls_pk_list, gnutls_pk_get_id,
3339 gnutls_sign_list, and