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