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