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