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