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