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