crypto-selftests: test CFB8 ciphers with different chunksizes
[gd/gnutls] / NEWS
1 GnuTLS NEWS -- History of user-visible changes.                -*- outline -*-
2 Bug numbers referenced in this log correspond to bug numbers at our issue tracker,
3 available at https://gitlab.com/gnutls/gnutls/issues
4 Copyright (C) 2000-2016 Free Software Foundation, Inc.
5 Copyright (C) 2013-2019 Nikos Mavrogiannopoulos
6 See the end for copying conditions.
7
8 * Version 3.6.10 (unreleased)
9
10 ** libgnutls: Added support for deterministic ECDSA/DSA (RFC6979)
11    Deterministic signing can be enabled by setting
12    GNUTLS_PRIVKEY_FLAG_REPRODUCIBLE when calling gnutls_privkey_sign_*()
13    functions (#94).
14
15 ** libgnutls: add gnutls_aead_cipher_encryptv2 and gnutls_aead_cipher_decryptv2
16    functions that will perform in-place encryption/decryption on data buffers (#718).
17
18 ** libgnutls: added interoperability tests with gnutls 2.12.x; addressed
19    issue with large record handling due to random padding (#811).
20
21 ** API and ABI modifications:
22 gnutls_aead_cipher_encryptv2: Added
23 gnutls_aead_cipher_decryptv2: Added
24
25
26 * Version 3.6.9 (released 2019-07-25)
27
28 ** libgnutls: add gnutls_hash_copy/gnutls_hmac_copy functions that will create a copy
29    of digest or MAC context. Copying contexts for externally-registered digest and MAC
30    contexts is unupported (#787).
31
32 ** Marked the crypto implementation override APIs as deprecated. These APIs are rarely
33    used, are for a niche use case, but have significant side effects, such as preventing
34    any internal re-organization and extension of the internal cipher API. The APIs remain
35    functional though a compiler warning will be issued, and a future minor version update
36    may transform them to a no-op while keeping ABI compatibility (#789).
37
38 ** libgnutls: Added support for AES-GMAC, as a separate to GCM, MAC algorithm (#781).
39
40 ** libgnutls: gnutls_privkey_sign_hash2 now accepts the GNUTLS_PRIVKEY_SIGN_FLAG_TLS1_RSA
41    flag as documented. This makes it a complete replacement of gnutls_privkey_sign_hash().
42
43 ** libgnutls: Added support for Generalname registeredID.
44
45 ** The priority configuration was enhanced to allow more elaborate
46    system-wide configuration of the library (#587).
47    The following changes were included:
48     - The file is read as an ini file with '#' indicating a comment.
49     - The section "[priorities]" or global follows the existing semantics of
50       the configuration file, and allows to specify system-wide priority strings
51       which are accessed with the '@' prefix.
52     - The section "[overrides]" is added with the parameters "insecure-hash",
53       "insecure-sig", "insecure-sig-for-cert", "disabled-curve",
54       "disabled-version", "min-verification-profile", "tls-disabled-cipher",
55       "tls-disabled-mac", "tls-disabled-group", "tls-disabled-kx", which prohibit
56       specific algorithms or options globally. Existing algorithms in the
57       library can be marked as disabled and insecure, but no hard-coded
58       insecure algorithm can be marked as secure (so that the configuration
59       cannot be abused to make the system vulnerable).
60     - Unknown sections or options are skipped with a debug message, unless
61       the GNUTLS_SYSTEM_PRIORITY_FAIL_ON_INVALID environment parameter is
62       set to 1.
63
64 ** libgnutls: Added new flag for GNUTLS_CPUID_OVERRIDE
65     - 0x20: Enable SHA_NI instruction set
66
67 ** API and ABI modifications:
68 gnutls_crypto_register_cipher: Deprecated
69 gnutls_crypto_register_aead_cipher: Deprecated
70 gnutls_crypto_register_digest: Deprecated
71 gnutls_crypto_register_mac: Deprecated
72 gnutls_get_system_config_file: Added
73 gnutls_hash_copy: Added
74 gnutls_hmac_copy: Added
75 GNUTLS_MAC_AES_GMAC_128: Added
76 GNUTLS_MAC_AES_GMAC_192: Added
77 GNUTLS_MAC_AES_CMAC_256: Added
78 GNUTLS_SAN_REGISTERED_ID: Added
79
80
81 * Version 3.6.8 (released 2019-05-28)
82
83 ** libgnutls: Added gnutls_prf_early() function to retrieve early keying
84    material (#329)
85
86 ** libgnutls: Added support for AES-XTS cipher (#354)
87
88 ** libgnutls: Fix calculation of Streebog digests (incorrect carry operation in
89    512 bit addition)
90
91 ** libgnutls: During Diffie-Hellman operations in TLS, verify that the peer's
92    public key is on the right subgroup (y^q=1 mod p), when q is available (under
93    TLS 1.3 and under earlier versions when RFC7919 parameters are used).
94
95 ** libgnutls: the gnutls_srp_set_server_credentials_function can now be used
96    with the 8192 parameters as well (#995).
97
98 ** libgnutls: Fixed bug preventing the use of gnutls_pubkey_verify_data2() and
99    gnutls_pubkey_verify_hash2() with the GNUTLS_VERIFY_DISABLE_CA_SIGN flag (#754)
100
101 ** libgnutls: The priority string option %ALLOW_SMALL_RECORDS was added to allow
102    clients to communicate with the server advertising smaller limits than 512
103
104 ** libgnutls: Apply STD3 ASCII rules in gnutls_idna_map() to prevent
105    hostname/domain crafting via IDNA conversion (#720)
106
107 ** certtool: allow the digital signature key usage flag in CA certificates.
108    Previously certtool would ignore this flag for CA certificates even if
109    specified (#767)
110
111 ** gnutls-cli/serv: added the --keymatexport and --keymatexportsize options.
112    These allow testing the RFC5705 using these tools.
113
114 ** API and ABI modifications:
115 gnutls_prf_early: Added
116 gnutls_record_set_max_recv_size: Added
117 gnutls_dh_params_import_raw3: Added
118 gnutls_ffdhe_2048_group_q: Added
119 gnutls_ffdhe_3072_group_q: Added
120 gnutls_ffdhe_4096_group_q: Added
121 gnutls_ffdhe_6144_group_q: Added
122 gnutls_ffdhe_8192_group_q: Added
123
124
125 * Version 3.6.7 (released 2019-03-27)
126
127 ** libgnutls, gnutls tools: Every gnutls_free() will automatically set
128    the free'd pointer to NULL. This prevents possible use-after-free and
129    double free issues. Use-after-free will be turned into NULL dereference.
130    The counter-measure does not extend to applications using gnutls_free().
131
132 ** libgnutls: Fixed a memory corruption (double free) vulnerability in the
133    certificate verification API. Reported by Tavis Ormandy; addressed with
134    the change above. [GNUTLS-SA-2019-03-27, #694]
135
136 ** libgnutls: Fixed an invalid pointer access via malformed TLS1.3 async messages;
137    Found using tlsfuzzer. [GNUTLS-SA-2019-03-27, #704]
138
139 ** libgnutls: enforce key usage limitations on certificates more actively.
140    Previously we would enforce it for TLS1.2 protocol, now we enforce it
141    even when TLS1.3 is negotiated, or on client certificates as well. When
142    an inappropriate for TLS1.3 certificate is seen on the credentials structure
143    GnuTLS will disable TLS1.3 support for that session (#690).
144
145 ** libgnutls: the default number of tickets sent under TLS 1.3 was increased to
146    two. This makes it easier for clients which perform multiple connections
147    to the server to use the tickets sent by a default server.
148
149 ** libgnutls: enforce the equality of the two signature parameters fields in
150    a certificate. We were already enforcing the signature algorithm, but there
151    was a bug in parameter checking code.
152
153 ** libgnutls: fixed issue preventing sending and receiving from different
154    threads when false start was enabled (#713).
155
156 ** libgnutls: the flag GNUTLS_PKCS11_OBJ_FLAG_LOGIN_SO now implies a writable
157    session, as non-writeable security officer sessions are undefined in PKCS#11
158    (#721).
159
160 ** libgnutls: no longer send downgrade sentinel in TLS 1.3.
161    Previously the sentinel value was embedded to early in version
162    negotiation and was sent even on TLS 1.3. It is now sent only when
163    TLS 1.2 or earlier is negotiated (#689).
164
165 ** gnutls-cli: Added option --logfile to redirect informational messages output.
166
167 ** API and ABI modifications:
168 No changes since last version.
169
170
171 * Version 3.6.6 (released 2019-01-25)
172
173 ** libgnutls: gnutls_pubkey_import_ecc_raw() was fixed to set the number bits
174    on the public key (#640).
175
176 ** libgnutls: Added support for raw public-key authentication as defined in RFC7250.
177    Raw public-keys can be negotiated by enabling the corresponding certificate
178    types via the priority strings. The raw public-key mechanism must be explicitly
179    enabled via the GNUTLS_ENABLE_RAWPK init flag (#26, #280).
180
181 ** libgnutls: When on server or client side we are sending no extensions we do
182    not set an empty extensions field but we rather remove that field competely.
183    This solves a regression since 3.5.x and improves compatibility of the server
184    side with certain clients.
185
186 ** libgnutls: We no longer mark RSA keys in PKCS#11 tokens as RSA-PSS capable if
187    the CKA_SIGN is not set (#667).
188
189 ** libgnutls: The priority string option %NO_EXTENSIONS was improved to completely
190    disable extensions at all cases, while providing a functional session. This
191    also implies that when specified, TLS1.3 is disabled.
192
193 ** libgnutls: GNUTLS_X509_NO_WELL_DEFINED_EXPIRATION was marked as deprecated.
194    The previous definition was non-functional (#609).
195
196 ** API and ABI modifications:
197 GNUTLS_ENABLE_RAWPK: Added
198 GNUTLS_ENABLE_CERT_TYPE_NEG: Removed (was no-op; replaced by GNUTLS_ENABLE_RAWPK) 
199 GNUTLS_X509_NO_WELL_DEFINED_EXPIRATION: Deprecated
200 GNUTLS_PCERT_NO_CERT: Deprecated
201
202
203 * Version 3.6.5 (released 2018-12-01)
204
205 ** libgnutls: Provide the option of transparent re-handshake/reauthentication
206    when the GNUTLS_AUTO_REAUTH flag is specified in gnutls_init() (#571).
207
208 ** libgnutls: Added support for TLS 1.3 zero round-trip (0-RTT) mode (#127)
209
210 ** libgnutls: The priority functions will ignore and not enable TLS1.3 if
211    requested with legacy TLS versions enabled but not TLS1.2. That is because
212    if such a priority string is used in the client side (e.g., TLS1.3+TLS1.0 enabled)
213    servers which do not support TLS1.3 will negotiate TLS1.2 which will be
214    rejected by the client as disabled (#621).
215
216 ** libgnutls: Change RSA decryption to use a new side-channel silent function.
217    This addresses a security issue where memory access patterns as well as timing
218    on the underlying Nettle rsa-decrypt function could lead to new Bleichenbacher
219    attacks. Side-channel resistant code is slower due to the need to mask
220    access and timings. When used in TLS the new functions cause RSA based
221    handshakes to be between 13% and 28% slower on average (Numbers are indicative,
222    the tests where performed on a relatively modern Intel CPU, results vary
223    depending on the CPU and architecture used). This change makes nettle 3.4.1
224    the minimum requirement of gnutls (#630). [CVSS: medium]
225
226 ** libgnutls: gnutls_priority_init() and friends, allow the CTYPE-OPENPGP keyword
227    in the priority string. It is only accepted as legacy option and is ignored.
228
229 ** libgnutls: Added support for EdDSA under PKCS#11 (#417)
230
231 ** libgnutls: Added support for AES-CFB8 cipher (#357)
232
233 ** libgnutls: Added support for AES-CMAC MAC (#351)
234
235 ** libgnutls: In two previous versions GNUTLS_CIPHER_GOST28147_CPB/CPC/CPD_CFB ciphers
236    have incorrectly used CryptoPro-A S-BOX instead of proper (CryptoPro-B/-C/-D
237    S-BOXes). They are fixed now.
238
239 ** libgnutls: Added support for GOST key unmasking and unwrapped GOST private
240    keys parsing, as specified in R 50.1.112-2016.
241
242 ** gnutls-serv: It applies the default settings when no --priority option is given,
243    using gnutls_set_default_priority().
244
245 ** p11tool: Fix initialization of security officer's PIN with the --initialize-so-pin
246    option (#561)
247
248 ** certtool: Add parameter --no-text that prevents certtool from outputting
249    text before PEM-encoded private key, public key, certificate, CRL or CSR.
250
251 ** API and ABI modifications:
252 GNUTLS_AUTO_REAUTH: Added
253 GNUTLS_CIPHER_AES_128_CFB8: Added
254 GNUTLS_CIPHER_AES_192_CFB8: Added
255 GNUTLS_CIPHER_AES_256_CFB8: Added
256 GNUTLS_MAC_AES_CMAC_128: Added
257 GNUTLS_MAC_AES_CMAC_256: Added
258 gnutls_record_get_max_early_data_size: Added
259 gnutls_record_send_early_data: Added
260 gnutls_record_recv_early_data: Added
261 gnutls_db_check_entry_expire_time: Added
262 gnutls_anti_replay_set_add_function: Added
263 gnutls_anti_replay_init: Added
264 gnutls_anti_replay_deinit: Added
265 gnutls_anti_replay_set_window: Added
266 gnutls_anti_replay_enable: Added
267 gnutls_privkey_decrypt_data2: Added
268
269
270 * Version 3.6.4 (released 2018-09-24)
271
272 ** libgnutls: Added the final (RFC8446) version numbering of the TLS1.3 protocol.
273
274 ** libgnutls: Corrected regression since 3.6.3 in the callbacks set with
275    gnutls_certificate_set_retrieve_function() which could not handle the case where
276    no certificates were returned, or the callbacks were set to NULL (see #528).
277
278 ** libgnutls: gnutls_handshake() on server returns early on handshake when no
279    certificate is presented by client and the gnutls_init() flag GNUTLS_ENABLE_EARLY_START
280    is specified.
281
282 ** libgnutls: Added session ticket key rotation on server side with TOTP.
283    The key set with gnutls_session_ticket_enable_server() is used as a
284    master key to generate time-based keys for tickets. The rotation
285    relates to the gnutls_db_set_cache_expiration() period.
286
287 ** libgnutls: The 'record size limit' extension is added and preferred to the
288    'max record size' extension when possible.
289
290 ** libgnutls: Provide a more flexible PKCS#11 search of trust store certificates.
291    This addresses the problem where the CA certificate doesn't have a subject key
292    identifier whereas the end certificates have an authority key identifier (#569)
293
294 ** libgnutls: gnutls_privkey_export_gost_raw2(), gnutls_privkey_import_gost_raw(),
295    gnutls_pubkey_export_gost_raw2(), gnutls_pubkey_import_gost_raw() import
296    and export GOST parameters in the "native" little endian format used for these
297    curves. This is an intentional incompatible change with 3.6.3.
298
299 ** libgnutls: Added support for seperately negotiating client and server certificate types
300    as defined in RFC7250. This mechanism must be explicitly enabled via the
301    GNUTLS_ENABLE_CERT_TYPE_NEG flag in gnutls_init().
302
303 ** gnutls-cli: enable CRL validation on startup (#564)
304
305 ** API and ABI modifications:
306 GNUTLS_ENABLE_EARLY_START: Added
307 GNUTLS_ENABLE_CERT_TYPE_NEG: Added
308 GNUTLS_TL_FAIL_ON_INVALID_CRL: Added
309 GNUTLS_CERTIFICATE_VERIFY_CRLS: Added
310 gnutls_ctype_target_t: New enumeration
311 gnutls_record_set_max_early_data_size: Added
312 gnutls_certificate_type_get2: Added
313 gnutls_priority_certificate_type_list2: Added
314 gnutls_ffdhe_6144_group_prime: Added
315 gnutls_ffdhe_6144_group_generator: Added
316 gnutls_ffdhe_6144_key_bits: Added
317
318
319 * Version 3.6.3 (released 2018-07-16)
320
321 ** libgnutls: Introduced support for draft-ietf-tls-tls13-28. It includes version
322    negotiation, post handshake authentication, length hiding, multiple OCSP support,
323    consistent ciphersuite support across protocols, hello retry requests, ability
324    to adjust key shares via gnutls_init() flags, certificate authorities extension,
325    and key usage limits. TLS1.3 draft-28 support can be enabled by default if
326    the option --enable-tls13-support is given to configure script.
327
328 ** libgnutls: Apply compatibility settings for existing applications running with TLS1.2 or
329    earlier and TLS 1.3. When SRP or NULL ciphersuites are specified in priority strings
330    TLS 1.3 is will be disabled. When Anonymous ciphersuites are specified in priority
331    strings, then TLS 1.3 negotiation will be disabled if the session is associated
332    only with an anonymous credentials structure.
333
334 ** Added support for Russian Public Key Infrastructure according to RFCs 4491/4357/7836.
335    This adds support for using GOST keys for digital signatures and under PKCS#7, PKCS#12,
336    and PKCS#8 standards. In particular added elliptic curves GOST R 34.10-2001 CryptoProA
337    256-bit curve (RFC 4357), GOST R 34.10-2001 CryptoProXchA 256-bit curve (RFC 4357),
338    and GOST R 34.10-2012 TC26-512-A 512-bit curve (RFC 7836).
339
340 ** Provide a uniform cipher list across supported TLS protocols; the CAMELLIA ciphers
341    as well as ciphers utilizing HMAC-SHA384 and SHA256 have been removed from the default
342    priority strings, as they are undefined under TLS1.3 and they provide no advantage
343    over other options in earlier protocols.
344
345 ** The SSL 3.0 protocol is disabled on compile-time by default. It can be re-enabled
346    by specifying --enable-ssl3-support on configure script.
347
348 ** libgnutls: Introduced function to switch the current FIPS140-2 operational
349    mode, i.e., strict vs a more lax mode which will allow certain non FIPS140-2
350    operations.
351
352 ** libgnutls: Introduced low-level function to assist applications attempting client
353    hello extension parsing, prior to GnuTLS' parsing of the message.
354
355 ** libgnutls: When exporting an X.509 certificate avoid re-encoding if there are no
356    modifications to the certificate. That prevents DER re-encoding issues with incorrectly
357    encoded certificates, or other DER incompatibilities to affect a TLS session.
358    Relates with #403
359
360 ** libgnutls: on group exchange honor the %SERVER_PRECEDENCE and select the groups
361    which are preferred by the server. That unfortunately has complicated semantics
362    as TLS1.2 requires specific ordering of the groups based on the ciphersuite ordering,
363    which could make group order unpredictable if TLS1.3 is negotiated.
364
365 ** Improved counter-measures for TLS CBC record padding. Kenny Paterson, Eyal Ronen
366    and Adi Shamir reported that the existing counter-measures had certain issues and
367    were insufficient when the attacker has additional access to the CPU cache and
368    performs a chosen-plaintext attack. This affected the legacy CBC ciphersuites. [CVSS: medium]
369
370 ** Introduced the %FORCE_ETM priority string option. This option prevents the negotiation
371    of legacy CBC ciphersuites unless encrypt-then-mac is negotiated.
372
373 ** libgnutls: gnutls_privkey_import_ext4() was enhanced with the
374    GNUTLS_PRIVKEY_INFO_PK_ALGO_BITS flag.
375
376 ** libgnutls: gnutls_pkcs11_copy_secret_key, gnutls_pkcs11_copy_x509_privkey2,
377    gnutls_pkcs11_privkey_generate3 will mark objects as sensitive by default
378    unless GNUTLS_PKCS11_OBJ_FLAG_MARK_NOT_SENSITIVE is specified. This is an API
379    change for these functions which make them err towards safety.
380
381 ** libgnutls: improved aarch64 cpu features detection by using getauxval().
382
383 ** certtool: It is now possible to specify certificate and serial CRL numbers greater
384    than 2**63-2 as a hex-encoded string both when prompted and in a template file.
385    Default certificate serial numbers are now fully random. Default CRL
386    numbers include more random bits and are larger than in previous GnuTLS versions.
387    Since CRL numbers are required to be monotonic, specify suitable CRL numbers manually
388    if you intend to later downgrade to previous versions as it was not possible
389    to specify large CRL numbers in previous versions of certtool.
390
391 ** API and ABI modifications:
392 gnutls_fips140_set_mode: Added
393 gnutls_session_key_update: Added
394 gnutls_ext_get_current_msg: Added
395 gnutls_reauth: Added
396 gnutls_ocsp_status_request_get2: Added
397 gnutls_ocsp_resp_import2: Added
398 gnutls_ocsp_resp_export2: Added
399 gnutls_ocsp_resp_list_import2: Added
400 gnutls_certificate_set_retrieve_function3: Added
401 gnutls_certificate_set_ocsp_status_request_file2: Added
402 gnutls_certificate_set_ocsp_status_request_mem: Added
403 gnutls_certificate_get_ocsp_expiration: Added
404 gnutls_record_send2: Added
405 gnutls_ext_raw_parse: Added
406 gnutls_x509_crt_list_import_url: Added
407 gnutls_pcert_list_import_x509_file: Added
408 gnutls_pkcs11_token_get_ptr: Added
409 gnutls_pkcs11_obj_get_ptr: Added
410 gnutls_session_ticket_send: Added
411 gnutls_aead_cipher_encryptv: Added
412 gnutls_gost_paramset_get_name: Added
413 gnutls_gost_paramset_get_oid: Added
414 gnutls_oid_to_gost_paramset: Added
415 gnutls_decode_gost_rs_value: Added
416 gnutls_encode_gost_rs_value: Added
417 gnutls_pubkey_export_gost_raw2: Added
418 gnutls_pubkey_import_gost_raw: Added
419 gnutls_x509_crt_get_pk_gost_raw: Added
420 gnutls_privkey_export_gost_raw2: Added
421 gnutls_privkey_import_gost_raw: Added
422 gnutls_x509_privkey_export_gost_raw: Added
423 gnutls_x509_privkey_import_gost_raw: Added
424 gnutls_set_default_priority_append: Added
425 gnutls_priority_init2: Added
426 GNUTLS_PRIVKEY_INFO_PK_ALGO_BITS: Added
427 GNUTLS_PKCS11_OBJ_FLAG_MARK_NOT_SENSITIVE: Added
428
429
430 * Version 3.6.2 (released 2018-02-16)
431
432 ** libgnutls: When verifying against a self signed certificate ignore issuer.
433    That is, ignore issuer when checking the issuer's parameters strength, resolving
434    issue #347 which caused self signed certificates to be additionally marked as of
435    insufficient security level.
436
437 ** libgnutls: Corrected MTU calculation for the CBC ciphersuites. The data
438    MTU calculation now, it correctly accounts for the fixed overhead due to
439    padding (as 1 byte), while at the same time considers the rest of the
440    padding as part of data MTU.
441
442 ** libgnutls: Address issue of loading of all PKCS#11 modules on startup
443    on systems with a PKCS#11 trust store (as opposed to a file trust store).
444    Introduced a multi-stage initialization which loads the trust modules, and
445    other modules are deferred for the first pure PKCS#11 request.
446
447 ** libgnutls: The SRP authentication will reject any parameters outside
448    RFC5054. This protects any client from potential MitM due to insecure
449    parameters. That also brings SRP in par with the RFC7919 changes to
450    Diffie-Hellman.
451
452 ** libgnutls: Added the 8192-bit parameters of SRP to the accepted parameters
453    for SRP authentication.
454
455 ** libgnutls: Addressed issue in the accelerated code affecting interoperability
456    with versions of nettle >= 3.4.
457
458 ** libgnutls: Addressed issue in the AES-GCM acceleration under aarch64.
459
460 ** libgnutls: Addressed issue in the AES-CBC acceleration under ssse3 (patch by
461    Vitezslav Cizek).
462
463 ** srptool: the --create-conf option no longer includes 1024-bit parameters.
464
465 ** p11tool: Fixed the deletion of objects in batch mode.
466
467 ** API and ABI modifications:
468 gnutls_srp_8192_group_generator: Added
469 gnutls_srp_8192_group_prime: Added
470
471
472 * Version 3.6.1 (released 2017-10-21)
473
474 ** libgnutls: Fixed interoperability issue with openssl when safe renegotiation was
475    used. Resolves gitlab issue #259.
476
477 ** libgnutls: gnutls_x509_crl_sign, gnutls_x509_crt_sign,
478    gnutls_x509_crq_sign, were modified to sign with a better algorithm than
479    SHA1. They will now sign with an algorithm that corresponds to the security
480    level of the signer's key.
481
482 ** libgnutls: gnutls_x509_*_sign2() functions and gnutls_x509_*_privkey_sign()
483    accept GNUTLS_DIG_UNKNOWN (0) as a hash function option. That will signal
484    the function to auto-detect an appropriate hash algorithm to use.
485
486 ** libgnutls: Removed support for signature algorithms using SHA2-224 in TLS.
487    TLS 1.3 no longer uses SHA2-224 and it was never a widespread algorithm
488    in TLS 1.2. As such, no reason to keep supporting it.
489
490 ** libgnutls: Refuse to use client certificates containing disallowed
491    algorithms for a session. That reverts a change on 3.5.5, which allowed
492    a client to use DSA-SHA1 due to his old DSA certificate, without requiring him
493    to enable DSA-SHA1 (and thus make it acceptable for the server's certificate).
494    The previous approach was to allow a smooth move for client infrastructure
495    after the DSA algorithm became disabled by default, and is no longer necessary
496    as DSA is now being universally depracated.
497
498 ** libgnutls: Refuse to resume a session which had a different SNI advertised. That
499    improves RFC6066 support in server side. Reported by Thomas Klute.
500
501 ** p11tool: Mark all generated objects as sensitive by default.
502
503 ** p11tool: added options --sign-params and --hash. This allows testing
504    signature with multiple algorithms, including RSA-PSS.
505
506 ** API and ABI modifications:
507 No changes since last version.
508
509
510 * Version 3.6.0 (released 2017-08-21)
511
512 ** libgnutls: tlsfuzzer is part of the CI testsuite. This is a TLS testing and
513    fuzzying toolkit, allowing for corner case testing, and ensuring that the
514    behavior of the library will not change across releases.
515    https://github.com/tomato42/tlsfuzzer
516
517 ** libgnutls: Introduced a lock-free random generator which operates per-thread
518    and eliminates random-generator related bottlenecks in multi-threaded operation.
519    Resolves gitlab issue #141.
520    http://nmav.gnutls.org/2017/03/improving-by-simplifying-gnutls-prng.html
521
522 ** libgnutls: Replaced the Salsa20 random generator with one based on CHACHA.
523    The goal is to reduce code needed in cache (CHACHA is also used for TLS),
524    and the number of primitives used by the library. That does not affect the
525    AES-DRBG random generator used in FIPS140-2 mode.
526
527 ** libgnutls: Added support for RSA-PSS key type as well as signatures in
528    certificates, and TLS key exchange. Contributed by Daiki Ueno.
529    RSA-PSS signatures can be generated by RSA-PSS keys and normal RSA keys,
530    but not vice-versa.  The feature includes:
531      * RSA-PSS key generation and key handling (in PKCS#8 form)
532      * RSA-PSS key generation and key handling from PKCS#11 (with CKM_RSA_PKCS_PSS mech)
533      * Handling of RSA-PSS subjectPublicKeyInfo parameters, when present
534        in either the private key or certificate.
535      * RSA-PSS signing and verification of PKIX certificates
536      * RSA-PSS signing and verification of TLS 1.2 handshake
537      * RSA-PSS signing and verification of PKCS#7 structures
538      * RSA-PSS and RSA key combinations for TLS credentials. That is, when
539        multiple keys are supplied, RSA-PSS keys are preferred over RSA for RSA-PSS
540        TLS signatures, to contain risks of cross-protocol attacks between the algorithms.
541      * RSA-PSS key conversion to RSA PKCS#1 form (certtool --to-rsa)
542    Note that RSA-PSS signatures with SHA1 are (intentionally) not supported.
543
544 ** libgnutls: Added support for Ed25519 signing in certificates and TLS key
545    exchange following draft-ietf-tls-rfc4492bis-17.  The feature includes:
546      * Ed25519 key generation and key handling (in PKCS#8 form)
547      * Ed25519 signing and verification of PKIX certificates
548      * Ed25519 signing and verification of TLS 1.2 handshake
549      * Ed25519 signing and verification of PKCS#7 structures
550
551 ** libgnutls: Enabled X25519 key exchange by default, following draft-ietf-tls-rfc4492bis-17.
552
553 ** libgnutls: Added support for Diffie-Hellman group negotiation following RFC7919.
554    That makes the DH parameters negotiation more robust and less prone to errors
555    due to insecure parameters. Servers are no longer required to specific explicit
556    DH parameters, though if they do these parameters will be used. Group
557    selection can be done via priority strings. The introduced strings are
558    GROUP-ALL, GROUP-FFDHE2048, GROUP-FFDHE3072, GROUP-FFDHE4096 and
559    GROUP-FFDHE8192, as well as the corresponding to curves groups. Note that
560    the 6144 group from RFC7919 is not supported.
561
562 ** libgnutls: Introduced various sanity checks on certificate import. Refuse
563    to import certificates which have fractional seconds in Time fields, X.509v1
564    certificates which have the unique identifiers set, and certificates with illegal
565    version numbers. All of these are prohibited by RFC5280.
566
567 ** libgnutls: Introduced gnutls_x509_crt_set_flags(). This function can set flags
568    in the crt structure. The only flag supported at the moment is
569    GNUTLS_X509_CRT_FLAG_IGNORE_SANITY which skips the certificate sanity
570    checks on import.
571
572 ** libgnutls: PKIX certificates with unknown critical extensions are rejected
573    on verification with status GNUTLS_CERT_UNKNOWN_CRIT_EXTENSIONS. This
574    behavior can be overridden by providing the flag GNUTLS_VERIFY_IGNORE_UNKNOWN_CRIT_EXTENSIONS
575    to verification functions. Resolves gitlab issue #177.
576
577 ** libgnutls: Refuse to generate a certificate with an illegal version, or an
578    illegal serial number. That is, gnutls_x509_crt_set_version() and
579    gnutls_x509_crt_set_serial(), will fail on input considered to be invalid
580    in RFC5280.
581
582 ** libgnutls: Calls to gnutls_record_send() and gnutls_record_recv()
583    prior to handshake being complete are now refused. Addresses gitlab issue #158.
584
585 ** libgnutls: Added support for PKCS#12 files with no salt (zero length) in their
586    password encoding, and PKCS#12 files using SHA384 and SHA512 as MAC.
587
588 ** libgnutls: Exported functions to encode and decode DSA and ECDSA r,s values.
589
590 ** libgnutls: Added new callback setting function to gnutls_privkey_t for external
591    keys. The new function (gnutls_privkey_import_ext4), allows signing in addition
592    to previous algorithms (RSA PKCS#1 1.5, DSA, ECDSA), with RSA-PSS and Ed25519
593    keys.
594
595 ** libgnutls: Introduced the %VERIFY_ALLOW_BROKEN and %VERIFY_ALLOW_SIGN_WITH_SHA1
596    priority string options. These allows enabling all broken and SHA1-based signature
597    algorithms in certificate verification, respectively.
598
599 ** libgnutls: 3DES-CBC is no longer included in the default priorities
600    list. It has to be explicitly enabled, e.g., with a string like
601    "NORMAL:+3DES-CBC".
602
603 ** libgnutls: SHA1 was marked as insecure for signing certificates. Verification
604    of certificates signed with SHA1 is now considered insecure and will
605    fail, unless flags intended to enable broken algorithms are set. Other uses
606    of SHA1 are still allowed. This can be reverted on compile time with the configure
607    flag --enable-sha1-support.
608
609 ** libgnutls: RIPEMD160 was marked as insecure for certificate signatures. Verification
610    of certificates signed with RIPEMD160 hash algorithm is now considered insecure and
611    will fail, unless flags intended to enable broken algorithms are set.
612
613 ** libgnutls: No longer enable SECP192R1 and SECP224R1 by default on TLS handshakes.
614    These curves were rarely used for that purpose, provide no advantage over
615    x25519 and were deprecated by TLS 1.3.
616
617 ** libgnutls: Removed support for DEFLATE, or any other compression method.
618
619 ** libgnutls: OpenPGP authentication was removed; the resulting library is ABI
620    compatible, with the openpgp related functions being stubs that fail
621    on invocation.
622
623 ** libgnutls: Removed support for libidn (i.e., IDNA2003); gnutls can now be compiled
624    only with libidn2 which provides IDNA2008.
625
626 ** certtool: The option '--load-ca-certificate' can now accept PKCS#11
627    URLs in addition to files.
628
629 ** certtool: The option '--load-crl' can now be used when generating PKCS#12
630    files (i.e., in conjunction with '--to-p12' option).
631
632 ** certtool: Keys with provable RSA and DSA parameters are now only read and
633    exported from PKCS#8 form, following draft-mavrogiannopoulos-pkcs8-validated-parameters-00.txt.
634    This removes support for the previous a non-standard key format.
635
636 ** certtool: Added support for generating, printing and handling RSA-PSS and
637    Ed25519 keys and certificates.
638
639 ** certtool: the parameters --rsa, --dsa and --ecdsa to --generate-privkey are now
640    deprecated, replaced by the --key-type option.
641
642 ** p11tool: The --generate-rsa, --generate-ecc and --generate-dsa options were
643    replaced by the --generate-privkey option.
644
645 ** psktool: Generate 256-bit keys by default.
646
647 ** gnutls-server: Increase request buffer size to 16kb, and added the --alpn and
648    --alpn-fatal options, allowing testing of ALPN negotiation.
649
650 ** API and ABI modifications:
651 gnutls_encode_rs_value: Added
652 gnutls_decode_rs_value: Added
653 gnutls_base64_encode2: Added
654 gnutls_base64_decode2: Added
655 gnutls_x509_crt_set_flags: Added
656 gnutls_x509_crt_check_ip: Added
657 gnutls_x509_ext_import_inhibit_anypolicy: Added
658 gnutls_x509_ext_export_inhibit_anypolicy: Added
659 gnutls_x509_crt_get_inhibit_anypolicy: Added
660 gnutls_x509_crt_set_inhibit_anypolicy: Added
661 gnutls_pubkey_export_rsa_raw2: Added
662 gnutls_pubkey_export_dsa_raw2: Added
663 gnutls_pubkey_export_ecc_raw2: Added
664 gnutls_privkey_export_rsa_raw2: Added
665 gnutls_privkey_export_dsa_raw2: Added
666 gnutls_privkey_export_ecc_raw2: Added
667 gnutls_x509_spki_init: Added
668 gnutls_x509_spki_deinit: Added
669 gnutls_x509_spki_get_pk_algorithm: Added
670 gnutls_x509_spki_set_pk_algorithm: Added
671 gnutls_x509_spki_get_digest_algorithm: Added
672 gnutls_x509_spki_set_digest_algorithm: Added
673 gnutls_x509_spki_get_salt_size: Added
674 gnutls_x509_spki_set_salt_size: Added
675 gnutls_x509_crt_set_spki: Added
676 gnutls_x509_crt_get_spki: Added
677 gnutls_x509_privkey_get_spki: Added
678 gnutls_x509_privkey_set_spki: Added
679 gnutls_x509_crq_get_spki: Added
680 gnutls_x509_crq_set_spki: Added
681 gnutls_pubkey_set_spki: Added
682 gnutls_pubkey_get_spki: Added
683 gnutls_privkey_set_spki: Added
684 gnutls_privkey_get_spki: Added
685 gnutls_privkey_import_ext4: Added
686 GNUTLS_EXPORT_FLAG_NO_LZ: Added
687 GNUTLS_DT_IP_ADDRESS: Added
688 GNUTLS_X509_CRT_FLAG_IGNORE_SANITY: Added
689 GNUTLS_CERT_UNKNOWN_CRIT_EXTENSIONS: Added
690 GNUTLS_VERIFY_ALLOW_SIGN_WITH_SHA1: Added
691 GNUTLS_VERIFY_DO_NOT_ALLOW_IP_MATCHES: Added
692 GNUTLS_VERIFY_IGNORE_UNKNOWN_CRIT_EXTENSIONS: Added
693 GNUTLS_SFLAGS_RFC7919: Added
694
695
696 * Version 3.5.7 (released 2016-12-8)
697
698 ** libgnutls: Include CHACHA20-POLY1305 ciphersuites in the SECURE128
699    and SECURE256 priority strings.
700
701 ** libgnutls: Require libtasn1 4.9; this ensures gnutls will correctly
702    operate with OIDs which have elements that exceed 2^32.
703
704 ** libgnutls: The DN decoding functions output the traditional DN format
705    rather than the strict RFC4514 compliant textual DN. This reverts the
706    3.5.6 introduced change, and allows applications which depended on the
707    previous format to continue to function. Introduced new functions which
708    output the strict format by default, and can revert to the old one using
709    a flag.
710
711 ** libgnutls: Improved TPM key handling. Check authorization requirements
712    prior to using a key and fix issue on loop for PIN input. Patches by
713    James Bottomley.
714
715 ** libgnutls: In all functions accepting UTF-8 passwords, ensure that
716    passwords are normalized according to RFC7613. When invalid UTF-8
717    passwords are detected, they are only tolerated for decryption.
718    This introduces a libunistring dependency on GnuTLS. A version of
719    libunistring is included in the library for the platforms that do
720    not ship it; it can be used with the '--with-included-unistring'
721    option to configure script.
722
723 ** libgnutls: When setting a subject alternative name in a certificate
724    which is in UTF-8 format, it will transparently be converted to IDNA form
725    prior to storing.
726
727 ** libgnutls: GNUTLS_CRT_PRINT_ONELINE flag on gnutls_x509_crt_print()
728    will print the SHA256 key-ID instead of a certificate fingerprint.
729
730 ** libgnutls: enhance the PKCS#7 verification capabilities. In the case
731    signers that are not discoverable using the trust list or input, use
732    the stored list as pool to generate a trusted chain to the signer.
733
734 ** libgnutls: Improved MTU calculation precision for the CBC ciphersuites
735    under DTLS.
736
737 ** libgnutls: [added missing news entry since 3.5.0]
738    No longer tolerate certificate key usage violations for
739    TLS signature verification, and decryption. That is GnuTLS will fail
740    to connect to servers which incorrectly use a restricted to signing certificate
741    for decryption, or vice-versa. This reverts the lax behavior introduced
742    in 3.1.0, due to several such broken servers being available. The %COMPAT
743    priority keyword can be used to work-around connecting on these servers.
744
745 ** certtool: When exporting a CRQ in DER format ensure no text data are
746    intermixed. Patch by Dmitry Eremin-Solenikov.
747
748 ** certtool: Include the SHA-256 variant of key ID in --certificate-info
749    options.
750
751 ** p11tool: Introduced the --initialize-pin and --initialize-so-pin
752    options.
753
754 ** API and ABI modifications:
755 gnutls_utf8_password_normalize: Added
756 gnutls_ocsp_resp_get_responder2: Added
757 gnutls_x509_crt_get_issuer_dn3: Added
758 gnutls_x509_crt_get_dn3: Added
759 gnutls_x509_rdn_get2: Added
760 gnutls_x509_dn_get_str2: Added
761 gnutls_x509_crl_get_issuer_dn3: Added
762 gnutls_x509_crq_get_dn3: Added
763
764
765 * Version 3.5.6 (released 2016-11-04)
766
767 ** libgnutls: Enhanced the PKCS#7 parser to allow decoding old
768    (pre-rfc5652) structures with arbitrary encapsulated content.
769
770 ** libgnutls: Introduced a function group to set known DH parameters
771    using groups from RFC7919.
772
773 ** libgnutls: Added more strict RFC4514 textual DN encoding and decoding.
774    Now the generated textual DN is in reverse order according to RFC4514,
775    and functions which generate a DN from strings such gnutls_x509_crt_set_*dn()
776    set the expected DN (reverse of the provided string).
777
778 ** libgnutls: Introduced time and constraints checks in the end certificate
779    in the gnutls_x509_crt_verify_data2() and gnutls_pkcs7_verify_direct()
780    functions.
781
782 ** libgnutls: Set limits on the maximum number of alerts handled. That is,
783    applications using gnutls could be tricked into an busy loop if the
784    peer sends continuously alert messages. Applications which set a maximum
785    handshake time (via gnutls_handshake_set_timeout) will eventually recover
786    but others may remain in a busy loops indefinitely. This is related but
787    not identical to CVE-2016-8610, due to the difference in alert handling
788    of the libraries (gnutls delegates that handling to applications).
789
790 ** libgnutls: Reverted the change which made the gnutls_certificate_set_*key*
791    functions return an index (introduced in 3.5.5), to avoid affecting programs
792    which explicitly check success of the function as equality to zero. In order
793    for these functions to return an index an explicit call to gnutls_certificate_set_flags
794    with the GNUTLS_CERTIFICATE_API_V2 flag is now required.
795
796 ** libgnutls: Reverted the behavior of sending a status request extension even
797    without a response (introduced in 3.5.5). That is, we no longer reply to a
798    client's hello with a status request, with a status request extension. Although
799    that behavior is legal, it creates incompatibility issues with releases in
800    the gnutls 3.3.x branch.
801
802 ** libgnutls: Delayed the initialization of the random generator at
803    the first call of gnutls_rnd(). This allows applications to load
804    on systems which getrandom() would block, without blocking until
805    real random data are needed.
806
807 ** certtool: --get-dh-params will output parameters from the RFC7919
808    groups.
809
810 ** p11tool: improvements in --initialize option.
811
812 ** API and ABI modifications:
813 GNUTLS_CERTIFICATE_API_V2: Added
814 GNUTLS_NO_TICKETS: Added
815 gnutls_pkcs7_get_embedded_data_oid: Added
816 gnutls_anon_set_server_known_dh_params: Added
817 gnutls_certificate_set_known_dh_params: Added
818 gnutls_psk_set_server_known_dh_params: Added
819 gnutls_x509_crt_check_key_purpose: Added
820
821
822 * Version 3.5.5 (released 2016-10-09)
823
824 ** libgnutls: enhanced gnutls_certificate_set_ocsp_status_request_file()
825    to allow importing multiple OCSP request files, one for each chain
826    provided.
827
828 ** libgnutls: The gnutls_certificate_set_key* functions return an
829    index of the added chain. That index can be used either with
830    gnutls_certificate_set_ocsp_status_request_file(), or with
831    gnutls_certificate_get_crt_raw() and friends.
832
833 ** libgnutls: Added SHA*, AES-GCM, AES-CCM and AES-CBC optimized implementations
834    for the aarch64 architecture. Uses Andy Polyakov's assembly code.
835
836 ** libgnutls: Ensure proper cleanups on gnutls_certificate_set_*key()
837    failures due to key mismatch. This prevents leaks or double freeing
838    on such failures.
839
840 ** libgnutls: Increased the maximum size of the handshake message hash.
841    This will allow the library to cope better with larger packets, as
842    the ones offered by current TLS 1.3 drafts.
843
844 ** libgnutls: Allow to use client certificates despite them containing
845    disallowed algorithms for a session. That allows for example a client
846    to use DSA-SHA1 due to his old DSA certificate, without requiring him
847    to enable DSA-SHA1 (and thus make it acceptable for the server's certificate).
848
849 ** libgnutls: Reverted AESNI code on x86 to earlier version as the
850    latest version was creating position depending code. Added checks
851    in the CI to detect position depending code early.
852
853 ** guile: Update code to the I/O port API of Guile >= 2.1.4
854    This makes sure the GnuTLS bindings will work with the forthcoming 2.2
855    stable series of Guile, of which 2.1 is a preview.
856
857 ** API and ABI modifications:
858 gnutls_certificate_set_ocsp_status_request_function2: Added
859 gnutls_session_ext_register: Added
860 gnutls_session_supplemental_register: Added
861 GNUTLS_E_PK_INVALID_PUBKEY: Added
862 GNUTLS_E_PK_INVALID_PRIVKEY: Added
863
864
865 * Version 3.5.4 (released 2016-09-08)
866
867 ** libgnutls: Corrected the comparison of the serial size in OCSP response.
868    Previously the OCSP certificate check wouldn't verify the serial length
869    and could succeed in cases it shouldn't (GNUTLS-SA-2016-3).
870    Reported by Stefan Buehler.
871
872 ** libgnutls: Added support for IP name constraints. Patch by Martin Ukrop.
873
874 ** libgnutls: Added support of PKCS#8 file decryption using DES-CBC-MD5. This
875    is added to allow decryption of PKCS #8 private keys from openssl prior to 1.1.0.
876
877 ** libgnutls: Added support for decrypting PKCS#8 files which use HMAC-SHA256
878    as PRF. This allow decrypting PKCS #8 private keys generated with openssl 1.1.0.
879
880 ** libgnutls: Added support for internationalized passwords in PKCS#12 files.
881    Previous versions would only encrypt or decrypt using passwords from the ASCII
882    set.
883
884 ** libgnutls: Addressed issue with PKCS#11 signature generation on ECDSA
885    keys. The signature is now written as unsigned integers into the DSASignatureValue
886    structure. Previously signed integers could be written depending on what
887    the underlying module would produce. Addresses #122.
888
889 ** gnutls-cli: Fixed starttls regression from 3.5.3.
890
891 ** API and ABI modifications:
892 GNUTLS_E_MALFORMED_CIDR: Added
893 gnutls_x509_cidr_to_rfc5280: Added
894 gnutls_oid_to_mac: Added
895
896
897 * Version 3.5.3 (released 2016-08-09)
898
899 ** libgnutls: Added support for TCP fast open (RFC7413), allowing
900    to reduce by one round-trip the handshake process. Based on proposal and
901    patch by Tim Ruehsen.
902
903 ** libgnutls: Adopted a simpler with less memory requirements DTLS sliding
904    window implementation. Based on Fridolin Pokorny's implementation for
905    AF_KTLS.
906
907 ** libgnutls: Use getrandom where available via the syscall interface.
908    This works around an issue of not-using getrandom even if it exists
909    since glibc doesn't declare such function.
910
911 ** libgnutls: Fixed DNS name constraints checking in the case of empty
912    intersection of domain names in the chain. Report and fix by Martin Ukrop.
913
914 ** libgnutls: Fixed name constraints checking in the case of chains
915    where the higher level certificates contained different types of
916    constraints than the ones present in the lower intermediate CAs.
917    Report and fix by Martin Ukrop.
918
919 ** libgnutls: Dropped support for the EGD random generator.
920
921 ** libgnutls: Allow the decoding of raw elements (starting with #)
922    in RFC4514 DN string decoding.
923
924 ** libgnutls: Fixes in gnutls_x509_crt_list_import2, which was
925    ignoring flags if all certificates in the list fit within the
926    initially allocated memory. Patch by Tim Kosse.
927
928 ** libgnutls: Corrected issue which made gnutls_certificate_get_x509_crt()
929    to return invalid pointers when returned more than a single certificate.
930    Report and fix by Stefan Sørensen.
931
932 ** libgnutls: Fix gnutls_pkcs12_simple_parse to always extract the complete chain,
933    even when the extra_certs was non-null. Report and fix by Stefan Sørensen.
934
935 ** certtool: Added the "add_extension" and "add_critical_extension"
936    template options. This allows specifying arbitrary extensions into
937    certificates and certificate requests.
938
939 ** gnutls-cli: Added the --fastopen option.
940
941 ** API and ABI modifications:
942 GNUTLS_E_UNAVAILABLE_DURING_HANDSHAKE: Added
943 gnutls_x509_crq_set_extension_by_oid: Added
944 gnutls_x509_dn_set_str: Added
945 gnutls_transport_set_fastopen: Added
946
947
948 * Version 3.5.2 (released 2016-07-06)
949
950 ** libgnutls: Address issue when utilizing the p11-kit trust store
951    for certificate verification (GNUTLS-SA-2016-2).
952
953 ** libgnutls: Fixed DTLS handshake packet reconstruction. Reported by
954    Guillaume Roguez.
955
956 ** libgnutls: Fixed issues with PKCS#11 reading of sensitive objects
957    from SafeNet Network HSM. Reported by Anthony Alba in #108.
958
959 ** libgnutls: Corrected the writing of PKCS#11 CKA_SERIAL_NUMBER. Report
960    and fix by Stanislav Å½idek.
961
962 ** libgnutls: Added AES-GCM optimizations using the AVX and MOVBE
963    instructions. Uses Andy Polyakov's assembly code.
964
965 ** API and ABI modifications:
966 No changes since last version.
967
968
969 * Version 3.5.1 (released 2016-06-14)
970
971 ** libgnutls: The SSL 3.0 protocol support can completely be removed
972    using a compile time option. The configure option is --disable-ssl3-support.
973
974 ** libgnutls: The SSL 2.0 client hello support can completely be removed
975    using a compile time option. The configure option is --disable-ssl2-support.
976
977 ** libgnutls: Added support for OCSP Must staple PKIX extension. That is,
978    implemented the RFC7633 TLSFeature for OCSP status request extension.
979    Feature implemented by Tim Kosse.
980
981 ** libgnutls: More strict OCSP staple verification. That is, no longer
982    ignore invalid or too old OCSP staples. The previous behavior was
983    to rely on application use gnutls_ocsp_status_request_is_checked(),
984    while the new behavior is to include OCSP verification by default
985    and set the GNUTLS_CERT_INVALID_OCSP_STATUS verification flag on error.
986
987 ** libgnutls: Treat CA certificates with the "Server Gated Cryptography" key
988    purpose OIDs equivalent to having the GNUTLS_KP_TLS_WWW_SERVER OID. This
989    improves interoperability with several old intermediate CA certificates
990    carrying these legacy OIDs.
991
992 ** libgnutls: Re-read the system wide priority file when needed. Patch by
993    Daniel P. Berrange.
994
995 ** libgnutls: Allow for fallback in system-specific initial keywords
996    (prefixed with '@'). That allows to specify a keyword such as
997    "@KEYWORD1,KEYWORD2" which will use the first available of these
998    two keywords. Patch by Daniel P. Berrange.
999
1000 ** libgnutls: The SSLKEYLOGFILE environment variable can be used to log
1001    session keys. These session keys are compatible with the NSS Key Log
1002    Format and can be used to decrypt the session for debugging using
1003    wireshark.
1004
1005 ** API and ABI modifications:
1006 GNUTLS_CERT_INVALID_OCSP_STATUS: Added
1007 gnutls_x509_crt_set_crq_extension_by_oid: Added
1008 gnutls_x509_ext_import_tlsfeatures: Added
1009 gnutls_x509_ext_export_tlsfeatures: Added
1010 gnutls_x509_tlsfeatures_add: Added
1011 gnutls_x509_tlsfeatures_init: Added
1012 gnutls_x509_tlsfeatures_deinit: Added
1013 gnutls_x509_tlsfeatures_get: Added
1014 gnutls_x509_crt_get_tlsfeatures: Added
1015 gnutls_x509_crt_set_tlsfeatures: Added
1016 gnutls_x509_crq_get_tlsfeatures: Added
1017 gnutls_x509_crq_set_tlsfeatures: Added
1018 gnutls_ext_get_name: Added
1019
1020
1021 * Version 3.5.0 (released 2016-05-09)
1022
1023 ** libgnutls: Added SHA3 based signing algorithms for DSA, RSA and ECDSA,
1024    based on https://csrc.nist.gov/groups/ST/crypto_apps_infra/csor/algorithms.html
1025
1026 ** libgnutls: Added support for curve X25519 (RFC 7748, draft-ietf-tls-rfc4492bis-07).
1027    This curve is disabled by default as it is still on specification status. It
1028    can be enabled using the priority string modifier +CURVE-X25519.
1029
1030 ** libgnutls: Added support for TLS false start (draft-ietf-tls-falsestart-01)
1031    by introducing gnutls_init() flag GNUTLS_ENABLE_FALSE_START (#73).
1032
1033 ** libgnutls: Added new APIs to access the FIPS186-4 (Shawe-Taylor based) provable
1034    RSA and DSA parameter generation from a seed.
1035
1036 ** libgnutls: The CHACHA20-POLY1305 ciphersuite is enabled by default. This
1037    cipher is prioritized after AES-GCM.
1038
1039 ** libgnutls: On a rehandshake ensure that the certificate of the peer or
1040    its username remains the same as in previous handshakes. That is to protect
1041    applications which do not check user credentials on rehandshakes. The
1042    threat to address depends on the application protocol. Primarily it
1043    protects against applications which authenticate the peer initially and
1044    perform accounting using the session's information, from being misled
1045    by a rehandshake which switches the peer's identity. Applications can
1046    disable this protection by using the %GNUTLS_ALLOW_ID_CHANGE flag in
1047    gnutls_init().
1048
1049 ** libgnutls: No longer tolerate certificate key usage violations for
1050    TLS signature verification, and decryption. That is GnuTLS will fail
1051    to connect to servers which incorrectly use a restricted to signing certificate
1052    for decryption, or vice-versa. This reverts the lax behavior introduced
1053    in 3.1.0, due to several such broken servers being available. The %COMPAT
1054    priority keyword can be used to work-around connecting on these servers.
1055
1056 ** libgnutls: Be strict in TLS extension decoding. That is, do not tolerate
1057    parsing errors in the extensions field and treat it as a typical Hello
1058    message structure. Reported by Hubert Kario (#40).
1059
1060 ** libgnutls: Old and unsupported version numbers in client hellos are
1061    rejected with a "protocol_version" alert message. Reported by Hubert
1062    Kario (#42).
1063
1064 ** libgnutls: Lifted the limitation of calling the gnutls_session_get_data*()
1065    functions, only on non-resumed sessions. This brings the API in par with
1066    its usage (#79).
1067
1068 ** libgnutls: Follow RFC5280 strictly in name constraints computation. The
1069    permitted subtrees is intersected with any previous values. Report and
1070    patch by Daiki Ueno.
1071
1072 ** libgnutls: Enforce the RFC 7627 (extended master secret) requirements on
1073    session resumption. Reported by Hubert Kario (#69).
1074
1075 ** libgnutls: Consider the max-record TLS extension even when under DTLS.
1076    Reported by Peter Dettman (#61).
1077
1078 ** libgnutls: Replaced writev() system call with sendmsg().
1079
1080 ** libgnutls: Replaced select() system call with poll() on POSIX systems.
1081
1082 ** libgnutls: Preload the system priority file on library load. This allows
1083    applications that chroot() to also use the system priorities.
1084
1085 ** libgnutls: Applications are allowed to override the built-in key and
1086    certificate URLs.
1087
1088 ** libgnutls: The gnutls.h header marks constant and pure functions explictly.
1089
1090 ** certtool: Added the ability to sign certificates using SHA3.
1091
1092 ** certtool: Added the --provable and --verify-allow-broken options.
1093
1094 ** gnutls-cli: The --dane option will cause verification failure if gnutls is not
1095    compiled with DANE support.
1096
1097 ** crywrap: The tool was unbundled from gnutls' distribution. It can be found at
1098    https://github.com/nmav/crywrap
1099
1100 ** guile: .go files are now built and installed
1101
1102 ** guile: Fix compatibility issue of the test suite with Guile 2.1
1103
1104 ** guile: When --with-guile-site-dir is passed, modules are installed in a
1105    versioned directory, typically $(datadir)/guile/site/2.0
1106
1107 ** guile: Tests no longer leave zombie processes behind
1108
1109 ** API and ABI modifications:
1110 GNUTLS_FORCE_CLIENT_CERT: Added
1111 GNUTLS_ENABLE_FALSE_START: Added
1112 GNUTLS_INDEFINITE_TIMEOUT: Added
1113 GNUTLS_ALPN_SERVER_PRECEDENCE: Added
1114 GNUTLS_E_ASN1_EMBEDDED_NULL_IN_STRING: Added
1115 GNUTLS_E_HANDSHAKE_DURING_FALSE_START: Added
1116 gnutls_check_version_numeric: Added
1117 gnutls_x509_crt_equals: Added
1118 gnutls_x509_crt_equals2: Added
1119 gnutls_x509_crt_set_subject_alt_othername: Added
1120 gnutls_x509_crt_set_issuer_alt_othername: Added
1121 gnutls_x509_crt_get_signature_oid: Added
1122 gnutls_x509_crt_get_pk_oid: Added
1123 gnutls_x509_crq_set_subject_alt_othername: Added
1124 gnutls_x509_crq_get_pk_oid: Added
1125 gnutls_x509_crq_get_signature_oid: Added
1126 gnutls_x509_crl_get_signature_oid: Added
1127 gnutls_x509_privkey_generate2: Added
1128 gnutls_x509_privkey_get_seed: Added
1129 gnutls_x509_privkey_verify_seed: Added
1130 gnutls_privkey_generate2: Added
1131 gnutls_privkey_get_seed: Added
1132 gnutls_privkey_verify_seed: Added
1133 gnutls_decode_ber_digest_info: Added
1134 gnutls_encode_ber_digest_info: Added
1135 gnutls_dh_params_import_dsa: Added
1136 gnutls_session_get_master_secret: Added
1137
1138
1139 * Version 3.4.3 (released 2015-07-12)
1140
1141 ** libgnutls: Follow closely RFC5280 recommendations and use UTCTime for
1142    dates prior to 2050.
1143
1144 ** libgnutls: Force 16-byte alignment to all input to ciphers (previously it
1145    was done only when cryptodev was enabled).
1146
1147 ** libgnutls: Removed support for pthread_atfork() as it has undefined
1148    semantics when used with dlopen(), and may lead to a crash.
1149
1150 ** libgnutls: corrected failure when importing plain files
1151    with gnutls_x509_privkey_import2(), and a password was provided.
1152
1153 ** libgnutls: Don't reject certificates if a CA has the URI or IP address
1154    name constraints, and the end certificate doesn't have an IP address
1155    name or a URI set.
1156
1157 ** libgnutls: set and read the hint in DHE-PSK and ECDHE-PSK ciphersuites.
1158
1159 ** p11tool: Added --list-token-urls option, and print the token module name
1160    in list-tokens.
1161
1162 ** API and ABI modifications:
1163 gnutls_ecc_curve_get_oid: Added
1164 gnutls_digest_get_oid: Added
1165 gnutls_pk_get_oid: Added
1166 gnutls_sign_get_oid: Added
1167 gnutls_ecc_curve_get_id: Added
1168 gnutls_oid_to_digest: Added
1169 gnutls_oid_to_pk: Added
1170 gnutls_oid_to_sign: Added
1171 gnutls_oid_to_ecc_curve: Added
1172 gnutls_pkcs7_get_signature_count: Added
1173
1174
1175 * Version 3.4.2 (released 2015-06-16)
1176
1177 ** libgnutls: DTLS blocking API is more robust against infinite blocking,
1178 and will notify of more possible timeouts.
1179
1180 ** libgnutls: corrected regression with Camellia-256-GCM cipher. Reported
1181 by Manuel Pegourie-Gonnard.
1182
1183 ** libgnutls: Introduced the GNUTLS_NO_SIGNAL flag to gnutls_init(). That
1184 allows to disable SIGPIPE for writes done within gnutls.
1185
1186 ** libgnutls: Enhanced the PKCS #7 API to allow signing and verification
1187 of structures. API moved to gnutls/pkcs7.h header.
1188
1189 ** certtool: Added options to generate PKCS #7 bundles and signed
1190 structures.
1191
1192 ** API and ABI modifications:
1193 gnutls_x509_dn_get_str: Added
1194 gnutls_pkcs11_get_raw_issuer_by_subject_key_id: Added
1195 gnutls_x509_trust_list_get_issuer_by_subject_key_id: Added
1196 gnutls_x509_crt_verify_data2: Added
1197 gnutls_pkcs7_get_crt_raw2: Added
1198 gnutls_pkcs7_signature_info_deinit: Added
1199 gnutls_pkcs7_get_signature_info: Added
1200 gnutls_pkcs7_verify_direct: Added
1201 gnutls_pkcs7_verify: Added
1202 gnutls_pkcs7_get_crl_raw2: Added
1203 gnutls_pkcs7_sign: Added
1204 gnutls_pkcs7_attrs_deinit: Added
1205 gnutls_pkcs7_add_attr: Added
1206 gnutls_pkcs7_get_attr: Added
1207 gnutls_pkcs7_print: Added
1208
1209
1210 * Version 3.4.1 (released 2015-05-03)
1211
1212 ** libgnutls: gnutls_certificate_get_ours: will return the certificate even
1213 if a callback was used to send it.
1214
1215 ** libgnutls: Check for invalid length in the X.509 version field. Without
1216 the check certificates with invalid length would be detected as having an
1217 arbitrary version. Reported by Hanno Böck.
1218
1219 ** libgnutls: Handle DNS name constraints with a leading dot. Patch by
1220 Fotis Loukos.
1221
1222 ** libgnutls: Updated system-keys support for windows to compile in more
1223 versions of mingw. Patch by Tim Kosse.
1224
1225 ** libgnutls: Fix for MD5 downgrade in TLS 1.2 signatures. Reported by
1226 Karthikeyan Bhargavan [GNUTLS-SA-2015-2].
1227
1228 ** libgnutls: Reverted: The gnutls_handshake() process will enforce a timeout
1229 by default. That caused issues with non-blocking programs.
1230
1231 ** certtool: It can generate SHA256 key IDs.
1232
1233 ** gnutls-cli: fixed crash in --benchmark-ciphers. Reported by James Cloos.
1234
1235 ** configure: re-enabled the --enable-local-libopts flag
1236
1237 ** API and ABI modifications:
1238 gnutls_x509_crt_get_pk_ecc_raw: Added
1239
1240
1241 * Version 3.4.0 (released 2015-04-08)
1242
1243 ** libgnutls: Added support for AES-CCM and AES-CCM-8 (RFC6655 and RFC7251)
1244 ciphersuites. The former are enabled by default, the latter need to be
1245 explicitly enabled, since they reduce the overall security level.
1246
1247 ** libgnutls: Added support for Chacha20-Poly1305 ciphersuites following
1248 draft-mavrogiannopoulos-chacha-tls-05 and draft-irtf-cfrg-chacha20-poly1305-10.
1249 That is currently provided as technology preview and is not enabled by
1250 default, since there are no assigned ciphersuite points by IETF and there
1251 is no guarrantee of compatibility between draft versions. The ciphersuite
1252 priority string to enable it is "+CHACHA20-POLY1305".
1253
1254 ** libgnutls: Added support for encrypt-then-authenticate in CBC
1255 ciphersuites (RFC7366 -taking into account its errata text). This is
1256 enabled by default and can be disabled using the %NO_ETM priority
1257 string.
1258
1259 ** libgnutls: Added support for the extended master secret
1260 (triple-handshake fix) following draft-ietf-tls-session-hash-02.
1261
1262 ** libgnutls: Added a new simple and hard to misuse AEAD API (crypto.h).
1263
1264 ** libgnutls: SSL 3.0 is no longer included in the default priorities
1265 list. It has to be explicitly enabled, e.g., with a string like
1266 "NORMAL:+VERS-SSL3.0".
1267
1268 ** libgnutls: ARCFOUR (RC4) is no longer included in the default priorities
1269 list. It has to be explicitly enabled, e.g., with a string like
1270 "NORMAL:+ARCFOUR-128".
1271
1272 ** libgnutls: DSA signatures and DHE-DSS are no longer included in the
1273 default priorities list. They have to be explicitly enabled, e.g., with
1274 a string like "NORMAL:+DHE-DSS:+SIGN-DSA-SHA256:+SIGN-DSA-SHA1". The
1275 DSA ciphersuites were dropped because they had no deployment at all
1276 on the internet, to justify their inclusion.
1277
1278 ** libgnutls: The priority string EXPORT was completely removed. The string
1279 was already defunc as support for the EXPORT ciphersuites was removed in
1280 GnuTLS 3.2.0.
1281
1282 ** libgnutls: Added API to utilize system specific private keys in
1283 "gnutls/system-keys.h". It is currently provided as technology preview
1284 and is restricted to windows CNG keys.
1285
1286 ** libgnutls: gnutls_x509_crt_check_hostname() and friends will use
1287 RFC6125 comparison of hostnames. That introduces a dependency on libidn.
1288
1289 ** libgnutls: Depend on p11-kit 0.23.1 to comply with the final
1290 PKCS #11 URLs draft (draft-pechanec-pkcs11uri-21).
1291
1292 ** libgnutls: Depend on nettle 3.1.
1293
1294 ** libgnutls: Use getrandom() or getentropy() when available. That
1295 avoids the complexity of file descriptor handling and issues with
1296 applications closing all open file descriptors on startup.
1297
1298 ** libgnutls: Use pthread_atfork() to detect fork when available.
1299
1300 ** libgnutls: If a key purpose (extended key usage) is specified for verification,
1301 it is applied into intermediate certificates. The verification result
1302 GNUTLS_CERT_PURPOSE_MISMATCH is also introduced.
1303
1304 ** libgnutls: When gnutls_certificate_set_x509_key_file2() is used in
1305 combination with PKCS #11, or TPM URLs, it will utilize the provided
1306 password as PIN if required. That removes the requirement for the
1307 application to set a callback for PINs in that case.
1308
1309 ** libgnutls: priority strings VERS-TLS-ALL and VERS-DTLS-ALL are
1310 restricted to the corresponding protocols only, and the VERS-ALL
1311 string is introduced to catch all possible protocols.
1312
1313 ** libgnutls: Added helper functions to obtain information on PKCS #8
1314 structures.
1315
1316 ** libgnutls: Certificate chains which are provided to gnutls_certificate_credentials_t
1317 will automatically be sorted instead of failing with GNUTLS_E_CERTIFICATE_LIST_UNSORTED.
1318
1319 ** libgnutls: Added functions to export and set the record state. That
1320 allows for gnutls_record_send() and recv() to be offloaded (to kernel,
1321 hardware or any other subsystem).
1322
1323 ** libgnutls: Added the ability to register application specific URL
1324 types, which express certificates and keys using gnutls_register_custom_url().
1325
1326 ** libgnutls: Added API to override existing ciphers, digests and MACs, e.g.,
1327 to override AES-GCM using a system-specific accelerator. That is, (crypto.h)
1328 gnutls_crypto_register_cipher(), gnutls_crypto_register_aead_cipher(),
1329 gnutls_crypto_register_mac(), and gnutls_crypto_register_digest().
1330
1331 ** libgnutls: Added gnutls_ext_register() to register custom extensions.
1332 Contributed by Thierry Quemerais.
1333
1334 ** libgnutls: Added gnutls_supplemental_register() to register custom
1335 supplemental data handshake messages. Contributed by Thierry Quemerais.
1336
1337 ** libgnutls-openssl: it is no longer built by default.
1338
1339
1340 ** certtool: Added --p8-info option, which will print PKCS #8 information
1341 even if the password is not available.
1342
1343 ** certtool: --key-info option will print PKCS #8 encryption information
1344 when available.
1345
1346 ** certtool: Added the --key-id and --fingerprint options.
1347
1348 ** certtool: Added the --verify-hostname, --verify-email and --verify-purpose
1349 options to be used in certificate chain verification, to simulate verification
1350 for specific hostname and key purpose (extended key usage).
1351
1352 ** certtool: --p12-info option will print PKCS #12 MAC and cipher information
1353 when available.
1354
1355 ** certtool: it will print the A-label (ACE) names in addition to UTF-8.
1356
1357 ** p11tool: added options --set-id and --set-label.
1358
1359 ** gnutls-cli: added options --priority-list and --save-cert.
1360
1361 ** guile: Deprecated priority API has been removed. The old priority API,
1362 which had been deprecated for some time, is now gone; use 'set-session-priorities!'
1363 instead.
1364
1365 ** guile: Remove RSA parameters and related procedures. This API had been
1366 deprecated.
1367
1368 ** guile: Fix compilation on MinGW. Previously only the static version of the
1369 'guile-gnutls-v-2' library would be built, preventing dynamic loading from Guile.
1370
1371 ** API and ABI modifications:
1372 gnutls_record_get_state: Added
1373 gnutls_record_set_state: Added
1374 gnutls_aead_cipher_init: Added
1375 gnutls_aead_cipher_decrypt: Added
1376 gnutls_aead_cipher_encrypt: Added
1377 gnutls_aead_cipher_deinit: Added
1378 gnutls_pkcs12_generate_mac2: Added
1379 gnutls_pkcs12_mac_info: Added
1380 gnutls_pkcs12_bag_enc_info: Added
1381 gnutls_pkcs8_info: Added
1382 gnutls_pkcs_schema_get_name: Added
1383 gnutls_pkcs_schema_get_oid: Added
1384 gnutls_pcert_export_x509: Added
1385 gnutls_pcert_export_openpgp: Added
1386 gnutls_pcert_import_x509_list: Added
1387 gnutls_pkcs11_privkey_cpy: Added
1388 gnutls_x509_crq_get_signature_algorithm: Added
1389 gnutls_x509_trust_list_iter_get_ca: Added
1390 gnutls_x509_trust_list_iter_deinit: Added
1391 gnutls_x509_trust_list_get_issuer_by_dn: Added
1392 gnutls_pkcs11_get_raw_issuer_by_dn: Added
1393 gnutls_certificate_get_trust_list: Added
1394 gnutls_privkey_export_x509: Added
1395 gnutls_privkey_export_pkcs11: Added
1396 gnutls_privkey_export_openpgp: Added
1397 gnutls_privkey_import_ext3: Added
1398 gnutls_certificate_get_x509_key: Added
1399 gnutls_certificate_get_x509_crt: Added
1400 gnutls_certificate_get_openpgp_key: Added
1401 gnutls_certificate_get_openpgp_crt: Added
1402 gnutls_record_discard_queued: Added
1403 gnutls_session_ext_master_secret_status: Added
1404 gnutls_priority_string_list: Added
1405 gnutls_dh_params_import_raw2: Added
1406 gnutls_memset: Added
1407 gnutls_memcmp: Added
1408 gnutls_pkcs12_bag_set_privkey: Added
1409 gnutls_ocsp_resp_get_responder_raw_id: Added
1410 gnutls_system_key_iter_deinit: Added
1411 gnutls_system_key_iter_get_info: Added
1412 gnutls_system_key_delete: Added
1413 gnutls_system_key_add_x509: Added
1414 gnutls_system_recv_timeout: Added
1415 gnutls_register_custom_url: Added
1416 gnutls_pkcs11_obj_list_import_url3: Added
1417 gnutls_pkcs11_obj_list_import_url4: Added
1418 gnutls_pkcs11_obj_set_info: Added
1419 gnutls_crypto_register_cipher: Added
1420 gnutls_crypto_register_aead_cipher: Added
1421 gnutls_crypto_register_mac: Added
1422 gnutls_crypto_register_digest: Added
1423 gnutls_ext_register: Added
1424 gnutls_supplemental_register: Added
1425 gnutls_supplemental_recv: Added
1426 gnutls_supplemental_send: Added
1427 gnutls_openpgp_crt_check_email: Added
1428 gnutls_x509_crt_check_email: Added
1429 gnutls_handshake_set_hook_function: Modified
1430 gnutls_pkcs11_privkey_generate3: Added
1431 gnutls_pkcs11_copy_x509_crt2: Added
1432 gnutls_pkcs11_copy_x509_privkey2: Added
1433 gnutls_pkcs11_obj_list_import_url: Removed
1434 gnutls_pkcs11_obj_list_import_url2: Removed
1435 gnutls_certificate_client_set_retrieve_function: Removed
1436 gnutls_certificate_server_set_retrieve_function: Removed
1437 gnutls_certificate_set_rsa_export_params: Removed
1438 gnutls_certificate_type_set_priority: Removed
1439 gnutls_cipher_set_priority: Removed
1440 gnutls_compression_set_priority: Removed
1441 gnutls_kx_set_priority: Removed
1442 gnutls_mac_set_priority: Removed
1443 gnutls_protocol_set_priority: Removed
1444 gnutls_rsa_export_get_modulus_bits: Removed
1445 gnutls_rsa_export_get_pubkey: Removed
1446 gnutls_rsa_params_cpy: Removed
1447 gnutls_rsa_params_deinit: Removed
1448 gnutls_rsa_params_export_pkcs1: Removed
1449 gnutls_rsa_params_export_raw: Removed
1450 gnutls_rsa_params_generate2: Removed
1451 gnutls_rsa_params_import_pkcs1: Removed
1452 gnutls_rsa_params_import_raw: Removed
1453 gnutls_rsa_params_init: Removed
1454 gnutls_sign_callback_get: Removed
1455 gnutls_sign_callback_set: Removed
1456 gnutls_x509_crt_verify_data: Removed
1457 gnutls_x509_crt_verify_hash: Removed
1458 gnutls_pubkey_get_verify_algorithm: Removed
1459 gnutls_x509_crt_get_verify_algorithm: Removed
1460 gnutls_pubkey_verify_hash: Removed
1461 gnutls_pubkey_verify_data: Removed
1462 gnutls_record_set_max_empty_records: Removed
1463
1464 guile:
1465 set-session-cipher-priority!: Removed
1466 set-session-mac-priority!: Removed
1467 set-session-compression-method-priority!: Removed
1468 set-session-kx-priority!: Removed
1469 set-session-protocol-priority!: Removed
1470 set-session-certificate-type-priority!: Removed
1471 set-session-default-priority!: Removed
1472 set-session-default-export-priority!: Removed
1473 make-rsa-parameters: Removed
1474 rsa-parameters?: Removed
1475 set-certificate-credentials-rsa-export-parameters!: Removed
1476 pkcs1-import-rsa-parameters: Removed
1477 pkcs1-export-rsa-parameters: Removed
1478
1479
1480
1481 * Version 3.3.6 (released 2014-07-23)
1482
1483 ** libgnutls: Use inet_ntop to print IP addresses when available
1484
1485 ** libgnutls: gnutls_x509_crt_check_hostname and friends will also check
1486 IP addresses, and match documented behavior. Reported by David Woodhouse.
1487
1488 ** libgnutls: DSA key generation in FIPS140-2 mode doesn't allow 1024
1489 bit parameters.
1490
1491 ** libgnutls: fixed issue in gnutls_pkcs11_reinit() which prevented tokens
1492 being usable after a reinitialization.
1493
1494 ** libgnutls: fixed PKCS #11 private key operations after a fork.
1495
1496 ** libgnutls: fixed PKCS #11 ECDSA key generation.
1497
1498 ** libgnutls: The GNUTLS_CPUID_OVERRIDE environment variable can be used to
1499 explicitly enable/disable the use of certain CPU capabilities. Note that CPU
1500 detection cannot be overridden, i.e., VIA options cannot be enabled on an Intel
1501 CPU. The currently available options are:
1502   0x1: Disable all run-time detected optimizations
1503   0x2: Enable AES-NI
1504   0x4: Enable SSSE3
1505   0x8: Enable PCLMUL
1506   0x100000: Enable VIA padlock
1507   0x200000: Enable VIA PHE
1508   0x400000: Enable VIA PHE SHA512
1509
1510 ** libdane: added dane_query_to_raw_tlsa(); patch by Simon Arlott.
1511
1512 ** p11tool: use GNUTLS_SO_PIN to read the security officer's PIN if set.
1513
1514 ** p11tool: ask for label when one isn't provided.
1515
1516 ** p11tool: added --batch parameter to disable any interactivity.
1517
1518 ** p11tool: will not implicitly enable so-login for certain types of
1519 objects. That avoids issues with tokens that require different login
1520 types.
1521
1522 ** certtool/p11tool: Added the --curve parameter which allows to explicitly
1523 specify the curve to use.
1524
1525 ** API and ABI modifications:
1526 gnutls_certificate_set_x509_trust_dir: Added
1527 gnutls_x509_trust_list_add_trust_dir: Added
1528
1529
1530 * Version 3.3.5 (released 2014-06-26)
1531
1532 ** libgnutls: Added gnutls_record_recv_packet() and gnutls_packet_deinit().
1533 These functions provide a variant of gnutls_record_recv() that avoids
1534 the final memcpy of data.
1535
1536 ** libgnutls: gnutls_x509_crl_iter_crt_serial() was added as a
1537 faster variant of gnutls_x509_crl_get_crt_serial() when coping with
1538 very large structures.
1539
1540 ** libgnutls: When the decoding of a printable DN element fails, then treat
1541 it as unknown and print its hex value rather than failing. That works around
1542 an issue in a TURKTRST root certificate which improperly encodes the
1543 X520countryName element.
1544
1545 ** libgnutls: gnutls_x509_trust_list_add_trust_file() will return the number
1546 of certificates present in a PKCS #11 token when loading it.
1547
1548 ** libgnutls: Allow the post client hello callback to put the handshake on
1549 hold, by returning GNUTLS_E_AGAIN or GNUTLS_E_INTERRUPTED.
1550
1551 ** certtool: option --to-p12 will now consider --load-ca-certificate
1552
1553 ** certtol: Added option to specify the PKCS #12 friendly name on command
1554 line.
1555
1556 ** p11tool: Allow marking a certificate copied to a token as a CA.
1557
1558 ** API and ABI modifications:
1559 GNUTLS_PKCS11_OBJ_FLAG_MARK_CA: Added
1560 gnutls_x509_crl_iter_deinit: Added
1561 gnutls_x509_crl_iter_crt_serial: Added
1562 gnutls_record_recv_packet: Added
1563 gnutls_packet_deinit: Added
1564 gnutls_packet_get: Added
1565
1566
1567 * Version 3.3.4 (released 2014-05-31)
1568
1569 ** libgnutls: Updated Andy Polyakov's assembly code. That prevents a
1570 crash on certain CPUs.
1571
1572 ** API and ABI modifications:
1573 No changes since last version.
1574
1575
1576 * Version 3.3.3 (released 2014-05-30)
1577
1578 ** libgnutls: Eliminated memory corruption issue in Server Hello parsing.
1579 Issue reported by Joonas Kuorilehto of Codenomicon.
1580
1581 ** libgnutls: gnutls_global_set_mutex() was modified to operate with the
1582 new initialization process.
1583
1584 ** libgnutls: Increased the maximum certificate size buffer
1585 in the PKCS #11 subsystem.
1586
1587 ** libgnutls: Check the return code of getpwuid_r() instead of relying
1588 on the result value. That avoids issue in certain systems, when using
1589 tofu authentication and the home path cannot be determined. Issue reported
1590 by Viktor Dukhovni.
1591
1592 ** libgnutls-dane: Improved dane_verify_session_crt(), which now attempts to
1593 create a full chain. This addresses points from https://savannah.gnu.org/support/index.php?108552
1594
1595 ** gnutls-cli: --dane will only check the end certificate if PKIX validation
1596 has been disabled.
1597
1598 ** gnutls-cli: --benchmark-soft-ciphers has been removed. That option cannot
1599 be emulated with the implicit initialization of gnutls.
1600
1601 ** certtool: Allow multiple organizations and organizational unit names to
1602 be specified in a template.
1603
1604 ** certtool: Warn when invalid configuration options are set to a template.
1605
1606 ** ocsptool: Include path in ocsp request. This resolves #108582
1607 (https://savannah.gnu.org/support/?108582), reported by Matt McCutchen.
1608
1609 ** API and ABI modifications:
1610 gnutls_credentials_get: Added
1611
1612
1613 * Version 3.3.2 (released 2014-05-06)
1614
1615 ** libgnutls: Added the 'very weak' certificate verification profile
1616 that corresponds to 64-bit security level.
1617
1618 ** libgnutls: Corrected file descriptor leak on random generator
1619 initialization.
1620
1621 ** libgnutls: Corrected file descriptor leak on PSK password file
1622 reading. Issue identified using the Codenomicon TLS test suite.
1623
1624 ** libgnutls: Avoid deinitialization if initialization has failed.
1625
1626 ** libgnutls: null-terminate othername alternative names.
1627
1628 ** libgnutls: gnutls_x509_trust_list_get_issuer() will operate correctly
1629 on a PKCS #11 trust list.
1630
1631 ** libgnutls: Several small bug fixes identified using valgrind and
1632 the Codenomicon TLS test suite.
1633
1634 ** libgnutls-dane: Accept a certificate using DANE if there is at least one
1635 entry that matches the certificate. Patch by simon [at] arlott.org.
1636
1637 ** libgnutls-guile: Fixed compilation issue.
1638
1639 ** certtool: Allow exporting a CRL on DER format.
1640
1641 ** certtool: The ECDSA keys generated by default use the SECP256R1 curve
1642 which is supported more widely than the previously used SECP224R1.
1643
1644 ** API and ABI modifications:
1645 GNUTLS_PROFILE_VERY_WEAK: Added
1646
1647
1648 * Version 3.3.1 (released 2014-04-19)
1649
1650 ** libgnutls: Enforce more strict checks to heartbeat messages
1651 concerning padding and payload. Suggested by Peter Dettman.
1652
1653 ** libgnutls: Allow decoding PKCS #8 files with ECC parameters
1654 from openssl.
1655
1656 ** libgnutls: Several small bug fixes found by coverity.
1657
1658 ** libgnutls: The conditionally available self-test functions
1659 were moved to self-test.h.
1660
1661 ** libgnutls: Fixed issue with the check of incoming data when two
1662 different recv and send pointers have been specified. Reported and
1663 investigated by JMRecio.
1664
1665 ** libgnutls: Fixed issue in the RSA-PSK key exchange, which would
1666 result to illegal memory access if a server hint was provided. Reported
1667 by André Klitzing.
1668
1669 ** libgnutls: Fixed client memory leak in the PSK key exchange, if a
1670 server hint was provided.
1671
1672 ** libgnutls: Corrected the *get_*_othername_oid() functions.
1673
1674 ** API and ABI modifications:
1675 No changes since last version.
1676
1677
1678 * Version 3.3.0 (released 2014-04-10)
1679
1680 ** libgnutls: The initialization of the library was moved to a
1681 constructor. That is, gnutls_global_init() is no longer required
1682 unless linking with a static library or a system that does not
1683 support library constructors.
1684
1685 ** libgnutls: static libraries are not built by default.
1686
1687 ** libgnutls: PKCS #11 initialization is delayed to first usage.
1688 That avoids long delays in gnutls initialization due to broken PKCS #11
1689 modules.
1690
1691 ** libgnutls: The PKCS #11 subsystem is re-initialized "automatically"
1692 on the first PKCS #11 API call after a fork.
1693
1694 ** libgnutls: certificate verification profiles were introduced
1695 that can be specified as flags to verification functions. They
1696 are enumerations in gnutls_certificate_verification_profiles_t
1697 and can be converted to flags for use in a verification function
1698 using GNUTLS_PROFILE_TO_VFLAGS().
1699
1700 ** libgnutls: Added the ability to read system-specific initial
1701 keywords, if they are prefixed with '@'. That allows a compile-time
1702 specified configuration file to be used to read pre-configured priority
1703 strings from. That can be used to impose system specific policies.
1704
1705 ** libgnutls: Increased the default security level of priority
1706 strings (NORMAL and PFS strings require at minimum a 1008 DH prime),
1707 and set a verification profile by default.  The LEGACY keyword is
1708 introduced to set the old defaults.
1709
1710 ** libgnutls: Added support for the name constraints PKIX extension.
1711 Currently only DNS names and e-mails are supported (no URIs, IPs
1712 or DNs).
1713
1714 ** libgnutls: Security parameter SEC_PARAM_NORMAL was renamed to
1715 SEC_PARAM_MEDIUM to avoid confusion with the priority string NORMAL.
1716
1717 ** libgnutls: Added new API in x509-ext.h to handle X.509 extensions.
1718 This API handles the X.509 extensions in isolation, allowing to parse
1719 similarly formatted extensions stored in other structures.
1720
1721 ** libgnutls: When generating DSA keys the macro GNUTLS_SUBGROUP_TO_BITS
1722 can be used to specify a particular subgroup as the number of bits in
1723 gnutls_privkey_generate; e.g., GNUTLS_SUBGROUP_TO_BITS(2048, 256).
1724
1725 ** libgnutls: DH parameter generation is now delegated to nettle.
1726 That unfortunately has the side-effect that DH parameters longer than
1727 3072 bits, cannot be generated (not without a nettle update).
1728
1729 ** libgnutls: Separated nonce RNG from the main RNG. The nonce
1730 random number generator is based on salsa20/12.
1731
1732 ** libgnutls: The buffer alignment provided to crypto backend is
1733 enforced to be 16-byte aligned, when compiled with cryptodev
1734 support. That allows certain cryptodev drivers to operate more
1735 efficiently.
1736
1737 ** libgnutls: Return error when a public/private key pair that doesn't
1738 match is set into a credentials structure.
1739
1740 ** libgnutls: Depend on p11-kit 0.20.0 or later.
1741
1742 ** libgnutls: The new padding (%NEW_PADDING) experimental TLS extension has
1743 been removed. It was not approved by IETF.
1744
1745 ** libgnutls: The experimental xssl library is removed from the gnutls
1746 distribution.
1747
1748 ** libgnutls: Reduced the number of gnulib modules used in the main library.
1749
1750 ** libgnutls: Added priority string %DISABLE_WILDCARDS.
1751
1752 ** libgnutls: Added the more extensible verification function
1753 gnutls_certificate_verify_peers(), that allows checking, in addition
1754 to a peer's DNS hostname, for the key purpose of the end certificate
1755 (via PKIX extended key usage).
1756
1757 ** certtool: Timestamps for serial numbers were increased to 8 bytes,
1758 and in batch mode to 12 (appended with 4 random bytes).
1759
1760 ** certtool: When no CRL number is provided (or value set to -1), then
1761 a time-based number will be used, similarly to the serial generation
1762 number in certificates.
1763
1764 ** certtool: Print the SHA256 fingerprint of a certificate in addition
1765 to SHA1.
1766
1767 ** libgnutls: Added --enable-fips140-mode configuration option (unsupported).
1768 That option enables (when running on FIPS140-enabled system):
1769  o RSA, DSA and DH key generation as in FIPS-186-4 (using provable primes)
1770  o The DRBG-CTR-AES256 deterministic random generator from SP800-90A.
1771  o Self-tests on initialization on ciphers/MACs, public key algorithms
1772    and the random generator.
1773  o HMAC-SHA256 verification of the library on load.
1774  o MD5 is included for TLS purposes but cannot be used by the high level
1775    hashing functions.
1776  o All ciphers except AES are disabled.
1777  o All MACs and hashes except GCM and SHA are disabled (e.g., HMAC-MD5).
1778  o All keys (temporal and long term) are zeroized after use.
1779  o Security levels are adjusted to the FIPS140-2 recommendations (rather
1780    than ECRYPT).
1781
1782 ** API and ABI modifications:
1783 GNUTLS_VERIFY_DO_NOT_ALLOW_WILDCARDS: Added
1784 gnutls_certificate_verify_peers: Added
1785 gnutls_privkey_generate: Added
1786 gnutls_pkcs11_crt_is_known: Added
1787 gnutls_fips140_mode_enabled: Added
1788 gnutls_sec_param_to_symmetric_bits: Added
1789 gnutls_pubkey_export_ecc_x962: Added (replaces gnutls_pubkey_get_pk_ecc_x962)
1790 gnutls_pubkey_export_ecc_raw: Added (replaces gnutls_pubkey_get_pk_ecc_raw)
1791 gnutls_pubkey_export_dsa_raw: Added (replaces gnutls_pubkey_get_pk_dsa_raw)
1792 gnutls_pubkey_export_rsa_raw: Added (replaces gnutls_pubkey_get_pk_rsa_raw)
1793 gnutls_pubkey_verify_params: Added
1794 gnutls_privkey_export_ecc_raw: Added
1795 gnutls_privkey_export_dsa_raw: Added
1796 gnutls_privkey_export_rsa_raw: Added
1797 gnutls_privkey_import_ecc_raw: Added
1798 gnutls_privkey_import_dsa_raw: Added
1799 gnutls_privkey_import_rsa_raw: Added
1800 gnutls_privkey_verify_params: Added
1801 gnutls_x509_crt_check_hostname2: Added
1802 gnutls_openpgp_crt_check_hostname2: Added
1803 gnutls_x509_name_constraints_init: Added
1804 gnutls_x509_name_constraints_deinit: Added
1805 gnutls_x509_crt_get_name_constraints: Added
1806 gnutls_x509_name_constraints_add_permitted: Added
1807 gnutls_x509_name_constraints_add_excluded: Added
1808 gnutls_x509_crt_set_name_constraints: Added
1809 gnutls_x509_name_constraints_get_permitted: Added
1810 gnutls_x509_name_constraints_get_excluded: Added
1811 gnutls_x509_name_constraints_check: Added
1812 gnutls_x509_name_constraints_check_crt: Added
1813 gnutls_x509_crl_get_extension_data2: Added
1814 gnutls_x509_crt_get_extension_data2: Added
1815 gnutls_x509_crq_get_extension_data2: Added
1816 gnutls_subject_alt_names_init: Added
1817 gnutls_subject_alt_names_deinit: Added
1818 gnutls_subject_alt_names_get: Added
1819 gnutls_subject_alt_names_set: Added
1820 gnutls_x509_ext_import_subject_alt_names: Added
1821 gnutls_x509_ext_export_subject_alt_names: Added
1822 gnutls_x509_crl_dist_points_init: Added
1823 gnutls_x509_crl_dist_points_deinit: Added
1824 gnutls_x509_crl_dist_points_get: Added
1825 gnutls_x509_crl_dist_points_set: Added
1826 gnutls_x509_ext_import_crl_dist_points: Added
1827 gnutls_x509_ext_export_crl_dist_points: Added
1828 gnutls_x509_ext_import_name_constraints: Added
1829 gnutls_x509_ext_export_name_constraints: Added
1830 gnutls_x509_aia_init: Added
1831 gnutls_x509_aia_deinit: Added
1832 gnutls_x509_aia_get: Added
1833 gnutls_x509_aia_set: Added
1834 gnutls_x509_ext_import_aia: Added
1835 gnutls_x509_ext_export_aia: Added
1836 gnutls_x509_ext_import_subject_key_id: Added
1837 gnutls_x509_ext_export_subject_key_id: Added
1838 gnutls_x509_ext_export_authority_key_id: Added
1839 gnutls_x509_ext_import_authority_key_id: Added
1840 gnutls_x509_aki_init: Added
1841 gnutls_x509_aki_get_id: Added
1842 gnutls_x509_aki_get_cert_issuer: Added
1843 gnutls_x509_aki_set_id: Added
1844 gnutls_x509_aki_set_cert_issuer: Added
1845 gnutls_x509_aki_deinit: Added
1846 gnutls_x509_ext_import_private_key_usage_period: Added
1847 gnutls_x509_ext_export_private_key_usage_period: Added
1848 gnutls_x509_ext_import_basic_constraints: Added
1849 gnutls_x509_ext_export_basic_constraints: Added
1850 gnutls_x509_ext_import_key_usage: Added
1851 gnutls_x509_ext_export_key_usage: Added
1852 gnutls_x509_ext_import_proxy: Added
1853 gnutls_x509_ext_export_proxy: Added
1854 gnutls_x509_policies_init: Added
1855 gnutls_x509_policies_deinit: Added
1856 gnutls_x509_policies_get: Added
1857 gnutls_x509_policies_set: Added
1858 gnutls_x509_ext_import_policies: Added
1859 gnutls_x509_ext_export_policies: Added
1860 gnutls_x509_key_purpose_init: Added
1861 gnutls_x509_key_purpose_deinit: Added
1862 gnutls_x509_key_purpose_set: Added
1863 gnutls_x509_key_purpose_get: Added
1864 gnutls_x509_ext_import_key_purposes: Added
1865 gnutls_x509_ext_export_key_purposes: Added
1866 gnutls_digest_self_test: Added (conditionally)
1867 gnutls_mac_self_test: Added (conditionally)
1868 gnutls_pk_self_test: Added (conditionally)
1869 gnutls_cipher_self_test: Added (conditionally)
1870 gnutls_global_set_mem_functions: Deprecated
1871
1872
1873 * Version 3.2.6 (released 2013-10-31)
1874
1875 ** libgnutls: Support for TPM via trousers is now enabled by default.
1876
1877 ** libgnutls: Camellia in GCM mode has been added in default priorities, and
1878 GCM mode is prioritized over CBC in all of the default priority strings.
1879
1880 ** libgnutls: Added ciphersuite GNUTLS_ECDHE_RSA_AES_256_CBC_SHA384.
1881
1882 ** libgnutls: Fixed ciphersuites GNUTLS_ECDHE_ECDSA_CAMELLIA_256_CBC_SHA384,
1883 GNUTLS_ECDHE_RSA_CAMELLIA_256_CBC_SHA384 and GNUTLS_PSK_CAMELLIA_128_GCM_SHA256.
1884 Reported by Stefan Buehler.
1885
1886 ** libgnutls: Added support for ISO OID for RSA-SHA1 signatures.
1887
1888 ** libgnutls: Minimum acceptable DH group parameters were increased to 767
1889 bits from 727.
1890
1891 ** libgnutls: Added function to obtain random data from PKCS #11 tokens.
1892 Contributed by Wolfgang Meyer zu Bergsten.
1893
1894 ** gnulib: updated.
1895
1896 ** libdane: Fixed a one-off bug in dane_query_tlsa() introduced by the
1897 previous fix. Reported by Tomas Mraz.
1898
1899 ** p11tool: Added option generate-random.
1900
1901 ** API and ABI modifications:
1902 gnutls_pkcs11_token_get_random: Added
1903
1904
1905 * Version 3.2.5 (released 2013-10-23)
1906
1907 ** libgnutls: Documentation and build-time fixes.
1908
1909 ** libgnutls: Allow the generation of DH groups of less than 700 bits.
1910
1911 ** libgnutls: Added several combinations of ciphersuites with SHA256 and SHA384 as MAC,
1912 as well as Camellia with GCM.
1913
1914 ** libdane: Added interfaces to allow initialization of dane_query_t from
1915 external DNS resolutions, and to allow direct verification of a certificate
1916 chain against a dane_query_t. Contributed by Christian Grothoff.
1917
1918 ** libdane: Fixed a buffer overflow in dane_query_tlsa(). This could be
1919 triggered by a DNS server supplying more than 4 DANE records. Report and fix
1920 by Christian Grothoff.
1921
1922 ** srptool: Fixed index command line option. Patch by Attila Molnar.
1923
1924 ** gnutls-cli: Added support for inline commands, using the
1925 --inline-commands-prefix and --inline-commands options. Patch by Raj Raman.
1926
1927 ** certtool: pathlen constraint is now read correctly. Reported by
1928 Christoph Seitz.
1929
1930 ** API and ABI modifications:
1931 gnutls_certificate_get_crt_raw: Added
1932 dane_verify_crt_raw: Added
1933 dane_raw_tlsa: Added
1934
1935
1936 * Version 3.2.4 (released 2013-08-31)
1937
1938 ** libgnutls: Fixes when session tickets and session DB are used.
1939 Report and initial patch by Stefan Buehler.
1940
1941 ** libgnutls: Added the RSA-PSK key exchange. Patch by by Frank Morgner,
1942 based on previous patch by Bardenheuer GmbH and Bundesdruckerei GmbH.
1943
1944 ** libgnutls: Added ciphersuites that use ARCFOUR with ECDHE. Patch
1945 by Stefan Buehler.
1946
1947 ** libgnutls: Added the PFS priority string option.
1948
1949 ** libgnutls: Gnulib included files are strictly LGPLv2.
1950
1951 ** libgnutls: Corrected gnutls_certificate_server_set_request().
1952 Reported by Petr Pisar.
1953
1954 ** API and ABI modifications:
1955 gnutls_record_set_timeout: Exported
1956
1957
1958 * Version 3.2.3 (released 2013-07-30)
1959
1960 ** libgnutls: Fixes in parsing of priority strings. Patch by Stefan Buehler.
1961
1962 ** libgnutls: Solve issue with received TLS packets that exceed 2^14.
1963 (this fixes a bug that was accidentally introduced in 3.2.2)
1964
1965 ** libgnutls: Removed gnulib modules under LGPLv3 that could possibly be
1966 used by the library.
1967
1968 ** libgnutls: Fixes in gnutls_record_send_range(). Report and initial fix by
1969 Alfredo Pironti.
1970
1971 ** API and ABI modifications:
1972 gnutls_priority_kx_list: Added
1973 gnutls_priority_mac_list: Added
1974 gnutls_priority_cipher_list: Added
1975
1976
1977 * Version 3.2.2 (released 2013-07-14)
1978
1979 ** libgnutls: Several optimizations in the related to packet processing
1980 subsystems.
1981
1982 ** libgnutls: DTLS replay detection can now be disabled (to be used
1983 in certain transport layers like SCTP).
1984
1985 ** libgnutls: Fixes in SRTP extension generation when MKI is being
1986 used.
1987
1988 ** libgnutls: Added ability to set hooks before or after sending or receiving
1989 any handshake message with gnutls_handshake_set_hook_function().
1990
1991 ** API and ABI modifications:
1992 GNUTLS_NO_REPLAY_PROTECTION: Added
1993 gnutls_certificate_set_trust_list: Added
1994 gnutls_cipher_get_tag_size: Added
1995 gnutls_record_overhead_size: Added
1996 gnutls_est_record_overhead_size: Added
1997 gnutls_handshake_set_hook_function: Added
1998 gnutls_handshake_description_get_name: Added
1999 gnutls_digest_list: Added
2000 gnutls_digest_get_id: Added
2001 gnutls_digest_get_name: Added
2002
2003
2004 * Version 3.2.1 (released 2013-06-01)
2005
2006 ** libgnutls: Allow ECC when in SSL 3.0 to work-around a bug in certain
2007 openssl versions.
2008
2009 ** libgnutls: Fixes in interrupted function resumption. Report
2010 and patch by Tim Kosse.
2011
2012 ** libgnutls: Corrected issue when receiving client hello verify requests
2013 in DTLS.
2014
2015 ** libgnutls: Fixes in DTLS record overhead size calculations.
2016
2017 ** libgnutls: gnutls_handshake_get_last_in() was fixed. Reported
2018 by Mann Ern Kang.
2019
2020 ** API and ABI modifications:
2021 gnutls_session_set_id: Added
2022
2023
2024 * Version 3.2.0 (released 2013-05-10)
2025
2026 ** libgnutls: Use nettle's elliptic curve implementation.
2027
2028 ** libgnutls: Added Salsa20 cipher
2029
2030 ** libgnutls: Added UMAC-96 and UMAC-128
2031
2032 ** libgnutls: Added ciphersuites involving Salsa20 and UMAC-96.
2033 As they are not standardized they are defined using private ciphersuite
2034 numbers.
2035
2036 ** libgnutls: Added support for DTLS 1.2.
2037
2038 ** libgnutls: Added support for the Application Layer Protocol Negotiation
2039 (ALPN) extension.
2040
2041 ** libgnutls: Removed support for the RSA-EXPORT ciphersuites.
2042
2043 ** libgnutls: Avoid linking to librt (that also avoids unnecessary
2044 linking to pthreads if p11-kit isn't used).
2045
2046 ** API and ABI modifications:
2047 gnutls_cipher_get_iv_size: Added
2048 gnutls_hmac_set_nonce: Added
2049 gnutls_mac_get_nonce_size: Added
2050
2051
2052 * Version 3.1.10 (released 2013-03-22)
2053
2054 ** certtool: When generating PKCS #12 files use by default the
2055 ARCFOUR (RC4) cipher to be compatible with devices that don't
2056 support AES with PKCS #12.
2057
2058 ** libgnutls: Load CA certificates in android 4.x systems.
2059
2060 ** libgnutls: Optimized CA certificate loading.
2061
2062 ** libgnutls: Private keys are overwritten on deinitialization.
2063
2064 ** libgnutls: PKCS #11 slots are scanned only when needed, not
2065 on initialization. This speeds up gnutls initialization when smart
2066 cards are present.
2067
2068 ** libgnutls: Corrected issue in the (deprecated) external key
2069 signing interface, when used with TLS 1.2. Reported by Bjorn H. Christensen.
2070
2071 ** libgnutls: Fixes in openpgp handshake with fingerprints. Reported by
2072 Joke de Buhr.
2073
2074 ** libgnutls-dane: Updated DANE verification options.
2075
2076 ** configure: Trust store file must be explicitly set or unset when
2077 cross compiling.
2078
2079 ** API and ABI modifications:
2080 gnutls_x509_crt_get_issuer_dn2: Added
2081 gnutls_x509_crt_get_dn2: Added
2082 gnutls_x509_crl_get_issuer_dn2: Added
2083 gnutls_x509_crq_get_dn2: Added
2084 gnutls_x509_trust_list_remove_trust_mem: Added
2085 gnutls_x509_trust_list_remove_trust_file: Added
2086 gnutls_x509_trust_list_remove_cas: Added
2087 gnutls_session_get_desc: Added
2088 gnutls_privkey_sign_raw_data: Added
2089 gnutls_privkey_status: Added
2090
2091
2092 * Version 3.1.9 (released 2013-02-27)
2093
2094 ** certtool: Option --to-p12 will now ask for a password to generate
2095 a PKCS #12 file from an encrypted key file. Reported by Yan Fiz.
2096
2097 ** libgnutls: Corrected issue in gnutls_pubkey_verify_data().
2098
2099 ** libgnutls: Corrected parsing issue in XMPP within a subject
2100 alternative name. Reported by James Cloos.
2101
2102 ** libgnutls: gnutls_pkcs11_reinit() will reinitialize all PKCS #11
2103 modules, and not only the ones loaded via p11-kit.
2104
2105 ** libgnutls: Added function to check whether the private key is
2106 still available (inserted).
2107
2108 ** libgnutls: Try to detect fork even during nonce generation.
2109
2110 ** API and ABI modifications:
2111 gnutls_handshake_set_random: Added
2112 gnutls_transport_set_int2: Added
2113 gnutls_transport_get_int2: Added
2114 gnutls_transport_get_int: Added
2115 gnutls_record_cork: Exported
2116 gnutls_record_uncork: Exported
2117 gnutls_pkcs11_privkey_status: Added
2118
2119
2120 * Version 3.1.8 (released 2013-02-10)
2121
2122 ** libgnutls: Fixed issue in gnutls_x509_privkey_import2() which didn't return
2123 GNUTLS_E_DECRYPTION_FAILED in all cases, and affect certtool operation
2124 with encrypted keys. Reported by Yan Fiz.
2125
2126 ** libgnutls: The minimum DH bits accepted by priorities NORMAL and
2127 PERFORMANCE was set to previous defaults 727 bits. Reported by Diego
2128 Elio Petteno.
2129
2130 ** libgnutls: Corrected issue which prevented gnutls_pubkey_verify_hash()
2131 to operate with long keys. Reported by Erik A Jensen.
2132
2133 ** API and ABI modifications:
2134 No changes since last version.
2135
2136
2137 * Version 3.1.7 (released 2013-02-04)
2138
2139 ** certtool: Added option "dn" which allows to directly set the DN
2140 in a template from an RFC4514 string.
2141
2142 ** danetool: Added options: --dlv and --insecure. Suggested by Paul Wouters.
2143
2144 ** libgnutls-xssl: Added a new library to simplify GnuTLS usage.
2145
2146 ** libgnutls-dane: Added function to specify a DLV file.
2147
2148 ** libgnutls: Heartbeat code was made optional.
2149
2150 ** libgnutls: Fixes in server side of DTLS-0.9.
2151
2152 ** libgnutls: DN variable 'T' was expanded to 'title'.
2153
2154 ** libgnutls: Fixes in record padding parsing to prevent a timing attack.
2155 Issue reported by Kenny Paterson and Nadhem Alfardan.
2156
2157 ** libgnutls: Added functions to directly set the DN in a certificate
2158 or request from an RFC4514 string.
2159
2160 ** libgnutls: Optimizations in the random generator. The re-seeding of
2161 it is now explicitly done on every session deinit.
2162
2163 ** libgnutls: Simplified the DTLS sliding window implementation.
2164
2165 ** libgnutls: The minimum DH bits accepted by a client are now set
2166 by the specified priority string. The current values correspond to the
2167 previous defaults (727 bits), except for the SECURE128 and SECURE192
2168 strings which increase the minimum to 1248 and 1776 respectively.
2169
2170 ** libgnutls: Added the gnutls_record_cork() and uncork API to enable
2171 buffering in sending application data.
2172
2173 ** libgnutls: Removed default random padding, and added a length-hiding interface
2174 instead.  Both the server and the client must support this extension. Whether
2175 length-hiding can be used on a given session can be checked using
2176 gnutls_record_can_use_length_hiding(). Contributed by Alfredo Pironti.
2177
2178 ** libgnutls: Added the experimental %NEW_PADDING priority string. It enables
2179 a new padding mechanism in TLS allowing arbitrary padding in TLS records
2180 in all ciphersuites, which makes length-hiding more efficient and solves
2181 the issues with timing attacks on CBC ciphersuites.
2182
2183 ** libgnutls: Corrected gnutls_cipher_decrypt2() when used with AEAD
2184 ciphers (i.e., AES-GCM). Reported by William McGovern.
2185
2186 ** API and ABI modifications:
2187 gnutls_db_check_entry_time: Added
2188 gnutls_record_set_timeout: Added
2189 gnutls_record_get_random_padding_status: Added
2190 gnutls_x509_crt_set_dn: Added
2191 gnutls_x509_crt_set_issuer_dn: Added
2192 gnutls_x509_crq_set_dn: Added
2193 gnutls_range_split: Added
2194 gnutls_record_send_range: Added
2195 gnutls_record_set_max_empty_records: Added
2196 gnutls_record_can_use_length_hiding: Added
2197 gnutls_rnd_refresh: Added
2198 xssl_deinit: Added
2199 xssl_flush: Added
2200 xssl_read: Added
2201 xssl_getdelim: Added
2202 xssl_write: Added
2203 xssl_printf: Added
2204 xssl_sinit: Added
2205 xssl_client_init: Added
2206 xssl_server_init: Added
2207 xssl_get_session: Added
2208 xssl_get_verify_status: Added
2209 xssl_cred_init: Added
2210 xssl_cred_deinit: Added
2211 dane_state_set_dlv_file: Added
2212 GNUTLS_SEC_PARAM_EXPORT: Added
2213 GNUTLS_SEC_PARAM_VERY_WEAK: Added
2214
2215
2216 * Version 3.1.6 (released 2013-01-02)
2217
2218 ** libgnutls: Fixed record padding parsing issue. Reported by Kenny
2219 Paterson and Nadhem Alfardan.
2220
2221 ** libgnutls: Several updates in the ASN.1 string handling subsystem.
2222
2223 ** libgnutls: gnutls_x509_crt_get_policy() allows for a list of zero
2224 policy qualifiers.
2225
2226 ** libgnutls: Ignore heartbeat messages when received out-of-order,
2227 instead of issuing an error.
2228
2229 ** libgnutls: Stricter RSA PKCS #1 1.5 encoding and decoding. Reported
2230 by Kikuchi Masashi.
2231
2232 ** libgnutls: TPM support is disabled by default because GPL programs
2233 cannot link with it. Use --with-tpm to enable it.
2234
2235 ** libgnutls-guile: Fixed parallel compilation issue.
2236
2237 ** gnutls-cli: It will try to connect to all possible returned addresses
2238 before failing.
2239
2240 ** API and ABI modifications:
2241 No changes since last version.
2242
2243
2244 * Version 3.1.5 (released 2012-11-24)
2245
2246 ** libgnutls: Added functions to parse the certificates policies
2247 extension.
2248
2249 ** libgnutls: Handle BMPString (UCS-2) encoding in the Distinguished
2250 Name by translating it to UTF-8 (works on windows or systems with iconv).
2251
2252 ** libgnutls: Added PKCS #11 key generation function that returns the
2253 public key on generation.
2254
2255 ** libgnutls: Corrected bug in priority string parsing, that mostly
2256 affected combined levels. Patch by Tim Kosse.
2257
2258 ** certtool: The --pubkey-info option can be combined with the
2259 --load-privkey or --load-request to print the corresponding public keys.
2260
2261 ** certtool: It is able to set certificate policies via a template.
2262
2263 ** certtool: Added --hex-numbers option which prints big numbers in
2264 an easier to parse format.
2265
2266 ** p11tool: After key generation, outputs the public key (useful in
2267 tokens that do not store the public key).
2268
2269 ** danetool: It is being built even without libgnutls-dane (the
2270 --check functionality is disabled though).
2271
2272 ** API and ABI modifications:
2273 gnutls_pkcs11_privkey_generate2: Added
2274 gnutls_x509_crt_get_policy: Added
2275 gnutls_x509_crt_set_policy: Added
2276 gnutls_x509_policy_release: Added
2277 gnutls_pubkey_import_x509_crq: Added
2278 gnutls_pubkey_print: Added
2279 GNUTLS_CRT_PRINT_FULL_NUMBERS: Added
2280
2281
2282 * Version 3.1.4 (released 2012-11-10)
2283
2284 ** libgnutls: gnutls_certificate_verify_peers2() will set flags depending on
2285 the available revocation data validity.
2286
2287 ** libgnutls: Added gnutls_certificate_verification_status_print(),
2288 a function to print the verification status code in human readable text.
2289
2290 ** libgnutls: Added priority string %VERIFY_DISABLE_CRL_CHECKS.
2291
2292 ** libgnutls: Simplified certificate verification by adding
2293 gnutls_certificate_verify_peers3().
2294
2295 ** libgnutls: Added support for extension to establish keys for SRTP.
2296 Contributed by Martin Storsjo.
2297
2298 ** libgnutls: The X.509 verification functions check the key
2299 usage bits and pathlen constraints and on failure output
2300 GNUTLS_CERT_SIGNER_CONSTRAINTS_FAILURE.
2301
2302 ** libgnutls: gnutls_x509_crl_verify() includes the time checks.
2303
2304 ** libgnutls: Added verification flag GNUTLS_VERIFY_DO_NOT_ALLOW_UNSORTED_CHAIN
2305 and made GNUTLS_VERIFY_ALLOW_UNSORTED_CHAIN the default.
2306
2307 ** libgnutls: Always tolerate key usage violation errors from the side
2308 of the peer, but also notify via an audit message.
2309
2310 ** gnutls-cli: Added --local-dns option.
2311
2312 ** danetool: Corrected bug that prevented loading PEM files.
2313
2314 ** danetool: Added --check option to allow querying and verifying
2315 a site's DANE data.
2316
2317 ** libgnutls-dane: Added pkg-config file for the library.
2318
2319 ** API and ABI modifications:
2320 gnutls_session_get_id2: Added
2321 gnutls_sign_is_secure: Added
2322 gnutls_certificate_verify_peers3: Added
2323 gnutls_ocsp_status_request_is_checked: Added
2324 gnutls_certificate_verification_status_print: Added
2325 gnutls_srtp_set_profile: Added
2326 gnutls_srtp_set_profile_direct: Added
2327 gnutls_srtp_get_selected_profile: Added
2328 gnutls_srtp_get_profile_name: Added
2329 gnutls_srtp_get_profile_id: Added
2330 gnutls_srtp_get_keys: Added
2331 gnutls_srtp_get_mki: Added
2332 gnutls_srtp_set_mki: Added
2333 gnutls_srtp_profile_t: Added
2334 dane_cert_type_name: Added
2335 dane_match_type_name: Added
2336 dane_cert_usage_name: Added
2337 dane_verification_status_print: Added
2338 GNUTLS_CERT_REVOCATION_DATA_SUPERSEDED: Added
2339 GNUTLS_CERT_REVOCATION_DATA_ISSUED_IN_FUTURE: Added
2340 GNUTLS_CERT_SIGNER_CONSTRAINTS_FAILURE: Added
2341 GNUTLS_CERT_UNEXPECTED_OWNER: Added
2342 GNUTLS_VERIFY_DO_NOT_ALLOW_UNSORTED_CHAIN: Added
2343
2344
2345 * Version 3.1.3 (released 2012-10-12)
2346
2347 ** libgnutls: Added support for the OCSP Certificate Status
2348 extension.
2349
2350 ** libgnutls: gnutls_certificate_verify_peers2() will use the OCSP
2351 certificate status extension in verification.
2352
2353 ** libgnutls: Bug fixes in gnutls_x509_privkey_import_openssl().
2354
2355 ** libgnutls: Increased maximum password length in the PKCS #12
2356 functions.
2357
2358 ** libgnutls: Fixed the receipt of session tickets during session resumption.
2359 Reported by danblack at http://savannah.gnu.org/support/?108146
2360
2361 ** libgnutls: Added functions to export structures in an allocated buffer.
2362
2363 ** libgnutls: Added gnutls_ocsp_resp_check_crt() to check whether the OCSP
2364 response corresponds to the given certificate.
2365
2366 ** libgnutls: In client side gnutls_init() enables the session ticket and
2367 OCSP certificate status request extensions by default. The flag
2368 GNUTLS_NO_EXTENSIONS can be used to prevent that.
2369
2370 ** libgnutls: Several updates in the OpenPGP code. The generating code
2371 is fully RFC6091 compliant and RFC5081 support is only supported in client
2372 mode.
2373
2374 ** libgnutls-dane: Added. It is a library to provide DANE with DNSSEC
2375 certificate verification.
2376
2377 ** gnutls-cli: Added --dane option to enable DANE certificate verification.
2378
2379 ** danetool: Added tool to generate DANE TLSA Resource Records (RR).
2380
2381 ** API and ABI modifications:
2382 gnutls_certificate_get_peers_subkey_id: Added
2383 gnutls_certificate_set_ocsp_status_request_function: Added
2384 gnutls_certificate_set_ocsp_status_request_file: Added
2385 gnutls_ocsp_status_request_enable_client: Added
2386 gnutls_ocsp_status_request_get: Added
2387 gnutls_ocsp_resp_check_crt: Added
2388 gnutls_dh_params_export2_pkcs3: Added
2389 gnutls_pubkey_export2: Added
2390 gnutls_x509_crt_export2: Added
2391 gnutls_x509_dn_export2: Added
2392 gnutls_x509_crl_export2: Added
2393 gnutls_pkcs7_export2: Added
2394 gnutls_x509_privkey_export2: Added
2395 gnutls_x509_privkey_export2_pkcs8: Added
2396 gnutls_x509_crq_export2: Added
2397 gnutls_openpgp_crt_export2: Added
2398 gnutls_openpgp_privkey_export2: Added
2399 gnutls_pkcs11_obj_export2: Added
2400 gnutls_pkcs12_export2: Added
2401 gnutls_pubkey_import_openpgp_raw: Added
2402 gnutls_pubkey_import_x509_raw: Added
2403 dane_state_init: Added
2404 dane_state_deinit: Added
2405 dane_query_tlsa: Added
2406 dane_query_status: Added
2407 dane_query_entries: Added
2408 dane_query_data: Added
2409 dane_query_deinit: Added
2410 dane_verify_session_crt: Added
2411 dane_verify_crt: Added
2412 dane_strerror: Added
2413
2414
2415 * Version 3.1.2 (released 2012-09-26)
2416
2417 ** libgnutls: Fixed bug in gnutls_x509_trust_list_add_system_trust()
2418 and gnutls_x509_trust_list_add_trust_mem() that prevented the loading
2419 of certificates in the windows platform.
2420
2421 ** libgnutls: Corrected bug in OpenPGP subpacket encoding.
2422
2423 ** libgnutls: Added support for DTLS/TLS heartbeats by Olga Smolenchuk.
2424 (the work was done during Google Summer of Code).
2425
2426 ** libgnutls: Added X.509 certificate verification flag
2427 GNUTLS_VERIFY_ALLOW_UNSORTED_CHAIN. This flag allows the verification
2428 of unsorted certificate chains and is enabled by default for
2429 TLS certificate verification (if gnutls_certificate_set_verify_flags()
2430 does not override it).
2431
2432 ** libgnutls: Prints warning on certificates that contain keys of
2433 an insecure level. If the %COMPAT priority flag is not specified
2434 the TLS connection fails.
2435
2436 ** libgnutls: Correctly restore gnutls_record_recv() in DTLS mode
2437 if interrupted during the retrasmition of handshake data.
2438
2439 ** libgnutls: Better mingw32 support (patch by LRN).
2440
2441 ** libgnutls: The %COMPAT keyword, if specified, will tolerate
2442 key usage violation errors (they are far too common to ignore).
2443
2444 ** libgnutls: Added GNUTLS_STATELESS_COMPRESSION flag to gnutls_init(),
2445 which provides a tool to counter compression-related attacks where
2446 parts of the data are controlled by the attacker _and_ are placed in
2447 separate records (use with care - do not use compression if not sure).
2448
2449 ** libgnutls: Depends on libtasn1 2.14 or later.
2450
2451 ** certtool: Prints the number of bits of the public key algorithm
2452 parameter in a private key.
2453
2454 ** API and ABI modifications:
2455 gnutls_x509_privkey_get_pk_algorithm2: Added
2456 gnutls_heartbeat_ping: Added
2457 gnutls_heartbeat_pong: Added
2458 gnutls_heartbeat_allowed: Added
2459 gnutls_heartbeat_enable: Added
2460 gnutls_heartbeat_set_timeouts: Added
2461 gnutls_heartbeat_get_timeout: Added
2462 GNUTLS_SEC_PARAM_WEAK: Added
2463 GNUTLS_SEC_PARAM_INSECURE: Added
2464
2465 * Version 3.1.1 (released 2012-09-02)
2466
2467 ** gnutls-serv: Listens on IPv6. Patch by Bernhard R. Link.
2468
2469 ** certtool: Changes in password handling of certtool.
2470 Ask password when required and only if the '--password' option is not
2471 given. If the '--password' option is given during key generation then
2472 assume the PKCS #8 file format, instead of ignoring the password.
2473
2474 ** tpmtool: No longer asks for key password in registered keys.
2475
2476 ** libgnutls: Elliptic curve code was optimized by Ilya Tumaykin.
2477 wmNAF is now used for point multiplication and other optimizations.
2478 (the major part of the work was done during Google Summer of Code).
2479
2480 ** libgnutls: The default pull_timeout_function only uses select
2481 instead of a combination of select() and recv() to prevent issues
2482 when used in stream sockets in some systems.
2483
2484 ** libgnutls: Be tolerant in ECDSA signature violations (e.g. using
2485 SHA256 with a SECP384 curve instead of SHA-384), to interoperate with
2486 openssl.
2487
2488 ** libgnutls: Fixed DSA and ECDSA signature generation in smart
2489 cards. Thanks to Andreas Schwier from cardcontact.de for providing
2490 me with ECDSA capable smart cards.
2491
2492 ** API and ABI modifications:
2493 gnutls_sign_algorithm_get: Added
2494 gnutls_sign_get_hash_algorithm: Added
2495 gnutls_sign_get_pk_algorithm: Added
2496
2497
2498 * Version 3.1.0 (released 2012-08-15)
2499
2500 ** libgnutls: Added direct support for TPM as a cryptographic module
2501 in gnutls/tpm.h. TPM keys can be used in functions accepting files
2502 using URLs of the following types:
2503   tpmkey:file=/path/to/file
2504   tpmkey:uuid=7f468c16-cb7f-11e1-824d-b3a4f4b20343;storage=user
2505
2506 ** libgnutls: Priority string level keywords can be combined.
2507 For example the string "SECURE256:+SUITEB128" is now allowed.
2508
2509 ** libgnutls: requires libnettle 2.5.
2510
2511 ** libgnutls: Use the PKCS #1 1.5 encoding provided by nettle (2.5)
2512 for encryption and signatures.
2513
2514 ** libgnutls: Added GNUTLS_CERT_SIGNATURE_FAILURE to differentiate between
2515 generic errors and signature verification errors in the verification
2516 functions.
2517
2518 ** libgnutls: Added gnutls_pkcs12_simple_parse() as a helper function
2519 to simplify parsing in most PKCS #12 use cases.
2520
2521 ** libgnutls: gnutls_certificate_set_x509_simple_pkcs12_file() adds
2522 the whole certificate chain (if any) to the credentials structure, instead
2523 of only the end-user certificate.
2524
2525 ** libgnutls: Key import functions such as gnutls_pkcs12_simple_parse()
2526 and gnutls_x509_privkey_import_pkcs8(), return consistently
2527 GNUTLS_E_DECRYPTION_FAILED if the input structure is encrypted but no
2528 password was provided.
2529
2530 ** libgnutls: Added gnutls_handshake_set_timeout() a function that
2531 allows to set the maximum time spent in a handshake.
2532
2533 ** libgnutlsxx: Added session::set_transport_vec_push_function. Patch
2534 by Alexandre Bique.
2535
2536 ** tpmtool: Added. It is a tool to generate private keys in the
2537 TPM.
2538
2539 ** gnutls-cli: --benchmark-tls was split to --benchmark-tls-kx
2540 and --benchmark-tls-ciphers
2541
2542 ** certtool: generated PKCS #12 structures may hold more than one
2543 private key. Patch by Lucas Fisher.
2544
2545 ** certtool: Added option --null-password to generate/decrypt keys
2546 that use a NULL password (in schemas that distinguish between NULL
2547 an empty passwords).
2548
2549 ** minitasn1: Upgraded to libtasn1 version 2.13.
2550
2551 ** API and ABI modifications:
2552 GNUTLS_CERT_SIGNATURE_FAILURE: Added
2553 GNUTLS_CAMELLIA_192_CBC: Added
2554 GNUTLS_PKCS_NULL_PASSWORD: Added
2555 gnutls_url_is_supported: Added
2556 gnutls_pkcs11_obj_list_import_url2: Added
2557 gnutls_pkcs11_obj_set_pin_function: Added
2558 gnutls_pkcs11_privkey_set_pin_function: Added
2559 gnutls_pkcs11_get_pin_function: Added
2560 gnutls_privkey_import_tpm_raw: Added
2561 gnutls_privkey_import_tpm_url: Added
2562 gnutls_privkey_import_pkcs11_url: Added
2563 gnutls_privkey_import_openpgp_raw: Added
2564 gnutls_privkey_import_x509_raw: Added
2565 gnutls_privkey_import_ext2: Added
2566 gnutls_privkey_import_url: Added
2567 gnutls_privkey_set_pin_function: Added
2568 gnutls_tpm_privkey_generate: Added
2569 gnutls_tpm_key_list_deinit: Added
2570 gnutls_tpm_key_list_get_url: Added
2571 gnutls_tpm_get_registered: Added
2572 gnutls_tpm_privkey_delete: Added
2573 gnutls_pubkey_import_tpm_raw: Added
2574 gnutls_pubkey_import_tpm_url: Added
2575 gnutls_pubkey_import_url: Added
2576 gnutls_pubkey_verify_hash2: Added
2577 gnutls_pubkey_set_pin_function: Added
2578 gnutls_x509_privkey_import2: Added
2579 gnutls_x509_privkey_import_openssl: Added
2580 gnutls_x509_crt_set_pin_function: Added
2581 gnutls_load_file: Added
2582 gnutls_pkcs12_simple_parse: Added
2583 gnutls_certificate_set_x509_system_trust: Added
2584 gnutls_certificate_set_pin_function: Added
2585 gnutls_x509_trust_list_add_system_trust: Added
2586 gnutls_x509_trust_list_add_trust_file: Added
2587 gnutls_x509_trust_list_add_trust_mem: Added
2588 gnutls_pk_to_sign: Added
2589 gnutls_handshake_set_timeout: Added
2590 gnutls_pubkey_verify_hash: Deprecated (use gnutls_pubkey_verify_hash2)
2591 gnutls_pubkey_verify_data: Deprecated (use gnutls_pubkey_verify_data2)
2592
2593
2594 * Version 3.0.22 (released 2012-08-04)
2595
2596 ** libgnutls: gnutls_certificate_set_x509_system_trust()
2597 is now supported on OpenBSD.
2598
2599 ** libgnutls: When verifying a certificate chain make sure it is chain.
2600 If the chain is wronly interrupted at some point then truncate it,
2601 and only try to verify the correct part. Patch by David Woodhouse
2602
2603 ** libgnutls: Restored the behavior of gnutls_x509_privkey_import_pkcs8()
2604 which now may (again) accept a NULL password.
2605
2606 ** certtool: Allow the user to choose the hash algorithm
2607 when signing certificate request or certificate revocation list.
2608 Patch by Petr PísaÅ™.
2609
2610 ** API and ABI modifications:
2611 No changes since last version.
2612
2613
2614 * Version 3.0.21 (released 2012-07-02)
2615
2616 ** libgnutls: fixed bug in gnutls_x509_privkey_import()
2617 that prevented the loading of EC private keys when DER
2618 encoded. Reported by David Woodhouse.
2619
2620 ** libgnutls: In DTLS larger to mtu records result to
2621 GNUTLS_E_LARGE_PACKET instead of being truncated.
2622
2623 ** libgnutls: gnutls_dtls_get_data_mtu() is more precise. Based
2624 on patch by David Woodhouse.
2625
2626 ** libgnutls: Fixed memory leak in PKCS #8 key import.
2627
2628 ** libgnutls: Added support for an old version of the DTLS protocol
2629 used by openconnect vpn client for compatibility with Cisco's AnyConnect
2630 SSL VPN. It is marked as GNUTLS_DTLS0_9. Do not use it for newer protocols
2631 as it has issues.
2632
2633 ** libgnutls: Corrected bug that prevented resolving PKCS #11 URLs
2634 if only the label is specified. Patch by David Woodhouse.
2635
2636 ** libgnutls: When EMSGSIZE errno is seen then GNUTLS_E_LARGE_PACKET
2637 is returned.
2638
2639 ** API and ABI modifications:
2640 gnutls_dtls_set_data_mtu: Added
2641 gnutls_session_set_premaster: Added
2642
2643
2644 * Version 3.0.20 (released 2012-06-05)
2645
2646 ** libgnutls: Corrected bug which prevented the parsing of
2647 handshake packets spanning multiple records.
2648
2649 ** libgnutls: Check key identifiers when checking for an issuer.
2650
2651 ** libgnutls: Added gnutls_pubkey_verify_hash2()
2652
2653 ** libgnutls: Added gnutls_certificate_set_x509_system_trust()
2654 that loads the trusted CA certificates from system locations
2655 (e.g. trusted storage in windows and CA bundle files in other systems).
2656
2657 ** certtool: Added support for the URI subject alternative
2658 name type in certtool.
2659
2660 ** certtool: Increase to 128 the maximum number of distinct options
2661 (e.g. dns_names) allowed.
2662
2663 ** gnutls-cli: If --print-cert is given, print the certificate,
2664 even on verification failure.
2665
2666 ** API and ABI modifications:
2667 gnutls_pk_to_sign: Added
2668 gnutls_pubkey_verify_hash2: Added
2669 gnutls_certificate_set_x509_system_trust: Added
2670
2671
2672 * Version 3.0.19 (released 2012-04-22)
2673
2674 ** libgnutls: When decoding a PKCS #11 URL the pin-source field
2675 is assumed to be a file that stores the pin. Based on patch
2676 by David Smith.
2677
2678 ** libgnutls: gnutls_record_check_pending() no longer
2679 returns unprocessed data, and thus ensure the non-blocking
2680 of the next call to gnutls_record_recv().
2681
2682 ** libgnutls: Added strict tests in Diffie-Hellman and
2683 SRP key exchange public keys.
2684
2685 ** libgnutls: in ECDSA and DSA TLS 1.2 authentication be less
2686 strict in hash selection, and allow a stronger hash to
2687 be used than the appropriate, to improve interoperability
2688 with openssl.
2689
2690 ** tests: Disabled floating point test, and corrections
2691 in pkcs12 decoding tests.
2692
2693 ** API and ABI modifications:
2694 No changes since last version.
2695
2696
2697 * Version 3.0.18 (released 2012-04-02)
2698
2699 ** certtool: Avoid a Y2K38 bug when generating certificates.
2700 Patch by Robert Millan.
2701
2702 ** libgnutls: Make sure that GNUTLS_E_PREMATURE_TERMINATION
2703 is returned on premature termination (and added unit test).
2704
2705 ** libgnutls: Fixes for W64 API. Patch by B. Scott Michel.
2706
2707 ** libgnutls: Corrected VIA padlock detection for old
2708 VIA processors. Reported by Kris Karas.
2709
2710 ** libgnutls: Updated assembler files.
2711
2712 ** libgnutls: Time in generated certificates is stored
2713 as GeneralizedTime instead of UTCTime (which only stores
2714 2 digits of a year).
2715
2716 ** minitasn1: Upgraded to libtasn1 version 2.13 (pre-release).
2717
2718 ** API and ABI modifications:
2719 gnutls_x509_crt_set_private_key_usage_period: Added
2720 gnutls_x509_crt_get_private_key_usage_period: Added
2721 gnutls_x509_crq_set_private_key_usage_period: Added
2722 gnutls_x509_crq_get_private_key_usage_period: Added
2723 gnutls_session_get_random: Added
2724
2725
2726 * Version 3.0.17 (released 2012-03-17)
2727
2728 ** command line apps: Always link with local libopts.
2729
2730 ** API and ABI modifications:
2731 No changes since last version.
2732
2733
2734 * Version 3.0.16 (released 2012-03-16)
2735
2736 ** minitasn1: Upgraded to libtasn1 version 2.12 (pre-release).
2737
2738 ** libgnutls: Corrected SRP-RSA ciphersuites when used under TLS 1.2.
2739
2740 ** libgnutls: included assembler files for MacOSX.
2741
2742 ** p11tool: Small fixes in handling of the --private command
2743 line option.
2744
2745 ** certtool: The template option allows for setting the domain
2746 component (DC) option of the distinguished name, and the ocsp_uri
2747 as well as the ca_issuers_uri options.
2748
2749 ** API and ABI modifications:
2750 gnutls_x509_crt_set_authority_info_access: Added
2751
2752
2753 * Version 3.0.15 (released 2012-03-02)
2754
2755 ** test suite: Only run under valgrind in the development
2756 system (the full git repository)
2757
2758 ** command line apps: Link with local libopts if the
2759 installed is an old one.
2760
2761 ** libgnutls: Eliminate double free during SRP
2762 authentication. Reported by Peter Penzov.
2763
2764 ** libgnutls: Corrections in record packet parsing.
2765 Reported by Matthew Hall.
2766
2767 ** libgnutls: Cryptodev updates and fixes.
2768
2769 ** libgnutls: Corrected issue with select() that affected
2770 FreeBSD. This prevented establishing DTLS sessions.
2771 Reported by Andreas Metzler.
2772
2773 ** libgnutls: Corrected rehandshake and resumption
2774 operations in DTLS. Reported by Sean Buckheister.
2775
2776 ** libgnutls: PKCS #11 objects that do not have ID
2777 no longer crash listing. Reported by Sven Geggus.
2778
2779 ** API and ABI modifications:
2780 No changes since last version.
2781
2782
2783 * Version 3.0.14 (released 2012-02-24)
2784
2785 ** command line apps: Included libopts doesn't get installed
2786 by default.
2787
2788 ** libgnutls: Eliminate double free on wrongly formatted
2789 certificate list. Reported by Remi Gacogne.
2790
2791 ** libgnutls: cryptodev code corrected, updated to account
2792 for hashes and GCM mode.
2793
2794 ** libgnutls: Eliminated memory leak in PCKS #11 initialization.
2795 Report and fix by Sam Varshavchik.
2796
2797 ** API and ABI modifications:
2798 No changes since last version.
2799
2800
2801 * Version 3.0.13 (released 2012-02-18)
2802
2803 ** gnutls-cli: added the --ocsp option which will verify
2804 the peer's certificate with OCSP.
2805
2806 ** gnutls-cli: added the --tofu option and if specified, gnutls-cli
2807 will use an ssh-style authentication method.
2808
2809 ** gnutls-cli: if no --x509cafile is provided a default is
2810 assumed (/etc/ssl/certs/ca-certificates.crt), if it exists.
2811
2812 ** ocsptool: Added --ask parameter, to verify a certificate's
2813 status from an ocsp server.
2814
2815 ** command line apps: Use gnu autogen (libopts) to parse command
2816 line arguments and template files.
2817
2818 ** tests: Added stress test for DTLS packet losses and
2819 out-of-order receival. Contributed by Sean Buckheister.
2820
2821 ** libgnutls: Several updates and corrections in the DTLS
2822 DTLS lost packet handling and retransmission timeouts.
2823 Report and patches by Sean Buckheister.
2824
2825 ** libgnutls: Added new functions to easily allow the usage of
2826 a trust on first use (SSH-style) authentication.
2827
2828 ** libgnutls: SUITEB128 and SUITEB192 priority strings account
2829 for the RFC6460 requirements.
2830
2831 ** libgnutls: Added new security parameter GNUTLS_SEC_PARAM_LEGACY
2832 to account for security level of 96-bits.
2833
2834 ** libgnutls: In client side if server does not advertise any
2835 known CAs and only a single certificate is set in the credentials,
2836 sent that one.
2837
2838 ** libgnutls: Added functions to parse authority key identifiers
2839 when stored as a 'general name' and serial combo.
2840
2841 ** libgnutls: Added function to force explicit reinitialization
2842 of PKCS #11 modules. This is required on the child process after
2843 a fork (if PKCS #11 functionality is desirable).
2844
2845 ** libgnutls: Depend on p11-kit 0.11.
2846
2847 ** API and ABI modifications:
2848 gnutls_dtls_get_timeout: Added
2849 gnutls_verify_stored_pubkey: Added
2850 gnutls_store_pubkey: Added
2851 gnutls_store_commitment: Added
2852 gnutls_x509_crt_get_authority_key_gn_serial: Added
2853 gnutls_x509_crl_get_authority_key_gn_serial: Added
2854 gnutls_pkcs11_reinit: Added
2855 gnutls_ecc_curve_list: Added
2856 gnutls_priority_certificate_type_list: Added
2857 gnutls_priority_sign_list: Added
2858 gnutls_priority_protocol_list: Added
2859 gnutls_priority_compression_list: Added
2860 gnutls_priority_ecc_curve_list: Added
2861 gnutls_tdb_init: Added
2862 gnutls_tdb_set_store_func: Added
2863 gnutls_tdb_set_store_commitment_func: Added
2864 gnutls_tdb_set_verify_func: Added
2865 gnutls_tdb_deinit: Added
2866
2867
2868 * Version 3.0.12 (released 2012-01-20)
2869
2870 ** libgnutls: Added OCSP support.
2871 There is a new header file gnutls/ocsp.h and a set of new functions
2872 under the gnutls_ocsp namespace.  Currently the functionality provided
2873 is to parse and extract information from OCSP requests/responses, to
2874 generate OCSP requests and to verify OCSP responses.  See the manual
2875 for more information.  Run ./configure with --disable-ocsp to build
2876 GnuTLS without OCSP support.
2877
2878 This work was sponsored by Smoothwall <http://smoothwall.net/>.
2879
2880 ** ocsptool: Added new command line tool.
2881 The tool can parse OCSP request/responses, generate OCSP requests and
2882 verify OCSP responses.  See the manual for more information.
2883
2884 ** certtool: --outder option now works for private
2885 and public keys as well.
2886
2887 ** libgnutls: Added error code GNUTLS_E_NO_PRIORITIES_WERE_SET
2888 to warn when no or insufficient priorities were set.
2889
2890 ** libgnutls: Corrected an alignment issue in ECDH
2891 key generation which prevented some keys from being
2892 correctly aligned in rare circumstances.
2893
2894 ** libgnutls: Corrected memory leaks in DH parameter
2895 generation and ecc_projective_check_point().
2896
2897 ** libgnutls: Added gnutls_x509_dn_oid_name() to
2898 return a descriptive name of a DN OID.
2899
2900 ** API and ABI modifications:
2901 gnutls_pubkey_encrypt_data: Added
2902 gnutls_x509_dn_oid_name: Added
2903 gnutls_session_resumption_requested: Added
2904 gnutls/ocsp.h: Added new header file.
2905 gnutls_ocsp_print_formats_t: Added new type.
2906 gnutls_ocsp_resp_status_t: Added new type.
2907 gnutls_ocsp_cert_status_t: Added new type.
2908 gnutls_x509_crl_reason_t: Added new type.
2909 gnutls_ocsp_req_add_cert: Added.
2910 gnutls_ocsp_req_add_cert_id: Added.
2911 gnutls_ocsp_req_deinit: Added.
2912 gnutls_ocsp_req_export: Added.
2913 gnutls_ocsp_req_get_cert_id: Added.
2914 gnutls_ocsp_req_get_extension: Added.
2915 gnutls_ocsp_req_get_nonce: Added.
2916 gnutls_ocsp_req_get_version: Added.
2917 gnutls_ocsp_req_import: Added.
2918 gnutls_ocsp_req_init: Added.
2919 gnutls_ocsp_req_print: Added.
2920 gnutls_ocsp_req_randomize_nonce: Added.
2921 gnutls_ocsp_req_set_extension: Added.
2922 gnutls_ocsp_req_set_nonce: Added.
2923 gnutls_ocsp_resp_deinit: Added.
2924 gnutls_ocsp_resp_export: Added.
2925 gnutls_ocsp_resp_get_certs: Added.
2926 gnutls_ocsp_resp_get_extension: Added.
2927 gnutls_ocsp_resp_get_nonce: Added.
2928 gnutls_ocsp_resp_get_produced: Added.
2929 gnutls_ocsp_resp_get_responder: Added.
2930 gnutls_ocsp_resp_get_response: Added.
2931 gnutls_ocsp_resp_get_signature: Added.
2932 gnutls_ocsp_resp_get_signature_algorithm: Added.
2933 gnutls_ocsp_resp_get_single: Added.
2934 gnutls_ocsp_resp_get_status: Added.
2935 gnutls_ocsp_resp_get_version: Added.
2936 gnutls_ocsp_resp_import: Added.
2937 gnutls_ocsp_resp_init: Added.
2938 gnutls_ocsp_resp_print: Added.
2939 gnutls_ocsp_resp_verify: Added.
2940
2941 * Version 3.0.11 (released 2012-01-06)
2942
2943 ** libgnutls: Corrected functionality of
2944 gnutls_record_get_direction(). Reported by Philip Allison.
2945
2946 ** libgnutls: Provide less timing information when decoding
2947 TLS/DTLS record packets. Patch by Nadhem Alfardan.
2948
2949 ** API and ABI modifications:
2950 No changes since last version.
2951
2952
2953 * Version 3.0.10 (released 2012-01-04)
2954
2955 ** gnutls-cli/serv: Set don't fragment bit in DTLS sessions
2956 in Linux as well as in BSD.
2957
2958 ** gnutls-cli: Fixed reading from windows terminals.
2959
2960 ** libgnutls: When GNUTLS_OPENPGP_FMT_BASE64 is specified
2961 the stream is assumed to be base64 encoded (previously
2962 the encoding was auto-detected). This avoids a decoding
2963 issue in windows systems.
2964
2965 ** libgnutls: Corrected ciphersuite GNUTLS_ECDHE_PSK_AES_256_CBC_SHA384
2966
2967 ** libgnutls: Added ciphersuites: GNUTLS_PSK_WITH_AES_256_GCM_SHA384
2968 and GNUTLS_DHE_PSK_WITH_AES_256_GCM_SHA384.
2969
2970 ** libgnutls: Added function gnutls_random_art() to convert
2971 fingerprints to images (currently ascii-art).
2972
2973 ** libgnutls: Corrected bug in DSA private key parsing, which
2974 prevented the verification of the key.
2975
2976 ** API and ABI modifications:
2977 gnutls_random_art: Added
2978
2979
2980 * Version 3.0.9 (released 2011-12-13)
2981
2982 ** certtool: Added new parameter --dh-info.
2983
2984 ** certtool: -l option was overloaded so if combined with --priority
2985 it will only list the ciphersuites that are enabled by the given
2986 priority string.
2987
2988 ** libgnutls: Added new priority string %SERVER_PRECEDENCE, which
2989 changes the ciphersuite selection procedure. If specified the server
2990 priorities will be used for selection instead of the client's.
2991
2992 ** libgnutls: Optimizations in Diffie-Hellman parameters generation
2993 and key exchange.
2994
2995 ** libgnutls: When session tickets are negotiated and used in a
2996 session, a server will not store that session data into its cache.
2997
2998 ** libgnutls: Added the SECP192R1 curve.
2999
3000 ** libgnutls: Added gnutls_priority_get_cipher_suite_index() to
3001 allow listing the ciphersuites enabled in a priority structure.
3002 It outputs an index to be used in gnutls_get_cipher_suite_info().
3003
3004 ** libgnutls: Optimizations in the elliptic curve code --timing
3005 attacks resistant code is only used in ECDSA private key operations.
3006
3007 ** doc: man pages for API functions generation was fixed and are
3008 now added again in the distribution.
3009
3010 ** API and ABI modifications:
3011 GNUTLS_ECC_CURVE_SECP192R1: New curve definition
3012 gnutls_priority_get_cipher_suite_index: Added
3013
3014
3015 * Version 3.0.8 (released 2011-11-12)
3016
3017 ** certtool: Certtool -e returns error code on verification
3018 failure.
3019
3020 ** certtool: Verifies parameters of generated keys.
3021
3022 ** libgnutls: Corrected ECC key generation (introduced in 3.0.6)
3023
3024 ** libgnutls: Provide less timing information when decoding
3025 TLS/DTLS record packets.
3026
3027 ** doc: man pages for API functions were removed.
3028 The reason was that the code that auto-generated the man pages missed
3029 many APIs and we couldn't fix it (volunteers welcome).  See the info
3030 manual or the GTK-DOC manual instead.
3031
3032 ** API and ABI modifications:
3033 gnutls_x509_privkey_verify_params: Added
3034
3035
3036 * Version 3.0.7 (released 2011-11-08)
3037
3038 ** libgnutls: Corrected fix in gnutls_session_get_data()
3039 to report the actual session size when the provided buffer
3040 is not enough.
3041
3042 ** libgnutls: Fixed ciphersuite GNUTLS_ECDHE_RSA_AES_128_CBC_SHA256,
3043 which was using a wrong MAC algorithm. Reported by Fabrice Gautier.
3044
3045 ** API and ABI modifications:
3046 No changes since last version.
3047
3048
3049 * Version 3.0.6 (released 2011-11-07)
3050
3051 ** gnutls-guile: Compilation fixes.
3052
3053 ** libgnutls: Fixed possible buffer overflow in
3054 gnutls_session_get_data(). Reported and fix by Alban Crequy.
3055
3056 ** libgnutls: Bug fixes in the ciphersuites with NULL cipher.
3057 Reported by Fabrice Gautier.
3058
3059 ** libgnutls: Bug fixes in ECC code for 64-bit MIPS systems.
3060 Thanks to Joseph Graham for providing access to such a system.
3061
3062 ** libgnutls: Correctly report ECC private key parsing errors.
3063 Reported by Fabrice Gautier.
3064
3065 ** libgnutls: In ECDHE verify that the received point lies on
3066 the selected curve. The ECDHE ciphersuites now take precendence
3067 to plain DHE.
3068
3069 ** API and ABI modifications:
3070 No changes since last version.
3071
3072
3073 * Version 3.0.5 (released 2011-10-27)
3074
3075 ** libgnutls-extra: is no more
3076
3077 ** libgnutls: Corrections in order to compile with mingw32.
3078
3079 ** libgnutls: Corrections in VIA padlock code for VIA C5 processor
3080 and new detection of PHE with support for partial hashing.
3081
3082 ** libgnutls: Corrected bug in gnutls_x509_data2hex. Report and fix
3083 by Vincent Untz.
3084
3085 ** minitasn1: Upgraded to libtasn1 version 2.10.
3086
3087 ** API and ABI modifications:
3088 No changes since last version.
3089
3090
3091 * Version 3.0.4 (released 2011-10-15)
3092
3093 ** libgnutls-extra: gnutls_register_md5_handler() was
3094 removed.
3095
3096 ** gnutls-cli-debug: Added more tests including AES-GCM,
3097 SHA256 and elliptic curves.
3098
3099 ** gnutls-cli: Added --benchmark-soft-ciphers to benchmark
3100 the software version of the ciphers instead of hw accelerated
3101 (where available)
3102
3103 ** libgnutls: Public key ID calculation is consistent among
3104 all structures. It uses a SHA-1 hash of the subjectPublicKeyInfo.
3105
3106 ** libgnutls: gnutls_privkey_t allows setting external callback
3107 to perform signing or decryption. Can be set using
3108 gnutls_privkey_import_ext()
3109
3110 ** libgnutls: A certificate credentials structure can be
3111 used with a gnutls_privkey_t and a gnutls_pcert_st
3112 structure using gnutls_certificate_set_key().
3113
3114 ** libgnutls: Fixes to enable external signing callback to
3115 operate with TLS 1.2.
3116
3117 ** libgnutls: Fixed crash when printing ECDSA certificate key
3118 ID. Reported by Erik Jensen.
3119
3120 ** libgnutls: Corrected VIA padlock code for C3. In C3 benchmarks
3121 show a 50x increase in AES speed and a 14x increase in VIA nano. Added
3122 support for hashes and HMACs.
3123
3124 ** libgnutls: Compilation fixed when p11-kit is not detected.
3125
3126 ** libgnutls: Fixed the deflate compression code.
3127
3128 ** libgnutls: Added gnutls_x509_crt_get_authority_info_access.
3129 Used to get the PKIX Authority Information Access (AIA) field.
3130
3131 ** libgnutls: gnutls_x509_crt_print supports printing AIA fields.
3132
3133 ** libgnutls: Added ability to gnutls_privkey_t to operate with
3134 signing callback function.
3135
3136 ** API and ABI modifications:
3137 gnutls_x509_crt_get_authority_info_access (x509.h): Added function.
3138 gnutls_privkey_import_ext: Added function.
3139 gnutls_certificate_set_key: Added function.
3140 gnutls_info_access_what_t (x509.h): Added enum.
3141 GNUTLS_OID_AIA (x509.h): Added symbol.
3142 GNUTLS_OID_AD_OCSP (x509.h): Added symbol.
3143 GNUTLS_OID_AD_CAISSUERS (x509.h): Added symbol.
3144
3145 * Version 3.0.3 (released 2011-09-18)
3146
3147 ** libgnutls: Added gnutls_record_get_discarded() to return the
3148 number of discarded records in a DTLS session.
3149
3150 ** libgnutls: All functions related to RSA-EXPORT were deprecated.
3151 Support for RSA-EXPORT ciphersuites will be ceased in future versions.
3152
3153 ** libgnutls: Memory leak fixes in credentials private key
3154 deinitialization. Reported by Dan Winship.
3155
3156 ** libgnutls: Memory leak fixes in ECC ciphersuites.
3157
3158 ** libgnutls: Do not send an empty extension structure in server
3159 hello. This affected old implementations that do not support extensions.
3160 Reported by J. Cameijo Cerdeira.
3161
3162 ** libgnutls: Allow CA importing of 0 certificates to succeed.
3163 Reported by Jonathan Nieder <jrnieder@gmail.com> in
3164 <http://bugs.debian.org/640639>.
3165
3166 ** libgnutls: Added support for VIA padlock AES optimizations.
3167 (disabled by default)
3168
3169 ** libgnutls: Added support for elliptic curves in
3170 PKCS #11.
3171
3172 ** libgnutls: Added gnutls_pkcs11_privkey_generate()
3173 to allow generating a key in a token.
3174
3175 ** p11tool: Added generate-rsa, generate-dsa and
3176 generate-ecc options to allow generating private
3177 keys in the token.
3178
3179 ** libgnutls: gnutls_transport_set_lowat dummy macro was
3180 removed.
3181
3182 ** API and ABI modifications:
3183 gnutls_pkcs11_privkey_generate: Added
3184 gnutls_pubkey_import_ecc_raw: Added
3185 gnutls_pubkey_import_ecc_x962: Added
3186 gnutls_pubkey_get_pk_ecc_x962: Added
3187 gnutls_record_get_discarded: Added
3188
3189
3190 * Version 3.0.2 (released 2011-09-01)
3191
3192 ** libgnutls: OpenPGP certificate type is not enabled
3193 by default.
3194
3195 ** libgnutls: Added %NO_EXTENSIONS priority string.
3196
3197 ** libgnutls: Corrected issue in gnutls_record_recv()
3198 triggered on encryption or compression error.
3199
3200 ** libgnutls: Compatibility fixes in CPU ID detection
3201 for i386 and old GCC.
3202
3203 ** gnutls-cli: Benchmark applications were incorporated
3204 with it.
3205
3206 ** libgnutls: Corrected parsing of XMPP subject
3207 alternative names.
3208
3209 ** libgnutls: Allow for out-of-order ChangeCipherSpec
3210 message in DTLS.
3211
3212 ** libgnutls: gnutls_certificate_set_x509_key() and
3213 gnutls_certificate_set_openpgp_key() operate as in 2.10.x
3214 and allow the release of the private key during the
3215 lifetime of the certificate structure.
3216
3217 ** API and ABI modifications:
3218 GNUTLS_PRIVKEY_IMPORT_COPY: new gnutls_privkey_import() flag
3219
3220
3221 * Version 3.0.1 (released 2011-08-20)
3222
3223 ** libgnutls: gnutls_certificate_set_x509_key_file() and
3224 friends support server name indication. If multiple
3225 certificates are set using these functions the proper one
3226 will be selected during a handshake.
3227
3228 ** libgnutls: Added AES-256-GCM which was left out from
3229 the previous release. Reported by Benjamin Hof.
3230
3231 ** libgnutls: When asking for a PKCS# 11 PIN multiple
3232 times, the flags in the callback were not being updated
3233 to reflect for PIN low count or final try.
3234
3235 ** libgnutls: Do not allow second instances of PKCS #11
3236 modules.
3237
3238 ** libgnutls: fixed alignment issue in AES-NI code.
3239
3240 ** libgnutls: The config file at gnutls_pkcs11_init()
3241 is being read if provided.
3242
3243 ** libgnutls: Ensure that a certificate list specified
3244 using gnutls_certificate_set_x509_key() and friends, is
3245 sorted according to TLS specification (from subject to issuer).
3246
3247 ** libgnutls: Added GNUTLS_X509_CRT_LIST_FAIL_IF_UNSORTED flag for
3248 gnutls_x509_crt_list_import. It checks whether the list to be
3249 imported is properly sorted.
3250
3251 ** crywrap: Added to the distribution. It is an application
3252 that proxies TLS session to a port using a plaintext service.
3253
3254 ** doc: Many GTK-DOC improvements.
3255
3256 ** i18n: Translations were updated.
3257
3258 ** API and ABI modifications:
3259 GNUTLS_X509_CRT_LIST_FAIL_IF_UNSORTED: New element in gnutls_certificate_import_flags
3260 GNUTLS_PKCS11_PIN_WRONG: New flag for PIN callback
3261
3262
3263 * Version 3.0.0 (released 2011-07-29)
3264
3265 ** libgnutls: writev_emu: stop on the first incomplete write. Patch by
3266 Sjoerd Simons.
3267
3268 ** libgnutls: Fix zlib handling in gnutls.pc. Patch by Andreas
3269 Metzler.
3270
3271 ** certtool: bug fixes in certificate request generation. Patch
3272 by Petr PísaÅ™.
3273
3274 ** API and ABI modifications:
3275 gnutls_pcert_list_import_x509_raw: ADDED
3276
3277
3278 * Version 2.99.4 (released 2011-07-23)
3279
3280 ** doc: documentation updates.
3281
3282 ** libgnutls: gnutls_rsa_params_t is now identical to gnutls_x509_privkey_t
3283 to avoid thread-safety issues. Reported by Sam Varshavchik.
3284
3285 ** libgnutls: Added compatibility mode with /etc/gnutls/pkcs11.conf
3286
3287 ** libgnutls: license upgraded to LGPLv3
3288
3289 ** libgnutls: gnutls_srp_verifier() returns data allocated with gnutls_malloc()
3290 for consistency.
3291
3292 ** API and ABI modifications:
3293 No changes since last version.
3294
3295
3296 * Version 2.99.3 (released 2011-06-18)
3297
3298 ** libgnutls: Added new PKCS #11 flags to force an object being private or
3299 not. (GNUTLS_PKCS11_OBJ_FLAG_MARK_PRIVATE and GNUTLS_PKCS11_OBJ_FLAG_MARK_NOT_PRIVATE)
3300
3301 ** libgnutls: Added SUITEB128 and SUITEB192 priority
3302 strings to enable the NSA SuiteB cryptography ciphersuites.
3303
3304 ** libgnutls: Added gnutls_pubkey_verify_data2() that will
3305 verify data provided the signature algorithm.
3306
3307 ** libgnutls: Simplified the handling of handshake messages to
3308 be hashed. Instead of hashing during the handshake process we now
3309 keep the data until handshake is over and hash them on request.
3310 This uses more memory but eliminates issues with TLS 1.2 and
3311 simplifies code.
3312
3313 ** libgnutls: Added AES-GCM optimizations using the PCLMULQDQ
3314 instruction. Uses Andy Polyakov's assembly code.
3315
3316 ** libgnutls: Added gnutls_x509_trust_list_add_named_crt() and
3317 gnutls_x509_trust_list_verify_named_crt() that allow having a
3318 list of certificates in the trusted list that will be associated
3319 with a name (e.g. server name) and will not be used as CAs.
3320
3321 ** libgnutls: PKCS #11 back-end rewritten to use p11-kit
3322 http://p11-glue.freedesktop.org/p11-kit.html. Rewrite by
3323 Stef Walter.
3324
3325 ** libgnutls: Added ECDHE-PSK ciphersuites for TLS (RFC 5489).
3326
3327 ** API and ABI modifications:
3328 gnutls_pubkey_verify_data2: ADDED
3329 gnutls_ecc_curve_get: ADDED
3330 gnutls_x509_trust_list_add_named_crt: ADDED
3331 gnutls_x509_trust_list_verify_named_crt: ADDED
3332 gnutls_x509_privkey_verify_data: REMOVED
3333 gnutls_crypto_bigint_register: REMOVED
3334 gnutls_crypto_cipher_register: REMOVED
3335 gnutls_crypto_digest_register: REMOVED
3336 gnutls_crypto_mac_register: REMOVED
3337 gnutls_crypto_pk_register: REMOVED
3338 gnutls_crypto_rnd_register: REMOVED
3339 gnutls_crypto_single_cipher_register: REMOVED
3340 gnutls_crypto_single_digest_register: REMOVED
3341 gnutls_crypto_single_mac_register: REMOVED
3342 GNUTLS_KX_ECDHE_PSK: New key exchange method
3343 GNUTLS_VERIFY_DISABLE_CRL_CHECKS: New certificate verification flag.
3344 GNUTLS_PKCS11_OBJ_FLAG_MARK_PRIVATE: New PKCS#11 object flag.
3345 GNUTLS_PKCS11_OBJ_FLAG_MARK_NOT_PRIVATE: New PKCS#11 object flag.
3346
3347
3348 * Version 2.99.2 (released 2011-05-26)
3349
3350 ** libgnutls: Added Elliptic curve support. This is not
3351 enabled by default. Requires priority strings:
3352 +CURVE-ALL: to add all supported curves
3353 +ECDHE-RSA: to add ephemeral ECDHE with an RSA-signed certificate
3354 +ECDHE-ECDSA: to add ephemeral ECDHE with an ECDSA-signed certificate
3355 +ANON-ECDHE: to add anonymous ECDH
3356
3357 ** libgnutls: PKCS #11 URLs conform to the latest draft
3358 being http://tools.ietf.org/html/draft-pechanec-pkcs11uri-04.
3359
3360 ** certtool: Can now load private keys and public keys from PKCS #11 tokens
3361 via URLs.
3362
3363 ** libgnutls: Added gnutls_global_set_audit_log_function() that allows
3364 to get important auditing information including the corresponding session.
3365 That might be useful to block DoS or other attacker from specific IPs.
3366
3367 ** libgnutls: gnutls_pkcs11_privkey_import_url() will now correctly read
3368 the public key algorithm of the key.
3369
3370 ** libgnutls: Added gnutls_certificate_get_issuer() and
3371 gnutls_x509_trust_list_get_issuer() to compensate for the
3372 missing gnutls_certificate_get_x509_cas().
3373
3374 ** libgnutls: Added gnutls_x509_crq_verify() to allow
3375 verification of the self signature in a certificate request.
3376 This allows verifying whether the owner of the private key
3377 is the generator of the request.
3378
3379 ** libgnutls: gnutls_x509_crt_set_crq() implicitly verifies
3380 the self signature of the request.
3381
3382 ** API and ABI modifications:
3383 gnutls_certificate_get_issuer: ADDED
3384 gnutls_x509_trust_list_get_issuer: ADDED
3385 gnutls_x509_crq_verify: ADDED
3386 gnutls_global_set_audit_log_function: ADDED
3387 gnutls_ecc_curve_get_name: ADDED
3388 gnutls_ecc_curve_get_size: ADDED
3389 gnutls_x509_privkey_import_ecc_raw: ADDED
3390 gnutls_x509_privkey_export_ecc_raw: ADDED
3391 gnutls_global_set_time_function: ADDED
3392
3393 GNUTLS_E_ECC_NO_SUPPORTED_CURVES: New error code
3394 GNUTLS_E_ECC_UNSUPPORTED_CURVE: New error code
3395 GNUTLS_KX_ECDHE_RSA: New key exchange method
3396 GNUTLS_KX_ECDHE_ECDSA: New key exchange method
3397 GNUTLS_KX_ANON_ECDH: New key exchange method
3398 GNUTLS_PK_ECC: New public key algorithm
3399 GNUTLS_SIGN_ECDSA_SHA1: New signature algorithm
3400 GNUTLS_SIGN_ECDSA_SHA256: New signature algorithm
3401 GNUTLS_SIGN_ECDSA_SHA384: New signature algorithm
3402 GNUTLS_SIGN_ECDSA_SHA512: New signature algorithm
3403 GNUTLS_SIGN_ECDSA_SHA224: New signature algorithm
3404 GNUTLS_ECC_CURVE_INVALID: New curve definition
3405 GNUTLS_ECC_CURVE_SECP224R1: New curve definition
3406 GNUTLS_ECC_CURVE_SECP256R1: New curve definition
3407 GNUTLS_ECC_CURVE_SECP384R1: New curve definition
3408 GNUTLS_ECC_CURVE_SECP521R1: New curve definition
3409
3410
3411 * Version 2.99.1 (released 2011-04-23)
3412
3413 ** libgnutls: LZO support was removed.
3414
3415 ** libgnutls: Corrections in SSLv2 client hello parsing.
3416
3417 ** libgnutls: Added support for AES-NI if detected. Uses
3418 Andy Polyakov's AES-NI code.
3419
3420 ** libgnutls: Restored HMAC-MD5 for compatibility. Although considered
3421 weak, several sites require it for connection. It is enabled for
3422 "NORMAL" and "PERFORMANCE" priority strings.
3423
3424 ** libgnutls: depend on libdl.
3425
3426 ** libgnutls-extra: Dropped support of LZO compression via liblzo.
3427
3428 ** libgnutls: gnutls_transport_set_global_errno() was removed. This
3429 function required GnuTLS to access system specific data, for no reason.
3430 Use gnutls_transport_set_errno(), or your system's errno fascility
3431 instead.
3432
3433 ** libgnutls: Added gnutls_certificate_set_retrieve_function2()
3434 to set a callback to retrieve a certificate. The certificate is
3435 received in a format that requires no processing from gnutls thus
3436 it is suitable when performance is required.
3437
3438 ** API and ABI modifications:
3439 gnutls_transport_set_global_errno: REMOVED
3440 gnutls_certificate_set_retrieve_function2: ADDED
3441
3442 * Version 2.99.0 (released 2011-04-09)
3443
3444 ** libgnutls: Added Datagram TLS support.
3445
3446 ** libgnutls: Uses a single configure file and a single
3447 gnulib library to save space.
3448
3449 ** libgnutls: Several bug fixes.
3450
3451 ** libgnutls: gnutls_transport_set_lowat() is no more.
3452
3453 ** libgnutls-openssl: modified to use modern gnutls' functions.
3454 This introduces an ABI incompatibility with previous versions.
3455
3456 ** libgnutls: Corrected signature generation and verification
3457 in the Certificate Verify message when in TLS 1.2. Reported
3458 by Todd A. Ouska.
3459
3460 ** libgnutlsxx: The C++ interface returns exception on
3461 every error and not only on fatal ones. This allows easier
3462 handling of errors.
3463
3464 ** libgnutls: Corrected issue in DHE-PSK ciphersuites that ignored
3465 the PSK callback.
3466
3467 ** libgnutls: SRP and PSK are no longer set on the default priorities.
3468 They have to be explicitly set.
3469
3470 ** libgnutls: During handshake message verification using DSS
3471 use the hash algorithm required by it.
3472
3473 ** libgnutls: gnutls_recv() return GNUTLS_E_PREMATURE_TERMINATION
3474 on unexpected EOF, instead of GNUTLS_E_UNEXPECTED_PACKET_LENGTH.
3475
3476 ** libgnutls: Added GCM mode (interoperates with tls.secg.org)
3477
3478 ** libgnutls-extra: Inner application extension was removed.
3479 It was never standardized nor published as an RFC.
3480
3481 ** libgnutls: Added new certificate verification functions, that
3482 can provide more details and are more efficient. Check
3483 gnutls_x509_trust_list_*.
3484
3485 ** certtool: Uses the new certificate verification functions for
3486 --verify-chain.
3487
3488 ** certtool: Added new certificate verification functionality
3489 using the --verify option. Combined with --load-ca-certificate
3490 it can verify a certificate chain against a list of certificates.
3491
3492 ** Several files unnecessarily included <gcrypt.h>; this has been fixed.
3493
3494 ** API and ABI modifications:
3495 gnutls_dtls_set_timeouts: ADDED
3496 gnutls_dtls_get_mtu: ADDED
3497 gnutls_dtls_get_data_mtu: ADDED
3498 gnutls_dtls_set_mtu: ADDED
3499 gnutls_dtls_cookie_send: ADDED
3500 gnutls_dtls_cookie_verify: ADDED
3501 gnutls_dtls_prestate_set: ADDED
3502 gnutls_x509_trust_list_verify_crt: ADDED
3503 gnutls_x509_trust_list_add_crls: ADDED
3504 gnutls_x509_trust_list_add_cas: ADDED
3505 gnutls_x509_trust_list_init: ADDED
3506 gnutls_x509_trust_list_deinit: ADDED
3507 gnutls_cipher_add_auth: ADDED
3508 gnutls_cipher_tag: ADDED
3509 gnutls_psk_netconf_derive_key: REMOVED
3510 gnutls_certificate_verify_peers: REMOVED
3511 gnutls_session_set_finished_function: REMOVED
3512 gnutls_ext_register: REMOVED
3513 gnutls_certificate_get_x509_crls: REMOVED
3514 gnutls_certificate_get_x509_cas: REMOVED
3515 gnutls_certificate_get_openpgp_keyring: REMOVED
3516 gnutls_session_get_server_random: REMOVED
3517 gnutls_session_get_client_random: REMOVED
3518 gnutls_session_get_master_secret: REMOVED
3519 gnutls_ia_allocate_client_credentials: REMOVED
3520 gnutls_ia_allocate_server_credentials: REMOVED
3521 gnutls_ia_enable: REMOVED
3522 gnutls_ia_endphase_send: REMOVED
3523 gnutls_ia_extract_inner_secret: REMOVED
3524 gnutls_ia_free_client_credentials: REMOVED
3525 gnutls_ia_free_server_credentials: REMOVED
3526 gnutls_ia_generate_challenge: REMOVED
3527 gnutls_ia_get_client_avp_ptr: REMOVED
3528 gnutls_ia_get_server_avp_ptr: REMOVED
3529 gnutls_ia_handshake: REMOVED
3530 gnutls_ia_handshake_p: REMOVED
3531 gnutls_ia_permute_inner_secret: REMOVED
3532 gnutls_ia_recv: REMOVED
3533 gnutls_ia_send: REMOVED
3534 gnutls_ia_set_client_avp_function: REMOVED
3535 gnutls_ia_set_client_avp_ptr: REMOVED
3536 gnutls_ia_set_server_avp_function: REMOVED
3537 gnutls_ia_set_server_avp_ptr: REMOVED
3538 gnutls_ia_verify_endphase: REMOVED
3539
3540
3541 * Version 2.12.2 (released 2011-04-08)
3542
3543 ** libgnutls: Several updates and fixes for win32. Patches by LRN.
3544
3545 ** libgnutls: Several bug and memory leak fixes.
3546
3547 ** srptool: Accepts the -d option to enable debugging.
3548
3549 ** libgnutls: Corrected bug in gnutls_srp_verifier() that prevented
3550 the allocation of a verifier. Reported by Andrew Wiseman.
3551
3552 ** API and ABI modifications:
3553 No changes since last version.
3554
3555
3556 * Version 2.12.1 (released 2011-04-02)
3557
3558 ** certtool: Generated certificate request with stricter permissions.
3559 Reported by Luca Capello.
3560
3561 ** libgnutls: Bug fixes in opencdk code. Reported by Vitaly Kruglikov.
3562
3563 ** libgnutls: Corrected windows system_errno() function prototype.
3564
3565 ** libgnutls: C++ compatibility fix for compat.h. Reported by Mark Brand.
3566
3567 ** libgnutls: Fix size of gnutls_openpgp_keyid_t by using the
3568 GNUTLS_OPENPGP_KEYID_SIZE definition. Reported by Andreas Metzler.
3569
3570 ** API and ABI modifications:
3571 No changes since last version.
3572
3573
3574
3575
3576 * Version 2.12.0 (released 2011-03-24)
3577
3578 ** certtool: Warns on generation of DSA keys of over 1024 bits, about
3579 the incompatibility with TLS other than 1.2.
3580
3581 ** libgnutls: Modified signature algorithm selection in client
3582 certificate request, to avoid failures in DSA certificates.
3583
3584 ** libgnutls: Instead of failing with internal error, return
3585 GNUTLS_E_INCOMPAT_DSA_KEY_WITH_TLS_PROTOCOL if an incompatible DSA
3586 key with the negotiated protocol is encountered.
3587
3588 ** libgnutls: Bug fixes in the RSA ciphersuite behavior with openpgp keys.
3589
3590 ** libgnutls: Force state update when fork is detected in the nettle
3591 rng.
3592
3593 ** libgnutls: modified gnutls_pubkey_import_openpgp() to use the preferred
3594 subkey instead of setting explicitly one.
3595
3596 ** libgnutls: Corrected default behavior in record version of Client Hellos.
3597
3598 ** libgnutls-openssl: modified to use modern gnutls' functions.
3599 This introduces an ABI incompatibility with previous versions.
3600
3601 ** API and ABI modifications:
3602 gnutls_pubkey_import_openpgp: MODIFIED
3603
3604
3605 * Version 2.11.7
3606
3607 ** libgnutls: The deprecated  gnutls_x509_privkey_sign_hash() was
3608 replaced by gnutls_privkey_sign_hash2().
3609
3610 ** libgnutls: gnutls_pubkey_verify_data, gnutls_pubkey_verify_hash,
3611 gnutls_x509_privkey_verify_data, gnutls_x509_crt_verify_data,
3612 gnutls_x509_crt_verify_hash return the negative error code
3613 GNUTLS_E_PK_SIG_VERIFY_FAILED if verification fails to simplify error
3614 checking.
3615
3616 ** libgnutls: Added helper functions for signature verification:
3617 gnutls_pubkey_verify_data() and gnutls_pubkey_import_privkey().
3618
3619 ** libgnutls: Modified gnutls_privkey_sign_data().
3620
3621 ** gnutls_x509_crl_privkey_sign2(), gnutls_x509_crq_sign2()
3622 gnutls_x509_privkey_sign_hash(), gnutls_x509_privkey_sign_data(),
3623 gnutls_x509_crt_verify_hash(), gnutls_x509_crt_verify_data(), were
3624 deprecated for gnutls_x509_crl_privkey_sign(),
3625 gnutls_x509_crq_privkey_sign(), gnutls_privkey_sign_hash(),
3626 gnutls_privkey_sign_data(), gnutls_pubkey_verify_hash()
3627 gnutls_pubkey_verify_data() respectively.
3628
3629 ** libgnutls: gnutls_*_export_raw() functions now add leading zero in
3630 integers.
3631
3632 ** libgnutls: Added convenience functions gnutls_x509_crl_list_import2()
3633 and gnutls_x509_crt_list_import2().
3634
3635 ** crypto.h: Fix use with C++.
3636 Reported by "Brendan Doherty" <brendand@gentrack.com>.
3637
3638 ** API and ABI modifications:
3639 gnutls_x509_crl_list_import: ADDED
3640 gnutls_x509_crl_list_import2: ADDED
3641 gnutls_x509_crt_list_import2: ADDED
3642 gnutls_x509_crl_get_raw_issuer_dn: ADDED
3643 gnutls_pubkey_import_privkey: ADDED
3644 gnutls_pubkey_verify_data: ADDED
3645 gnutls_privkey_sign_hash: MODIFIED (was added in 2.11.0)
3646 gnutls_privkey_sign_data: MODIFIED (was added in 2.11.0)
3647 gnutls_x509_crq_sign2: DEPRECATED (use: gnutls_x509_crq_privkey_sign)
3648 gnutls_x509_crq_sign: DEPRECATED (use: gnutls_x509_crq_privkey_sign)
3649 gnutls_x509_crq_get_preferred_hash_algorithm: REMOVED (was added in 2.11.0)
3650 gnutls_x509_crl_sign: DEPRECATED (use: gnutls_x509_crl_privkey_sign)
3651 gnutls_x509_crl_sign2: DEPRECATED (use: gnutls_x509_crl_privkey_sign)
3652 gnutls_x509_privkey_sign_data: DEPRECATED (use: gnutls_privkey_sign_data2)
3653 gnutls_x509_privkey_sign_hash: DEPRECATED (use: gnutls_privkey_sign_hash2)
3654 gnutls_x509_privkey_verify_data: DEPRECATED (use: gnutls_pubkey_verify_data)
3655 gnutls_session_set_finished_function: DEPRECATED
3656 gnutls_x509_crt_verify_hash: DEPRECATED (use: gnutls_pubkey_verify_hash)
3657 gnutls_x509_crt_verify_data: DEPRECATED (use: gnutls_pubkey_verify_data)
3658 gnutls_x509_crt_get_verify_algorithm: DEPRECATED (use: gnutls_pubkey_get_verify_algorithm)
3659 gnutls_x509_crt_get_preferred_hash_algorithm: DEPRECATED (use: gnutls_pubkey_get_preferred_hash_algorithm)
3660 gnutls_openpgp_privkey_sign_hash: DEPRECATED (use: gnutls_privkey_sign_hash2)
3661 gnutls_pkcs11_privkey_sign_hash: REMOVED (was added in 2.11.0)
3662 gnutls_pkcs11_privkey_decrypt_data: REMOVED (was added in 2.11.0)
3663 gnutls_privkey_sign_hash: REMOVED (was added in 2.11.0)
3664
3665 * Version 2.11.6 (released 2010-12-06)
3666
3667 ** libgnutls: Record version of Client Hellos is now set by default to
3668 SSL 3.0. To restore the previous default behavior use %LATEST_RECORD_VERSION
3669 priority string.
3670
3671 ** libgnutls: Use ASN1_NULL when writing parameters for RSA signatures.
3672 This makes us comply with RFC3279. Reported by Michael Rommel.
3673
3674 ** gnutls-serv: Corrected a buffer overflow. Reported and patch by Tomas Mraz.
3675
3676 ** API and ABI modifications:
3677 No changes since last version.
3678
3679 * Version 2.11.5 (released 2010-12-01)
3680
3681 ** libgnutls: Reverted default behavior for verification and
3682 introduced GNUTLS_VERIFY_DO_NOT_ALLOW_X509_V1_CA_CRT. Thus by default
3683 V1 trusted CAs are allowed, unless the new flag is specified.
3684
3685 ** libgnutls: Correctly add leading zero to PKCS #8 encoded DSA key.
3686 Reported by Jeffrey Walton.
3687
3688 ** libgnutls: Added SIGN-ALL, CTYPE-ALL, COMP-ALL, and VERS-TLS-ALL
3689 as priority strings. Those allow to set all the supported algorithms
3690 at once.
3691
3692 ** p11tool: Introduced. It allows manipulating pkcs 11 tokens.
3693
3694 ** gnutls-cli: Print channel binding only in verbose mode.
3695 Before it printed it after the 'Compression:' output, thus breaking
3696 Emacs starttls.el string searches.
3697
3698 ** API and ABI modifications:
3699 gnutls_pkcs11_token_init: New function
3700 gnutls_pkcs11_token_set_pin: New function
3701
3702 * Version 2.11.4 (released 2010-10-15)
3703
3704 ** libgnutls: Add new API gnutls_session_channel_binding.
3705 The function is used to get the channel binding data.  Currently only
3706 the "tls-unique" (RFC 5929) channel binding type is supported, through
3707 the GNUTLS_CB_TLS_UNIQUE type.  See new section "Channel Bindings" in
3708 the manual.
3709
3710 ** gnutls-cli, gnutls-serv: Print 'tls-unique' Channel Bindings.
3711
3712 ** doc: Added pkcs11.h header file to GTK-DOC manual.
3713
3714 ** build: Update gnulib files.
3715
3716 ** i18n: Update translations.
3717
3718 ** tests: Add self tests gendh.c.  Speed up Guile self checks.
3719
3720 ** API and ABI modifications:
3721 gnutls_session_channel_binding: New function.
3722 gnutls_channel_binding_t: New enumeration.
3723 GNUTLS_CB_TLS_UNIQUE: New gnutls_channel_binding_t enum member.
3724 GNUTLS_E_CHANNEL_BINDING_NOT_AVAILABLE: New error code.
3725
3726 * Version 2.11.3 (released 2010-10-14)
3727
3728 ** Indent code to follow the GNU Coding Standard.
3729 You should be able to unpack the 2.11.2 release and run 'make indent'
3730 twice to get exactly the same content as 2.11.3 except for generated
3731 files.  Using GNU Indent 2.2.11.
3732
3733 ** API and ABI modifications:
3734 No changes since last version.
3735
3736 * Version 2.11.2 (released 2010-10-08)
3737
3738 ** libgnutls: Several bug fixes on session resumption
3739 and session tickets support.
3740
3741 ** libgnutls: Add new extended key usage ipsecIKE.
3742
3743 ** certtool: Renamed PKCS #11 options to: --p11-provider,
3744 --p11-export-url, --p11-list-certs, --p11-list-certs,
3745 --p11-list-privkeys, --p11-list-trusted, --p11-list-all-certs,
3746 --p11-list-all, --p11-list-tokens, --p11-login, --p11-write,
3747 --p11-write-label, --p11-write-trusted, --p11-detailed-url,
3748 --p11-delete-url
3749
3750 ** libgnutls: Corrected bug that caused importing DSA keys as RSA,
3751 introduced with the new nettle code.
3752
3753 ** libgnutls: Corrected advertizing issue for session tickets.
3754
3755 ** API and ABI modifications:
3756 gnutls_x509_crt_get_subject_unique_id: ADDED.
3757 gnutls_x509_crt_get_issuer_unique_id: ADDED.
3758
3759 * Version 2.11.1 (released 2010-09-14)
3760
3761 ** libgnutls: Nettle is the default crypto back end. Use --with-libgcrypt
3762 to use the libgcrypt back end.
3763
3764 ** libgnutls: Depend on nettle 2.1. This makes nettle a fully working
3765 backend crypto library.
3766
3767 ** libgnutls: Added RSA_NULL_SHA1 and SHA256 ciphersuites.
3768
3769 ** libgnutls: Several updates in the buffering internal interface.
3770
3771 ** libgnutls: Is now more liberal in the PEM decoding. That is spaces and
3772 tabs are being skipped.
3773
3774 ** libgnutls: Added support for draft-pechanec-pkcs11uri-02.
3775
3776 ** libgnutls: The %COMPAT flag now allows larger records that violate the
3777 TLS spec.
3778
3779 ** libgnutls: by default lowat level has been set to zero to avoid unnecessary
3780 system calls. Applications that depended on it being 1 should explicitly call
3781 gnutls_transport_set_lowat().
3782
3783 ** libgnutls: Updated documentation and gnutls_pk_params_t mappings
3784 to ECRYPT II recommendations. Mappings were moved to a single location
3785 and DSA keys are handled differently (since DSA2 allows for 1024,2048
3786 and 3072 keys only).
3787
3788 ** libgnutls: gnutls_x509_privkey_import() will fallback to
3789 gnutls_x509_privkey_import_pkcs8() without a password, if it
3790 is unable to decode the key.
3791
3792 ** libgnutls: HMAC-MD5 no longer used by default.
3793
3794 ** API and ABI modifications:
3795 gnutls_openpgp_privkey_sec_param: ADDED
3796 gnutls_x509_privkey_sec_param: ADDED
3797
3798 * Version 2.11.0 (released 2010-07-22)
3799
3800 ** libgnutls: support scattered write using writev(). This takes
3801 advantage of the new buffering layer and allows queuing of packets
3802 and flushing them. This is currently used for handshake messages
3803 only.
3804
3805 ** libgnutls: Added gnutls_global_set_mutex() to allow setting
3806 alternative locking procedures. By default the system available
3807 locking is used. In *NIX pthreads are used and in windows the
3808 critical section API. This follows a different approach than the
3809 previous versions that depended on libgcrypt initialization. The
3810 locks are now set by default in systems that support it. Programs
3811 that used gcry_control() to set thread locks should insert it into
3812 a block of
3813 #if GNUTLS_VERSION_NUMBER <= 0x020b00
3814         gcry_control(...)
3815 #endif
3816
3817 ** libgnutls: Added support for reading DN from EV-certificates.
3818 New DN values:
3819 jurisdictionOfIncorporationLocalityName,
3820 jurisdictionOfIncorporationStateOrProvinceName,
3821 jurisdictionOfIncorporationCountryName
3822
3823 ** libgnutls: Added support for DSA signing/verifying with bit
3824 length over 1024.
3825
3826 ** libgnutls-extra: When in FIPS mode gnutls_global_init_extra()
3827 has to be called to register any required md5 handlers.
3828
3829 ** libgnutls: Internal buffering code was replaced by simpler
3830 code contributed by Jonathan Bastien-Filiatrault.
3831
3832 ** libgnutls: Internal API for extensions augmented to allow
3833 safe storing and loading of data on resumption. This allows writing
3834 self-contained extensions (when possible). As a side effect
3835 the OPRFI extension was removed.
3836
3837 ** libgnutls: Added support for DSA-SHA256 and DSA-SHA224
3838
3839 ** libgnutls: Added PKCS #11 support and an API to access objects in
3840 gnutls/pkcs11.h. Currently certificates and public keys can be
3841 imported from tokens, and operations can be performed on private keys.
3842
3843 ** libgnutls: Added abstract gnutls_privkey_t and gnutls_pubkey_t
3844
3845 ** libgnutls: Added initial support for the nettle library. It uses
3846 the system's random generator for seeding. That is /dev/urandom in Linux,
3847 system calls in Win32 and EGD on other systems.
3848
3849 ** libgnutls: Corrected issue on the %SSL3_RECORD_VERSION priority string. It now
3850     works even when resuming a session.
3851
3852 ** libgnutls: Added gnutls_certificate_set_retrieve_function() to replace the
3853 similar gnutls_certificate_set_server_retrieve_function() and
3854 gnutls_certificate_set_client_retrieve_function(). In addition it support
3855 PKCS #11 private keys.
3856
3857 ** libgnutls: Added  gnutls_pkcs11_copy_x509_crt(), gnutls_pkcs11_copy_x509_privkey(),
3858 and gnutls_pkcs11_delete_url() to allow copying and deleting data in tokens.
3859
3860 ** libgnutls: Added gnutls_sec_param_to_pk_bits() et al. to allow select bit
3861 sizes for private keys using a human understandable scale.
3862
3863 ** certtool: Added new options: --pkcs11-list-tokens, --pkcs11-list-all
3864 --pkcs11-list-all-certs, --pkcs11-list-trusted, --pkcs11-list-certs,
3865 --pkcs11-delete-url, --pkcs11-write
3866
3867 certtool: The --pkcs-cipher is taken into account when generating a
3868 private key. The default cipher used now is aes-128. The old behavior can
3869 be simulated by specifying "--pkcs-cipher 3des-pkcs12".
3870
3871 certtool: Added --certificate-pubkey to print the public key of the
3872 certificate.
3873
3874 ** gnutls-cli/gnutls-serv: --x509cafile, --x509certfile and --x509keyfile
3875 can now accept a PKCS #11 URL in addition to a file. This will allow for
3876 example to use the Gnome-keyring trusted certificate list to verify
3877 connections using a url such as:
3878 pkcs11:token=Root%20CA%20Certificates;serial=1%3AROOTS%3ADEFAULT;model=1%2E0;manufacturer=Gnome%20Keyring
3879
3880 ** API and ABI modifications:
3881 gnutls_certificate_set_server_retrieve_function: DEPRECATED
3882 gnutls_certificate_set_client_retrieve_function: DEPRECATED
3883 gnutls_sign_callback_set: DEPRECATED
3884 gnutls_global_set_mutex: ADDED
3885 gnutls_pubkey_get_preferred_hash_algorithm: ADDED
3886 gnutls_x509_crt_get_preferred_hash_algorithm: ADDED
3887 gnutls_x509_privkey_export_rsa_raw2: ADDED
3888 gnutls_rnd: ADDED
3889 gnutls_sec_param_to_pk_bits: ADDED
3890 gnutls_pk_bits_to_sec_param: ADDED
3891 gnutls_sec_param_get_name: ADDED
3892 gnutls_pkcs11_type_get_name: ADDED
3893 gnutls_certificate_set_retrieve_function: ADDED
3894 gnutls_pkcs11_init: ADDED
3895 gnutls_pkcs11_deinit: ADDED
3896 gnutls_pkcs11_set_pin_function: ADDED
3897 gnutls_pkcs11_set_token_function: ADDED
3898 gnutls_pkcs11_add_provider: ADDED
3899 gnutls_pkcs11_obj_init: ADDED
3900 gnutls_pkcs11_obj_import_url: ADDED
3901 gnutls_pkcs11_obj_export_url: ADDED
3902 gnutls_pkcs11_obj_deinit: ADDED
3903 gnutls_pkcs11_obj_export: ADDED
3904 gnutls_pkcs11_obj_list_import_url: ADDED
3905 gnutls_pkcs11_obj_export: ADDED
3906 gnutls_x509_crt_import_pkcs11: ADDED
3907 gnutls_pkcs11_obj_get_type: ADDED
3908 gnutls_x509_crt_list_import_pkcs11: ADDED
3909 gnutls_x509_crt_import_pkcs11_url: ADDED
3910 gnutls_pkcs11_obj_get_info: ADDED
3911 gnutls_pkcs11_token_get_info: ADDED
3912 gnutls_pkcs11_token_get_url: ADDED
3913 gnutls_pkcs11_privkey_init: ADDED
3914 gnutls_pkcs11_privkey_deinit: ADDED
3915 gnutls_pkcs11_privkey_get_pk_algorithm: ADDED
3916 gnutls_pkcs11_privkey_get_info: ADDED
3917 gnutls_pkcs11_privkey_import_url: ADDED
3918 gnutls_pkcs11_privkey_sign_data: ADDED
3919 gnutls_pkcs11_privkey_sign_hash: ADDED
3920 gnutls_pkcs11_privkey_decrypt_data: ADDED
3921 gnutls_privkey_init: ADDED
3922 gnutls_privkey_deinit: ADDED
3923 gnutls_privkey_get_pk_algorithm: ADDED
3924 gnutls_privkey_get_type: ADDED
3925 gnutls_privkey_import_pkcs11: ADDED
3926 gnutls_privkey_import_x509: ADDED
3927 gnutls_privkey_import_openpgp: ADDED
3928 gnutls_privkey_sign_data: ADDED
3929 gnutls_privkey_sign_hash: ADDED
3930 gnutls_privkey_decrypt_data: ADDED
3931 gnutls_pkcs11_privkey_export_url: ADDED
3932 gnutls_x509_crq_privkey_sign: ADDED
3933 gnutls_x509_crl_privkey_sign: ADDED
3934 gnutls_x509_crt_privkey_sign: ADDED
3935 gnutls_pubkey_init: ADDED
3936 gnutls_pubkey_deinit: ADDED
3937 gnutls_pubkey_get_pk_algorithm: ADDED
3938 gnutls_pubkey_import_x509: ADDED
3939 gnutls_pubkey_import_openpgp: ADDED
3940 gnutls_pubkey_get_pk_rsa_raw: ADDED
3941 gnutls_pubkey_get_pk_dsa_raw: ADDED
3942 gnutls_pubkey_export: ADDED
3943 gnutls_pubkey_get_key_id: ADDED
3944 gnutls_pubkey_get_key_usage: ADDED
3945 gnutls_pubkey_verify_hash: ADDED
3946 gnutls_pubkey_get_verify_algorithm: ADDED
3947 gnutls_pkcs11_type_get_name: ADDED
3948 gnutls_pubkey_import_pkcs11_url: ADDED
3949 gnutls_pubkey_import: ADDED
3950 gnutls_pubkey_import_pkcs11: ADDED
3951 gnutls_pubkey_import_dsa_raw: ADDED
3952 gnutls_pubkey_import_rsa_raw: ADDED
3953 gnutls_x509_crt_set_pubkey: ADDED
3954 gnutls_x509_crq_set_pubkey: ADDED
3955 gnutls_pkcs11_copy_x509_crt: ADDED
3956 gnutls_pkcs11_copy_x509_privkey: ADDED
3957 gnutls_pkcs11_delete_url: ADDED
3958
3959 * Version 2.10.1 (released 2010-07-25)
3960
3961 ** libgnutls: Added support for broken certificates that indicate RSA
3962 with strange OIDs.
3963
3964 ** gnutls-cli: Allow verification using V1 CAs.
3965
3966 ** libgnutls: gnutls_x509_privkey_import() will fallback to
3967 gnutls_x509_privkey_import_pkcs8() without a password, if it
3968 is unable to decode the key.
3969
3970 ** libgnutls: Correctly deinitialize crypto API functions to prevent
3971 a memory leak.  Reported by Mads Kiilerich.
3972
3973 ** certtool: If asked to generate DSA keys of size more than 1024 bits,
3974 issue a warning, that the output key might not be working everywhere.
3975
3976 ** certtool: The --pkcs-cipher is taken into account when generating a
3977 private key. The default cipher used now is aes-128. The old behavior
3978 can be simulated by specifying "--pkcs-cipher 3des-pkcs12".
3979
3980 ** API and ABI modifications:
3981 No changes since last version.
3982
3983 * Version 2.10.0 (released 2010-06-25)
3984
3985 ** API and ABI modifications:
3986 No changes since last version.
3987
3988 * Version 2.9.12 (released 2010-06-17)
3989
3990 ** gnutls-cli: Make --starttls work again.
3991 Problem introduced in patch to use read() instead of fgets() committed
3992 on 2010-01-27.
3993
3994 ** API and ABI modifications:
3995 No changes since last version.
3996
3997 * Version 2.9.11 (released 2010-06-07)
3998
3999 ** libgnutls: Removed two APIs related to safe renegotiation.
4000 Use priority strings instead.  The APIs were
4001 gnutls_safe_negotiation_set_initial and gnutls_safe_renegotiation_set.
4002 (Remember that we don't promise ABI stability during development
4003 series, so this doesn't cause an shared library ABI increment.)
4004
4005 ** tests: More self testing of safe renegotiation extension.
4006 See tests/safe-renegotiation/README for more information.
4007
4008 ** doc: a PDF version of the API reference manual (GTK-DOC) is now built.
4009
4010 ** doc: Terms 'GNUTLS' and 'GNU TLS' were changed to 'GnuTLS' for consistency.
4011
4012 ** API and ABI modifications:
4013 gnutls_safe_negotiation_set_initial: REMOVED.
4014 gnutls_safe_renegotiation_set: REMOVED.
4015
4016 * Version 2.9.10 (released 2010-04-22)
4017
4018 ** libgnutls: Time verification extended to trusted certificate list.
4019 Unless new constant GNUTLS_VERIFY_DISABLE_TRUSTED_TIME_CHECKS flag is
4020 specified.
4021
4022 ** certtool: Display postalCode and Name X.509 DN attributes correctly.
4023 Based on patch by Pavan Konjarla.  Adds new constant
4024 GNUTLS_OID_X520_POSTALCODE and GNUTLS_OID_X520_NAME.
4025
4026 ** libgnutls: Added Steve Dispensa's patch for safe renegotiation (RFC 5746)
4027 Solves the issue discussed in:
4028 <http://www.ietf.org/mail-archive/web/tls/current/msg03928.html> and
4029 <http://www.ietf.org/mail-archive/web/tls/current/msg03948.html>.
4030 Note that to allow connecting to unpatched servers the full protection
4031 is only enabled if the priority string %SAFE_RENEGOTIATION is
4032 specified. You can check whether protection is in place by querying
4033 gnutls_safe_renegotiation_status().  New error codes
4034 GNUTLS_E_SAFE_RENEGOTIATION_FAILED and
4035 GNUTLS_E_UNSAFE_RENEGOTIATION_DENIED added.
4036
4037 ** libgnutls: When checking openpgp self signature also check the signatures
4038 ** of all subkeys.
4039 Ilari Liusvaara noticed and reported the issue and provided test
4040 vectors as well.
4041
4042 ** libgnutls: Added cryptodev support (/dev/crypto).
4043 Tested with http://www.logix.cz/michal/devel/cryptodev/.  Added
4044 benchmark utility for AES.  Adds new error codes
4045 GNUTLS_E_CRYPTODEV_IOCTL_ERROR and GNUTLS_E_CRYPTODEV_DEVICE_ERROR.
4046
4047 ** libgnutls: Exported API to access encryption and hash algorithms.
4048 The new API functions are gnutls_cipher_decrypt, gnutls_cipher_deinit,
4049 gnutls_cipher_encrypt, gnutls_cipher_get_block_size,
4050 gnutls_cipher_init, gnutls_hash, gnutls_hash_deinit, gnutls_hash_fast,
4051 gnutls_hash_get_len, gnutls_hash_init, gnutls_hash_output,
4052 gnutls_hmac, gnutls_hmac_deinit, gnutls_hmac_fast,
4053 gnutls_hmac_get_len, gnutls_hmac_init, gnutls_hmac_output.  New API
4054 constants are GNUTLS_MAC_SHA224 and GNUTLS_DIG_SHA224.
4055
4056 ** libgnutls: Added gnutls_certificate_set_verify_function() to allow
4057 verification of certificate upon receipt rather than waiting until the
4058 end of the handshake.
4059
4060 ** libgnutls: Don't send alerts during handshake.
4061 Instead new error code GNUTLS_E_UNKNOWN_SRP_USERNAME is added.
4062
4063 ** certtool: Corrected two issues that affected certificate request generation.
4064 (1) Null padding is added on integers (found thanks to Wilankar Trupti),
4065 (2) In optional SignatureAlgorithm parameters field for DSA keys the DSA
4066 parameters were added. Those were rejected by Verisign. Gnutls no longer adds
4067 those parameters there since other implementations don't do either and having
4068 them does not seem to offer anything (anyway you need the signer's certificate
4069 to verify thus public key will be available). Found thanks to Boyan Kasarov.
4070 This however has the side-effect that public key IDs shown by certtool are
4071 now different than previous gnutls releases.
4072 (3) the option --pgp-certificate-info will verify self signatures
4073
4074 ** certtool: Allow exporting of Certificate requests on DER format.
4075
4076 ** certtool: New option --no-crq-extensions to avoid extensions in CSRs.
4077
4078 ** gnutls-cli: Handle reading binary data from server.
4079 Reported by and tiny patch from Vitaly Mayatskikh
4080 <v.mayatskih@gmail.com> in
4081 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/4096>.
4082
4083 ** minitasn1: Upgraded to libtasn1 version 2.6.
4084
4085 ** i18n: Updated Czech, Dutch, French, Polish, Swedish translation.
4086 ** Added Italian and Simplified Chinese translation.
4087 Thanks to Petr Pisar, Erwin Poeze, Nicolas Provost, Jakub Bogusz,
4088 Daniel Nylander, Sergio Zanchetta, Tao Wei, and Aron Xu.
4089
4090 ** doc: The GTK-DOC manual is significantly improved.
4091
4092 ** API and ABI modifications:
4093 %DISABLE_SAFE_RENEGOTIATION: Added to priority strings (do not use).
4094 %INITIAL_SAFE_RENEGOTIATION: Added to priority strings.
4095 %UNSAFE_RENEGOTIATION: Added to priority strings.
4096 GNUTLS_DIG_SHA224: ADDED.
4097 GNUTLS_E_CRYPTODEV_DEVICE_ERROR: ADDED.
4098 GNUTLS_E_CRYPTODEV_IOCTL_ERROR: ADDED.
4099 GNUTLS_E_SAFE_RENEGOTIATION_FAILED: ADDED.
4100 GNUTLS_E_UNKNOWN_SRP_USERNAME: ADDED.
4101 GNUTLS_E_UNSAFE_RENEGOTIATION_DENIED: ADDED.
4102 GNUTLS_MAC_SHA224: ADDED.
4103 GNUTLS_OID_X520_NAME: ADDED.
4104 GNUTLS_OID_X520_POSTALCODE: ADDED.
4105 GNUTLS_VERIFY_DISABLE_TRUSTED_TIME_CHECKS: ADDED.
4106 GNUTLS_VERSION_MAX: ADDED.
4107 gnutls_certificate_set_verify_function: ADDED.
4108 gnutls_cipher_decrypt: ADDED.
4109 gnutls_cipher_deinit: ADDED.
4110 gnutls_cipher_encrypt: ADDED.
4111 gnutls_cipher_get_block_size: ADDED.
4112 gnutls_cipher_init: ADDED.
4113 gnutls_hash: ADDED.
4114 gnutls_hash_deinit: ADDED.
4115 gnutls_hash_fast: ADDED.
4116 gnutls_hash_get_len: ADDED.
4117 gnutls_hash_init: ADDED.
4118 gnutls_hash_output: ADDED.
4119 gnutls_hmac: ADDED.
4120 gnutls_hmac_deinit: ADDED.
4121 gnutls_hmac_fast: ADDED.
4122 gnutls_hmac_get_len: ADDED.
4123 gnutls_hmac_init: ADDED.
4124 gnutls_hmac_output: ADDED.
4125 gnutls_safe_negotiation_set_initial: ADDED.
4126 gnutls_safe_renegotiation_set: ADDED.
4127 gnutls_safe_renegotiation_status: ADDED.
4128
4129 * Version 2.9.9 (released 2009-11-09)
4130
4131 ** libgnutls: Cleanups and several bug fixes.
4132 Found by Steve Grubb and Tomas Mraz.
4133
4134 ** Link libgcrypt explicitly to certtool, gnutls-cli, gnutls-serv.
4135
4136 ** Fix --disable-valgrind-tests.
4137 Reported by Ingmar Vanhassel in
4138 <https://savannah.gnu.org/support/?107029>.
4139
4140 ** API and ABI modifications:
4141 No changes since last version.
4142
4143 * Version 2.9.8 (released 2009-11-05)
4144
4145 ** libgnutls: Fix for memory leaks on interrupted handshake.
4146 Reported by Tang Tong.
4147
4148 ** libgnutls: Addition of support for TLS 1.2 signature algorithms
4149 ** extension and certificate verify field.
4150 This requires changes for TLS 1.2 servers and clients that use
4151 callbacks for certificate retrieval.  They are now required to check
4152 with gnutls_sign_algorithm_get_requested() whether the certificate
4153 they send complies with the peer's preferences in signature
4154 algorithms.
4155
4156 ** libgnutls: In server side when resuming a session do not overwrite the
4157 ** initial session data with the resumed session data.
4158
4159 ** libgnutls: Added support for AES-128, AES-192 and AES-256 in PKCS #8
4160 ** encryption.
4161 This affects also PKCS #12 encoded files.  This adds the following new
4162 enums: GNUTLS_CIPHER_AES_192_CBC, GNUTLS_PKCS_USE_PBES2_AES_128,
4163 GNUTLS_PKCS_USE_PBES2_AES_192, GNUTLS_PKCS_USE_PBES2_AES_256.
4164
4165 ** libgnutls: Fix PKCS#12 encoding.
4166 The error you would get was "The OID is not supported.".  Problem
4167 introduced for the v2.8.x branch in 2.7.6.
4168
4169 ** certtool: Added the --pkcs-cipher option.
4170 To explicitely specify the encryption algorithm to use.
4171
4172 ** tests: Added "pkcs12_encode" self-test to check PKCS#12 functions.
4173
4174 ** tests: Fix time bomb in chainverify self-test.
4175 Reported by Andreas Metzler <ametzler@downhill.at.eu.org> in
4176 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3925>.
4177
4178 ** tests: Fix expired cert in chainverify self-test.
4179
4180 ** i18n: Vietnamese translation updated.
4181 Thanks to Clytie Siddall.
4182
4183 ** API and ABI modifications:
4184 GNUTLS_CIPHER_AES_192_CBC: ADDED to gnutls/gnutls.h.
4185 GNUTLS_PKCS_USE_PBES2_AES_128: ADDED to gnutls/x509.h.
4186 GNUTLS_PKCS_USE_PBES2_AES_192: ADDED to gnutls/x509.h.
4187 GNUTLS_PKCS_USE_PBES2_AES_256: ADDED to gnutls/x509.h.
4188 GNUTLS_BAG_SECRET: ADDED to gnutls/pkcs12.h.
4189 GNUTLS_DIG_UNKNOWN: ADDED to gnutls/gnutls.h.
4190 gnutls_sign_algorithm_get_requested: ADDED.
4191
4192 * Version 2.9.7 (released 2009-10-06)
4193
4194 ** libgnutls: TLS 1.2 server mode fixes.
4195 Now interoperates against Opera.  Contributed by Daiki Ueno.
4196
4197 ** libgnutlsxx: Fix link problems.
4198 Tiny patch from Boyan Kasarov <bkasarov@gmail.com>.
4199
4200 ** guile: Compatibility with guile 2.x.
4201 By Ludovic Courtes <ludovic.courtes@laas.fr>.
4202
4203 ** API and ABI modifications:
4204 No changes since last version.
4205
4206 * Version 2.9.6 (released 2009-09-22)
4207
4208 ** libgnutls: Enable Camellia ciphers by default.
4209
4210 ** API and ABI modifications:
4211 No changes since last version.
4212
4213 * Version 2.9.5 (released 2009-09-10)
4214
4215 ** libgnutls: Add new functions to extract X.509 Issuer Alternative Names.
4216 The new functions are gnutls_x509_crt_get_issuer_alt_name2,
4217 gnutls_x509_crt_get_issuer_alt_name, and
4218 gnutls_x509_crt_get_issuer_alt_othername_oid.  Contributed by Brad
4219 Hards <bradh@frogmouth.net>.
4220
4221 ** API and ABI modifications:
4222 gnutls_x509_crt_get_issuer_alt_name2: ADDED.
4223 gnutls_x509_crt_get_issuer_alt_name: ADDED.
4224 gnutls_x509_crt_get_issuer_alt_othername_oid: ADDED.
4225
4226 * Version 2.9.4 (released 2009-09-03)
4227
4228 ** libgnutls: Client-side TLS 1.2 and SHA-256 ciphersuites now works.
4229 The new supported ciphersuites are AES-128/256 in CBC mode with
4230 ANON-DH/RSA/DHE-DSS/DHE-RSA.  Contributed by Daiki Ueno.  Further,
4231 SHA-256 is now the preferred default MAC (however it is only used with
4232 TLS 1.2).
4233
4234 ** libgnutls: Make OpenPGP hostname checking work again.
4235 The patch to resolve the X.509 CN/SAN issue accidentally broken
4236 OpenPGP hostname comparison.
4237
4238 ** libgnutls: When printing X.509 certificates, handle XMPP SANs better.
4239 Reported by Howard Chu <hyc@symas.com> in
4240 <https://savannah.gnu.org/support/?106975>.
4241
4242 ** Fix use of deprecated types internally.
4243 Use of deprecated types in GnuTLS from now on will lead to a compile
4244 error, to prevent this from happening again.
4245
4246 ** API and ABI modifications:
4247 No changes since last version.
4248
4249 * Version 2.9.3 (released 2009-08-19)
4250
4251 ** libgnutls: Support for TLS tickets was contributed by Daiki Ueno.
4252 The new APIs are gnutls_session_ticket_enable_client,
4253 gnutls_session_ticket_enable_server, and
4254 gnutls_session_ticket_key_generate.
4255
4256 ** gnutls-cli, gnutls-serv: New parameter --noticket to disable TLS tickets.
4257
4258 ** API and ABI modifications:
4259 gnutls_session_ticket_key_generate: ADDED.
4260 gnutls_session_ticket_enable_client: ADDED.
4261 gnutls_session_ticket_enable_server: ADDED.
4262
4263 * Version 2.9.2 (released 2009-08-14)
4264
4265 ** libgnutls: Fix problem with NUL bytes in X.509 CN and SAN fields.
4266 By using a NUL byte in CN/SAN fields, it was possible to fool GnuTLS
4267 into 1) not printing the entire CN/SAN field value when printing a
4268 certificate and 2) cause incorrect positive matches when matching a
4269 hostname against a certificate.  Some CAs apparently have poor
4270 checking of CN/SAN values and issue these (arguable invalid)
4271 certificates.  Combined, this can be used by attackers to become a
4272 MITM on server-authenticated TLS sessions.  The problem is mitigated
4273 since attackers needs to get one certificate per site they want to
4274 attack, and the attacker reveals his tracks by applying for a
4275 certificate at the CA.  It does not apply to client authenticated TLS
4276 sessions.  Research presented independently by Dan Kaminsky and Moxie
4277 Marlinspike at BlackHat09.  Thanks to Tomas Hoger <thoger@redhat.com>
4278 for providing one part of the patch.  [GNUTLS-SA-2009-4] [CVE-2009-2730].
4279
4280 ** libgnutls: Fix rare failure in gnutls_x509_crt_import.
4281 The function may fail incorrectly when an earlier certificate was
4282 imported to the same gnutls_x509_crt_t structure.
4283
4284 ** minitasn1: Internal copy updated to libtasn1 v2.3.
4285
4286 ** libgnutls: Fix return value of gnutls_certificate_client_get_request_status.
4287 Before it always returned false.  Reported by Peter Hendrickson
4288 <pdh@wiredyne.com> in
4289 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3668>.
4290
4291 ** libgnutls: Fix off-by-one size computation error in unknown DN printing.
4292 The error resulted in truncated strings when printing unknown OIDs in
4293 X.509 certificate DNs.  Reported by Tim Kosse
4294 <tim.kosse@filezilla-project.org> in
4295 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3651>.
4296
4297 ** libgnutls: Fix PKCS#12 decryption from password.
4298 The encryption key derived from the password was incorrect for (on
4299 average) 1 in every 128 input for random inputs.  Reported by "Kukosa,
4300 Tomas" <tomas.kukosa@siemens-enterprise.com> in
4301 <http://permalink.gmane.org/gmane.network.gnutls.general/1663>.
4302
4303 ** libgnutls: Return correct bit lengths of some MPIs.
4304 gnutls_dh_get_prime_bits, gnutls_rsa_export_get_modulus_bits, and
4305 gnutls_dh_get_peers_public_bits.  Before the reported value was
4306 overestimated.  Reported by Peter Hendrickson <pdh@wiredyne.com> in
4307 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3607>.
4308
4309 ** libgnutls: Avoid internal error when invoked after GNUTLS_E_AGAIN.
4310 Report and patch by Tim Kosse <tim.kosse@filezilla-project.org> in
4311 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3671>
4312 and
4313 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3670>.
4314
4315 ** libgnutls: Relax checking of required libtasn1/libgcrypt versions.
4316 Before we required that the runtime library used the same (or more
4317 recent) libgcrypt/libtasn1 as it was compiled with.  Now we just check
4318 that the runtime usage is above the minimum required.  Reported by
4319 Marco d'Itri <md@linux.it> via Andreas Metzler
4320 <ametzler@downhill.at.eu.org> in <http://bugs.debian.org/540449>.
4321
4322 ** tests: Added new self-test pkcs12_s2k_pem to detect MPI bit length error.
4323
4324 ** tests: Improved test vectors in self-test pkcs12_s2k.
4325
4326 ** tests: Added new self-test dn2 to detect off-by-one size error.
4327
4328 ** tests: Fix failure in "chainverify" because a certificate have expired.
4329
4330 ** API and ABI modifications:
4331 No changes since last version.
4332
4333 * Version 2.9.1 (released 2009-06-08)
4334
4335 ** libgnutls: Fix crash in gnutls_global_init after earlier init/deinit cycle.
4336 Forwarded by Martin von Gagern <Martin.vGagern@gmx.net> from
4337 <http://bugs.gentoo.org/272388>.
4338
4339 ** tests: Added new self-tests init_roundtrip.c to detect previous problem.
4340
4341 ** Reduce stack usage for some CRQ functions.
4342
4343 ** Doc fixes for CRQ functions.
4344
4345 ** API and ABI modifications:
4346 No changes since last version.
4347
4348 * Version 2.9.0 (released 2009-05-28)
4349
4350 ** Doc fixes.
4351
4352 ** API and ABI modifications:
4353 No changes since last version.
4354
4355 * Version 2.8.6 (released 2010-03-15)
4356
4357 ** libgnutls: For CSRs, don't null pad integers for RSA/DSA value.
4358 VeriSign rejected CSRs with this padding.  Reported by Wilankar Trupti
4359 <trupti.wilankar@hp.com> and Boyan Kasarov <bkasarov@gmail.com>.
4360
4361 Note: As a side effect of this change, the "public key identifier"
4362 value computed for a certificate using this version of GnuTLS will be
4363 different from values computed using earlier versions of GnuTLS.
4364
4365 ** libgnutls: For CSRs on DSA keys, don't add DSA parameters to the
4366 ** optional SignatureAlgorithm parameter field.
4367 VeriSign rejected these CSRs.  They are stricly speaking not needed
4368 since you need the signer's certificate to verify the certificate
4369 signature anyway.  Reported by Wilankar Trupti
4370 <trupti.wilankar@hp.com> and Boyan Kasarov <bkasarov@gmail.com>.
4371
4372 ** libgnutls: When checking openpgp self signature also check the signatures
4373 ** of all subkeys.
4374 Ilari Liusvaara noticed and reported the issue and provided test
4375 vectors as well.
4376
4377 ** libgnutls: Cleanups and several bug fixes.
4378 Found by Steve Grubb and Tomas Mraz.
4379
4380 ** Link libgcrypt explicitly to certtool, gnutls-cli, gnutls-serv.
4381
4382 ** Fix --disable-valgrind-tests.
4383 Reported by Ingmar Vanhassel in
4384 <https://savannah.gnu.org/support/?107029>.
4385
4386 ** examples: Use the new APIs for printing X.509 certificate information.
4387
4388 ** Fix build failures on Solaris.
4389 Thanks to Dagobert Michelsen <dam@opencsw.org>.
4390
4391 ** i18n: Updated Czech, Dutch, French, Polish, Swedish and Vietnamese
4392 ** translations.  Added Simplified Chinese translation.
4393
4394 ** API and ABI modifications:
4395 No changes since last version.
4396
4397 * Version 2.8.5 (released 2009-11-02)
4398
4399 ** libgnutls: In server side when resuming a session do not overwrite the
4400 ** initial session data with the resumed session data.
4401
4402 ** libgnutls: Fix PKCS#12 encoding.
4403 The error you would get was "The OID is not supported.".  Problem
4404 introduced for the v2.8.x branch in 2.7.6.
4405
4406 ** guile: Compatibility with guile 2.x.
4407 By Ludovic Courtes <ludovic.courtes@laas.fr>.
4408
4409 ** tests: Fix expired cert in chainverify self-test.
4410
4411 ** tests: Fix time bomb in chainverify self-test.
4412 Reported by Andreas Metzler <ametzler@downhill.at.eu.org> in
4413 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3925>.
4414
4415 ** API and ABI modifications:
4416 No changes since last version.
4417
4418 * Version 2.8.4 (released 2009-09-18)
4419
4420 ** libgnutls: Enable Camellia ciphers by default.
4421
4422 ** libgnutls: Make OpenPGP hostname checking work again.
4423 The patch to resolve the X.509 CN/SAN issue accidentally broken
4424 OpenPGP hostname comparison.
4425
4426 ** libgnutls: When printing X.509 certificates, handle XMPP SANs better.
4427 Reported by Howard Chu <hyc@symas.com> in
4428 <https://savannah.gnu.org/support/?106975>.
4429
4430 ** API and ABI modifications:
4431 No changes since last version.
4432
4433 * Version 2.8.3 (released 2009-08-13)
4434
4435 ** libgnutls: Fix patch for NUL in CN/SAN in last release.
4436 Code intended to be removed would lead to an read-out-bound error in
4437 some situations.  Reported by Tomas Hoger <thoger@redhat.com>.  A CVE
4438 code have been allocated for the vulnerability: [CVE-2009-2730].
4439
4440 ** libgnutls: Fix rare failure in gnutls_x509_crt_import.
4441 The function may fail incorrectly when an earlier certificate was
4442 imported to the same gnutls_x509_crt_t structure.
4443
4444 ** libgnutls-extra, libgnutls-openssl: Fix MinGW cross-compiling build error.
4445
4446 ** tests: Made self-test mini-eagain take less time.
4447
4448 ** doc: Typo fixes.
4449
4450 ** API and ABI modifications:
4451 No changes since last version.
4452
4453 * Version 2.8.2 (released 2009-08-10)
4454
4455 ** libgnutls: Fix problem with NUL bytes in X.509 CN and SAN fields.
4456 By using a NUL byte in CN/SAN fields, it was possible to fool GnuTLS
4457 into 1) not printing the entire CN/SAN field value when printing a
4458 certificate and 2) cause incorrect positive matches when matching a
4459 hostname against a certificate.  Some CAs apparently have poor
4460 checking of CN/SAN values and issue these (arguable invalid)
4461 certificates.  Combined, this can be used by attackers to become a
4462 MITM on server-authenticated TLS sessions.  The problem is mitigated
4463 since attackers needs to get one certificate per site they want to
4464 attack, and the attacker reveals his tracks by applying for a
4465 certificate at the CA.  It does not apply to client authenticated TLS
4466 sessions.  Research presented independently by Dan Kaminsky and Moxie
4467 Marlinspike at BlackHat09.  Thanks to Tomas Hoger <thoger@redhat.com>
4468 for providing one part of the patch.  [GNUTLS-SA-2009-4].
4469
4470 ** libgnutls: Fix return value of gnutls_certificate_client_get_request_status.
4471 Before it always returned false.  Reported by Peter Hendrickson
4472 <pdh@wiredyne.com> in
4473 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3668>.
4474
4475 ** libgnutls: Fix off-by-one size computation error in unknown DN printing.
4476 The error resulted in truncated strings when printing unknown OIDs in
4477 X.509 certificate DNs.  Reported by Tim Kosse
4478 <tim.kosse@filezilla-project.org> in
4479 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3651>.
4480
4481 ** libgnutls: Return correct bit lengths of some MPIs.
4482 gnutls_dh_get_prime_bits, gnutls_rsa_export_get_modulus_bits, and
4483 gnutls_dh_get_peers_public_bits.  Before the reported value was
4484 overestimated.  Reported by Peter Hendrickson <pdh@wiredyne.com> in
4485 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3607>.
4486
4487 ** libgnutls: Avoid internal error when invoked after GNUTLS_E_AGAIN.
4488 Report and patch by Tim Kosse <tim.kosse@filezilla-project.org> in
4489 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3671>
4490 and
4491 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3670>.
4492
4493 ** libgnutls: Relax checking of required libtasn1/libgcrypt versions.
4494 Before we required that the runtime library used the same (or more
4495 recent) libgcrypt/libtasn1 as it was compiled with.  Now we just check
4496 that the runtime usage is above the minimum required.  Reported by
4497 Marco d'Itri <md@linux.it> via Andreas Metzler
4498 <ametzler@downhill.at.eu.org> in <http://bugs.debian.org/540449>.
4499
4500 ** minitasn1: Internal copy updated to libtasn1 v2.3.
4501
4502 ** tests: Fix failure in "chainverify" because a certificate have expired.
4503
4504 ** API and ABI modifications:
4505 No changes since last version.
4506
4507 * Version 2.8.1 (released 2009-06-10)
4508
4509 ** libgnutls: Fix crash in gnutls_global_init after earlier init/deinit cycle.
4510 Forwarded by Martin von Gagern <Martin.vGagern@gmx.net> from
4511 <http://bugs.gentoo.org/272388>.
4512
4513 ** libgnutls: Fix PKCS#12 decryption from password.
4514 The encryption key derived from the password was incorrect for (on
4515 average) 1 in every 128 input for random inputs.  Reported by "Kukosa,
4516 Tomas" <tomas.kukosa@siemens-enterprise.com> in
4517 <http://permalink.gmane.org/gmane.network.gnutls.general/1663>.
4518
4519 ** API and ABI modifications:
4520 No changes since last version.
4521
4522 * Version 2.8.0 (released 2009-05-27)
4523
4524 ** doc: Fix gnutls_dh_get_prime_bits.  Fix error codes and algorithm lists.
4525
4526 ** Major changes compared to the v2.4 branch:
4527
4528 *** lib: Linker version scripts reduces number of exported symbols.
4529
4530 *** lib: Limit exported symbols on systems without LD linker scripts.
4531
4532 *** libgnutls: Fix namespace issue with version symbols.
4533
4534 *** libgnutls: Add functions to verify a hash against a certificate.
4535 gnutls_x509_crt_verify_hash: ADDED
4536 gnutls_x509_crt_get_verify_algorithm: ADDED
4537
4538 *** gnutls-serv: Listen on all interfaces, including both IPv4 and IPv6.
4539
4540 *** i18n: The GnuTLS gettext domain is now 'libgnutls' instead of 'gnutls'.
4541
4542 *** certtool: Query for multiple dnsName subjectAltName in interactive mode.
4543
4544 *** gnutls-cli: No longer accepts V1 CAs by default during X.509 chain verify.
4545
4546 *** gnutls-serv: No longer disable MAC padding by default.
4547
4548 *** gnutls-cli: Certificate information output format changed.
4549
4550 *** libgnutls: New priority strings %VERIFY_ALLOW_SIGN_RSA_MD5
4551 *** and %VERIFY_ALLOW_X509_V1_CA_CRT.
4552
4553 *** libgnutls: gnutls_x509_crt_print prints signature algorithm in oneline mode.
4554
4555 *** libgnutls: gnutls_openpgp_crt_print supports oneline mode.
4556
4557 *** libgnutls: gnutls_handshake when sending client hello during a
4558 rehandshake, will not offer a version number larger than the current.
4559
4560 *** libgnutls: New interface to get key id for certificate requests.
4561 gnutls_x509_crq_get_key_id: ADDED.
4562
4563 *** libgnutls: gnutls_x509_crq_print will now also print public key id.
4564
4565 *** certtool: --verify-chain now prints results of using library verification.
4566
4567 *** libgnutls: Libgcrypt initialization changed.
4568
4569 *** libgnutls: Small byte reads via gnutls_record_recv() optimized.
4570
4571 *** gnutls-cli: Return non-zero exit code on error conditions.
4572
4573 *** gnutls-cli: Corrected bug which caused a rehandshake request to be ignored.
4574
4575 *** certtool: allow setting arbitrary key purpose object identifiers.
4576
4577 *** libgnutls: Change detection of when to use a linker version script.
4578 Use --enable-ld-version-script or --disable-ld-version-script to
4579 override auto-detection logic.
4580
4581 *** Fix warnings and build GnuTLS with more warnings enabled.
4582
4583 *** New API to set X.509 credentials from PKCS#12 memory structure.
4584 gnutls_certificate_set_x509_simple_pkcs12_mem: ADDED
4585
4586 *** Old libgnutls.m4 and libgnutls-config scripts removed.
4587 Please use pkg-config instead.
4588
4589 *** libgnutls: Added functions to handle CRL extensions.
4590 gnutls_x509_crl_get_authority_key_id: ADDED
4591 gnutls_x509_crl_get_number: ADDED
4592 gnutls_x509_crl_get_extension_oid: ADDED
4593 gnutls_x509_crl_get_extension_info: ADDED
4594 gnutls_x509_crl_get_extension_data: ADDED
4595 gnutls_x509_crl_set_authority_key_id: ADDED
4596 gnutls_x509_crl_set_number: ADDED
4597
4598 *** libgnutls: Added functions to handle X.509 extensions in Certificate
4599 Requests.
4600 gnutls_x509_crq_get_key_rsa_raw: ADDED
4601 gnutls_x509_crq_get_attribute_info: ADDED
4602 gnutls_x509_crq_get_attribute_data: ADDED
4603 gnutls_x509_crq_get_extension_info: ADDED
4604 gnutls_x509_crq_get_extension_data: ADDED
4605 gnutls_x509_crq_get_key_usage: ADDED
4606 gnutls_x509_crq_get_basic_constraints: ADDED
4607 gnutls_x509_crq_get_subject_alt_name: ADDED
4608 gnutls_x509_crq_get_subject_alt_othername_oid: ADDED
4609 gnutls_x509_crq_get_extension_by_oid: ADDED
4610 gnutls_x509_crq_set_subject_alt_name: ADDED
4611 gnutls_x509_crq_set_basic_constraints: ADDED
4612 gnutls_x509_crq_set_key_usage: ADDED
4613 gnutls_x509_crq_get_key_purpose_oid: ADDED
4614 gnutls_x509_crq_set_key_purpose_oid: ADDED
4615 gnutls_x509_crq_print: ADDED
4616 gnutls_x509_crt_set_crq_extensions: ADDED
4617
4618 *** certtool: Print and set CRL and CRQ extensions.
4619
4620 *** minitasn1: Internal copy updated to libtasn1 v2.1.
4621
4622 *** examples: Now released into the public domain.
4623
4624 *** The Texinfo and GTK-DOC manuals were improved.
4625
4626 *** Several self-tests were added and others improved.
4627
4628 *** API/ABI changes in GnuTLS 2.8 compared to GnuTLS 2.6.x
4629 No offically supported interfaces have been modified or removed.  The
4630 library should be completely backwards compatible on both the source
4631 and binary level.
4632
4633 The shared library no longer exports some symbols that have never been
4634 officially supported, i.e., not mentioned in any of the header files.
4635 The symbols are:
4636
4637   _gnutls*
4638   gnutls_asn1_tab
4639
4640 Normally when symbols are removed, the shared library version has to
4641 be incremented.  This leads to a significant cost for everyone using
4642 the library.  Because none of the above symbols have ever been
4643 intended for use by well-behaved applications, we decided that the it
4644 would be better for those applications to pay the price rather than
4645 incurring problems on the majority of applications.
4646
4647 If it turns out that applications have been using unofficial
4648 interfaces, we will need to release a follow-on release on the v2.8
4649 branch to exports additional interfaces.  However, initial testing
4650 suggests that few if any applications have been using any of the
4651 internal symbols.
4652
4653 Although not a new change compared to 2.6.x, we'd like to remind you
4654 interfaces have been modified so that X.509 chain verification now
4655 also checks activation/expiration times on certificates.  The affected
4656 functions are:
4657
4658 gnutls_x509_crt_list_verify: CHANGED, checks activation/expiration times.
4659 gnutls_certificate_verify_peers: Likewise.
4660 gnutls_certificate_verify_peers2: Likewise.
4661 GNUTLS_CERT_NOT_ACTIVATED: ADDED.
4662 GNUTLS_CERT_EXPIRED: ADDED.
4663 GNUTLS_VERIFY_DISABLE_TIME_CHECKS: ADDED.
4664
4665 This change in behaviour was made during the GnuTLS 2.6.x cycle, and
4666 we gave our rationale for it in earlier release notes.
4667
4668 The following symbols have been added to the library:
4669
4670 gnutls_certificate_set_x509_simple_pkcs12_mem: ADDED
4671 gnutls_x509_crl_get_authority_key_id: ADDED
4672 gnutls_x509_crl_get_extension_data: ADDED
4673 gnutls_x509_crl_get_extension_info: ADDED
4674 gnutls_x509_crl_get_extension_oid: ADDED
4675 gnutls_x509_crl_get_number: ADDED
4676 gnutls_x509_crl_set_authority_key_id: ADDED
4677 gnutls_x509_crl_set_number: ADDED
4678 gnutls_x509_crq_get_attribute_data: ADDED
4679 gnutls_x509_crq_get_attribute_info: ADDED
4680 gnutls_x509_crq_get_basic_constraints: ADDED
4681 gnutls_x509_crq_get_extension_by_oid: ADDED
4682 gnutls_x509_crq_get_extension_data: ADDED
4683 gnutls_x509_crq_get_extension_info: ADDED
4684 gnutls_x509_crq_get_key_id: ADDED.
4685 gnutls_x509_crq_get_key_purpose_oid: ADDED
4686 gnutls_x509_crq_get_key_rsa_raw: ADDED
4687 gnutls_x509_crq_get_key_usage: ADDED
4688 gnutls_x509_crq_get_subject_alt_name: ADDED
4689 gnutls_x509_crq_get_subject_alt_othername_oid: ADDED
4690 gnutls_x509_crq_print: ADDED
4691 gnutls_x509_crq_set_basic_constraints: ADDED
4692 gnutls_x509_crq_set_key_purpose_oid: ADDED
4693 gnutls_x509_crq_set_key_usage: ADDED
4694 gnutls_x509_crq_set_subject_alt_name: ADDED
4695 gnutls_x509_crt_get_verify_algorithm: ADDED
4696 gnutls_x509_crt_set_crq_extensions: ADDED
4697 gnutls_x509_crt_verify_hash: ADDED
4698
4699 The following interfaces have been added to the header files:
4700
4701 GNUTLS_VERSION: ADDED, replaces LIBGNUTLS_VERSION.
4702 GNUTLS_VERSION_MAJOR: ADDED, replaces LIBGNUTLS_VERSION_MAJOR.
4703 GNUTLS_VERSION_MINOR: ADDED, replaces LIBGNUTLS_VERSION_MINOR.
4704 GNUTLS_VERSION_PATCH: ADDED, replaces LIBGNUTLS_VERSION_PATCH.
4705 GNUTLS_VERSION_NUMBER: ADDED, replaces LIBGNUTLS_VERSION_NUMBER.
4706 GNUTLS_EXTRA_VERSION: ADDED, replaces LIBGNUTLS_EXTRA_VERSION.
4707
4708 The following interfaces have been deprecated:
4709
4710 LIBGNUTLS_VERSION: DEPRECATED.
4711 LIBGNUTLS_VERSION_MAJOR: DEPRECATED.
4712 LIBGNUTLS_VERSION_MINOR: DEPRECATED.
4713 LIBGNUTLS_VERSION_PATCH: DEPRECATED.
4714 LIBGNUTLS_VERSION_NUMBER: DEPRECATED.
4715 LIBGNUTLS_EXTRA_VERSION: DEPRECATED.
4716
4717 * Version 2.7.14 (released 2009-05-26)
4718
4719 ** libgnutls: Fix namespace issue with version symbol for libgnutls-extra.
4720 The symbol LIBGNUTLS_EXTRA_VERSION were renamed to
4721 GNUTLS_EXTRA_VERSION.  The old symbol will continue to work but is
4722 deprecated.
4723
4724 ** Doc: Several typo fixes in documentation.
4725 Reported by Peter Hendrickson <pdh@wiredyne.com>.
4726
4727 ** API and ABI modifications:
4728 GNUTLS_VERSION: ADDED, replaces LIBGNUTLS_EXTRA_VERSION.
4729 LIBGNUTLS_EXTRA_VERSION: DEPRECATED.
4730
4731 * Version 2.7.13 (released 2009-05-25)
4732
4733 ** libgnutls: Fix version of some exported symbols in the shared library.
4734 Reported by Andreas Metzler <ametzler@downhill.at.eu.org> in
4735 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3576>.
4736
4737 ** tests: Handle recently expired certificates in chainverify self-test.
4738 Reported by Andreas Metzler <ametzler@downhill.at.eu.org> in
4739 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3580>.
4740
4741 ** API and ABI modifications:
4742 No changes since last version.
4743
4744 * Version 2.7.12 (released 2009-05-20)
4745
4746 ** gnutls-serv, gnutls-cli-debug: Make them work on Windows.
4747
4748 ** tests/crq_key_id: Don't read entropy from /dev/random in self-test.
4749 Reported by Andreas Metzler <ametzler@downhill.at.eu.org> in
4750 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3570>.
4751
4752 ** Fix build failures.
4753 Missing sa_family_t and vsnprintf on IRIX.  Reported by "Tom
4754 G. Christensen" <tgc@jupiterrise.com> in
4755 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3571>.
4756
4757 ** minitasn1: Internal copy updated to libtasn1 v2.2.
4758 GnuTLS should work fine with libtasn1 v1.x and that is still
4759 supported.
4760
4761 ** API and ABI modifications:
4762 No changes since last version.
4763
4764 * Version 2.7.11 (released 2009-05-18)
4765
4766 ** minitasn1: Fix build failure when using internal libtasn1.
4767 Reported by "Tom G. Christensen" <tgc@jupiterrise.com> in
4768 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3548>.
4769
4770 ** libgnutls: Fix build failure with --disable-cxx.
4771 Reported by Andreas Metzler <ametzler@downhill.at.eu.org> in
4772 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3557>.
4773
4774 ** gnutls-serv: Fix build failure for unportable NI_MAXHOST/NI_MAXSERV.
4775 Reported by "Tom G. Christensen" <tgc@jupiterrise.com> in
4776 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3560>
4777
4778 ** Building with many warning flags now requires --enable-gcc-warnings.
4779 This avoids crying wolf for normal compiles.
4780
4781 ** API and ABI modifications:
4782 No changes since last version.
4783
4784 * Version 2.7.10 (released 2009-05-13)
4785
4786 ** examples: Now released into the public domain.
4787 This makes the license of the example code compatible with more
4788 licenses, including the (L)GPL.
4789
4790 ** minitasn1: Internal copy updated to libtasn1 v2.1.
4791 GnuTLS should work fine with libtasn1 v1.x and that is still
4792 supported.
4793
4794 ** libgnutls: Fix crash in signature verification
4795 The fix for the CVE-2009-1415 problem wasn't merged completely.
4796
4797 ** doc: Fixes for GTK-DOC output.
4798
4799 ** API and ABI modifications:
4800 No changes since last version.
4801
4802 * Version 2.7.9 (released 2009-05-11)
4803
4804 ** doc: Fix strings in man page of gnutls_priority_init.
4805
4806 ** doc: Fix tables of error codes and supported algorithms.
4807
4808 ** Fix build failure when cross-compiled using MinGW.
4809
4810 ** Fix build failure when LZO is enabled.
4811 Reported by Arfrever Frehtes Taifersar Arahesis
4812 <arfrever.fta@gmail.com> in
4813 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3522>.
4814
4815 ** Fix build failure on systems without AF_INET6, e.g., Solaris 2.6.
4816 Reported by "Tom G. Christensen" <tgc@jupiterrise.com> in
4817 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3524>.
4818
4819 ** Fix warnings in self-tests.
4820
4821 ** API and ABI modifications:
4822 No changes since last version.
4823
4824 * Version 2.7.8 (released 2009-05-03)
4825
4826 ** libgnutls: Fix DSA key generation.
4827 Merged from stable branch.  [GNUTLS-SA-2009-2] [CVE-2009-1416]
4828
4829 ** libgnutls: Check expiration/activation time on untrusted certificates.
4830 Merged from stable branch.  Reported by Romain Francoise
4831 <romain@orebokech.com>.  This changes the semantics of
4832 gnutls_x509_crt_list_verify, which in turn is used by
4833 gnutls_certificate_verify_peers and gnutls_certificate_verify_peers2.
4834 We add two new gnutls_certificate_status_t codes for reporting the new
4835 error condition, GNUTLS_CERT_NOT_ACTIVATED and GNUTLS_CERT_EXPIRED.
4836 We also add a new gnutls_certificate_verify_flags flag,
4837 GNUTLS_VERIFY_DISABLE_TIME_CHECKS, that can be used to disable the new
4838 behaviour.  [GNUTLS-SA-2009-3] [CVE-2009-1417]
4839
4840 ** lib: Linker version scripts reduces number of exported symbols.
4841 The linker version script now lists all exported ABIs explicitly, to
4842 avoid accidentally exporting unintended functions.  Compared to
4843 before, most symbols beginning with _gnutls* are no longer exported.
4844 These functions have never been intended for use by applications, and
4845 there were no prototypes for these function in the public header
4846 files.  Thus we believe it is possible to do this without incrementing
4847 the library ABI version which normally has to be done when removing an
4848 interface.
4849
4850 ** lib: Limit exported symbols on systems without LD linker scripts.
4851 Before all symbols were exported.  Now we limit the exported symbols
4852 to (for libgnutls and libgnutls-extra) gnutls* and (for libgnutls)
4853 _gnutls*.  This is a superset of the actual supported ABI, but still
4854 an improvement compared to before.  This is implemented using Libtool
4855 -export-symbols-regex.  It is more portable than linker version
4856 scripts.
4857
4858 ** libgnutls: Incremented CURRENT/AGE libtool version to reflect new symbols.
4859 This should have been done in the last release.
4860
4861 ** gnutls-serv: Listen on all interfaces, including both IPv4 and IPv6.
4862 Reported by Peter Hendrickson <pdh@wiredyne.com> in
4863 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3476>.
4864
4865 ** doc: Improved sections for the info manual.
4866 We now follow the advice given by the texinfo manual on which
4867 directory categories to use.  In particular, libgnutls moved from the
4868 'GNU Libraries' section to the 'Software libraries' and the command
4869 line tools moved from 'Network Applications' to 'System
4870 Administration'.
4871
4872 ** API and ABI modifications:
4873 gnutls_x509_crt_list_verify: CHANGED, checks activation/expiration times.
4874 gnutls_certificate_verify_peers: Likewise.
4875 gnutls_certificate_verify_peers2: Likewise.
4876 GNUTLS_CERT_NOT_ACTIVATED: ADDED.
4877 GNUTLS_CERT_EXPIRED: ADDED.
4878 GNUTLS_VERIFY_DISABLE_TIME_CHECKS: ADDED.
4879
4880 * Version 2.7.7 (released 2009-04-20)
4881
4882 ** libgnutls: Applied patch by Cedric Bail to add functions
4883 gnutls_x509_crt_verify_hash() and gnutls_x509_crt_get_verify_algorithm().
4884
4885 ** gnutls.pc: Add -ltasn1 to 'pkg-config --libs --static gnutls' output.
4886 Reported by Andreas Metzler <ametzler@downhill.at.eu.org> in
4887 <http://article.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3467>.
4888
4889 ** minitasn1: Internal copy updated to libtasn1 v1.8.
4890 GnuTLS is also internally ready to be used with libtasn1 v2.0.
4891
4892 ** doc: Fix build failure of errcodes/printlist.
4893 Reported by Roman Bogorodskiy <novel@FreeBSD.org> in
4894 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3435>.
4895
4896 ** i18n: The GnuTLS gettext domain is now 'libgnutls' instead of 'gnutls'.
4897 It is currently only used by the core library.  This will enable a new
4898 domain 'gnutls' for translations of the command line tools.
4899
4900 ** Corrected possible memory corruption on signature verification failure.
4901 Reported by Miroslav Kratochvil <exa.exa@gmail.com>
4902
4903 ** API and ABI modifications:
4904 gnutls_x509_crt_verify_hash: ADDED
4905 gnutls_x509_crt_get_verify_algorithm: ADDED
4906
4907 * Version 2.7.6 (released 2009-02-27)
4908
4909 ** certtool: Query for multiple dnsName subjectAltName in interactive mode.
4910 This applies both to generating certificates and certificate requests.
4911
4912 ** pkix.asn: Removed unneeded definitions to reduce memory usage.
4913
4914 ** gnutls-cli: No longer accepts V1 CAs by default during X.509 chain verify.
4915 Use --priority NORMAL:%VERIFY_ALLOW_X509_V1_CA_CRT to permit V1 CAs to
4916 be used for chain verification.
4917
4918 ** gnutls-serv: No longer disable MAC padding by default.
4919 Use --priority NORMAL:%COMPAT to disable MAC padding again.
4920
4921 ** gnutls-cli: Certificate information output format changed.
4922 The tool now uses libgnutls' functions to print certificate
4923 information.  This avoids code duplication.
4924
4925 ** libgnutls: New priority strings %VERIFY_ALLOW_SIGN_RSA_MD5
4926 ** and %VERIFY_ALLOW_X509_V1_CA_CRT.
4927 They can be used to override the default certificate chain validation
4928 behaviour.
4929
4930 ** libgnutls: Added %SSL3_RECORD_VERSION priority string that allows to
4931 specify the client hello message record version. Used to overcome buggy
4932 TLS servers. Report by Martin von Gagern.
4933
4934 ** libgnutls: gnutls_x509_crt_print prints signature algorithm in oneline mode.
4935
4936 ** libgnutls: gnutls_openpgp_crt_print supports oneline mode.
4937
4938 ** doc: Update gnutls-cli and gnutls-serv --help output descriptions.
4939
4940 ** API and ABI modifications:
4941 No changes since last version.
4942
4943 * Version 2.7.5 (released 2009-02-06)
4944
4945 ** libgnutls: Accept chains where intermediary certs are trusted.
4946 Before GnuTLS needed to validate the entire chain back to a
4947 self-signed certificate.  GnuTLS will now stop looking when it has
4948 found an intermediary trusted certificate.  The new behaviour is
4949 useful when chains, for example, contains a top-level CA, an
4950 intermediary CA signed using RSA-MD5, and an end-entity certificate.
4951 To avoid chain validation errors due to the RSA-MD5 cert, you can
4952 explicitly add the intermediary RSA-MD5 cert to your trusted certs.
4953 The signature on trusted certificates are not checked, so the chain
4954 has a chance to validate correctly.  Reported by "Douglas E. Engert"
4955 <deengert@anl.gov> in
4956 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3351>.
4957
4958 ** libgnutls: result_size in gnutls_hex_encode now holds
4959 the size of the result. Report by John Brooks <special@dereferenced.net>.
4960
4961 ** libgnutls: gnutls_handshake when sending client hello during a
4962 rehandshake, will not offer a version number larger than the current.
4963 Reported by Tristan Hill <stan@saticed.me.uk>.
4964
4965 ** libgnutls: Permit V1 Certificate Authorities properly.
4966 Before they were mistakenly rejected even though
4967 GNUTLS_VERIFY_ALLOW_ANY_X509_V1_CA_CRT and/or
4968 GNUTLS_VERIFY_ALLOW_X509_V1_CA_CRT were supplied.  Reported by
4969 "Douglas E. Engert" <deengert@anl.gov> in
4970 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3351>.
4971
4972 ** API and ABI modifications:
4973 No changes since last version.
4974
4975 * Version 2.7.4 (released 2009-01-07)
4976
4977 ** libgnutls: deprecate X.509 validation chains using MD5 and MD2 signatures.
4978 This is a bugfix -- the previous attempt to do this from internal x509
4979 certificate verification procedures did not return the correct value
4980 for certificates using a weak hash.  Reported by Daniel Kahn Gillmor
4981 <dkg@fifthhorseman.net> in
4982 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3332>,
4983 debugged and patch by Tomas Mraz <tmraz@redhat.com> and Daniel Kahn
4984 Gillmor <dkg@fifthhorseman.net>.
4985
4986 ** libgnutls: New interface to get key id for certificate requests.
4987 Patch from David Marín Carreño <davefx@gmail.com> in
4988 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3321>.
4989
4990 ** libgnutls: gnutls_x509_crq_print will now also print public key id.
4991
4992 ** certtool: --verify-chain now prints results of using library verification.
4993 Earlier, certtool --verify-chain used its own validation algorithm
4994 which wasn't guaranteed to give the same result as the libgnutls
4995 internal validation algorithm.  Now this command print a new final
4996 line with header 'Chain verification output:' that contains the result
4997 from using the internal verification algorithm on the same chain.
4998
4999 ** tests: Add crq_key_id self-test of gnutls_x509_crq_get_key_id.
5000
5001 ** API and ABI modifications:
5002 gnutls_x509_crq_get_key_id: ADDED.
5003
5004 * Version 2.7.3 (released 2008-12-10)
5005
5006 ** libgnutls: Fix chain verification for chains that ends with RSA-MD2 CAs.
5007 Reported by Michael Kiefer <Michael-Kiefer@web.de> in
5008 <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=507633> forwarded by
5009 Andreas Metzler <ametzler@downhill.at.eu.org> in
5010 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3309>.
5011
5012 ** libgnutls: Libgcrypt initialization changed.
5013 If libgcrypt has not already been initialized, GnuTLS will now
5014 initialize libgcrypt with disabled secure memory.  Initialize
5015 libgcrypt explicitly in your application if you want to enable secure
5016 memory.  Before GnuTLS initialized libgcrypt to use GnuTLS's memory
5017 allocation functions, which doesn't use secure memory, so there is no
5018 real change in behaviour.
5019
5020 ** libgnutls: Fix memory leak in PSK authentication.
5021 Reported by Michael Weiser <michael@weiser.dinsnail.net> in
5022 <http://permalink.gmane.org/gmane.network.gnutls.general/1465>.
5023
5024 ** libgnutls: Small byte reads via gnutls_record_recv() optimized.
5025
5026 ** certtool: Move gcry_control(GCRYCTL_ENABLE_QUICK_RANDOM, 0) call earlier.
5027 It needs to be invoked before libgcrypt is initialized.
5028
5029 ** gnutls-cli: Return non-zero exit code on error conditions.
5030
5031 ** gnutls-cli: Corrected bug which caused a rehandshake request to be ignored.
5032
5033 ** tests: Added chainverify self-test that tests X.509 chain verifications.
5034
5035 ** API and ABI modifications:
5036 No changes since last version.
5037
5038 * Version 2.7.2 (released 2008-11-18)
5039
5040 ** libgnutls: Fix X.509 certificate chain validation error. [GNUTLS-SA-2008-3]
5041 The flaw makes it possible for man in the middle attackers (i.e.,
5042 active attackers) to assume any name and trick GnuTLS clients into
5043 trusting that name.  Thanks for report and analysis from Martin von
5044 Gagern <Martin.vGagern@gmx.net>.  [CVE-2008-4989]
5045
5046 Any updates with more details about this vulnerability will be added
5047 to <https://www.gnu.org/software/gnutls/security.html>
5048
5049 ** libgnutls: Fix namespace issue with version symbols.
5050 The symbols LIBGNUTLS_VERSION, LIBGNUTLS_VERSION_MAJOR,
5051 LIBGNUTLS_VERSION_MINOR, LIBGNUTLS_VERSION_PATCH, and
5052 LIBGNUTLS_VERSION_NUMBER were renamed to GNUTLS_VERSION_NUMBER,
5053 GNUTLS_VERSION_MAJOR, GNUTLS_VERSION_MINOR, GNUTLS_VERSION_PATCH, and
5054 GNUTLS_VERSION_NUMBER respectively.  The old symbols will continue to
5055 work but are deprecated.
5056
5057 ** certtool: allow setting arbitrary key purpose object identifiers.
5058
5059 ** libgnutls: Fix detection of C99 macros, to make debug logging work again.
5060
5061 ** libgnutls: Add missing prototype for gnutls_srp_set_prime_bits.
5062 Reported by Kevin Quick <quick@sparq.org> in
5063 <https://savannah.gnu.org/support/index.php?106454>.
5064
5065 ** libgnutls-extra: Make building with LZO compression work again.
5066 Build failure reported by Arfrever Frehtes Taifersar Arahesis
5067 <arfrever.fta@gmail.com> in
5068 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3194>.
5069
5070 ** libgnutls: Change detection of when to use a linker version script.
5071 Use --enable-ld-version-script or --disable-ld-version-script to
5072 override auto-detection logic.
5073
5074 ** doc: Change license on the manual to GFDLv1.3+.
5075
5076 ** doc: GTK-DOC fixes for new splitted configuration system.
5077
5078 ** doc: Texinfo stylesheet uses white background.
5079
5080 ** tests: Add cve-2008-4989.c self-test.
5081 Tests regressions of the GNUTLS-SA-2008-3 security problem, and the
5082 follow-on problem with crashes on length 1 certificate chains.
5083
5084 ** gnulib: Deprecated modules removed.
5085 Modules include memchr and memcmp.
5086
5087 ** Fix warnings and build GnuTLS with more warnings enabled.
5088
5089 ** minitasn1: Internal copy updated to libtasn1 v1.7.
5090
5091 ** API and ABI modifications:
5092 gnutls_certificate_set_x509_simple_pkcs12_mem: ADDED
5093 GNUTLS_VERSION: ADDED, replaces LIBGNUTLS_VERSION.
5094 GNUTLS_VERSION_MAJOR: ADDED, replaces LIBGNUTLS_VERSION_MAJOR.
5095 GNUTLS_VERSION_MINOR: ADDED, replaces LIBGNUTLS_VERSION_MINOR.
5096 GNUTLS_VERSION_PATCH: ADDED, replaces LIBGNUTLS_VERSION_PATCH.
5097 GNUTLS_VERSION_NUMBER: ADDED, replaces LIBGNUTLS_VERSION_NUMBER.
5098 LIBGNUTLS_VERSION: DEPRECATED.
5099 LIBGNUTLS_VERSION_MAJOR: DEPRECATED.
5100 LIBGNUTLS_VERSION_MINOR: DEPRECATED.
5101 LIBGNUTLS_VERSION_PATCH: DEPRECATED.
5102 LIBGNUTLS_VERSION_NUMBER: DEPRECATED.
5103
5104 * Version 2.7.1 (released 2008-10-31)
5105
5106 ** certtool: print a PKCS #8 key even if it is not encrypted.
5107
5108 ** Old libgnutls.m4 and libgnutls-config scripts removed.
5109 Please use pkg-config instead.
5110
5111 ** Configuration system modified.
5112 There is now a configure script in lib/ and libextra/ as well, because
5113 gnulib works better with a config.h per gnulib directory.
5114
5115 ** API and ABI modifications:
5116 No changes since last version.
5117
5118 * Version 2.7.0 (released 2008-10-16)
5119
5120 ** libgnutls: Added functions to handle CRL extensions.
5121
5122 ** libgnutls: Added functions to handle X.509 extensions in Certificate
5123 Requests.
5124
5125 ** libgnutls: Improved error string for GNUTLS_E_AGAIN.
5126 Suggested by "Lavrentiev, Anton (NIH/NLM/NCBI) [C]" <lavr@ncbi.nlm.nih.gov>.
5127
5128 ** certtool: Print and set CRL and CRQ extensions.
5129
5130 ** libgnutls-extra: Protect internal symbols with static.
5131 Fixes problem when linking certtool statically.  Tiny patch from Aaron
5132 Ucko <ucko@ncbi.nlm.nih.gov>.
5133
5134 ** libgnutls-openssl: fix out of bounds access.
5135 Problem in X509_get_subject_name and X509_get_issuer_name.  Tiny patch
5136 from Thomas Viehmann <tv@beamnet.de>.
5137
5138 ** libgnutlsxx: Define server_session::get_srp_username even if no SRP.
5139
5140 ** tests: Make tests compile when using internal libtasn1.
5141 Patch by ludo@gnu.org (Ludovic Courtès).
5142
5143 ** Changed detection of libtasn1 and libgcrypt to avoid depending on *-config.
5144 We now require a libgcrypt that has Camellia constants declared in
5145 gcrypt.h, which means v1.3.0 or later.
5146
5147 ** API and ABI modifications:
5148 gnutls_x509_crl_get_authority_key_id: ADDED
5149 gnutls_x509_crl_get_number: ADDED
5150 gnutls_x509_crl_get_extension_oid: ADDED
5151 gnutls_x509_crl_get_extension_info: ADDED
5152 gnutls_x509_crl_get_extension_data: ADDED
5153 gnutls_x509_crl_set_authority_key_id: ADDED
5154 gnutls_x509_crl_set_number: ADDED
5155 gnutls_x509_crq_get_key_rsa_raw: ADDED
5156 gnutls_x509_crq_get_attribute_info: ADDED
5157 gnutls_x509_crq_get_attribute_data: ADDED
5158 gnutls_x509_crq_get_extension_info: ADDED
5159 gnutls_x509_crq_get_extension_data: ADDED
5160 gnutls_x509_crq_get_key_usage: ADDED
5161 gnutls_x509_crq_get_basic_constraints: ADDED
5162 gnutls_x509_crq_get_subject_alt_name: ADDED
5163 gnutls_x509_crq_get_subject_alt_othername_oid: ADDED
5164 gnutls_x509_crq_get_extension_by_oid: ADDED
5165 gnutls_x509_crq_set_subject_alt_name: ADDED
5166 gnutls_x509_crq_set_basic_constraints: ADDED
5167 gnutls_x509_crq_set_key_usage: ADDED
5168 gnutls_x509_crq_get_key_purpose_oid: ADDED
5169 gnutls_x509_crq_set_key_purpose_oid: ADDED
5170 gnutls_x509_crq_print: ADDED
5171 gnutls_x509_crt_set_crq_extensions: ADDED
5172
5173 * Version 2.6.6 (released 2009-04-30)
5174
5175 ** libgnutls: Corrected double free on signature verification failure.
5176 Reported by Miroslav Kratochvil <exa.exa@gmail.com>.  See the advisory
5177 for more details.  [GNUTLS-SA-2009-1] [CVE-2009-1415]
5178
5179 ** libgnutls: Fix DSA key generation.
5180 Noticed when investigating the previous GNUTLS-SA-2009-1 problem.  All
5181 DSA keys generated using GnuTLS 2.6.x are corrupt.  See the advisory
5182 for more details.  [GNUTLS-SA-2009-2] [CVE-2009-1416]
5183
5184 ** libgnutls: Check expiration/activation time on untrusted certificates.
5185 Reported by Romain Francoise <romain@orebokech.com>.  Before the
5186 library did not check activation/expiration times on certificates, and
5187 was documented as not doing so.  We have realized that many
5188 applications that use libgnutls, including gnutls-cli, fail to perform
5189 proper checks.  Implementing similar logic in all applications leads
5190 to code duplication.  Hence, we decided to check whether the current
5191 time (as reported by the time function) is within the
5192 activation/expiration period of certificates when verifying untrusted
5193 certificates.
5194
5195 This changes the semantics of gnutls_x509_crt_list_verify, which in
5196 turn is used by gnutls_certificate_verify_peers and
5197 gnutls_certificate_verify_peers2.  We add two new
5198 gnutls_certificate_status_t codes for reporting the new error
5199 condition, GNUTLS_CERT_NOT_ACTIVATED and GNUTLS_CERT_EXPIRED.  We also
5200 add a new gnutls_certificate_verify_flags flag,
5201 GNUTLS_VERIFY_DISABLE_TIME_CHECKS, that can be used to disable the new
5202 behaviour.
5203
5204 More details about the vulnerabilities will be posted at
5205 <https://www.gnu.org/software/gnutls/security.html>.
5206
5207 ** gnutls-cli, gnutls-cli-debug: Fix AIX build problem.
5208 Reported by LAUPRETRE François (P) <francois.laupretre@ratp.fr> in
5209 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3468>.
5210
5211 ** tests: Fix linking of tests/openpgp/keyring self-test.
5212 Reported by Daniel Black in <https://savannah.gnu.org/support/?106543>.
5213
5214 ** API and ABI modifications:
5215 gnutls_x509_crt_list_verify: CHANGED, checks activation/expiration times.
5216 gnutls_certificate_verify_peers: Likewise.
5217 gnutls_certificate_verify_peers2: Likewise.
5218 GNUTLS_CERT_NOT_ACTIVATED: ADDED.
5219 GNUTLS_CERT_EXPIRED: ADDED.
5220 GNUTLS_VERIFY_DISABLE_TIME_CHECKS: ADDED.
5221
5222 * Version 2.6.5 (released 2009-04-11)
5223
5224 ** libgnutls: Added %SSL3_RECORD_VERSION priority string that allows to
5225 specify the client hello message record version. Used to overcome buggy
5226 TLS servers. Report by Martin von Gagern.
5227
5228 ** GnuTLS no longer uses the libtasn1-config script to find libtasn1.
5229 Libtasn1 0.3.4 or later is required.  This is to align with the
5230 upcoming libtasn1 v2.0 release that doesn't have a libtasn1-script.
5231
5232 ** API and ABI modifications:
5233 No changes since last version.
5234
5235 * Version 2.6.4 (released 2009-02-06)
5236
5237 ** libgnutls: Accept chains where intermediary certs are trusted.
5238 Before GnuTLS needed to validate the entire chain back to a
5239 self-signed certificate.  GnuTLS will now stop looking when it has
5240 found an intermediary trusted certificate.  The new behaviour is
5241 useful when chains, for example, contains a top-level CA, an
5242 intermediary CA signed using RSA-MD5, and an end-entity certificate.
5243 To avoid chain validation errors due to the RSA-MD5 cert, you can
5244 explicitly add the intermediary RSA-MD5 cert to your trusted certs.
5245 The signature on trusted certificates are not checked, so the chain
5246 has a chance to validate correctly.  Reported by "Douglas E. Engert"
5247 <deengert@anl.gov> in
5248 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3351>.
5249
5250 ** libgnutls: result_size in gnutls_hex_encode now holds
5251 the size of the result. Report by John Brooks <special@dereferenced.net>.
5252
5253 ** libgnutls: gnutls_handshake when sending client hello during a
5254 rehandshake, will not offer a version number larger than the current.
5255 Reported by Tristan Hill <stan@saticed.me.uk>.
5256
5257 ** libgnutls: Permit V1 Certificate Authorities properly.
5258 Before they were mistakenly rejected even though
5259 GNUTLS_VERIFY_ALLOW_ANY_X509_V1_CA_CRT and/or
5260 GNUTLS_VERIFY_ALLOW_X509_V1_CA_CRT were supplied.  Reported by
5261 "Douglas E. Engert" <deengert@anl.gov> in
5262 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3351>.
5263
5264 ** libgnutls: deprecate X.509 validation chains using MD5 and MD2 signatures.
5265 This is a bugfix -- the previous attempt to do this from internal x509
5266 certificate verification procedures did not return the correct value
5267 for certificates using a weak hash.  Reported by Daniel Kahn Gillmor
5268 <dkg@fifthhorseman.net> in
5269 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3332>,
5270 debugged and patch by Tomas Mraz <tmraz@redhat.com> and Daniel Kahn
5271 Gillmor <dkg@fifthhorseman.net>.
5272
5273 ** libgnutls: Fix compile error with Sun CC.
5274 Reported by Jeff Cai <jeff.cai@sun.com> in
5275 <https://savannah.gnu.org/support/?106549>.
5276
5277 ** API and ABI modifications:
5278 No changes since last version.
5279
5280 * Version 2.6.3 (released 2008-12-12)
5281
5282 ** libgnutls: Fix chain verification for chains that ends with RSA-MD2 CAs.
5283 Reported by Michael Kiefer <Michael-Kiefer@web.de> in
5284 <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=507633> forwarded by
5285 Andreas Metzler <ametzler@downhill.at.eu.org> in
5286 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3309>.
5287
5288 ** libgnutls: Fix memory leak in PSK authentication.
5289 Reported by Michael Weiser <michael@weiser.dinsnail.net> in
5290 <http://permalink.gmane.org/gmane.network.gnutls.general/1465>.
5291
5292 ** certtool: Move gcry_control(GCRYCTL_ENABLE_QUICK_RANDOM, 0) call earlier.
5293 It needs to be invoked before libgcrypt is initialized.
5294
5295 ** gnutls-cli: Return non-zero exit code on error conditions.
5296
5297 ** gnutls-cli: Corrected bug which caused a rehandshake request to be ignored.
5298
5299 ** API and ABI modifications:
5300 No changes since last version.
5301
5302 * Version 2.6.2 (released 2008-11-12)
5303
5304 ** libgnutls: Fix crash in X.509 validation code for self-signed certificates.
5305 The patch to fix the security problem GNUTLS-SA-2008-3 introduced a
5306 problem for certificate chains that contained just one self-signed
5307 certificate.  Reported by Michael Meskes <meskes@debian.org> in
5308 <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=505279>.
5309
5310 ** API and ABI modifications:
5311 No changes since last version.
5312
5313 * Version 2.6.1 (released 2008-11-10)
5314
5315 ** libgnutls: Fix X.509 certificate chain validation error. [GNUTLS-SA-2008-3]
5316 The flaw makes it possible for man in the middle attackers (i.e.,
5317 active attackers) to assume any name and trick GnuTLS clients into
5318 trusting that name.  Thanks for report and analysis from Martin von
5319 Gagern <Martin.vGagern@gmx.net>.  [CVE-2008-4989]
5320
5321 Any updates with more details about this vulnerability will be added
5322 to <https://www.gnu.org/software/gnutls/security.html>
5323
5324 ** libgnutls: Add missing prototype for gnutls_srp_set_prime_bits.
5325 Reported by Kevin Quick <quick@sparq.org> in
5326 <https://savannah.gnu.org/support/index.php?106454>.
5327
5328 ** libgnutls-extra: Protect internal symbols with static.
5329 Fixes problem when linking certtool statically.  Tiny patch from Aaron
5330 Ucko <ucko@ncbi.nlm.nih.gov>.
5331
5332 ** libgnutls-openssl: Fix patch against X509_get_issuer_name.
5333 It incorrectly returned the subject DN instead of issuer DN in v2.6.0.
5334 Thanks to Thomas Viehmann <tv@beamnet.de> for report.
5335
5336 ** certtool: Print a PKCS #8 key even if it is not encrypted.
5337
5338 ** tests: Make tests compile when using internal libtasn1.
5339 Patch by ludo@gnu.org (Ludovic Courtès).
5340
5341 ** API and ABI modifications:
5342 No changes since last version.
5343
5344 * Version 2.6.0 (released 2008-10-06)
5345
5346 ** libgnutls: Correct printing and parsing of IPv6 addresses.
5347
5348 ** libgnutls-openssl: fix out of bounds access.
5349 Problem in X509_get_subject_name and X509_get_issuer_name.  Tiny patch
5350 from Thomas Viehmann <tv@beamnet.de>.
5351
5352 ** certtool: Use inet_pton for parsing IPv6 addresses.
5353
5354 ** Major changes compared to the v2.4 branch:
5355
5356 *** Added API to replace and update the crypto backend.
5357
5358 *** certtool: can add several subject alternative names via template file.
5359
5360 *** opencdk: Parse (but not decrypt) encrypted secret keys.
5361
5362 *** libgnutls: gnutls_x509_crt_set_subject_alt_name() was added that can
5363 either set or append alternative names. It can also handle binary structures
5364 such as IP addresses.
5365
5366 *** libgnutls: New function to set minimum acceptable SRP bits.
5367 The function is gnutls_srp_set_prime_bits.
5368
5369 *** libgnutls: Add interface to deal with public key and signature algorithms.
5370 The functions are called gnutls_pk_list, gnutls_pk_get_id,
5371 gnutls_sign_list, and gnutls_sign_get_id.
5372
5373 *** libgnutls: New interfaces to get name of public key and signing algorithms.
5374 The functions are gnutls_sign_get_name and gnutls_pk_get_name.
5375
5376 *** libgnutls: New API to get a string corresponding to a error symbol.
5377 The function is gnutls_strerror_name.
5378
5379 *** libgnutls: New API to set the public parameters in a certificate request
5380 *** from a private key.
5381 The function is gnutls_x509_crq_set_key_rsa_raw.
5382
5383 *** libgnutls: New API to set a callback to extract TLS Finished data.
5384 The function to register is gnutls_session_set_finished_function and
5385 it takes a callback of the gnutls_finished_callback_func type.
5386
5387 *** libgnutls: Fix namespace problem with TLS_MASTER_SIZE and TLS_RANDOM_SIZE.
5388
5389 *** libgnutls: New interface to register a new TLS extension handler.
5390 The new function gnutls_ext_register can be used to register handlers
5391 for specific TLS extension types.  The callback functions have the new
5392 types gnutls_ext_recv_func and gnutls_ext_send_func.  A type to
5393 classify TLS extensions, gnutls_ext_parse_type_t, has been added as
5394 well.
5395
5396 *** libgnutls-extra: Add function to work with Libgcrypt in FIPS mode.
5397 The function is gnutls_register_md5_handler.  When libgcrypt is in
5398 FIPS mode, MD5 is disabled, but TLS normally requires use of MD5 in
5399 the PRF.
5400
5401 *** API/ABI changes in GnuTLS 2.6
5402 No functions have been removed or modified.  The library should be
5403 fully backwards compatible on both the source and binary level.
5404
5405 A new header file <gnutls/crypto.h> have been added.  It contains
5406 definitions related to replacing the internal crypto functionality.
5407 All definitions and the header itself is experimental but supported.
5408
5409 We have realized that the symbols TLS_MASTER_SIZE and TLS_RANDOM_SIZE
5410 does not use the normal namespace.  We have added GNUTLS_MASTER_SIZE
5411 and GNUTLS_RANDOM_SIZE, but the old symbols are still defined.
5412
5413 The following functions have been added to libgnutls:
5414
5415 GNUTLS_MASTER_SIZE
5416 GNUTLS_RANDOM_SIZE
5417 gnutls_crypto_bigint_register2
5418 gnutls_crypto_cipher_register2
5419 gnutls_crypto_digest_register2
5420 gnutls_crypto_mac_register2
5421 gnutls_crypto_pk_register2
5422 gnutls_crypto_rnd_register2
5423 gnutls_crypto_single_cipher_register2
5424 gnutls_crypto_single_digest_register2
5425 gnutls_crypto_single_mac_register2
5426 gnutls_ext_register
5427 gnutls_pk_get_id
5428 gnutls_pk_get_name
5429 gnutls_pk_list
5430 gnutls_session_set_finished_function
5431 gnutls_sign_get_id
5432 gnutls_sign_get_name
5433 gnutls_sign_list
5434 gnutls_srp_set_prime_bits:
5435 gnutls_strerror_name
5436 gnutls_x509_crq_set_key_rsa_raw
5437 gnutls_x509_crt_set_crl_dist_points2
5438 gnutls_x509_crt_set_subject_alt_name
5439
5440 The following functions have been added to libgnutls-extra:
5441
5442 gnutls_register_md5_handler
5443
5444 ** API and ABI modifications:
5445 No changes since last version.
5446
5447 * Version 2.5.9 (released 2008-09-29)
5448
5449 ** libgnutls: Fix several memory leaks.
5450 Reported by Sam Varshavchik <mrsam@courier-mta.com>.
5451
5452 ** libgnutls: Fix buffer overrun in gnutls_x509_crt_list_import.
5453 Report and patch by Jonathan Manktelow.
5454
5455 ** libgnutls: crypto.h gnutls_pk_params_st changes allocation strategy.
5456 The parameters are now allocated in the structure itself.
5457
5458 ** doc: Texinfo HTML manual uses a stylesheet to improve readability.
5459
5460 ** tests: Scripts now use EXEEXT properly.
5461 Modern libtool doesn't create wrapper script, so the self tests need
5462 to invoke certtool.exe under MinGW32+Wine.
5463
5464 ** Uses autoconf 2.63, automake 1.10.1, libtool 2.2.6a.
5465 Automake warnings are now also enabled.
5466
5467 ** API and ABI modifications:
5468 gnutls_pk_params_st: MODIFIED
5469
5470 * Version 2.5.8 (released 2008-09-21)
5471
5472 ** certtool: updated so it can add several subject alternative names using
5473 the template file.
5474
5475 ** libgnutls: gnutls_x509_crt_set_subject_alt_name() was added that can
5476 either set or append alternative names. It can also handle binary structures
5477 such as IP addresses.
5478
5479 ** libgnutls: Fix crash in hashing code when using non-libgcrypt handlers.
5480
5481 ** libgnutls: New function to set minimum acceptable SRP bits.
5482 The function is gnutls_srp_set_prime_bits.  Tiny patch by Kevin Quick
5483 <quick@sparq.org> in <https://savannah.gnu.org/support/index.php?106454>.
5484
5485 ** libgnutls: Check for overflows in gnutls_calloc and gnutls_secure_calloc.
5486 Also fix overflows in calls to those functions.  Reported by Werner
5487 Koch <wk@gnupg.org>.
5488
5489 ** libgnutls-extra: Add function to work with Libgcrypt in FIPS mode.
5490 The function is gnutls_register_md5_handler.  When libgcrypt is in
5491 FIPS mode, MD5 is disabled, but TLS normally requires use of MD5 in
5492 the PRF.
5493
5494 ** Opencdk: Add calls to gnutls_assert to ease debugging.
5495
5496 ** Indent code.
5497
5498 ** API and ABI modifications:
5499 gnutls_srp_set_prime_bits: ADDED
5500 gnutls_register_md5_handler: ADDED
5501 gnutls_x509_crt_set_crl_dist_points2: ADDED
5502 gnutls_x509_crt_set_subject_alt_name: ADDED
5503
5504 * Version 2.5.7 (released 2008-09-16)
5505
5506 ** libgnutls: New interfaces to get name of public key and signing algorithms.
5507 The functions are gnutls_sign_get_name and gnutls_pk_get_name.
5508
5509 ** libgnutls: Don't crash when gnutls_credentials_set is called twice.
5510
5511 ** libgnutls: Fix libgnutls shared library version.
5512 It wasn't properly incremented after adding symbols in the last
5513 release.
5514
5515 ** manual: Now mention supported public key and public key signing algorithms.
5516
5517 ** tests/openssl: initialize gnutls before use.
5518
5519 ** tests/setcredcrash: New test to catch regressions of gnutls_credentials_set.
5520
5521 ** GTK-DOC manual: mention new symbols in 2.6.x.  Mention crypto.h functions.
5522
5523 ** API and ABI modifications:
5524 gnutls_sign_get_name: ADDED
5525 gnutls_pk_get_name: ADDED
5526
5527 * Version 2.5.6 (released 2008-09-08)
5528
5529 ** libgnutls: Add interface to deal with public key and signature algorithms.
5530 The functions are called gnutls_pk_list, gnutls_pk_get_id,
5531 gnutls_sign_list, and gnutls_sign_get_id.  Suggested by Sam
5532 Varshavchik <mrsam@courier-mta.com>.
5533
5534 ** libgnutls: Refactor and clean up some code.
5535
5536 ** libgnutls: Fix compile error with Sun CC.
5537
5538 ** gnutls-cli: Improve --list output to include public key and signature algs.
5539
5540 ** gnutls-cli, gnutls-serv: Remove --copyright parameter.
5541 Use standard --version to get license info.
5542
5543 ** gnutls-cli.1: Document all new parameters.
5544 Thanks to James Westby <jw+debian@jameswestby.net>.
5545
5546 ** tests: New self-test pgps2kgnu to test parsing of encrypted secrets.
5547 Contributed by Daniel Kahn Gillmor <dkg-debian.org@fifthhorseman.net>.
5548
5549 ** API and ABI modifications:
5550 gnutls_pk_list: ADDED
5551 gnutls_pk_get_id: ADDED
5552 gnutls_sign_list: ADDED
5553 gnutls_sign_get_id: ADDED
5554
5555 * Version 2.5.5 (released 2008-08-29)
5556
5557 ** libgnutls: New API to get a string corresponding to a error symbol.
5558 The function is gnutls_strerror_name.
5559
5560 ** libgnutls: Fix include paths so that building with internal libtasn1 works.
5561 Reported by "jth.net ApS" <info@jth.net>.
5562
5563 ** libgnutls: Fix segmentation fault when generating private keys.
5564 Reported by Daniel Kahn Gillmor <dkg-debian.org@fifthhorseman.net>.
5565
5566 ** libgnutls: Remove code to import certificate chains in PKCS#7 format.
5567 The code has not worked since v0.9.0 and apparently nobody has missed
5568 it, so we decided to remove the code rather than fix it.  If you have
5569 old certificate chains stored in PKCS#7 format, you can convert them
5570 to a list of PEM certificates by using 'certtool --p7-info'.  Reported
5571 by Christian Grothoff <christian@grothoff.org>.
5572
5573 ** opencdk: Parse (but not decrypt) encrypted secret keys.
5574 Contributed by Daniel Kahn Gillmor <dkg-debian.org@fifthhorseman.net>.
5575
5576 ** libgnutls: Fix many warnings.
5577
5578 ** Included copy of libtasn1 is upgraded to version 1.5.
5579
5580 ** Add French translation, thanks to Nicolas Provost.
5581
5582 ** API and ABI modifications:
5583 gnutls_strerror_name: ADDED
5584
5585 * Version 2.5.4 (released 2008-08-19)
5586
5587 ** Fix secure memory initialization of libgcrypt.
5588 Reported by Joe Orton <joe@manyfish.co.uk> in
5589 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/2992>.
5590
5591 ** Doc fixes.
5592 Reference to NIST SP 800-57 in the manual on key size recommendations.
5593 Added 'Since:' tags to new APIs for gtk-doc.
5594
5595 ** API and ABI modifications:
5596 No changes since last version.
5597
5598 * Version 2.5.3 (released 2008-08-14)
5599
5600 ** libgnutls: New API to set the public parameters in a certificate request
5601 ** from a private key.
5602 The function is gnutls_x509_crq_set_key_rsa_raw.  Inspired by
5603 discussion with "Zach C." <fxchip@gmail.com>.
5604
5605 ** libgnutls: New API to set a callback to extract TLS Finished data.
5606 The function to register is gnutls_session_set_finished_function and
5607 it takes a callback of the gnutls_finished_callback_func type.
5608
5609 ** libgnutls: Drop final comma after GNUTLS_CRT_PRINT_UNSIGNED_FULL in enum.
5610 Reported in <https://savannah.gnu.org/support/?106453>.
5611
5612 ** libgnutls: Fix namespace problem with TLS_MASTER_SIZE and TLS_RANDOM_SIZE.
5613 The new names are GNUTLS_MASTER_SIZE and GNUTLS_RANDOM_SIZE.  The old
5614 names are mapped to the new names in compat.h.  These mappings will
5615 likely be removed more quickly than other mappings in that file due to
5616 the namespace violation.
5617
5618 ** libgnutlsxx: Make it build when SRP is disabled.
5619
5620 ** doc: Add doxygen files in doc/doxygen/.
5621
5622 ** API and ABI modifications:
5623 gnutls_x509_crq_set_key_rsa_raw: ADDED
5624 gnutls_session_set_finished_function: ADDED
5625 gnutls_finished_callback_func: ADDED
5626 GNUTLS_MASTER_SIZE: ADDED
5627 GNUTLS_RANDOM_SIZE: ADDED
5628 TLS_MASTER_SIZE: DEPRECATED
5629 TLS_RANDOM_SIZE: DEPRECATED
5630
5631 * Version 2.5.2 (released 2008-07-08)
5632
5633 ** libgnutls: Fix bug in gnutls_dh_params_generate2.
5634 The prime and generator was swapped.
5635
5636 ** libgnutls: New interface to register a new TLS extension handler.
5637 The new function gnutls_ext_register can be used to register handlers
5638 for specific TLS extension types.  The callback functions have the new
5639 types gnutls_ext_recv_func and gnutls_ext_send_func.  A type to
5640 classify TLS extensions, gnutls_ext_parse_type_t, has been added as
5641 well.
5642
5643 ** Move more code for TLS/IA extension from libgnutls to libgnutls-extra.
5644 This was made possible by using the new gnutls_ext_register interface.
5645 The TLS/IA functionality has only been supported through the
5646 libgnutls-extra library, so it makes sense for the code to belong
5647 there too.
5648
5649 ** API and ABI modifications:
5650 gnutls_ext_recv_func: ADDED
5651 gnutls_ext_send_func: ADDED
5652 gnutls_ext_parse_type_t: ADDED
5653 gnutls_ext_register: ADDED
5654
5655 * Version 2.5.1 (released 2008-07-02)
5656
5657 ** Indent code.
5658
5659 ** API and ABI modifications:
5660 No changes since last version.
5661
5662 * Version 2.5.0 (released 2008-07-02)
5663
5664 ** Port fixes from v2.4.1 release, see below.
5665
5666 ** Added API to replace and update the crypto backend.
5667 The header gnutls/crypto.h is now officially supported, and declares
5668 the symbols below.
5669
5670 ** Rewritten opencdk crypto backend, to use the gnutls internal one.
5671
5672 ** Update gnulib and translations.
5673 The gnulib gc crypto code has been removed since it was never finished
5674 and is no longer even used.  An internal non-libgcrypt crypto
5675 implementation may be added in the future, but we'll decide that later
5676 on.
5677
5678 ** API and ABI modifications:
5679 gnutls_crypto_bigint_register2: ADDED.
5680 gnutls_crypto_cipher_register2: ADDED.
5681 gnutls_crypto_digest_register2: ADDED.
5682 gnutls_crypto_mac_register2: ADDED.
5683 gnutls_crypto_pk_register2: ADDED.
5684 gnutls_crypto_rnd_register2: ADDED.
5685 gnutls_crypto_single_cipher_register2: ADDED.
5686 gnutls_crypto_single_digest_register2: ADDED.
5687 gnutls_crypto_single_mac_register2: ADDED.
5688
5689 * Version 2.4.3 (released 2009-02-06)
5690
5691 ** libgnutls: Accept chains where intermediary certs are trusted.
5692 Before GnuTLS needed to validate the entire chain back to a
5693 self-signed certificate.  GnuTLS will now stop looking when it has
5694 found an intermediary trusted certificate.  The new behaviour is
5695 useful when chains, for example, contains a top-level CA, an
5696 intermediary CA signed using RSA-MD5, and an end-entity certificate.
5697 To avoid chain validation errors due to the RSA-MD5 cert, you can
5698 explicitly add the intermediary RSA-MD5 cert to your trusted certs.
5699 The signature on trusted certificates are not checked, so the chain
5700 has a chance to validate correctly.  Reported by "Douglas E. Engert"
5701 <deengert@anl.gov> in
5702 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3351>.
5703
5704 ** libgnutls: Permit V1 Certificate Authorities properly.
5705 Before they were mistakenly rejected even though
5706 GNUTLS_VERIFY_ALLOW_ANY_X509_V1_CA_CRT and/or
5707 GNUTLS_VERIFY_ALLOW_X509_V1_CA_CRT were supplied.  Reported by
5708 "Douglas E. Engert" <deengert@anl.gov> in
5709 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3351>.
5710
5711 ** libgnutls: deprecate X.509 validation chains using MD5 and MD2 signatures.
5712 This is a bugfix -- the previous attempt to do this from internal x509
5713 certificate verification procedures did not return the correct value
5714 for certificates using a weak hash.  Reported by Daniel Kahn Gillmor
5715 <dkg@fifthhorseman.net> in
5716 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3332>,
5717 debugged and patch by Tomas Mraz <tmraz@redhat.com> and Daniel Kahn
5718 Gillmor <dkg@fifthhorseman.net>.
5719
5720 ** libgnutls: Fix chain verification for chains that ends with RSA-MD2 CAs.
5721 Reported by Michael Kiefer <Michael-Kiefer@web.de> in
5722 <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=507633> forwarded by
5723 Andreas Metzler <ametzler@downhill.at.eu.org> in
5724 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3309>.
5725
5726 ** libgnutls: Fix crash in X.509 validation code for self-signed certificates.
5727 The patch to fix the security problem GNUTLS-SA-2008-3 introduced a
5728 problem for certificate chains that contained just one self-signed
5729 certificate.  Reported by Michael Meskes <meskes@debian.org> in
5730 <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=505279>.
5731
5732 ** libgnutls: Fix X.509 certificate chain validation error. [GNUTLS-SA-2008-3]
5733 The flaw makes it possible for man in the middle attackers (i.e.,
5734 active attackers) to assume any name and trick GnuTLS clients into
5735 trusting that name.  Thanks for report and analysis from Martin von
5736 Gagern <Martin.vGagern@gmx.net>.  [CVE-2008-4989]
5737
5738 Any updates with more details about this vulnerability will be added
5739 to <https://www.gnu.org/software/gnutls/security.html>
5740
5741 ** libgnutls: Fix buffer overrun in gnutls_x509_crt_list_import.
5742 Report and patch by Jonathan Manktelow.
5743
5744 ** libgnutls: Avoid use of non-thread safe strerror.
5745
5746 ** API and ABI modifications:
5747 No changes since last version.
5748
5749 * Version 2.4.2 (released 2008-09-15)
5750
5751 ** libgnutls: Don't crash when gnutls_credentials_set is called twice.
5752
5753 ** libgnutls: Corrected memory leak in X.509 functions.
5754 Thanks to Colin Leroy <colin@colino.net>.
5755
5756 ** libgnutls: Fix compile error with Sun CC.
5757
5758 ** gnutls-cli.1: Document all new parameters.
5759 Thanks to James Westby <jw+debian@jameswestby.net>.
5760
5761 ** tests/openssl: initialize gnutls before use.
5762 Fixes crash with libgcrypt 1.4.2.  Reported by Ludovic Courtes
5763 <ludovic.courtes@laas.fr>.
5764
5765 ** doc/: Fix texinfo markup for old texinfo versions.
5766
5767 ** Included copy of libtasn1 is upgraded to version 1.5.
5768
5769 ** API and ABI modifications:
5770 No changes since last version.
5771
5772 * Version 2.4.1 (released 2008-06-30)
5773
5774 ** libgnutls: Fix local crash in gnutls_handshake.  [GNUTLS-SA-2008-2]
5775 If the gnutls_handshake function is called for a normal session, which
5776 can happen for re-handshakes, the library would crash because it tried
5777 to hash some data using a libgcrypt handle that had been deallocated.
5778 Report and tiny patch from Tomas Mraz <tmraz@redhat.com>.  Any updates
5779 with more details about this vulnerability will be added to
5780 <https://www.gnu.org/software/gnutls/security.html>
5781
5782 ** libgnutls: Fix memory leaks when doing a re-handshake.
5783 Reported by Sam Varshavchik <mrsam@courier-mta.com> in
5784 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/2928>.
5785
5786 ** Fix compiler warnings.
5787 Reported by Massimo Gaspari <massimo.gaspari@alice.it> in
5788 <http://thread.gmane.org/gmane.network.gnutls.general/1281>.
5789
5790 ** Fix ordering of -I's to avoid opencdk.h conflict with system headers.
5791 Reported by Roman Bogorodskiy <novel@FreeBSD.org> in
5792 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/2930>.
5793
5794 ** srptool: Fix a problem where --verify check does not succeed.
5795 Report and tiny patch by Matthias Koenig <mkoenig@suse.de> in
5796 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/2944>.
5797
5798 ** API and ABI modifications:
5799 No changes since last version.
5800
5801 * Version 2.4.0 (released 2008-06-19)
5802
5803 ** Major changes compared to the v2.2 branch:
5804
5805 *** The OpenPGP sub-system has been improved and now supports subkeys.
5806
5807 *** The PSK sub-system has been improved and now supports password
5808 *** derivation and PSK identity hints.
5809 The password derivation algorithms support is documented in
5810 draft-ietf-netconf-tls-02.txt.
5811
5812 *** The certtool --inder and --outder has been replaced by --inraw and --outraw.
5813 This aligns terminology with OpenPGP, which doesn't use DER encoding.
5814 The old parameters will continue to work for some time.
5815
5816 *** Certtool now confirm passwords and changes permissions of private key files.
5817
5818 *** The default handshake size limit has been increased to 48kb.
5819 It appears as if some valid handshakes are large due to sending many
5820 CA certificates.  (The earlier limit was 16kb.)
5821
5822 *** LZO compression is now disabled by default.
5823 The main reason is that LZO compression in TLS is not standardized,
5824 but license compatiblity issues with minilzo triggered us to make this
5825 decision now.
5826
5827 *** Improvements for cross-compilation to Windows and OpenWRT.
5828
5829 *** The look of the GTK-DOC manual has been improved.
5830 Major developer visible changes compared to the v2.2 branch:
5831
5832 *** Full OpenPGP support is part of libgnutls, licensed under the LGPL.
5833
5834 *** New APIs to access the raw X.509 Subject and Issuer DN's and
5835 *** elements from the certificate credentials structure.
5836 Thanks to Joe Orton.
5837
5838 *** New APIs to improve working with username/passwords and PSK.
5839
5840 *** Names of constants to affect certificate printing changed.
5841 The constants are used for OpenPGP too, which the names didn't
5842 reflect, so the following name change has been made:
5843
5844             Old name                         New name
5845      GNUTLS_X509_CRT_FULL            GNUTLS_CRT_PRINT_FULL
5846      GNUTLS_X509_CRT_ONELINE         GNUTLS_CRT_PRINT_ONELINE
5847      GNUTLS_X509_CRT_UNSIGNED_FULL   GNUTLS_CRT_PRINT_UNSIGNED_FULL
5848
5849 The old names will be mapped to the new names for some time.
5850
5851 *** The function gnutls_openpgp_privkey_get_id has been renamed to
5852 *** gnutls_openpgp_privkey_get_key_id.
5853 A compatibility mapping exists to avoid breaking API backwards
5854 compatibility.
5855
5856 *** Replaced all uses of alloca with malloc and free.
5857
5858 *** We no longer build with -D_REENTRANT -D_THREAD_SAFE.
5859 We have been unable to find a documented rationale for this practice.
5860
5861 *** Of course, many smaller fixes have been made, see the ChangeLog file.
5862
5863 *** API/ABI changes in GnuTLS 2.4
5864 All OpenPGP related functions have been moved from libgnutls-extra to
5865 libgnutls, and several new functions have been added (see below).
5866 Before making the release, we discussed whether moving functions from
5867 libgnutls-extra to libgnutls would require us to increment the ABI
5868 version, but the general opinion was that this would not be required.
5869 All older functions continue to work the same.  We are open to the
5870 possibility that this decision will lead to problem on some platform,
5871 and if it turns out that the Right Thing should have been to increment
5872 the shared library version, we would need to release an update within
5873 the 2.4.x branch that increments the shared library version.
5874
5875 This release adds the following functions:
5876
5877   gnutls_psk_client_get_hint
5878   gnutls_psk_set_server_credentials_hint
5879   gnutls_psk_netconf_derive_key
5880
5881     Used to get/set the PSK identity hint, and derive PSK keys from
5882     passwords a'la netconf.
5883
5884   gnutls_x509_dn_deinit
5885   gnutls_x509_dn_export
5886   gnutls_x509_dn_import
5887   gnutls_x509_dn_init
5888
5889     Used to handle X.509 Certificate DN's directly.
5890
5891   gnutls_hex2bin
5892
5893     Converts a data buffer to hex.  Useful for handling PSK/SRP shared
5894     secrets.
5895
5896   gnutls_certificate_get_x509_cas
5897   gnutls_certificate_get_x509_crls
5898   gnutls_certificate_get_openpgp_keyring
5899
5900     Functions for direct access to credential elements.
5901
5902   gnutls_openpgp_crt_get_auth_subkey
5903   gnutls_openpgp_crt_get_key_id
5904   gnutls_openpgp_crt_get_pk_dsa_raw
5905   gnutls_openpgp_crt_get_pk_rsa_raw
5906   gnutls_openpgp_crt_get_preferred_key_id
5907   gnutls_openpgp_crt_get_revoked_status
5908   gnutls_openpgp_crt_get_subkey_count
5909   gnutls_openpgp_crt_get_subkey_creation_time
5910   gnutls_openpgp_crt_get_subkey_expiration_time
5911   gnutls_openpgp_crt_get_subkey_fingerprint
5912   gnutls_openpgp_crt_get_subkey_id
5913   gnutls_openpgp_crt_get_subkey_idx
5914   gnutls_openpgp_crt_get_subkey_pk_algorithm
5915   gnutls_openpgp_crt_get_subkey_pk_dsa_raw
5916   gnutls_openpgp_crt_get_subkey_pk_rsa_raw
5917   gnutls_openpgp_crt_get_subkey_revoked_status
5918   gnutls_openpgp_crt_get_subkey_usage
5919   gnutls_openpgp_crt_print
5920   gnutls_openpgp_crt_set_preferred_key_id
5921   gnutls_openpgp_keyring_get_crt
5922   gnutls_openpgp_keyring_get_crt_count
5923   gnutls_openpgp_privkey_export
5924   gnutls_openpgp_privkey_export_dsa_raw
5925   gnutls_openpgp_privkey_export_rsa_raw
5926   gnutls_openpgp_privkey_export_subkey_dsa_raw
5927   gnutls_openpgp_privkey_export_subkey_rsa_raw
5928   gnutls_openpgp_privkey_get_fingerprint
5929   gnutls_openpgp_privkey_get_key_id
5930   gnutls_openpgp_privkey_get_pk_algorithm
5931   gnutls_openpgp_privkey_get_preferred_key_id
5932   gnutls_openpgp_privkey_get_revoked_status
5933   gnutls_openpgp_privkey_get_subkey_count
5934   gnutls_openpgp_privkey_get_subkey_creation_time
5935   gnutls_openpgp_privkey_get_subkey_expiration_time
5936   gnutls_openpgp_privkey_get_subkey_fingerprint
5937   gnutls_openpgp_privkey_get_subkey_id
5938   gnutls_openpgp_privkey_get_subkey_idx
5939   gnutls_openpgp_privkey_get_subkey_pk_algorithm
5940   gnutls_openpgp_privkey_get_subkey_revoked_status
5941   gnutls_openpgp_privkey_set_preferred_key_id
5942
5943     New OpenPGP related functions.
5944
5945     The function gnutls_openpgp_crt_get_key_id is the same as the old
5946     from gnutls_openpgp_crt_get_id, see above.
5947
5948 The release also adds a new header file 'gnutls/crypto.h', however it
5949 is currently not used.
5950
5951 ** libgnutls [OpenPGP]: New APIs to retrieve fingerprint from OpenPGP subkeys.
5952 Contributed by Daniel Kahn Gillmor <dkg-debian.org@fifthhorseman.net>.
5953
5954 ** API and ABI modifications:
5955 gnutls_openpgp_crt_get_subkey_fingerprint: ADDED.
5956 gnutls_openpgp_privkey_get_subkey_fingerprint: ADDED.
5957
5958 * Version 2.3.15 (released 2008-06-15)
5959
5960 ** Disable the openpgp-certs self-tests.
5961 It results in failure under Wine and doesn't work on Debian buildds.
5962
5963 ** API and ABI modifications:
5964 No changes since last version.
5965
5966 * Version 2.3.14 (released 2008-06-11)
5967
5968 ** libgnutls [OpenPGP]: Changed OpenPGP verification behaviour.
5969 An OpenPGP certificate is now only considered verified if all the user
5970 IDs are verified.
5971
5972 ** Examples: Make C++ example compile.
5973 Earlier it may have failed with an unresolved reference to strlen.
5974
5975 ** Documentation: Doc fix for gnutls_x509_crt_get_extension_oid.
5976 Reported by Sam Varshavchik <mrsam@courier-mta.com>.
5977
5978 ** API and ABI modifications:
5979 No changes since last version.
5980
5981 * Version 2.3.13 (released 2008-06-07)
5982
5983 ** libgnutls [OpenPGP]: Make OpenPGP handshakes work again.
5984
5985 ** doc/: Add psktool to info index.  Some minor cleanups.
5986
5987 ** tests/: Added non-forking TLS handshake test, see tests/mini.c.
5988
5989 ** tests/: Added libgcrypt.supp which can be used with valgrind.
5990 The file suppresses the known libgcrypt memory leaks, so they aren't
5991 printed when you run valgrind on the gnutls self-tests.  Use it as
5992 follows: valgrind --suppressions=libgcrypt.supp ./x509self or add
5993 '--suppressions=/home/you/src/gnutls/tests/libgcrypt.supp' to your
5994 ~/.valgrindrc file.
5995
5996 ** tests/: Reduce amount of debugging output by default.
5997 Use --verbose for each test to get the full output.
5998
5999 ** tests/: Fix memory leaks in several self-tests.
6000 None of the self tests should be leaking memory when running valgrind
6001 or similar tools.  (Known exceptions are dhepskself, pskself, and
6002 set_pkcs12_cred, which appear likely to be due to memory leaks in the
6003 library.)
6004
6005 ** API and ABI modifications:
6006 No changes since last version.
6007
6008 * Version 2.3.12 (released 2008-06-04)
6009
6010 ** Merge gnutls_with_netconf branch.
6011
6012 *** libgnutls [PSK]: New API to retrieve PSK identity hint in client.
6013 The function is gnutls_psk_client_get_hint.
6014
6015 *** libgnutls [PSK]: New API to set PSK identity hint in server.
6016 The function is gnutls_psk_set_server_credentials_hint.
6017
6018 *** libgnutls [PSK]: Support server key exchange with PSK identity hint.
6019 In the client, the message is parsed and the application can use
6020 gnutls_psk_client_get_hint to retrieve the hint.  In the server, the
6021 message is sent if the application has specified a PSK identity hint
6022 using gnutls_psk_set_server_credentials_hint.
6023
6024 *** libgnutls [PSK]: Support Netconf PSK key derivation.
6025 The function gnutls_psk_netconf_derive_key supports the PSK key
6026 derivation as specified in draft-ietf-netconf-tls-02.txt.  New self
6027 test netconf-psk.c.
6028
6029 *** psktool: Support new --netconf-hint to generate PSK key from password.
6030 Uses the Netconf algorithm to derive PSK key from password.
6031
6032 *** gnutls-serv: Support new --pskhint parameter to set PSK identity hint.
6033
6034 *** gnutls-cli: Always support PSK modes, through a callback.
6035 The callback will derive a PSK key using Netconf algorithm.  It will
6036 print the PSK identity hint to help the user.
6037
6038 *** New PSK example client and server.
6039 See doc/examples/ex-client-psk.c and doc/examples/ex-serv-psk.c.
6040
6041 ** libgnutls: Fix gnutls_x509_crl_set_version on arm platforms.
6042 The code didn't work properly on platforms where 'char' is unsigned,
6043 when you set version 0.  Reported by Laurence Withers
6044 <l@lwithers.me.uk> in
6045 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/2825>.
6046
6047 ** libgnutls-openssl: added RAND_pseudo_bytes API.
6048 Patch from Robert Millan <rmh@aybabtu.com>.
6049
6050 ** API and ABI modifications:
6051 RAND_pseudo_bytes: ADDED to libgnutls-openssl.
6052 gnutls_psk_client_get_hint: ADDED.
6053 gnutls_psk_set_server_credentials_hint: ADDED.
6054 gnutls_psk_netconf_derive_key: ADDED
6055
6056 * Version 2.3.11 (released 2008-05-20)
6057
6058 ** Fix flaw in fix for GNUTLS-SA-2008-1-3.
6059 The flaw would result in incorrectly terminated sessions with the
6060 error "Decryption has failed" when the server sends a small packet
6061 (typically when the session is closed).  Reported by Andreas Metzler
6062 <ametzler@downhill.at.eu.org> in
6063 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/2807>.
6064
6065 ** Don't use gnulib headers when building C++ library.
6066 Fixes builds under Windows.
6067
6068 ** Make umask a requirement.
6069 We don't know of any system that lacks it, even GNU CoreUtils use it
6070 unconditionally.
6071
6072 ** Update gnulib files.
6073 Fixes a problem where it pulled in a replacement for memcmp under
6074 MinGW, which caused the C++ example to fail to build.
6075
6076 ** API and ABI modifications:
6077 No changes since last version.
6078
6079 * Version 2.3.10 (released 2008-05-19)
6080
6081 ** Added wide wildcard hostname matching.
6082 Tiny patch by Jean-Philippe Garcia Ballester.
6083
6084 ** Fix three security vulnerabilities.  [GNUTLS-SA-2008-1]
6085 Thanks to CERT-FI for finding the bugs and providing detailed reports,
6086 which allowed the bugs to be reproduced and fixed easily.  Patches
6087 developed by Simon Josefsson and Nikos Mavrogiannopoulos.  Any updates
6088 with more details about these vulnerabilities will be added to
6089 <https://www.gnu.org/software/gnutls/security.html>
6090
6091 *** [GNUTLS-SA-2008-1-1]
6092 *** libgnutls: Fix crash when sending invalid server name.
6093 The crash can be triggered remotely before authentication, which can
6094 lead to a Daniel of Service attack to disable the server.  The bug
6095 cause gnutls to store more session resumption data than what was
6096 allocated for, thus overwriting unallocated memory.
6097
6098 *** [GNUTLS-SA-2008-1-2]
6099 *** libgnutls: Fix crash when sending repeated client hellos.
6100 The crash can be triggered remotely before authentication, which can
6101 lead to a Daniel of Service attack to disable the server.  The bug
6102 triggers a null-pointer dereference.
6103
6104 *** [GNUTLS-SA-2008-1-3]
6105 *** libgnutls: Fix crash in cipher padding decoding for invalid record lengths.
6106 The crash can be triggered remotely before authentication, which can
6107 lead to a Daniel of Service attack to disable the server.  The bug
6108 cause gnutls to read memory beyond the end of the received record.
6109
6110 ** libgnutlsxx: Updated API according to patches from Eduardo
6111 Villanueva Che (discussion at
6112 <http://lists.gnu.org/archive/html/gnutls-devel/2007-02/msg00017.html>)
6113
6114 ** Use umask to restrict permissions to owner before creating a file.
6115
6116 ** API and ABI modifications:
6117 No changes since last version.
6118
6119 * Version 2.3.9 (released 2008-05-16)
6120
6121 ** libgnutls: Fix build failures if SRP/OpenPGP is disabled.
6122 Based on report and tiny patches from
6123 <jared.jennings.ctr@eglin.af.mil>, see
6124 <https://savannah.gnu.org/support/index.php?106342>.
6125
6126 ** libgnutls: Translation fixes.
6127
6128 ** gnutls-cli: Fix so that PSK authentication works.
6129 Also improve manual to give example for gnutls-cli PSK authentication.
6130
6131 ** certtool: Encrypting a private key now require a confirmed password.
6132 Before './certtool -k -8' would merely ask for a password once.
6133 Reported by Daniel 'NebuchadnezzaR' Dehennin
6134 <nebuchadnezzar@asgardr.info> see
6135 <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=364287>.
6136
6137 ** certtool: When writing private keys to files, change permissions of file.
6138 Now the file which the private key is saved to is chmod'ed 0600.
6139 Reported by martin f krafft <madduck@debian.org> see
6140 <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=373169>.
6141
6142 ** guile: Fix -fgnu89-inline test.
6143
6144 ** Removed --enable-profile-mode.
6145 The code linked gnutls with the libfc project (Function Check) which
6146 appears to have been stalled since around 2002.
6147
6148 ** Clean up header file checks by ./configure.
6149
6150 ** Update of gnulib files.
6151
6152 ** API and ABI modifications:
6153 No changes since last version.
6154
6155 * Version 2.3.8 (released 2008-04-29)
6156
6157 ** libgnutls: Increase default handshake packet size limit to 48kb.
6158 The old limit was 16kb and some servers send huge list of trusted CAs,
6159 thus running into the limit.  FYI, applications can further increase
6160 this limit using gnutls_handshake_set_max_packet_length.  Thanks to
6161 Marc Haber <mh+debian-bugs@zugschlus.de> and "Marc F. Clemente"
6162 <marc@mclemente.net> for reporting and providing test servers.
6163
6164 ** libgnutls: Add new error code: GNUTLS_E_HANDSHAKE_TOO_LARGE
6165 Returned when the handshake data size is too large.  Before
6166 GNUTLS_E_MEMORY_ERROR was used, which could be confused with other
6167 error situations.
6168
6169 ** libgnutls: Hide definitions in crypto.h.
6170 We have decided that the APIs defined in crypto.h are not stable
6171 enough for v2.4, so don't use any of those functions.
6172
6173 ** gnutls-cli: exit when hostname doesn't match certificate.
6174 Use --insecure to avoid hostname comparison.
6175
6176 ** certtool: --inder and --outder replaced by --inraw and --outraw.
6177 The reason is to align terminology with OpenPGP, which doesn't use
6178 DER.  The old parameters will continue to work for some time.
6179
6180 ** doc: Add section 'Index of new symbols in 2.4.0' to the GTK-DOC manual.
6181
6182 ** doc: Many cosmetic fixes, to silence (most) gtk-doc warnings.
6183
6184 ** Mingw32: Revert libgcrypt vasprintf work-around added in last release.
6185 Use libgcrypt 1.4.1 or later when building on MinGW32, it removes the
6186 vasprintf symbol from the libgcrypt library which caused problems.
6187
6188 ** Update of gnulib files.
6189
6190 ** tests: New self-test of crypto.h RNG code tests/crypto_rng.
6191
6192 ** API and ABI modifications:
6193 GNUTLS_E_HANDSHAKE_TOO_LARGE: ADDED.
6194
6195 * Version 2.3.7 (released 2008-04-21)
6196
6197 ** opencdk now properly sets the key usage bits into openpgp keys.
6198
6199 ** gnutls-cli: Fix crash on TLS handshake failures.
6200 Reported by "Marc F. Clemente" <marc@mclemente.net> in Debian BTS #466477.
6201 This is similar to <http://bugs.debian.org/429183>.
6202
6203 ** certtool: with --generate-request and newly generated keys, print the key.
6204
6205 ** Build fixes for MinGW.
6206 Missing rpl_fseeko symbol in lib/opencdk/.  Better checks for linking
6207 with -lws2_32 when needed.  Use ASCII only isprint() when printing
6208 X.509 certificate information, to avoid non-ASCII but printable
6209 characters.  Thanks to Massimo Gaspari <massimo.gaspari@alice.it> for
6210 reports.
6211
6212 ** Update internal copy of libtasn1 to version 1.4.
6213
6214 ** API and ABI modifications:
6215 No changes since last version.
6216
6217 * Version 2.3.6 (released 2008-04-17)
6218
6219 ** Make gnutls_x509_crq_sign2 set certificate request version if not set.
6220 ** Improve documentation for gnutls_x509_crq_sign2.
6221 Based on report from "John Brooks" <aspecialj@gmail.com> in
6222 <http://permalink.gmane.org/gmane.network.gnutls.general/1154>.
6223
6224 ** tests/pathlen: run diff without parameters to improve portability.
6225 Based on HPUX build hints in
6226 <http://hpux.cs.utah.edu/hppd/cgi-bin/wwwtar?/hpux/Gnu/gnutls-2.3.4/gnutls-2.3.4-src-11.11.tar.gz+gnutls-2.3.4/HPUX.Install+text>.
6227
6228 ** Don't use %e specifier with strftime, it doesn't work under Windows.
6229 Reported by Massimo Gaspari <massimo.gaspari@alice.it> in
6230 <http://permalink.gmane.org/gmane.network.gnutls.general/1170>.
6231
6232 ** Remove all uses of gnutls_alloca/gnutls_afree.
6233 Use normal gnutls_malloc instead.  One reason is increased portability
6234 to Windows, the other is that several of the uses may be unsafe
6235 because the size of data allocated could be large.  Reported by
6236 Massimo Gaspari <massimo.gaspari@alice.it> in
6237 <http://permalink.gmane.org/gmane.network.gnutls.general/1170>.
6238
6239 ** Build Guile code with -fgnu89-inline only when supported.
6240 Reported by Kris Karas <ktk@enterprise.bidmc.harvard.edu> in
6241 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/2708>.
6242
6243 ** Several GTK-DOC related fixes.
6244
6245 ** Clean up OpenCDK related code.
6246 GnuTLS now requires its internal OpenCDK code rather than the external
6247 GPL library OpenCDK.  Unfortunately, we don't have resources to
6248 maintain an external library (help welcome).
6249
6250 ** API and ABI modifications:
6251 No changes since last version.
6252
6253 * Version 2.3.5 (released 2008-04-14)
6254
6255 ** Build fix for MinGW and --disable-shared.
6256 Reported by Massimo Gaspari <massimo.gaspari@alice.it> in
6257 <http://permalink.gmane.org/gmane.network.gnutls.general/1145>.
6258
6259 ** Document how to generate CRLs.
6260 Suggested by "Rainer Gerhards" <rgerhards@gmail.com>.
6261
6262 ** Documented the --priority option to gnutls-cli and gnutls-serv.
6263
6264 ** Several minor fixes in the OpenPGP interface.
6265 Thanks to Daniel Kahn Gillmor.
6266
6267 ** Fix fopen file descriptor leak in PSK server code.
6268 Thanks to Laurence Withers <l@lwithers.me.uk>, see
6269 <http://lists.gnu.org/archive/html/gnutls-devel/2008-04/msg00002.html>.
6270
6271 ** Translations files not stored directly in git to avoid merge conflicts.
6272
6273 ** New APIs to let applications replace the RNG used.
6274 Update all RNG callers in the code to use the new interface.
6275
6276 ** Guile code now built with -fgnu89-inline to fix inline semantic problem.
6277
6278 ** Update gnulib files.
6279
6280 ** API and ABI modifications:
6281 gnutls_crypto_rnd_register: ADDED
6282 gnutls_rnd_level_t: ADDED
6283 GNUTLS_RND_KEY: ADDED, gnutls_rnd_level_t member
6284 GNUTLS_RND_RANDOM: ADDED, gnutls_rnd_level_t member
6285 GNUTLS_RND_NONCE: ADDED, gnutls_rnd_level_t member
6286 gnutls_crypto_rnd_st: ADDED
6287 GNUTLS_DIG_SHA224: ADDED
6288 GNUTLS_SIGN_RSA_SHA224: ADDED
6289 gnutls_openpgp_crt_get_auth_subkey: MODIFIED
6290
6291 * Version 2.3.4 (released 2008-03-19)
6292
6293 ** Finish renaming of gnutls_certificate_export_x509_cas etc.
6294 They weren't renamed in the public header file.
6295
6296 ** Added functions to register a cipher/mac/digest. This allows to
6297 override the included ones.
6298
6299 ** Fix a bunch of compiler warnings.
6300
6301 ** API and ABI modifications:
6302 gnutls_crypto_cipher_st: ADDED
6303 gnutls_crypto_mac_st: ADDED
6304 gnutls_crypto_digest_st: ADDED
6305 gnutls_crypto_cipher_register: ADDED
6306 gnutls_crypto_mac_register: ADDED
6307 gnutls_crypto_digest_register: ADDED
6308 GNUTLS_E_CRYPTO_ALREADY_REGISTERED: ADDED
6309
6310 * Version 2.3.3 (released 2008-03-10)
6311
6312 ** Fix build failure in libextra/gnutls_extra.c that needed opencdk.h.
6313 Reported by Roman Bogorodskiy <novel@FreeBSD.org>.
6314
6315 ** No longer compiled using -D_REENTRANT -D_THREAD_SAFE.
6316 We could not find any modern justification for enabling these flags by
6317 default.  If you know of some platform that needs one of the flags to
6318 work properly, please let us know.  (Actually introduced in v2.3.0 but
6319 not documented until now.)
6320
6321 ** Importing many CA certificates are now considerably faster.
6322 This affect gnutls_certificate_set_x509_trust_mem,
6323 gnutls_certificate_set_x509_trust, and
6324 gnutls_certificate_set_x509_trust_file.  The complexity was reduced
6325 from O(2*n^2) to O(n).  When adding 206 files containing 408
6326 certificates, using gnutls_certificate_set_x509_trust_file, the time
6327 dropped from 40 seconds to 0.3 seconds.  Thanks to Edgar Fuß for code
6328 to trigger the problem.  See also
6329 <http://blog.josefsson.org/2008/02/27/real-world-performance-tuning-with-callgrind/>.
6330
6331 ** Clarify documentation for gnutls_x509_crt_set_subject_alternative_name
6332 ** to be explicit that it takes zero terminated data.
6333
6334 ** gnutls-cli --print-cert now print PKCS#3 format Diffie-Hellman parameters.
6335
6336 ** Documentation fixes for the GTK-DOC manual.
6337
6338 ** Fix compilation error related to __FUNCTION__ on some systems.
6339 Reported by Tim Mooney, see
6340 <https://savannah.gnu.org/support/?106267>.
6341
6342 ** Updated translations.
6343
6344 ** Update gnulib files.
6345
6346 ** API and ABI modifications:
6347 gnutls_hex2bin: MODIFIED, uses size_t instead of int for string length,
6348                 and char* instead of void* for output buffer.
6349
6350 * Version 2.3.2 (released 2008-02-26)
6351
6352 ** Fix srcdir!=objdir failure in openpgpself test.
6353
6354 ** Improved API documentation output from GTK-DOC.
6355
6356 ** Added gnutls_x509_dn_export(). Patch by Joe Orton.
6357
6358 ** Renamed gnutls_certificate_export_x509_cas and friends.
6359 See <http://lists.gnu.org/archive/html/gnutls-devel/2008-02/msg00043.html>.
6360
6361 ** Internal header files cleanup.
6362
6363 ** API and ABI modifications:
6364 gnutls_certificate_export_x509_cas: RENAMED to gnutls_certificate_get_x509_cas
6365 gnutls_certificate_export_x509_crls: RENAMED to gnutls_certificate_get_x509_crls
6366 gnutls_certificate_export_openpgp_keyring: RENAMED to gnutls_certificate_get_openpgp_keyring
6367 gnutls_x509_dn_export: ADDED
6368
6369 * Version 2.3.1 (released 2008-02-21)
6370
6371 ** OpenPGP support merged into libgnutls and is now licensed under LGPL.
6372 The included copy of OpenCDK has been stripped down and re-licensed
6373 under the LGPL.
6374
6375 ** Cipher priority string handling now handle strings that starts with NULL.
6376 Thanks to Laurence Withers <l@lwithers.me.uk>.
6377
6378 ** gnutls-cli: When -d is used, also prints RNG information from libgcrypt.
6379
6380 ** Corrected memory leaks in session resuming and DHE ciphersuites. Reported
6381 by Daniel Stenberg.
6382
6383 ** Increased the default certificate verification chain limits and allowed
6384 for checks without limitation.
6385
6386 ** Corrected the behaviour of gnutls_x509_crt_get_subject_alt_name()
6387 and gnutls_x509_crt_get_subject_alt_name() to not null terminate binary
6388 strings and return the proper size.
6389
6390 ** Add section 'On Record Padding' to the manual.
6391 This collects all problems related to record padding with
6392 Nokia/Sony-Ericsson phones that we know about.
6393
6394 ** Several improvements in the OpenPGP authentication.
6395 Now subkeys can be used for authentication, according to
6396 draft-mavrogiannopoulos-rfc5081bis-00.txt.
6397
6398 ** certtool can print information on OpenPGP certificates and keys.
6399
6400 ** Added gnutls_x509_dn_import/init/deinit() to access raw DER DN.
6401 Patch by Joe Orton.
6402
6403 ** Added gnutls_certificate_export_x509_cas and other functions to
6404 export elements from the certificate credentials structure.  Based on
6405 suggestion from Joe Orton.
6406
6407 ** Doc fixes.
6408 Clarify that srp_base64 is not the same as normal base64.
6409
6410 ** Fix non-portable use of brace expansion in makefiles.
6411
6412 ** API and ABI modifications:
6413 gnutls_certificate_export_x509_cas: ADDED
6414 gnutls_certificate_export_x509_crls: ADDED
6415 gnutls_certificate_export_openpgp_keyring: ADDED
6416 gnutls_openpgp_keyid_t: ADDED, instead of hard-coded 'unsigned char[8]'.
6417 gnutls_openpgp_crt_get_key_id: ADDED, obsoletes gnutls_openpgp_crt_get_id.
6418 gnutls_openpgp_crt_get_revoked_status: ADDED
6419 gnutls_openpgp_crt_get_subkey_count: ADDED
6420 gnutls_openpgp_crt_get_subkey_idx: ADDED
6421 gnutls_openpgp_crt_get_subkey_revoked_status: ADDED
6422 gnutls_openpgp_crt_get_subkey_pk_algorithm: ADDED
6423 gnutls_openpgp_crt_get_subkey_creation_time: ADDED
6424 gnutls_openpgp_crt_get_subkey_expiration_time: ADDED
6425 gnutls_openpgp_crt_get_subkey_id: ADDED
6426 gnutls_openpgp_crt_get_subkey_usage: ADDED
6427 gnutls_openpgp_privkey_get_fingerprint: ADDED
6428 gnutls_openpgp_privkey_get_key_id: ADDED
6429 gnutls_openpgp_privkey_get_subkey_count: ADDED
6430 gnutls_openpgp_privkey_get_subkey_idx: ADDED
6431 gnutls_openpgp_privkey_get_subkey_revoked_status: ADDED
6432 gnutls_openpgp_privkey_get_revoked_status: ADDED
6433 gnutls_openpgp_privkey_get_subkey_pk_algorithm: ADDED
6434 gnutls_openpgp_privkey_get_subkey_expiration_time: ADDED
6435 gnutls_openpgp_privkey_get_subkey_id: ADDED
6436 gnutls_openpgp_privkey_get_subkey_creation_time: ADDED
6437 gnutls_openpgp_crt_get_subkey_pk_dsa_raw: ADDED
6438 gnutls_openpgp_crt_get_subkey_pk_rsa_raw: ADDED
6439 gnutls_openpgp_crt_get_pk_dsa_raw: ADDED
6440 gnutls_openpgp_crt_get_pk_rsa_raw: ADDED
6441 gnutls_openpgp_privkey_export_subkey_dsa_raw: ADDED
6442 gnutls_openpgp_privkey_export_subkey_rsa_raw: ADDED
6443 gnutls_openpgp_privkey_export_dsa_raw: ADDED
6444 gnutls_openpgp_privkey_export_rsa_raw: ADDED
6445 gnutls_openpgp_privkey_export: ADDED
6446 gnutls_certificate_set_openpgp_key_file2: ADDED
6447 gnutls_certificate_set_openpgp_key_mem2: ADDED
6448 gnutls_x509_dn_init: ADDED
6449 gnutls_x509_dn_import: ADDED
6450 gnutls_x509_dn_deinit: ADDED
6451 GNUTLS_E_OPENPGP_SUBKEY_ERROR: ADDED
6452 gnutls_hex2bin: ADDED
6453 GNUTLS_CRT_PRINT_FULL: ADDED, same as old GNUTLS_X509_CRT_FULL.
6454 GNUTLS_CRT_PRINT_ONELINE: ADDED, same as old GNUTLS_X509_CRT_ONELINE.
6455 GNUTLS_CRT_PRINT_UNSIGNED_FULL: ADDED, same as
6456                                 old GNUTLS_X509_CRT_UNSIGNED_FULL.
6457
6458 * Version 2.3.0 (released 2008-01-08)
6459
6460 ** LZO compression is now disabled by default.
6461 The reason is that LZO compression is not standardized in TLS.  If you
6462 wish to experiment with it, you will have to supply --with-lzo when
6463 invoking ./configure.  The internal copy of minilzo is no longer
6464 included with GnuTLS, so you will need to install liblzo or liblzo2 on
6465 your system to have --with-lzo to be effective.
6466
6467 ** More than one server name field is now sent to the server properly.
6468 Thanks to mark.phillips@virgin.net.
6469
6470 ** Fixes the post_client_hello_function(). The extensions are now parsed
6471 in a callback friendly way.
6472
6473 ** Fix for certificate selection in servers with certificate callbacks.
6474
6475 ** Updated translations.
6476
6477 ** Update gnulib files.
6478
6479 ** API and ABI modifications:
6480 No changes since last version.
6481
6482 * Version 2.2.5 (released 2008-05-19)
6483
6484 ** Fix flaw in fix for GNUTLS-SA-2008-1-3.
6485 The flaw would result in incorrectly terminated sessions with the
6486 error "Decryption has failed" when the server sends a small packet
6487 (typically when the session is closed).  Reported by Andreas Metzler
6488 <ametzler@downhill.at.eu.org> in
6489 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/2807>.
6490
6491 ** API and ABI modifications:
6492 No changes since last version.
6493
6494 * Version 2.2.4 (released 2008-05-19)
6495
6496 ** Fix three security vulnerabilities.  [GNUTLS-SA-2008-1]
6497 Thanks to CERT-FI for finding the bugs and providing detailed reports,
6498 which allowed the bugs to be reproduced and fixed easily.  Patches
6499 developed by Simon Josefsson and Nikos Mavrogiannopoulos.  Any updates
6500 with more details about these vulnerabilities will be added to
6501 <https://www.gnu.org/software/gnutls/security.html>
6502
6503 *** [GNUTLS-SA-2008-1-1]
6504 *** libgnutls: Fix crash when sending invalid server name.
6505 The crash can be triggered remotely before authentication, which can
6506 lead to a Daniel of Service attack to disable the server.  The bug
6507 cause gnutls to store more session resumption data than what was
6508 allocated for, thus overwriting unallocated memory.
6509
6510 *** [GNUTLS-SA-2008-1-2]
6511 *** libgnutls: Fix crash when sending repeated client hellos.
6512 The crash can be triggered remotely before authentication, which can
6513 lead to a Daniel of Service attack to disable the server.  The bug
6514 triggers a null-pointer dereference.
6515
6516 *** [GNUTLS-SA-2008-1-3]
6517 *** libgnutls: Fix crash in cipher padding decoding for invalid record lengths.
6518 The crash can be triggered remotely before authentication, which can
6519 lead to a Daniel of Service attack to disable the server.  The bug
6520 cause gnutls to read memory beyond the end of the received record.
6521
6522 ** API and ABI modifications:
6523 No changes since last version.
6524
6525 * Version 2.2.3 (released 2008-05-06)
6526
6527 ** Increase default handshake packet size limit to 48kb.
6528 The old limit was 16kb and some servers send huge list of trusted CAs,
6529 thus running into the limit.  FYI, applications can further increase
6530 this limit using gnutls_handshake_set_max_packet_length.  Thanks to
6531 Marc Haber <mh+debian-bugs@zugschlus.de> and "Marc F. Clemente"
6532 <marc@mclemente.net> for reporting and providing test servers.
6533
6534 ** Fix compilation error related to __FUNCTION__ on some systems.
6535 Reported by Tim Mooney, see
6536 <https://savannah.gnu.org/support/?106267>.
6537
6538 ** Documented the --priority option to gnutls-cli and gnutls-serv.
6539
6540 ** Fix fopen file descriptor leak in PSK server code.
6541 Thanks to Laurence Withers <l@lwithers.me.uk>, see
6542 <http://lists.gnu.org/archive/html/gnutls-devel/2008-04/msg00002.html>.
6543
6544 ** Build Guile code with -fgnu89-inline only when supported.
6545 Reported by Kris Karas <ktk@enterprise.bidmc.harvard.edu> in
6546 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/2708>.
6547
6548 ** Make Camellia encryption work.
6549 Reported by Yoshisato YANAGISAWA <yanagisawa@csg.is.titech.ac.jp> in
6550 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/2746>.
6551
6552 ** API and ABI modifications:
6553 No changes since last version.
6554
6555 * Version 2.2.2 (released 2008-02-21)
6556
6557 ** Cipher priority string handling now handle strings that starts with NULL.
6558 Thanks to Laurence Withers <l@lwithers.me.uk>.
6559
6560 ** Corrected memory leaks in session resuming and DHE ciphersuites. Reported
6561 by Daniel Stenberg.
6562
6563 ** Increased the default certificate verification chain limits and allowed
6564 for checks without limitation.
6565
6566 ** Corrected the behaviour of gnutls_x509_crt_get_subject_alt_name()
6567 and gnutls_x509_crt_get_subject_alt_name() to not null terminate binary
6568 strings and return the proper size.
6569
6570 ** API and ABI modifications:
6571 No changes since last version.
6572
6573 * Version 2.2.1 (released 2008-01-17)
6574
6575 ** Prevent linking libextra against previously installed libgnutls.
6576 Tiny patch from "Alon Bar-Lev" <alon.barlev@gmail.com>, see
6577 <http://bugs.gentoo.org/show_bug.cgi?id=202269>.
6578
6579 ** Fixes the post_client_hello_function(). The extensions are now parsed
6580 in a callback friendly way.
6581
6582 ** Fix for certificate selection in servers with certificate callbacks.
6583
6584 ** API and ABI modifications:
6585 No changes since last version.
6586
6587 * Version 2.2.0 (released 2007-12-14)
6588
6589 ** Update internal copy of libtasn1 to version 1.2.
6590
6591 ** Certtool --verify-chain now handle inputs larger than 64kb.
6592 This fixes the self-test "rsa-md5-collision" under MinGW+Wine with
6593 recent versions of libgcrypt.  The problem was that Wine with the
6594 libgcrypt RNG generates huge amounts of debugging output.
6595
6596 ** Translation updates.
6597 Added Dutch translation.  Updated Polish and Swedish translation.
6598
6599 ** Major changes compared to the v2.0 branch:
6600
6601 *** SRP support aligned with newly published RFC 5054.
6602
6603 *** OpenPGP support aligned with newly published RFC 5081.
6604
6605 *** Support for DSA2 keys.
6606
6607 *** Support for Camellia cipher.
6608
6609 *** Support for Opaque PRF Input extension.
6610
6611 *** PKCS#8 parser now handle DSA keys.
6612
6613 *** Change from GPLv2 to GPLv3 for command-line tools, libgnutls-extra, etc.
6614 Notice that liblzo2 2.02 is licensed under GPLv2 only.  Earlier
6615 versions, such as 2.01 which is included with GnuTLS, is available
6616 under GPLv2 or later.  If this incompatibility causes problems, we
6617 recommend you to disable LZO using --without-lzo.  LZO compression is
6618 not a standard TLS compression algorithm, so the impact should be
6619 minimal.
6620
6621 *** Functions for disabling record protocol padding.
6622 Works around bugs on Nokia/Ericsson phones.
6623
6624 *** New functions gnutls_priority_set() for setting cipher priorities easily.
6625 Priorities like "COMPAT" also enables other work arounds, such as
6626 disabling padding.
6627
6628 *** Other minor improvements and bug fixes.
6629
6630 ** Backwards incompatible API/ABI changes in GnuTLS 2.2
6631 To adapt to changes in the TLS extension specifications for OpenPGP
6632 and SRP, the GnuTLS API had to be modified.  This means breaking the
6633 API and ABI backwards compatibility.  That is something we try to
6634 avoid unless it is necessary.  We decided to also remove the already
6635 deprecated stub functions for X.509 to XML conversion and TLS
6636 authorization (see below) when we had the opportunity.
6637
6638 Generally, most applications does not need to be modified.  Just
6639 re-compile them against the latest GnuTLS release, and it should work
6640 fine.
6641
6642 Applications that use the OpenPGP or SRP features needs to be
6643 modified.  Below is a list of the modified APIs and discussion of what
6644 the minimal things you need to modify in your application to make it
6645 work with GnuTLS 2.2.
6646
6647 Note that GnuTLS 2.2 also introduces new APIs -- such as
6648 gnutls_set_priority() that is superior to
6649 gnutls_set_default_priority() -- that you may want to start using.
6650 However, using those new APIs is not required to use GnuTLS 2.2 since
6651 the old functions continue are still supported.  This text only
6652 discuss what you minimally have to modify.
6653
6654 *** XML related changes
6655 The function `gnutls_x509_crt_to_xml' has been removed.  It has been
6656 deprecated and only returned an error code since GnuTLS version
6657 1.2.11.  Nobody has complained, so users doesn't seem to miss the
6658 functionality.  We don't know of any other library to convert X.509
6659 certificates into XML format, but we decided (long ago) that GnuTLS
6660 isn't the right place for this kind of functionality.  If you want
6661 help to find some other library to use here, please explain and
6662 discuss your use case on help-gnutls@gnu.org.
6663
6664 *** TLS Authorization related changes
6665 Everything related to TLS authorizations have been removed, they were
6666 only stub functions that returned an error code:
6667
6668  GNUTLS_SUPPLEMENTAL_AUTHZ_DATA
6669  gnutls_authz_data_format_type_t
6670  gnutls_authz_recv_callback_func
6671  gnutls_authz_send_callback_func
6672  gnutls_authz_enable
6673  gnutls_authz_send_x509_attr_cert
6674  gnutls_authz_send_saml_assertion
6675  gnutls_authz_send_x509_attr_cert_url
6676  gnutls_authz_send_saml_assertion_url
6677
6678 *** SRP related changes
6679 The callback gnutls_srp_client_credentials_function has a new
6680 prototype, and its semantic has changed.  You need to rewrite the
6681 callback, see the updated function documentation and SRP example code
6682 (doc/examples/ex-client-srp.c and doc/examples/ex-serv-srp.c) for more
6683 information.
6684
6685 The alert codes GNUTLS_A_MISSING_SRP_USERNAME and
6686 GNUTLS_A_UNKNOWN_SRP_USERNAME are no longer used by the SRP
6687 specification, instead the GNUTLS_A_UNKNOWN_PSK_IDENTITY alert is
6688 used.  There are #define's to map the old names to the new.  You may
6689 run into problems if you have a switch-case with cases for both SRP
6690 alerts, since they are now mapped to the same value.  The solution is
6691 to drop the SRP alerts from such switch cases, as they are now
6692 deprecated in favor of GNUTLS_A_UNKNOWN_PSK_IDENTITY.
6693
6694 *** OpenPGP related changes
6695 The function `gnutls_certificate_set_openpgp_keyserver' have been
6696 removed.  There is no replacement functionality inside GnuTLS.  If you
6697 need keyserver functionality, consider using the GnuPG tools.
6698
6699 All functions, types, and error codes related to OpenPGP trustdb
6700 format have been removed.  The trustdb format is a non-standard
6701 GnuPG-specific format, and we recommend you to use key rings instead.
6702 The following have been removed:
6703
6704  gnutls_certificate_set_openpgp_trustdb
6705  gnutls_openpgp_trustdb_init
6706  gnutls_openpgp_trustdb_deinit
6707  gnutls_openpgp_trustdb_import
6708  gnutls_openpgp_key_verify_trustdb
6709  gnutls_openpgp_trustdb_t
6710  GNUTLS_E_OPENPGP_TRUSTDB_VERSION_UNSUPPORTED
6711
6712 The following functions has an added parameter of the (new) type
6713 `gnutls_openpgp_crt_fmt_t'.  The type specify the format of the data
6714 (binary or base64).  The functions are:
6715  gnutls_certificate_set_openpgp_key_file
6716  gnutls_certificate_set_openpgp_key_mem
6717  gnutls_certificate_set_openpgp_keyring_mem
6718  gnutls_certificate_set_openpgp_keyring_file
6719
6720 To improve terminology and align with the X.509 interface, some
6721 functions have been renamed.  Compatibility mappings exists.  The old
6722 and new names of the affected functions and types are:
6723
6724         Old name                                New name
6725  gnutls_openpgp_key_t                    gnutls_openpgp_crt_t
6726  gnutls_openpgp_key_fmt_t                gnutls_openpgp_crt_fmt_t
6727  gnutls_openpgp_key_status_t             gnutls_openpgp_crt_status_t
6728  GNUTLS_OPENPGP_KEY                      GNUTLS_OPENPGP_CERT
6729  GNUTLS_OPENPGP_KEY_FINGERPRINT          GNUTLS_OPENPGP_CERT_FINGERPRINT
6730  gnutls_openpgp_key_init                 gnutls_openpgp_crt_init
6731  gnutls_openpgp_key_deinit               gnutls_openpgp_crt_deinit
6732  gnutls_openpgp_key_import               gnutls_openpgp_crt_import
6733  gnutls_openpgp_key_export               gnutls_openpgp_crt_export
6734  gnutls_openpgp_key_get_key_usage        gnutls_openpgp_crt_get_key_usage
6735  gnutls_openpgp_key_get_fingerprint      gnutls_openpgp_crt_get_fingerprint
6736  gnutls_openpgp_key_get_pk_algorithm     gnutls_openpgp_crt_get_pk_algorithm
6737  gnutls_openpgp_key_get_name             gnutls_openpgp_crt_get_name
6738  gnutls_openpgp_key_get_version          gnutls_openpgp_crt_get_version
6739  gnutls_openpgp_key_get_creation_time    gnutls_openpgp_crt_get_creation_time
6740  gnutls_openpgp_key_get_expiration_time  gnutls_openpgp_crt_get_expiration_time
6741  gnutls_openpgp_key_get_id               gnutls_openpgp_crt_get_id
6742  gnutls_openpgp_key_check_hostname       gnutls_openpgp_crt_check_hostname
6743  gnutls_openpgp_send_key                 gnutls_openpgp_send_cert
6744
6745 ** API and ABI modifications:
6746 No changes since last version.
6747
6748 * Version 2.1.8 (released 2007-12-10)
6749
6750 ** The GPL version has been changed from version 2 to version 3.
6751 This affects the self-tests, command-line tools, the libgnutls-extra
6752 library, the relevant guile parts, and the build environment.
6753
6754 ** Added gnutls_x509_crt_get_subject_alt_name2().
6755
6756 ** Corrected a segfault when setting an empty gnutls_priority_t
6757 at gnutls_priority_set().
6758
6759 ** Use gettext 0.17 which updates m4/lib-*.m4 macros.
6760 Fixes a problem with spurious -L/usr/lib additions.
6761
6762 ** API and ABI modifications:
6763 gnutls_x509_crt_get_subject_alt_name2: ADD.
6764
6765 * Version 2.1.7 (released 2007-11-29)
6766
6767 ** PKCS #8 parser can now encode/decode DSA keys.
6768
6769 ** Updated gnutls_set_default_priority2() now renamed to
6770 gnutls_priority_set() and gnutls_priority_set_direct() which
6771 accept a string to indicate preferences of ciphersuite parameters.
6772
6773 ** gnutls-cli and gnutls-serv now have a --priority option to set
6774 the priority string.
6775
6776 ** The gnutls_*_convert_priority() functions were deprecated by
6777 the gnutls_priority_set() and gnutls_priority_set_direct().
6778
6779 ** Internal copy of OpenCDK upgraded to version 0.6.6.
6780
6781 ** API and ABI modifications:
6782 gnutls_priority_init: ADD.
6783 gnutls_priority_deinit: ADD.
6784 gnutls_priority_set: ADD.
6785 gnutls_priority_set_direct: ADD.
6786 gnutls_set_default_priority2: RENAMED to gnutls_priority_set_direct()
6787 gnutls_mac_convert_priority: REMOVED
6788 gnutls_compression_convert_priority: REMOVED
6789 gnutls_protocol_convert_priority: REMOVED
6790 gnutls_kx_convert_priority: REMOVED
6791 gnutls_cipher_convert_priority: REMOVED
6792 gnutls_certificate_type_convert_priority: REMOVED
6793 gnutls_set_default_priority: UNDEPRECATED
6794 gnutls_set_default_priority_export: UNDEPRECATED
6795
6796 ** Undocumented API and ABI modifications earlier in the 2.1.x series:
6797 GNUTLS_CIPHER_UNKNOWN: ADD.
6798 GNUTLS_CIPHER_CAMELLIA_128_CBC: ADD.
6799 GNUTLS_CIPHER_CAMELLIA_256_CBC: ADD.
6800 GNUTLS_KX_UNKNOWN: ADD.
6801 GNUTLS_COMP_UNKNOWN: ADD.
6802 GNUTLS_CRT_UNKNOWN: ADD.
6803 gnutls_mac_get_id: ADD.
6804 gnutls_compression_get_id: ADD.
6805 gnutls_cipher_get_id: ADD.
6806 gnutls_kx_get_id: ADD.
6807 gnutls_protocol_get_id: ADD.
6808 gnutls_certificate_type_get_id: ADD.
6809 gnutls_handshake_post_client_hello_func: ADD.
6810 gnutls_certificate_send_x509_rdn_sequence: ADD prototype to gnutls.h.in.
6811
6812 * Version 2.1.6 (released 2007-11-15)
6813
6814 ** Corrected bug in decompression of expanded compression data.
6815
6816 ** Added the --to-p8 option to certtool to convert private keys
6817 to PKCS #8 keys.
6818
6819 ** Introduced the GNUTLS_E_BASE64_UNEXPECTED_HEADER_ERROR error code.
6820
6821 ** gnutls_certificate_set_x509_key_* can now read PKCS #8 unencrypted
6822 private keys.
6823
6824 ** Fixed GNUTLS_E_UNKNOWN_ALGORITHM vs GNUTLS_E_UNKNOWN_HASH_ALGORITHM.
6825 During the 2.1.x series the GNUTLS_E_UNKNOWN_HASH_ALGORITHM error code
6826 was renamed to GNUTLS_E_UNKNOWN_ALGORITHM, unfortunately without being
6827 documented.  This caused some problems (e.g., debian #450854).  To
6828 avoid backwards compatibility problems, this release revert this
6829 change, so that GNUTLS_E_UNKNOWN_HASH_ALGORITHM works just like it has
6830 done in GnuTLS 2.0.x and earlier, and add a new error code
6831 GNUTLS_E_UNKNOWN_ALGORITHM.
6832
6833 ** Fixes several gtk-doc warnings.
6834
6835 ** API and ABI modifications:
6836 GNUTLS_E_UNKNOWN_ALGORITHM: CHANGED.
6837 GNUTLS_E_UNKNOWN_HASH_ALGORITHM: CHANGED.
6838 GNUTLS_E_BASE64_UNEXPECTED_HEADER_ERROR: ADD.
6839
6840 * Version 2.1.5 (released 2007-11-01)
6841
6842 ** Fix PKCS#3 parameter export problem.
6843
6844 ** Improve certtool queries, they now print the default value.
6845
6846 ** Fix ABI version.
6847
6848 ** Update gnulib files.
6849
6850 ** API and ABI modifications:
6851 No changes since last version.
6852
6853 * Version 2.1.4 (released 2007-10-27)
6854
6855 ** Added the --v1 option to certtool, to allow generating X.509
6856 version 1 certificates.
6857
6858 ** certtool: Add option --disable-quick-random to enable the old behaviour
6859 of using /dev/random to generate keys.
6860
6861 ** Added priority functions that accept strings.
6862
6863 ** Added gnutls_set_default_priority2() which accepts a flag to indicate
6864 priorities preferences.
6865
6866 ** Added gnutls_record_disable_padding() to allow servers talking to
6867 buggy clients that complain if the TLS 1.0 record protocol padding is
6868 used.
6869
6870 ** Introduced gnutls_session_enable_compatibility_mode() to allow enabling
6871 all supported compatibility options (like disabling padding).
6872
6873 ** The gnutls_certificate_set_openpgp_* functions were modified to include
6874 the format. This makes the interface consistent with the x509 functions.
6875
6876 ** Internal copy of OpenCDK upgraded to version 0.6.5.
6877
6878 ** Update gnulib files.
6879
6880 ** API and ABI modifications:
6881 gnutls_certificate_set_openpgp_key_mem: MODIFIED
6882 gnutls_certificate_set_openpgp_key_file: MODIFIED
6883 gnutls_certificate_set_openpgp_keyring_mem: MODIFIED
6884 gnutls_certificate_set_openpgp_keyring_file: MODIFIED
6885 gnutls_set_default_priority: DEPRECATED
6886 gnutls_set_default_priority_export: DEPRECATED
6887 gnutls_set_default_priority2: ADDED
6888 gnutls_session_enable_compatibility_mode: ADDED
6889 gnutls_record_disable_padding: ADDED
6890 gnutls_mac_convert_priority: ADDED
6891 gnutls_compression_convert_priority: ADDED
6892 gnutls_protocol_convert_priority: ADDED
6893 gnutls_kx_convert_priority: ADDED
6894 gnutls_cipher_convert_priority: ADDED
6895 gnutls_certificate_type_convert_priority: ADDED
6896 gnutls_openpgp_key_t: RENAMED to gnutls_openpgp_crt_t
6897 gnutls_openpgp_key_status_t: RENAMED to gnutls_openpgp_crt_status_t
6898 gnutls_openpgp_send_key: RENAMED to gnutls_openpgp_send_cert
6899 gnutls_openpgp_key_init: RENAMED to gnutls_openpgp_crt_init
6900 gnutls_openpgp_key_import: RENAMED to gnutls_openpgp_crt_import
6901 gnutls_openpgp_key_export: RENAMED to gnutls_openpgp_crt_export
6902 gnutls_openpgp_key_check_hostname: RENAMED to gnutls_openpgp_crt_check_hostname
6903 gnutls_openpgp_key_get_creation_time: RENAMED to gnutls_openpgp_crt_get_creation_time
6904 gnutls_openpgp_key_get_expiration_time: RENAMED to gnutls_openpgp_crt_get_expiration_time
6905 gnutls_openpgp_key_get_fingerprint: RENAMED to gnutls_openpgp_crt_get_fingerprint
6906 gnutls_openpgp_key_get_version: RENAMED to gnutls_openpgp_crt_get_version
6907 gnutls_openpgp_key_get_pk_algorithm: RENAMED to gnutls_openpgp_crt_get_pk_algorithm
6908 gnutls_openpgp_key_get_name: RENAMED to gnutls_openpgp_crt_get_name
6909 gnutls_openpgp_key_deinit: RENAMED to gnutls_openpgp_crt_deinit
6910 gnutls_openpgp_key_get_id: RENAMED to gnutls_openpgp_crt_get_id
6911 gnutls_openpgp_key_get_key_usage: RENAMED to gnutls_openpgp_crt_get_key_usage
6912 gnutls_openpgp_key_verify_ring: RENAMED to gnutls_openpgp_crt_verify_ring
6913 gnutls_openpgp_key_verify_self: RENAMED to gnutls_openpgp_crt_verify_self
6914
6915 * Version 2.1.3 (released 2007-10-17)
6916
6917 ** TLS authorization support removed.
6918 This technique may be patented in the future, and it is not of crucial
6919 importance for the Internet community.  After deliberation we have
6920 concluded that the best thing we can do in this situation is to
6921 encourage society not to adopt this technique.  We have decided to
6922 lead the way with our own actions.
6923
6924 ** Re-enabled the 256 bit ciphers in the default priorities.
6925
6926 ** Corrected bugs in openpgp key verification using a keyring (both in
6927 gnutls and opencdk)
6928
6929 ** API and ABI modifications:
6930 gnutls_certificate_set_openpgp_keyserver: REMOVED
6931 gnutls_authz_data_format_type_t,
6932 gnutls_authz_recv_callback_func,
6933 gnutls_authz_send_callback_func,
6934 gnutls_authz_enable,
6935 gnutls_authz_send_x509_attr_cert,
6936 gnutls_authz_send_saml_assertion,
6937 gnutls_authz_send_x509_attr_cert_url,
6938 gnutls_authz_send_saml_assertion_url: REMOVED.
6939 GNUTLS_SUPPLEMENTAL_USER_MAPPING_DATA: ADDED.  To avoid that the
6940     gnutls_supplemental_data_format_type_t enum type becomes empty.
6941
6942 * Version 2.1.2 (released 2007-10-14)
6943
6944 ** Removed all the trustdb code from openpgp authentication.
6945 We now use only the well-specified keyrings.
6946
6947 ** The 256 bit ciphers are not enabled in the default priorities.
6948
6949 ** Added support for DSA2 using libgcrypt 1.3.0.
6950
6951 ** certtool: Fixed data corruption when using --outder.
6952
6953 ** Removed all the xml related stubs and functions.
6954
6955 ** Added capability to set a callback after the client hello is received
6956 by the server in order to adjust parameters before the handshake.
6957
6958 ** SRP was corrected to adhere to the latest draft (published soon as RFC)
6959
6960 ** Corrected bug which did not allow a server to run without supporting
6961 certificates.
6962
6963 ** Updated the DN parser which now prints wrongly decoded values as hex
6964 strings.
6965
6966 ** certtool: Add option --quick-random.
6967 For generating low security test credentials.
6968
6969 ** API and ABI modifications:
6970 gnutls_x509_crt_to_xml: REMOVED
6971 gnutls_openpgp_key_to_xml: REMOVED
6972 gnutls_openpgp_key_verify_trustdb: REMOVED
6973 gnutls_openpgp_trustdb_init: REMOVED
6974 gnutls_openpgp_trustdb_deinit: REMOVED
6975 gnutls_openpgp_trustdb_import: REMOVED
6976 gnutls_certificate_set_openpgp_trustdb: REMOVED
6977 gnutls_srp_client_credentials_function: CHANGED
6978 gnutls_handshake_set_post_client_hello_function: ADDED
6979 gnutls_mac_get_key_size: ADDED
6980 GNUTLS_E_OPENPGP_TRUSTDB_VERSION_UNSUPPORTED: DEPRECATED.
6981 GNUTLS_A_MISSING_SRP_USERNAME: DEPRECATED
6982 GNUTLS_A_UNKNOWN_SRP_USERNAME: DEPRECATED
6983
6984 * Version 2.1.1 (released 2007-09-24)
6985
6986 ** Added support for Camellia cipher, thanks to Yoshisato YANAGISAWA.
6987 Camellia is only enabled in GnuTLS if the installed libgcrypt has been
6988 compiled with Camellia support.  See the libgcrypt documentation on
6989 how to enable it.  Unconditionally disable it using the configure
6990 option --disable-camellia.  Fixes #1.
6991
6992 ** Properly document in the NEWS file the API change in the last release.
6993
6994 ** API and ABI modifications:
6995 No changes since last version.
6996
6997 * Version 2.1.0 (released 2007-09-20)
6998
6999 ** Support for draft-rescorla-tls-opaque-prf-input-00.txt.
7000 The support is disabled by default.  Since no value has been allocated
7001 by the IANA for this extension yet, you will need to provide one
7002 yourself by invoking './configure --enable-opaque-prf-input=42'.
7003 Fixes #2.
7004
7005 ** Example code: Fix compilation flaw under MinGW.
7006
7007 ** API and ABI modifications:
7008 gnutls_oprfi_callback_func: ADD, new typedef function prototype.
7009 gnutls_oprfi_enable_client: ADD, new function.
7010 gnutls_oprfi_enable_server: ADD, new function.
7011
7012 * Version 2.0.4 (released 2007-11-16)
7013
7014 ** Corrected bug in decompression of expanded compression data.
7015
7016 ** API and ABI modifications:
7017 No changes since last version.
7018
7019 * Version 2.0.3 (released 2007-11-10)
7020
7021 ** This version backports several fixes from the 2.1.x branch.
7022
7023 ** Fixed PKCS #3 parameter export.
7024
7025 ** Added gnutls_record_disable_padding() to allow servers talking to
7026 buggy clients that complain if the TLS 1.0 record protocol padding is
7027 used.
7028
7029 ** Introduced gnutls_session_enable_compatibility_mode() to allow enabling
7030 all supported compatibility options (like disabling padding).
7031
7032 ** Corrected bug which did not allow a server to run without supporting
7033 certificates.
7034
7035 ** API and ABI modifications:
7036 gnutls_session_enable_compatibility_mode: ADDED
7037 gnutls_record_disable_padding: ADDED
7038
7039 * Version 2.0.2 (released 2007-10-17)
7040
7041 ** TLS authorization support removed.
7042 This technique may be patented in the future, and it is not of crucial
7043 importance for the Internet community.  After deliberation we have
7044 concluded that the best thing we can do in this situation is to
7045 encourage society not to adopt this technique.  We have decided to
7046 lead the way with our own actions.
7047
7048 ** certtool: Fixed data corruption when using --outder.
7049
7050 ** Fix configure-time Guile detection.
7051
7052 ** API and ABI modifications:
7053 GNUTLS_SUPPLEMENTAL_USER_MAPPING_DATA: ADDED.  To avoid that the
7054     gnutls_supplemental_data_format_type_t enum type becomes empty.
7055
7056 * Version 2.0.1 (released 2007-09-20)
7057
7058 ** New directory doc/credentials/ with test credentials.
7059 This collects the test credentials from the web page and from src/.
7060 The script gnutls-http-serv has also been moved to that directory.
7061
7062 ** Update SRP extension type and cipher suite with official IANA values.
7063 This breaks backwards compatibility with SRP in older versions of
7064 GnuTLS, but this is intentional to speed up the adoption of the
7065 official values.  The old values we used were incorrect.
7066
7067 ** Guile: Fix `x509-certificate-dn-oid'
7068
7069 ** API and ABI modifications:
7070 No changes since last version.
7071
7072 * Version 2.0.0 (released 2007-09-04)
7073
7074 ** Included copy of Libtasn1 upgraded to version 1.1.
7075
7076 ** Disable building of some examples if anonymous ciphers are disabled.
7077
7078 ** Don't build examples for disabled features.
7079
7080 ** API and ABI modifications:
7081 No changes since last version.
7082
7083 * Version 1.7.19 (released 2007-08-27)
7084
7085 ** Fix gnutls_error_is_fatal so that positive "errors" are non-critical.
7086 This solves connection problems in mutt, see
7087 <http://bugs.debian.org/439640>.
7088
7089 ** Update gnulib files.
7090 In particular, the getpass module -- with its dependencies on getline,
7091 getdelim, fseeko etc -- where moved from the lgl/ (used by the core
7092 library) directory to the gl/ directory (only used by the command line
7093 tools).  The reason is that getpass is now only used by the
7094 command-line tools, and reducing the number of gnulib modules linked
7095 to the core library helps portability and reduces size.
7096
7097 ** Fix warnings.
7098
7099 ** Disable building of PGP examples if PGP is disabled.
7100
7101 ** Included copy of OpenCDK upgraded to version 0.6.4.
7102
7103 ** API and ABI modifications:
7104 No changes since last version.
7105
7106 * Version 1.7.18 (released 2007-08-16)
7107
7108 ** Install images for the info manual.
7109 This has a side effect of renaming the images.  See
7110 <http://thread.gmane.org/gmane.comp.tex.texinfo.bugs/3533> for
7111 discussions on the approach chosen.
7112
7113 ** Fix pointer mix to variables of different size.
7114 Patch extracted from
7115 <http://cvs.fedora.redhat.com/viewcvs/devel/gnutls/gnutls-1.6.3-incompat-pointers.patch?rev=1.1&view=auto>.
7116
7117 ** Fix warnings during build.
7118 Thanks to Andreas Metzler <ametzler@downhill.at.eu.org>.
7119
7120 ** API and ABI modifications:
7121 No changes since last version.
7122
7123 * Version 1.7.17 (released 2007-08-15)
7124
7125 ** New functions to perform external signing.
7126 Set the signing callback function (of the gnutls_sign_func prototype)
7127 using the gnutls_sign_callback_set function.  In the callback, you may
7128 find the new functions gnutls_x509_privkey_sign_hash and
7129 gnutls_openpgp_privkey_sign_hash useful.  A new function
7130 gnutls_sign_callback_get is also added, to retrieve the function
7131 pointer.  Thanks to "Alon Bar-Lev" <alon.barlev@gmail.com> for
7132 comments and testing.
7133
7134 ** New self test of client and server authenticated X.509 TLS sessions.
7135 See tests/x509self.c and tests/x509signself.c.  The latter also tests
7136 the new external signing callback interface.
7137
7138 ** New errors GNUTLS_E_APPLICATION_ERROR_MIN..GNUTLS_E_APPLICATION_ERROR_MAX.
7139 These two actually describe the outer limits of a range of error codes
7140 reserved to the application.  All of the errors are treated as fatal
7141 by the library (it has to since it doesn't know the semantics of the
7142 error codes).  This can be useful in callbacks, to signal some
7143 application-specific error condition, which will usually eventually
7144 cause some gnutls API to return the same error code as the callback,
7145 which then can be inspected by the application.  Note that error codes
7146 are negative.
7147
7148 ** gnutls_set_default_priority now disable TLS 1.2 by default.
7149 The RFC is not released yet, and we're approaching a major release so
7150 let's not enable it just yet.
7151
7152 ** Fix namespace so that gnutls_*_t is used consistently.
7153 Before, many places in the GnuTLS code used the old deprecated type
7154 names without the '_t' suffix.
7155
7156 ** Build fixes for Guile code.
7157 Patch from Ludovic Courtes <ludovic.courtes@laas.fr>.
7158
7159 ** More documentation fixes.
7160 In particular, the section headings were modified for casing.  By
7161 Ludovic Courtes <ludovic.courtes@laas.fr>.
7162
7163 ** Updated Polish and Swedish translations.
7164 Thanks to Jakub Bogusz <qboosh@pld-linux.org> and Daniel Nylander
7165 <po@danielnylander.se>.
7166
7167 ** API and ABI modifications:
7168 gnutls_sign_func: ADD, new type for sign callback.
7169 gnutls_sign_callback_set: ADD, new function to set sign callback.
7170 gnutls_sign_callback_get: ADD, new function to retrieve sign callback.
7171 gnutls_x509_privkey_sign_hash,
7172 gnutls_openpgp_privkey_sign_hash: ADD, new functions useful in sign callback.
7173 GNUTLS_E_APPLICATION_ERROR_MIN,
7174 GNUTLS_E_APPLICATION_ERROR_MAX: ADD, new CPP #defines for error codes.
7175
7176 * Version 1.7.16 (released 2007-08-07)
7177
7178 ** Fix sanity checks and return values in certificate selection.
7179 In some cases, GnuTLS omitted to report suitable error codes when no
7180 suitable certificate was found.
7181
7182 ** Fix gnutls-cli starttls EOF on Mac OS X.
7183 Thanks to Hal Eden <n.mavrogiannopoulos@gmail.com>.
7184
7185 ** Documentation fixes.
7186 In particular, the section headings were modified for casing.  By
7187 Ludovic Courtes <ludovic.courtes@laas.fr>.
7188
7189 ** Update gnulib files.
7190
7191 ** API and ABI modifications:
7192 No changes since last version.
7193
7194 * Version 1.7.15 (released 2007-07-02)
7195
7196 ** Fix self-tests key-id under mingw32.
7197
7198 ** Test that the Guile header files are recent enough to work.
7199 Before we just tested that the command line tool 'guile' was recent
7200 enough, which may not be sufficient if you still have an old
7201 libguile.h header installed.
7202
7203 ** Guile bindings are now installed under $prefix by default.
7204 Use --without-guile-site-dir to install it under $pkgdatadir/site/
7205 where $pkgdatadir is as returned by "guile-config info pkgdatadir".
7206 Use --with-guile-site-dir=/your/own/path to specify the path manually.
7207 The default, --with-guile-site-dir, will install the Guile bindings
7208 under $datadir/guile/site.  There is a new section 'Guile
7209 Preparations' in the manual that discuss these issues.
7210
7211 ** Fix run-time library path ordering in linking the Guile bindings.
7212
7213 ** Improved manual on downloading, installing, getting help, bug reports etc.
7214 Suggested by Ludovic Courtès <ludovic.courtes@laas.fr>.
7215
7216 ** Add Malay message translations.
7217 Thanks to Sharuzzaman Ahmat Raslan <sharuzzaman@myrealbox.com>.
7218
7219 ** API and ABI modifications:
7220 No changes since last version.
7221
7222 * Version 1.7.14 (released 2007-06-26)
7223
7224 ** Don't enable Guile bindings unless we have Guile 1.8 or later.
7225 Patch from Ludovic Courtès <ludovic.courtes@laas.fr>.
7226
7227 ** Fix memory leak during DSA signature verification.
7228 Patch from Ludovic Courtès <ludovic.courtes@laas.fr>.
7229
7230 ** Fix crash in gnutls-cli when TLS handshake fails.
7231 Reported by Marc Haber <mh+debian-bugs@zugschlus.de> and Andreas
7232 Metzler <ametzler@downhill.at.eu.org> via Debian BTS #429183, see
7233 <http://bugs.debian.org/429183>.
7234
7235 ** Minor OpenPGP fixes in stream_to_datum.
7236 Patch from Timo Schulz <twoaday@freakmail.de> and Ludovic Courtès
7237 <ludovic.courtes@laas.fr>.
7238
7239 ** Fix off-by-one in TLS 1.2 handshake.
7240 Patch from Ludovic Courtès <ludovic.courtes@laas.fr>.
7241
7242 ** Minor Guile binding self-test cleanup.
7243 Patch from Ludovic Courtès <ludovic.courtes@laas.fr>.
7244
7245 ** Update gnulib files.
7246
7247 ** API and ABI modifications:
7248 No changes since last version.
7249
7250 * Version 1.7.13 (released 2007-06-11)
7251
7252 ** OpenCDK copy updated to version 0.6.3.
7253
7254 ** Build fixes for GnuTLS Guile bindings.
7255 Patch from Ludovic Courtès <ludovic.courtes@laas.fr>.
7256
7257 ** Build fix for GTK-DOC manual.
7258
7259 ** Update gnulib files.
7260
7261 ** API and ABI modifications:
7262 No changes since last version.
7263
7264 * Version 1.7.12 (released 2007-06-08)
7265
7266 ** Guile bindings for GnuTLS have been included.
7267 Contributed by Ludovic Courtès <ludovic.courtes@laas.fr>.  There is a
7268 new chapter 'Guile Bindings' in the manual.
7269
7270 ** Have PKCS8 parser return better error codes.
7271 Reported by Nate Nielsen <nielsen-list@memberwebs.com>, see
7272 <http://lists.gnupg.org/pipermail/gnutls-dev/2007-May/001653.html> and
7273 <http://lists.gnupg.org/pipermail/gnutls-dev/2007-May/001654.html>.
7274
7275 ** Fix mem leak for sessions with client authentication via certificates.
7276 Reported by Andrew W. Nosenko <andrew.w.nosenko@gmail.com>, see
7277 <http://lists.gnupg.org/pipermail/gnutls-dev/2007-April/001539.html>.
7278
7279 ** Fix mem leaks.
7280 Reported by Dennis Vshivkov <walrus@amur.ru>, see
7281 <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=333050>.  Added
7282 self-test tests/parse_ca.c to test regressions.
7283
7284 ** Fix build failures related to missing images in manual.
7285 Reported by Andreas Metzler <ametzler@downhill.at.eu.org>.
7286
7287 ** Update gnulib files.
7288
7289 ** API and ABI modifications:
7290 No changes since last version.
7291
7292 * Version 1.7.11 (released 2007-05-26)
7293
7294 ** Include opencdk.h in the release.
7295 Reported by Roman Bogorodskiy <novel@FreeBSD.org>.
7296
7297 ** API and ABI modifications:
7298 No changes since last version.
7299
7300 * Version 1.7.10 (released 2007-05-25)
7301
7302 ** New API functions to extract DER encoded X.509 Subject/Issuer DN.
7303 Suggested by Nate Nielsen <nielsen-list@memberwebs.com>.
7304
7305 ** Update of gnulib files.
7306
7307 ** GnuTLS is now developed in GIT instead of CVS.
7308 See <http://repo.or.cz/w/gnutls.git> for a public repository.
7309
7310 ** API and ABI modifications:
7311 gnutls_x509_crt_get_raw_issuer_dn: ADD.
7312 gnutls_x509_crt_get_raw_dn: ADD.
7313
7314 * Version 1.7.9 (released 2007-05-12)
7315
7316 ** X.509 certificates are preferred over OpenPGP keys.
7317 This is a change in the semantics of gnutls_set_default_priority.
7318
7319 ** The included copy of OpenCDK has been updated to 0.6.1.
7320 There has been some API changes in OpenCDK, and the GnuTLS layer have
7321 been modified as well.  Note that while there are API/ABI incompatible
7322 changes in OpenCDK, this does not influence GnuTLS's API/ABI because
7323 its API/ABI have not changed.  From this version on, GnuTLS requires
7324 OpenCDK 0.6.0 or later.
7325
7326 ** Fix build failure caused by missing doc/gnutls-logo.pdf.
7327
7328 ** Change certtool's default serial number from 0 to a time-based value.
7329
7330 ** Fix X.509 signing with RSA-PKCS#1 to set a NULL parameters fields.
7331 Before, we remove the parameters field, which resulted in a slightly
7332 different DER encoding which in turn caused signature verification
7333 failures of GnuTLS-generated RSA certificates in some other
7334 implementations (e.g., GnuPG 2.x's gpgsm).  Depending on which RFCs
7335 you read, this may or may not be correct, but our new behaviour appear
7336 to be consistent with other widely used implementations.
7337
7338 ** Fix mem leaks in gnutls_x509_crt_print.
7339
7340 ** API and ABI modifications:
7341 No changes since last version.
7342
7343 * Version 1.7.8 (released 2007-04-16)
7344
7345 ** Added examples for the authorization extension.
7346 See doc/examples/ex-client-authz.c and doc/examples/ex-serv-authz.c.
7347
7348 ** The examples only use gnutls_set_default_priority().
7349 The exception is when DH_ANON is needed.
7350
7351 ** Improve gnutls_set_default_priority() priorities.
7352 The new approach is for it to try and negotiate all secure and
7353 standard mechanisms available.  Currently, DH_ANON ciphersuites and
7354 LZO compressions are not enabled by default, because they are,
7355 respectively, insecure and non-standardized.  Note that TLS 1.2 will
7356 not be enabled by default in non-experimental release until it has
7357 been approved by the IETF.
7358
7359 ** gnutls-cli and gnutls-serv now uses the library's default priorities.
7360 This means that to get DH_ANON and LZO compression, you'll need to
7361 specify that manually using '--kx anon' or '--comp lzo'.
7362
7363 ** Minor fixes to the human display format of X.509 certificates.
7364
7365 ** New APIs to extract Distinguished Name's from X.509 certificates.
7366 Based on patch from Howard Chu <hyc@symas.com>.
7367
7368 ** Improved library searching for opencdk.
7369 It will now add the appropriate -R or -Wl,-rpath flags as necessary.
7370 The deprecated opencdk.m4 is no longer used.
7371
7372 ** New APIs to list supported algorithms in the library.
7373 The APIs are gnutls_cipher_list, gnutls_mac_list,
7374 gnutls_compression_list, gnutls_protocol_list,
7375 gnutls_certificate_type_list, gnutls_kx_list, and
7376 gnutls_cipher_suite_info.  Suggested by Howard Chu <hyc@symas.com>.
7377
7378 ** The gnutls_x509_crt_get_key_id API now handle non-RSA/DSA keys.
7379
7380 ** New configure option --disable-tls-authorization to disable tls-authz.
7381
7382 ** Fix prototype for `gnutls_psk_set_client_credentials'.
7383 The last parameter was renamed from 'flags' to 'format' and the type
7384 changed from 'unsigned int' to 'gnutls_psk_key_flags' (an enum type),
7385 which shouldn't cause any ABI changes.  Reported by ludo@chbouib.org
7386 (Ludovic Courtès).
7387
7388 ** Fix allocation in gnutls_certificate_set_openpgp_key.
7389 Tiny patch from ludo@chbouib.org (Ludovic Courtès).
7390
7391 ** API and ABI modifications:
7392 gnutls_x509_dn_t: ADD.
7393 gnutls_x509_ava_st: ADD.
7394 gnutls_x509_crt_get_subject,
7395 gnutls_x509_crt_get_issuer: ADD.
7396 gnutls_x509_dn_get_rdn_ava: ADD.
7397 gnutls_cipher_list: ADD.
7398 gnutls_mac_list: ADD.
7399 gnutls_compression_list: ADD.
7400 gnutls_protocol_list: ADD.
7401 gnutls_certificate_type_list: ADD.
7402 gnutls_kx_list: ADD.
7403 gnutls_cipher_suite_info: ADD.
7404
7405 * Version 1.7.7 (released 2007-02-22)
7406
7407 ** Support for supplemental handshake messages and authorization data.
7408 Supplemental data is described in RFC 4680 and the authorization
7409 extensions in draft-housley-tls-authz-extns-07.
7410
7411 ** Support for authorization data in gnutls-cli and gnutls-serv.
7412 New parameters --authz-x509-attr-cert and --authz-saml-assertion.
7413
7414 ** Fix for gnutls_x509_crt_check_hostname.
7415 Before it would have reported that the certificate matched a hostname
7416 when it did not have any dNSName or any CN field.  Report and tiny
7417 patch from "Richard W.M. Jones" <rjones@redhat.com>.
7418
7419 ** New self test for RFC 2818 comparison in gnutls_x509_crt_check_hostname.
7420 Tests regressions of the bug, and several other features.
7421
7422 ** GnuTLS now matches URI's with IP Addresses against iPAddress SAN's.
7423 Before there were no support for iPAddress SAN's during comparison.
7424
7425 ** New API to print information about CRL's.
7426 The function is gnutls_x509_crl_print.
7427
7428 ** New API to extract signature value from CRL's.
7429 The function is gnutls_x509_crl_get_signature.
7430
7431 ** Support for directoryName Subject Alternative Name's.
7432 The gnutls_x509_crt_get_subject_alt_name function returns the DN as a
7433 string in the provided buffer.
7434
7435 ** Internal improvements to certtool.
7436 It uses gnutls_x509_crl_print to print CRL information.  It uses some
7437 more gnulib modules to simplify error handling.
7438
7439 ** API and ABI modifications:
7440 GNUTLS_HANDSHAKE_SUPPLEMENTAL: ADD, new gnutls_handshake_description_t element.
7441 gnutls_supplemental_data_format_type_t: ADD.
7442 gnutls_authz_data_format_type_t: ADD.
7443 gnutls_supplemental_get_name: ADD.
7444 gnutls_authz_recv_callback_func,
7445 gnutls_authz_send_callback_func: ADD, callback prototypes.
7446 gnutls_authz_enable: ADD.
7447 gnutls_authz_send_x509_attr_cert,
7448 gnutls_authz_send_saml_assertion,
7449 gnutls_authz_send_x509_attr_cert_url,
7450 gnutls_authz_send_saml_assertion_url: ADD.
7451 GNUTLS_SAN_DN: ADD, new gnutls_x509_subject_alt_name_t element.
7452 gnutls_x509_crl_print: ADD.
7453 gnutls_x509_crl_get_signature: ADD.
7454
7455 * Version 1.7.6 (released 2007-02-12)
7456
7457 ** Support for 'otherName' Subject Alternative Names.
7458 The existing API gnutls_x509_crt_get_subject_alt_name may now return
7459 the new type GNUTLS_SAN_OTHERNAME together with the otherName value.
7460 To find out the otherName OID (necessary for proper parsing of the
7461 value), use the new API gnutls_x509_crt_get_subject_alt_othername_oid.
7462 For known OIDs, gnutls_x509_crt_get_subject_alt_othername_oid will
7463 return "virtual" SAN values, e.g., GNUTLS_SAN_OTHERNAME_XMPP to
7464 simplify OID matching.  Suggested by Matthias Wimmer <m@tthias.eu>.
7465
7466 ** Certtool can print otherName SAN values for certificates.
7467 For known otherName OIDs (currently only id-on-xmppAddr as defined by
7468 RFC 3920), it will also print the name.
7469
7470 ** Fix TLS 1.2 RSA signing in servers.
7471 Before it used the old-style MD5+SHA1 signature, but the TLS
7472 signatures should be normal PKCS#1 signatures.  FYI, we use and
7473 require that DigestInfo parameters are present and NULL for TLS 1.2.
7474
7475 ** Add APIs to access X.509 extensions sequentially.
7476 The existing APIs gnutls_x509_crt_get_extension_oid() and
7477 gnutls_x509_crt_get_extension_by_oid() does not permit callers to
7478 inspect the extensions in the order defined by the certificate.
7479
7480 ** Add API to extract signature value from X.509 certificates.
7481 The function is gnutls_x509_crt_get_signature.
7482
7483 ** Fix crash when generating proxy certificates in batch mode.
7484 If you don't specify a proxy policy in batch mode, it will use
7485 id-ppl-inheritALL.
7486
7487 ** Add API to print information about X.509 certificates.
7488 The function is gnutls_x509_crt_print.
7489
7490 ** Certtool uses the new API gnutls_x509_crt_print to print certificate info.
7491 One consequence of this is that the output syntax has changed
7492 slightly.  Some more fields are printed.
7493
7494 ** Doc fixes.
7495
7496 ** API and ABI modifications:
7497 gnutls_x509_crt_print: ADD
7498 gnutls_certificate_print_formats_t: ADD, new enum.
7499 gnutls_x509_crt_get_signature: ADD.
7500 gnutls_x509_crt_get_extension_data: ADD.
7501 gnutls_x509_crt_get_extension_info: ADD.
7502 gnutls_x509_crt_get_subject_alt_othername_oid: ADD.
7503 GNUTLS_SAN_OTHERNAME: ADD, new gnutls_x509_subject_alt_name_t element.
7504 GNUTLS_SAN_OTHERNAME_XMPP: ADD, new gnutls_x509_subject_alt_name_t element.
7505
7506 * Version 1.7.5 (released 2007-02-06)
7507
7508 ** Servers won't negotiate SRP RSA/DSS cipher suites if no SRP credential
7509 ** is set.
7510
7511 ** Default behaviour for the gnutls-cli and gnutls-serv tools improved.
7512
7513 ** Fix --list output for gnutls-cli and gnutls-serv.
7514 Mention TLS1.2, SHA512 etc.
7515
7516 ** Manual contains new section on setting up a test HTTP server.
7517 A server set up following those descriptions are available online via
7518 <http://www.gnutls.org/server.html>.
7519
7520 ** Update of gnulib files.
7521
7522 ** API and ABI modifications:
7523 No changes since last version.
7524
7525 * Version 1.7.4 (released 2007-02-05)
7526
7527 ** Support for RSA signing using SHA-256/384/512.
7528 A new self test "sha2" tries to build a long X.509 certificate chain
7529 testing all new hashes.
7530
7531 ** The gnutls-serv tool now use static DH parameters if none are supplied.
7532
7533 ** Discuss proxy certificates in the manual.
7534
7535 ** Improve bibliographical citations in the manual.
7536
7537 ** Update of gnulib files.
7538
7539 ** Fix certtool template handling of pathLenConstraints.
7540 It now defaults to -1 instead of 0, which causes the field to be
7541 missing unless the template specify it.
7542
7543 ** API and ABI modifications:
7544 GNUTLS_MAC_SHA256,
7545 GNUTLS_MAC_SHA384,
7546 GNUTLS_MAC_SHA512: New gnutls_mac_algorithm_t values.
7547 GNUTLS_DIG_SHA256,
7548 GNUTLS_DIG_SHA384,
7549 GNUTLS_DIG_SHA512: New gnutls_digest_algorithm_t values.
7550 GNUTLS_SIGN_RSA_SHA256,
7551 GNUTLS_SIGN_RSA_SHA384,
7552 GNUTLS_SIGN_RSA_SHA512: New gnutls_sign_algorithm_t values.
7553
7554 * Version 1.7.3 (released 2007-02-01)
7555
7556 ** New option to certtool: --generate-proxy.
7557 This will generate a Proxy Certificate from an end entity certificate.
7558 Proxy Certificates are documented in RFC 3820.  You will need to
7559 specify the proxy certificate's private key with --load-privkey, the
7560 user certificate with --load-certificate and the private key used to
7561 sign the new proxy certificate with --load-ca-privkey.  Certtool will
7562 query for proxy path length and the policy language OID.  Currently
7563 only OIDs that have an empty policy are supported (which includes the
7564 two OIDs defined by RFC 3820).
7565
7566 ** Certtool --certificate-info now prints information for Proxy Certificates.
7567 Before the proxy extension was just printed as DER encoded data.
7568
7569 ** New APIs to set proxy subject names and get/set proxy cert extension.
7570
7571 ** Fix parsing of pathLenConstraints in BasicConstraints with missing cA.
7572
7573 ** Added self-test to test for regressions of pathLenConstraint bug.
7574 Incidentally, this also test (some) other regressions or changes in
7575 the output from certtool --certificate-info.
7576
7577 ** When certtool generates CA certificates, pressing enter on the path
7578 ** length constraint query will now remove the field.
7579 Before it set the path length constraint to 0, which is a rather poor
7580 default.
7581
7582 ** Certtool now print times in UTC when printing certificate/CRL info.
7583
7584 ** Add better fix to work around C++ compiler bug on Mac OS X.
7585 Reported and tiny patch provided by Matthias Scheler <tron@NetBSD.org>.
7586
7587 ** Fix import of ASCII armored OpenPGP keys.
7588 Patch by ludovic.courtes@laas.fr (Ludovic Courtès).
7589
7590 ** Update of gnulib files.
7591
7592 ** API and ABI modifications:
7593 gnutls_x509_crt_set_proxy_dn: ADD.
7594 gnutls_x509_crt_set_proxy: ADD.
7595 gnutls_x509_crt_get_proxy: ADD.
7596
7597 * Version 1.7.2 (released 2007-01-14)
7598
7599 ** Certtool now print the value of the pathLenConstraints field for certs.
7600
7601 ** Certtool now query for path length constraints when generating CA certs.
7602 For batch uses, the certtool configuration name is "path_len".
7603 Suggested by Sascha Ziemann <sascha.ziemann@secunet.com>.
7604
7605 ** Add new API to get/set pathLenConstraint in the Basic Constraints.
7606 The new functions gnutls_x509_crt_get_basic_constraints and
7607 gnutls_x509_crt_set_basic_constraints provide a superset of the
7608 functionality in the old gnutls_x509_crt_get_ca_status and
7609 gnutls_x509_crt_set_ca_status (respectively), but the old functions
7610 will continue to be supported.
7611
7612 ** Add new API in OpenCDK to extract public/secret OpenPGP key to S-expr.
7613 The functions are cdk_pubkey_to_sexp and cdk_seckey_to_sexp.  A proper
7614 OpenCDK release with this patch will be made soon, which should bump
7615 the OpenCDK version number.  Patch by Mario Lenz <mario.lenz@gmx.net>.
7616
7617 ** Certtool --to-p12 can now store more than one certificate in the blob.
7618 Before it could only store one certificate, but now it will read and
7619 store as many certificate there are from the --load-certificate file.
7620 Suggested by Sascha Ziemann <sascha.ziemann@secunet.com>.
7621
7622 ** Clean up separation of gnutls and gnutls-extra for OpenPGP.
7623 In particular, the OpenPGP function variables are no longer part of
7624 the exported libgnutls interface, and no header files from
7625 libgnutls-extra (GPL) are needed by libgnutls (LGPL).  The variables
7626 were never intended for non-internal purposes, and thus this does not
7627 imply a change in the external API/ABI.
7628
7629 ** Print URL to gaa when missing, and fix srcdir!=builddir for GAA files.
7630 Reported by ludovic.courtes@laas.fr (Ludovic Courtès).
7631
7632 ** GnuTLS no longer uses -mms-bitfields --enable-runtime-pseudo-reloc.
7633 Before these parameters were set to make GnuTLS build under mingw32,
7634 however, they appear to no longer be necessary.
7635
7636 ** A minor fix to the C++ library to make it build.
7637 Reported by Pavlov Konstantin <thresh@altlinux.ru>.
7638
7639 ** Update of gnulib files.
7640
7641 ** API and ABI modifications:
7642 gnutls_x509_crt_get_basic_constraints: ADD.
7643 gnutls_x509_crt_set_basic_constraints: ADD.
7644 cdk_pubkey_to_sexp: ADD (in opencdk).
7645 cdk_seckey_to_sexp: ADD (in opencdk).
7646
7647 * Version 1.7.1 (released 2006-12-28)
7648
7649 ** TLS 1.2 server side fix.
7650 The Certificate Request sent did not contain the list of supported
7651 hashes field, thus violating the protocol.  It will now contain an
7652 empty list.  Reported by ludovic.courtes@laas.fr (Ludovic Courtès).
7653
7654 ** TLS 1.2 DSA signature verification fix.
7655 Reported by ludovic.courtes@laas.fr (Ludovic Courtès).
7656
7657 ** Fix the list of trusted CAs that server's send to clients.
7658 Before, the list contained issuer DN's instead of subject DN's of the
7659 trusted CAs.  Reported by Max Kellermann <max@duempel.org>.
7660
7661 ** Fix gnutls_certificate_set_x509_crl to initialize the CRL before using it.
7662 Also added a self-test in tests/certificate_set_x509_crl.c to test the
7663 function.  Reported by Max Kellermann <max@duempel.org>.
7664
7665 ** Encode UID fields in DN's as DirectoryString.
7666 Before GnuTLS encoded and parsed UID fields as IA5String.  This was
7667 incorrect, it should have used DirectoryString.  Now it will use
7668 DirectoryString for the UID field, but for backwards compatibility it
7669 will also accept IA5String UID's.  Reported by Max Kellermann
7670 <max@duempel.org>.
7671
7672 ** Improve out-of-sourcedir builds from CVS.
7673 Reported by ludovic.courtes@laas.fr (Ludovic Courtès).
7674
7675 ** Bootstrap tools changed.
7676 We now require autoconf 2.61, automake 1.10, and gettext 0.16, when
7677 building GnuTLS from CVS.  Libtool 1.5.22 is used.
7678
7679 ** Fixed a syntax error in lib/gnutls.asn.
7680 Reported by Paul Millar <p.millar@physics.gla.ac.uk>.
7681
7682 ** Added German translation of GnuTLS messages.
7683
7684 ** Update of gnulib files.
7685
7686 ** API and ABI modifications:
7687 No changes since last version.
7688
7689 * Version 1.7.0 (released 2006-11-29)
7690
7691 ** The default protocol priority try TLS 1.1 and TLS 1.2 too.
7692 The details is that the protocol priority set by
7693 `gnutls_set_default_priority' has been changed from TLS 1.0 and SSL
7694 3.0 to TLS 1.2, TLS 1.1, TLS 1.0 and SSL 3.0.
7695
7696 ** Preliminary support for TLS 1.2.
7697 The client has been successfully tested against
7698 https://www.mikestoolbox.org:4433/.
7699
7700 ** Anonself test now print a lot of debugging info, including TLS version.
7701
7702 ** Doc fixes in OpenCDK, to avoid some gtk-doc warnings.
7703
7704 ** Update of gnulib files.
7705
7706 ** API and ABI modifications:
7707 GNUTLS_TLS1_2: New gnutls_protocol_t enum member.
7708
7709 *** Pulled up from stable 1.6.x branch:
7710
7711 ** Fix ./configure failure with non-GCC compilers.
7712 This fixes the following error message:
7713 configure: error: conditional "HAVE_LD_OUTPUT_DEF" was never defined.
7714 Reported by "Michael C. Vergallen" <mvergall@telenet.be>.
7715
7716 * Version 1.6.3 (released 2007-05-26)
7717
7718 ** New API functions to extract DER encoded X.509 Subject/Issuer DN.
7719 Suggested by Nate Nielsen <nielsen-list@memberwebs.com>.  Backported
7720 from the 1.7.x branch, see
7721 <http://lists.gnu.org/archive/html/help-gnutls/2007-05/msg00029.html>.
7722
7723 ** Have PKCS8 parser return better error codes.
7724 Reported by Nate Nielsen <nielsen-list@memberwebs.com>, see
7725 <http://lists.gnupg.org/pipermail/gnutls-dev/2007-May/001653.html> and
7726 <http://lists.gnupg.org/pipermail/gnutls-dev/2007-May/001654.html>.
7727
7728 ** Fix mem leak for sessions with client authentication via certificates.
7729 Reported by Andrew W. Nosenko <andrew.w.nosenko@gmail.com>, see
7730 <http://lists.gnupg.org/pipermail/gnutls-dev/2007-April/001539.html>.
7731
7732 ** Fix building of 'tlsia' self test.
7733 Earlier some gcc are known to build tlsia linking to
7734 $prefix/lib/libgnutls-extra.so rather than the libgnutls-extra.so in
7735 the build directory, even though command line parameters look OK.
7736 Changing order of some parameters fixes it.
7737
7738 ** API and ABI modifications:
7739 gnutls_x509_crt_get_raw_issuer_dn: ADD.
7740 gnutls_x509_crt_get_raw_dn: ADD.
7741
7742 * Version 1.6.2 (released 2007-04-18)
7743
7744 ** Fix X.509 signing with RSA-PKCS#1 to set a NULL parameters fields.
7745 Before, we remove the parameters field, which resulted in a slightly
7746 different DER encoding which in turn caused signature verification
7747 failures of GnuTLS-generated RSA certificates in some other
7748 implementations (e.g., GnuPG 2.x's gpgsm).  Depending on which RFCs
7749 you read, this may or may not be correct, but our new behaviour appear
7750 to be consistent with other widely used implementations.
7751
7752 ** Regenerate the PKIX ASN.1 syntax tree.
7753 For some reason, after changing the ASN.1 type of ldap-UID in the last
7754 release, the generated C file built from the ASN.1 schema was not
7755 refreshed.  This can cause problems when reading/writing UID
7756 components inside X.500 Distinguished Names.  Reported by devel
7757 <dev001@pas-world.com>.
7758
7759 ** Updated translations.
7760
7761 ** API and ABI modifications:
7762 No changes since last version.
7763
7764 * Version 1.6.1 (released 2006-12-28)
7765
7766 ** Fix the list of trusted CAs that server's send to clients.
7767 Before, the list contained issuer DN's instead of subject DN's of the
7768 trusted CAs.  Reported by Max Kellermann <max@duempel.org>.
7769
7770 ** Fix gnutls_certificate_set_x509_crl to initialize the CRL before using it.
7771 Reported by Max Kellermann <max@duempel.org>.
7772
7773 ** Encode UID fields in DN's as DirectoryString.
7774 Before GnuTLS encoded and parsed UID fields as IA5String.  This was
7775 incorrect, it should have used DirectoryString.  Now it will use
7776 DirectoryString for the UID field, but for backwards compatibility it
7777 will also accept IA5String UID's.  Reported by Max Kellermann
7778 <max@duempel.org>.
7779
7780 ** Fix ./configure failure with non-GCC compilers.
7781 This fixes the following error message:
7782 configure: error: conditional "HAVE_LD_OUTPUT_DEF" was never defined.
7783 Reported by "Michael C. Vergallen" <mvergall@telenet.be>.
7784
7785 ** API and ABI modifications:
7786 No changes since last version.
7787
7788 * Version 1.6.0 (released 2006-11-17)
7789
7790 ** No changes since 1.5.5.
7791 The major changes compared to the 1.4.x branch are:
7792
7793 *** A GnuTLS C++ library is part of the official distribution.
7794 Currently there are no examples or documentation, but hopefully this
7795 will change.  See gnutlsxx.h for the API.
7796
7797 *** Windows is a supported platform.
7798 There are, however, two know bugs.  One is related to select() in
7799 command line tools (not, nota bene, in the library), the other is a
7800 problem with libgcrypt that causes delays.  Help is needed to resolve
7801 those issues, so we feel we can't delay the release because of this.
7802
7803 *** New APIs for custom push/pull function error reporting.
7804 The new APIs are gnutls_transport_set_errno and
7805 gnutls_transport_set_global_errno.  See the release notes for version
7806 1.5.4 for more information.
7807
7808 *** Self tests are run under valgrind, if available.  See --disable-valgrind.
7809
7810 * Version 1.5.5 (released 2006-11-16)
7811
7812 ** Correctly bump shared library version after adding new APIs.
7813 This was forgotten in the last release.
7814
7815 ** Fix unsigned vs signed problem in ex-x509-info.c example.
7816 Reported by Tim Kosse <tim.kosse@filezilla-project.org>.
7817
7818 ** Fix the rsa-md5-collision self test to work for MinGW+Wine.
7819
7820 ** Update of gnulib files.
7821
7822 ** API and ABI modifications:
7823 No changes since last version.
7824
7825 * Version 1.5.4 (released 2006-11-07)
7826
7827 ** New API functions to set errno in push/pull functions.
7828 Under Windows, setting the errno variable in a push/pull replacement
7829 may end up setting the wrong errno variable, and GnuTLS send/recv
7830 functions become confused about the real errno returned from a failed
7831 push/pull function.  Therefor, we have added two APIs to set the errno
7832 variable used by GnuTLS.  The APIs can also help to keep things
7833 thread-safe, by avoiding potentially global variables.  Typically,
7834 instead of setting errno in your push/pull function, you will call one
7835 of these functions.  It is recommended to use
7836 gnutls_transport_set_errno, but if you don't have the session variable
7837 easily accessible in the push/pull replacement function, you can use
7838 gnutls_transport_set_global_errno.  Suggested by Tim Kosse
7839 <tim.kosse@filezilla-project.org>.
7840
7841 void gnutls_transport_set_errno (gnutls_session_t session, int err);
7842 void gnutls_transport_set_global_errno (int err);
7843
7844 ** When calling `recv' or `send' Windows errors are handled properly.
7845 The Windows recv/send functions doesn't use errno, and GnuTLS now use
7846 WSAGetLastError to access the error condition instead.
7847
7848 ** Several OpenPGP API fixes.
7849 All suggested by ludovic.courtes@laas.fr (Ludovic Courtès).  The most
7850 important fix is to change the return value of
7851 gnutls_openpgp_privkey_get_pk_algorithm and
7852 gnutls_openpgp_key_get_pk_algorithm from 'int' to
7853 'gnutls_pk_algorithm_t', which is an enum type (and thus API/ABI
7854 compatible with 'int').
7855
7856 ** When a GnuTLS server receive a SSLv2 Client Hello for an unknown TLS
7857 ** version, try to negotiate the highest version support by the GnuTLS server,
7858 ** instead of the lowest.
7859 Reported by <Pasi.Eronen@nokia.com>.
7860
7861 ** Replace old constructs with use of gnulib modules.
7862 For example, we can now assume unistd.h, sys/stat.h, sys/socket.h in
7863 the code.  If the headers doesn't exist on the target system, gnulib
7864 will make sure its replacement header files are used instead.
7865
7866 ** Fix SOVERSION computation for *.def files.
7867 This fixes build errors similar to "No rule to make target
7868 `libgnutls-`expr', needed by `all-am'." when building for Windows.
7869
7870 ** gnutls_check-version uses strverscmp from gnulib.
7871
7872 ** Update of gnulib files.
7873
7874 ** API and ABI modifications:
7875 gnutls_transport_set_errno: ADD
7876 gnutls_transport_set_global_errno: ADD
7877
7878 * Version 1.5.3 (released 2006-10-26)
7879
7880 ** Add new self-test of RSA-MD5 signature chains.
7881 Note that we already, since GnuTLS 1.2.9, reject RSA-MD5 signatures
7882 when verifying X.509 chains.  The code is in tests/rsa-md5-collision/
7883 and is based on the work by Marc Stevens et al, see
7884 <http://www.win.tue.nl/hashclash/TargetCollidingCertificates/>.
7885
7886 ** Re-factor self tests.
7887
7888 ** The include copy of Libtasn1 is updated to version 0.3.7.
7889
7890 ** The included copy of OpenCDK is updated to version 0.5.11.
7891
7892 ** Fix the filename of the *.def file on Windows after library version bump.
7893
7894 ** Separated the gnulib directory into one for LGPL modules and one for GPL.
7895 This allows the GPL'd part of GnuTLS to take advantage of the GPL'd
7896 gnulib modules.  Earlier we could only use the LGPL'ed module from
7897 gnulib, because two gnulib directories in the same project didn't
7898 work.
7899
7900 ** API and ABI modifications:
7901 No changes since last version.
7902
7903 * Version 1.5.2 (released 2006-10-03)
7904
7905 ** Decrement the shared library version back to 13 (as in the 1.4.x branch).
7906 Note that if you installed 1.5.0 or 1.5.1, they will have a higher
7907 shared library version than this version, so you'll have to remove
7908 them and possibly relink your applications.  The reason for this is
7909 that no API/ABI changes have been made since the 1.4.x branch, and
7910 that incrementing the shared library version was a mistake.  Reported
7911 by Andreas Metzler <ametzler@downhill.at.eu.org>.
7912
7913 ** Fix off-by-one error when computing length to malloc.
7914 The code is used by gnutls_openpgp_add_keyring_file and
7915 gnutls_openpgp_add_keyring_mem.  Reported by "Adam Langley"
7916 <agl@imperialviolet.org>.
7917
7918 ** Add version script for the GnuTLS C++ library.
7919 Reported by Andreas Metzler <ametzler@downhill.at.eu.org>.
7920
7921 ** Fix the C++ compiler detection logic.
7922 Reported by Andreas Metzler <ametzler@downhill.at.eu.org>.
7923
7924 ** Update of gnulib files.
7925
7926 ** API and ABI modifications:
7927 No changes since last version.
7928
7929 * Version 1.5.1 (released 2006-09-21)
7930
7931 ** Fix PKCS#1 verification to avoid a variant of Bleichenbacher's
7932 ** Crypto 06 rump session attack.
7933 In particular, we check that the digestAlgorithm.parameters field is
7934 missing or empty, to avoid that it can contain "garbage" that may be
7935 used to alter the numeric properties of the signature.  See
7936 <http://www.imc.org/ietf-openpgp/mail-archive/msg14307.html> (which is
7937 not exactly the same as the problem we fix here).  Reported by Yutaka
7938 OIWA <y.oiwa@aist.go.jp>.
7939
7940 See GNUTLS-SA-2006-4 on http://www.gnutls.org/security.html for more
7941 up to date information.
7942
7943 ** Add self test to test for above flaw.
7944
7945 ** Fix gnutls-cli-debug regarding resume support detection.
7946 Earlier, if the session-id from the server had a length of 0, it would
7947 indicate that the server supports resumption, which isn't the case.
7948 Reported by Kataja Kai <kai.kataja@op.fi>.
7949
7950 ** Fix building of examples on FreeBSD by including netinet/in.h.
7951 Reported by Roman Bogorodskiy <novel@FreeBSD.org>.
7952
7953 ** Fix certtool bug that caused the private key to not be loaded when
7954 generating a certificate with --load-request, which in turn triggered
7955 another unrelated bug in gnutls_x509_crt_sign2 (also fixed).  Reported
7956 by Sascha Ziemann <sascha.ziemann@secunet.com>.
7957
7958 ** gnutls-cli and gnutls-serv works on Windows.
7959 The problem was the select() call that doesn't work on file
7960 descriptors (stdin) on Windows.  We borrowed some code from plibc to
7961 solve this.  It appears to be somewhat unreliable though.
7962
7963 ** Autoconf 2.60 is now used.
7964
7965 ** API and ABI modifications:
7966 No changes since last version.
7967
7968 * Version 1.5.0 (released 2006-08-13)
7969
7970 ** Change SRP and Cert-Type extensions to match IANA registry.
7971
7972 ** Fixed bug in OpenPGP authentication handshake.
7973
7974 ** Improvements for building under MinGW.
7975 Provides internal inet_ntop and inet_pton functions and arpa/inet.h
7976 header.  Calls WSAStartup and WSACleanup in gnutls_global_init and
7977 gnutls_global_deinit, respectively.  Loads getaddrinfo and getnameinfo
7978 at run-time from ws2_32.dll, and falls back on a simple replacement if
7979 it is not available.  Builds the library with -mms-bitfields
7980 -Wl,--enable-runtime-pseudo-reloc.  Links with --output-def, to
7981 create *.def files, which are installed.
7982
7983 ** The examples now (conditionally) include config.h and link to gnulib.
7984 No other source changes were necessary, so the examples should
7985 continue to be possible to use stand-alone without any autoconf or
7986 gnulib stuff.
7987
7988 ** Added C++ header "gnutlsxx.h" and library "libgnutlsxx".
7989 You may unconditionally disable it with --disable-cxx.  See
7990 includes/gnutls/gnutlsxx.h and lib/gnutlsxx.cpp for the
7991 implementation.
7992
7993 ** Made command line tool '--version' behave according to GNU Standards.
7994 This enables 'make distcheck' to succeed.
7995
7996 ** OpenCDK updated to 0.5.9 to fix some problems with OpenPGP support.
7997
7998 ** Make --without-included-libtasn1 work.
7999 Reported by Daniel Black <dragonheart@gentoo.org>.
8000
8001 ** Fix a crash (strcmp() on a NULL value) in the certificate verification logic.
8002 See https://www.gnu.org/software/gnutls/security.html regardging
8003 GNUTLS-SA-2006-2 for more up to date information.  Reported by
8004 satyakumar <satyam_kkd@hyd.hellosoft.com>.
8005
8006 ** API and ABI modifications:
8007 No changes since last version.
8008
8009 * Version 1.4.5 (released 2006-11-06)
8010
8011 ** When a GnuTLS server receive a SSLv2 Client Hello for an unknown TLS
8012 ** version, try to negotiate the highest version support by the GnuTLS server,
8013 ** instead of the lowest.
8014 Reported by <Pasi.Eronen@nokia.com>.
8015
8016 ** Fix typo in doc/examples/ex-serv-pgp.c.
8017 Reported by Adam Langley" <agl@imperialviolet.org>.
8018
8019 ** API and ABI modifications:
8020 No changes since last version.
8021
8022 * Version 1.4.4 (released 2006-09-12)
8023
8024 ** Relax the test that caught signatures that exploit the variant of
8025 ** Bleichenbacher's Crypto 06 rump session attack on our
8026 ** verification logic flaw.
8027 In particular, we now permit the digestAlgorithm.parameters field to
8028 be present but empty, whereas in 1.4.3 we actually checked that the
8029 field was absent.
8030
8031 ** Revert the removal of debug information for the GNUTLS-SA-2006-3 problem.
8032 The messages are only printed in debug mode, which is not recommended
8033 for normal use, and thus logging this situation cannot be abused as an
8034 oracle in typical recommended situations.
8035
8036 ** API and ABI modifications:
8037 No changes since last version.
8038
8039 * Version 1.4.3 (released 2006-09-08)
8040
8041 ** Fix PKCS#1 verification to avoid a variant of Bleichenbacher's
8042 ** Crypto 06 rump session attack.
8043 In particular, we check that the digestAlgorithm.parameters field is
8044 empty, to avoid that it can contain "garbage" that may be used to
8045 alter the numeric properties of the signature.  See
8046 <http://www.imc.org/ietf-openpgp/mail-archive/msg14307.html> (which is
8047 not exactly the same as the problem we fix here).  Reported by Yutaka
8048 OIWA <y.oiwa@aist.go.jp>.
8049
8050 See GNUTLS-SA-2006-4 on http://www.gnutls.org/security.html for more
8051 up to date information.
8052
8053 ** Fix PKCS#1 decryption to avoid Bleichenbacher's Crypto 98 attack.
8054 See <http://www.bell-labs.com/user/bleichen/papers/pkcs.ps.gz>.
8055 Reported by Werner Koch <wk@gnupg.org>.
8056
8057 See GNUTLS-SA-2006-3 on http://www.gnutls.org/security.html for more
8058 up to date information.
8059
8060 ** Fix crash in gnutls_x509_crt_sign2 if passed a NULL issuer_key.
8061
8062 ** API and ABI modifications:
8063 No changes since last version.
8064
8065 * Version 1.4.2 (released 2006-08-12)
8066
8067 ** Fix a crash (strcmp() on a NULL value) in the certificate verification logic.
8068 This can happen if you call gnutls_certificate_verify_peers2 and have
8069 a certain mix of local CA certificates and the peer send special
8070 certificates, that together trigger certain behaviour.  It is not
8071 known at this point whether the crash can be triggered without the
8072 special local CA certificate, and thus turn this into a remote crash
8073 of clients that verify server certificates when they talk to a server
8074 with the special server certificate.  See GNUTLS-SA-2006-2 on
8075 https://www.gnu.org/software/gnutls/security.html for more up to date
8076 information.  Reported by satyakumar <satyam_kkd@hyd.hellosoft.com>.
8077
8078 ** Change SRP and Cert-Type extensions to match IANA registry.
8079
8080 ** OpenCDK updated to 0.5.9 to fix some problems with OpenPGP support.
8081
8082 ** Make --without-included-libtasn1 work.
8083 Reported by Daniel Black <dragonheart@gentoo.org>.
8084
8085 ** API and ABI modifications:
8086 No changes since last version.
8087
8088 * Version 1.4.1 (released 2006-06-14)
8089
8090 ** Replaced inactive ifdefs to enable openpgp support in test programs.
8091
8092 ** Fixed bug in OpenPGP authentication handshake.
8093
8094 ** Fixed typographical in man pages.
8095
8096 ** Build fixes of the manual.
8097
8098 ** Added Swedish translation.
8099
8100 ** API and ABI modifications:
8101 No changes since last version.
8102
8103 * Version 1.4.0 (released 2006-05-15)
8104
8105 ** Remove GnuTLS 0.8.x compatibility functions.
8106
8107 ** The libgcrypt RNG is initialized in gnutls_global_init().
8108
8109 ** TLS/IA API changes from Emile van Bergen.
8110 A dummy credential structure is not needed now, if you wish to use the
8111 low-level TLS/IA API, simply call gnutls_ia_enable to enable TLS/IA on
8112 a session.
8113
8114 ** The self-tests are now run under valgrind, if it is installed.
8115
8116 ** Libtasn1 is updated to 0.3.4, and that version is now required.
8117
8118 ** The command line tools now use getaddrinfo and support IPv6.
8119
8120 ** API and ABI modifications:
8121 _gnutls_x509_get_raw_crt_activation_time,
8122 _gnutls_x509_get_raw_crt_expiration_time: Removed.
8123 gnutls_ia_require_inner_phase: Removed, replaced by gnutls_ia_enable.
8124 gnutls_ia_enable: Added.
8125
8126 * Version 1.3.5 (released 2006-03-08)
8127
8128 ** Error messages are now translated using GNU Gettext.
8129
8130 ** The function gnutls_x509_crt_to_xml now return an internal error.
8131 This means that the code to convert X.509 certificates to XML format
8132 does not work any more.  The reason is that the function called
8133 libtasn1 internal functions.  It seems unclean for libtasn1 to export
8134 the APIs needed here.  Instead it would be better to implement XML
8135 support inside libtasn1 properly.  If you need this functionality
8136 strongly, please consider looking into implementing this suggested
8137 approach instead.  As a workaround, you may also modify lib/x509/xml.c
8138 (change '#if 1' to '#if 0') and build using --with-included-libtasn1.
8139
8140 ** Libraries are now built with libtool's -no-undefined.
8141 This helps producing libraries for Windows using mingw32.
8142
8143 ** Doc fixes to explain that gnutls_record_send can block.
8144
8145 ** Libtasn1 0.3.1 or later is now required.
8146 The include copy has been updated too.
8147
8148 ** gnutls-cli can now recognize services and port numbers with the -p option.
8149
8150 ** API and ABI modifications:
8151 No changes since last version.
8152
8153 * Version 1.3.4 (released 2006-02-09)
8154
8155 ** Fix read of out bounds bug in DER parser.
8156 Reported by Evgeny Legerov <admin@gleg.net>, and debugging help from
8157 Protover SSL.  Libtasn1 0.2.18 is now required, which contains the
8158 previous bug fix.  The included libtasn1 version in GnuTLS has been
8159 updated.
8160
8161 ** Fixed bug in non-blocking gnutls_bye(). gnutls_record_send() will no
8162 longer invalidate a session if the underlying send fails, but it will
8163 prevent future writes. That is to allow reading the already received data.
8164 Patches and bug reports by Yoann Vandoorselaere <yoann@prelude-ids.org>
8165
8166 ** Corrected bugs in gnutls_certificate_set_x509_crl() and
8167 gnutls_certificate_set_x509_trust(), that caused memory corruption if
8168 more than one certificates were added. Report and patch by Max Kellermann.
8169
8170 ** Fix build problems of OpenCDK on AIX.
8171 Thanks to "Heiden, John" <JHeiden@UTNet.UToledo.Edu>.
8172
8173 ** API and ABI modifications:
8174 No changes since last version.
8175
8176 * Version 1.3.3 (released 2006-01-12)
8177
8178 ** New API to access the TLS master secret.
8179 When possible, you should use the TLS PRF functions instead.
8180 Suggested by Jouni Malinen <jkmaline@cc.hut.fi>.
8181
8182 ** Improved handling when multiple libraries use GnuTLS at the same time.
8183 Now gnutls_global_init() can be called multiple times, and
8184 gnutls_global_deinit() will only deallocate the structure when it has
8185 been called as many times as gnutls_global_init() was called.
8186
8187 ** Added a self test of TLS resume functionality.
8188
8189 ** Fix crash in TLS resume code, caused by TLS/IA changes.
8190
8191 ** Documentation fixes about thread unsafety, prompted by
8192 ** discussion with bryanh@giraffe-data.com (Bryan Henderson).
8193 In particular, gnutls_global_init() and gnutls_global_deinit() are not
8194 thread safe.  Careful callers may want to protect the call using a
8195 mutex.  The problem could also be ignored, which would cause a memory
8196 leak under rare conditions when two threads invoke the function
8197 roughly at the same time.
8198
8199 ** Add 'const' keywords in various places, from Frediano ZIGLIO.
8200
8201 ** The code was indented again, including the external header files.
8202
8203 ** API and ABI modifications:
8204 New functions to retrieve the master secret value:
8205   gnutls_session_get_master_secret
8206
8207 Add a 'const' keyword to existing API:
8208   gnutls_x509_crq_get_challenge_password
8209
8210 * Version 1.3.2 (released 2005-12-15)
8211
8212 ** GnuTLS now support TLS Inner application (TLS/IA).
8213 This is per draft-funk-tls-inner-application-extension-01.  This
8214 functionality is added to libgnutls-extra, so it is licensed under the
8215 GNU General Public License.
8216
8217 ** New APIs to access the TLS Pseudo-Random-Function (PRF).
8218 The PRF is used by some protocols building on TLS, such as EAP-PEAP
8219 and EAP-TTLS.  One function to access the raw PRF and one to access
8220 the PRF seeded with the client/server random fields are provided.
8221 Suggested by Jouni Malinen <jkmaline@cc.hut.fi>.
8222
8223 ** New APIs to acceess the client and server random fields in a session.
8224 These fields can be useful by protocols using TLS.  Note that these
8225 fields are typically used as input to the TLS PRF, and if this is your
8226 intended use, you should use the TLS PRF API that use the
8227 client/server random field directly.  Suggested by Jouni Malinen
8228 <jkmaline@cc.hut.fi>.
8229
8230 ** Internal type cleanups.
8231 The uint8, uint16, uint32 types have been replaced by uint8_t,
8232 uint16_t, uint32_t.  Gnulib is used to guarantee the presence of
8233 correct types on platforms that lack them.  The uint type have been
8234 replaced by unsigned.
8235
8236 ** API and ABI modifications:
8237 New functions to invoke the TLS Pseudo-Random-Function (PRF):
8238   gnutls_prf
8239   gnutls_prf_raw
8240
8241 New functions to retrieve the session's client and server random values:
8242   gnutls_session_get_server_random
8243   gnutls_session_get_client_random
8244
8245 New function, to perform TLS/IA handshake:
8246   gnutls_ia_handshake
8247
8248 New function to decide whether to do a TLS/IA handshake:
8249   gnutls_ia_handshake_p
8250
8251 New functions to allocate a TLS/IA credential:
8252   gnutls_ia_allocate_client_credentials
8253   gnutls_ia_free_client_credentials
8254   gnutls_ia_allocate_server_credentials
8255   gnutls_ia_free_server_credentials
8256
8257 New functions to handle the AVP callback:
8258   gnutls_ia_set_client_avp_function
8259   gnutls_ia_set_client_avp_ptr
8260   gnutls_ia_get_client_avp_ptr
8261   gnutls_ia_set_server_avp_function
8262   gnutls_ia_set_server_avp_ptr
8263   gnutls_ia_get_server_avp_ptr
8264
8265 New functions, to toggle TLS/IA application phases:
8266   gnutls_ia_require_inner_phase
8267
8268 New function to mix session keys with inner secret:
8269   gnutls_ia_permute_inner_secret
8270
8271 Low-level API (used internally by gnutls_ia_handshake):
8272   gnutls_ia_endphase_send
8273   gnutls_ia_send
8274   gnutls_ia_recv
8275
8276 New functions that can be used after successful TLS/IA negotiation:
8277   gnutls_ia_generate_challenge
8278   gnutls_ia_extract_inner_secret
8279
8280 Enum type with TLS/IA modes:
8281   gnutls_ia_mode_t
8282
8283 Enum type with TLS/IA packet types:
8284   gnutls_ia_apptype_t
8285
8286 Enum values for TLS/IA alerts:
8287   GNUTLS_A_INNER_APPLICATION_FAILURE
8288   GNUTLS_A_INNER_APPLICATION_VERIFICATION
8289
8290 New error codes, to signal when an application phase has finished:
8291   GNUTLS_E_WARNING_IA_IPHF_RECEIVED
8292   GNUTLS_E_WARNING_IA_FPHF_RECEIVED
8293
8294 New error code to signal TLS/IA verify failure:
8295   GNUTLS_E_IA_VERIFY_FAILED
8296
8297 * Version 1.3.1 (released 2005-12-08)
8298
8299 ** Support for DHE-PSK cipher suites has been added.
8300 This method offers perfect forward secrecy.
8301
8302 ** Fix gnutls-cli STARTTLS hang when SIGINT is sent too quickly, thanks to
8303 Otto Maddox <ottomaddox@fastmail.fm> and Nozomu Ando <nand@mac.com>.
8304
8305 ** Corrected a bug in certtool for 64 bit machines. Reported
8306 by Max Kellermann <max@duempel.org>.
8307
8308 ** New function to set a X.509 private key and certificate pairs, and/or
8309 CRLs, from an PKCS#12 file, suggested by Emile van Bergen
8310 <emile@e-advies.nl>.
8311
8312 The integrity of the PKCS#12 file is protected through a password
8313 based MAC; public-key based signatures for integrity protection are
8314 not supported.  PKCS#12 bags may be encrypted using password derived
8315 symmetric keys, public-key based encryption is not supported.  The
8316 PKCS#8 keys may be encrypted using passwords.  The API use the same
8317 password for all operations.  We believe that any more flexibility
8318 create too much complexity that would hurt overall security, but may
8319 add more PKCS#12 related APIs if real-world experience indicate
8320 otherwise.
8321
8322 ** gnutls_x509_privkey_import_pkcs8 now accept unencrypted PEM PKCS#8 keys,
8323 reported by Emile van Bergen <emile@e-advies.nl>.
8324 This will enable "certtool -k -8" to parse those keys.
8325
8326 ** Certtool now generate keys in unencrypted PKCS#8 format for empty passwords.
8327 Use "certtool -p -8" and press press enter at the prompt.  Earlier,
8328 certtool would have encrypted the key using an empty password.
8329
8330 ** Certtool now accept --password for --key-info and encrypted PKCS#8 keys.
8331 Earlier it would have prompted the user for it, even if --password was
8332 supplied.
8333
8334 ** Added self test of PKCS#8 parsing.
8335 Unencrypted and encrypted (pbeWithSHAAnd3-KeyTripleDES-CBC and
8336 pbeWithSHAAnd40BitRC2-CBC) formats are tested.  The test is in
8337 tests/pkcs8.
8338
8339 ** API and ABI modifications:
8340 New function to set X.509 credentials from a PKCS#12 file:
8341   gnutls_certificate_set_x509_simple_pkcs12_file
8342
8343 New gnutls_kx_algorithm_t enum type:
8344   GNUTLS_KX_DHE_PSK
8345
8346 New API to return session data (basically same as gnutls_session_get_data):
8347   gnutls_session_get_data2
8348
8349 New API to set PSK Diffie-Hellman parameters:
8350   gnutls_psk_set_server_dh_params
8351
8352 * Version 1.3.0 (2005-11-15)
8353
8354 ** Support for TLS Pre-Shared Key (TLS-PSK) ciphersuites have been added.
8355 This add several new APIs, see below.  Read the updated manual for
8356 more information.  A new self test "pskself" has been added, that will
8357 test this functionality.
8358
8359 ** The session resumption data are now system independent.
8360
8361 ** The code has been re-indented to conform to the GNU coding style.
8362
8363 ** Removed the RIPEMD ciphersuites.
8364
8365 ** Added a discussion of the internals of gnutls in manual.
8366
8367 ** Fixes for Tru64 UNIX 4.0D that lack MAP_FAILED, from Albert Chin.
8368
8369 ** Remove trailing comma in enums, for IBM C v6, from Albert Chin.
8370
8371 ** Make sure config.h is included first in a few files, from Albert Chin.
8372
8373 ** Don't use C++ comments ("//") as they are invalid, from Albert Chin.
8374
8375 ** Don't install SRP programs and man pages if --disable-srp-authentication,
8376 from Albert Chin.
8377
8378 ** API and ABI modifications:
8379 New gnutls_kx_algorithm_t key exchange type: GNUTLS_KX_PSK
8380
8381 New gnutls_credentials_type_t credential type:
8382   GNUTLS_CRD_PSK
8383
8384 New credential types:
8385   gnutls_psk_server_credentials_t
8386   gnutls_psk_client_credentials_t
8387
8388 New functions to allocate PSK credentials:
8389   gnutls_psk_allocate_client_credentials
8390   gnutls_psk_free_client_credentials
8391   gnutls_psk_free_server_credentials
8392   gnutls_psk_allocate_server_credentials
8393
8394 New enum type for PSK key flags:
8395   gnutls_psk_key_flags
8396
8397 New function prototypes for credential callback:
8398   gnutls_psk_client_credentials_function
8399   gnutls_psk_server_credentials_function
8400
8401 New function to set PSK username and key:
8402   gnutls_psk_set_client_credentials
8403
8404 New function to set PSK passwd file:
8405   gnutls_psk_set_server_credentials_file
8406
8407 New function to extract PSK user in server:
8408   gnutls_psk_server_get_username
8409
8410 New functions to set PSK callback:
8411   gnutls_psk_set_server_credentials_function
8412   gnutls_psk_set_client_credentials_function
8413
8414 Use size_t instead of int for output size parameter:
8415   gnutls_srp_base64_encode
8416   gnutls_srp_base64_decode
8417
8418 * Version 1.2.11 (2006-05-11)
8419 - The function gnutls_x509_crt_to_xml is not supported any more, and
8420   return an internal error.  The reason is that the function called
8421   internal libtasn1 functions which are no longer exported from
8422   libtasn1.
8423 - Updated libtasn1 requirement to 0.3.4 and refreshed internal mintiasn1.
8424 - Updated gnulib compatibility files.
8425 - Fixed _gnutls_x509_get_raw_crt_expiration_time and
8426   _gnutls_x509_get_raw_crt_activation_time to return (time_t)-1 on errors.
8427 - API and ABI modifications:
8428   No changes since last version.
8429
8430 * Version 1.2.10 (2006-02-09)
8431 - Fix read out bounds bug in DER parser.  Reported by Evgeny Legerov
8432   <admin@gleg.net>, and debugging help from Protover SSL.
8433 - Libtasn1 0.2.18 is now required (contains the previous bug fix).
8434   The included version has been updated too.
8435 - Fix gnutls-cli STARTTLS hang when SIGINT is sent too quickly, thanks to
8436   Otto Maddox <ottomaddox@fastmail.fm> and Nozomu Ando <nand@mac.com>.
8437 - Corrected a bug in certtool for 64 bit machines. Reported
8438   by Max Kellermann <max@duempel.org>.
8439 - Corrected bugs in gnutls_certificate_set_x509_crl() and
8440   gnutls_certificate_set_x509_trust(), that caused memory corruption if
8441   more than one certificates were added. Report and patch by Max Kellermann.
8442 - Fixed bug in non-blocking gnutls_bye(). gnutls_record_send() will no
8443   longer invalidate a session if the underlying send fails, but it will
8444   prevent future writes. That is to allow reading the already received data.
8445   Patches and bug reports by Yoann Vandoorselaere <yoann@prelude-ids.org>
8446
8447 * Version 1.2.9 (2005-11-07)
8448 - Documentation was updated and improved.
8449 - RSA-MD2 is now supported for verifying digital signatures.
8450 - Due to cryptographic advances, verifying untrusted X.509
8451   certificates signed with RSA-MD2 or RSA-MD5 will now fail with a
8452   GNUTLS_CERT_INSECURE_ALGORITHM verification output.  For
8453   applications that must remain interoperable, you can use the
8454   GNUTLS_VERIFY_ALLOW_SIGN_RSA_MD2 or GNUTLS_VERIFY_ALLOW_SIGN_RSA_MD5
8455   flags when verifying certificates.  Naturally, this is not
8456   recommended default behaviour for applications.  To enable the
8457   broken algorithms, call gnutls_certificate_set_verify_flags with the
8458   proper flag, to change the verification mode used by
8459   gnutls_certificate_verify_peers2.
8460 - Make it possible to send empty data through gnutls_record_send,
8461   to align with the send(2) API.
8462 - Some changes in the certificate receiving part of handshake to prevent
8463   some possible errors with non-blocking servers.
8464 - Added numeric version symbols to permit simple CPP-based feature
8465   tests, suggested by Daniel Stenberg <daniel@haxx.se>.
8466 - The (experimental) low-level crypto alternative to libgcrypt used
8467   earlier (Nettle) has been replaced with crypto code from gnulib.
8468   This leads to easier re-use of these components in other projects,
8469   leading to more review and simpler maintenance.  The new configure
8470   parameter --with-builtin-crypto replace the old --with-nettle, and
8471   must be used if you wish to enable this functionality.  See README
8472   under "Experimental" for more information.  Internally, GnuTLS has
8473   been updated to use the new "Generic Crypto" API in gl/gc.h.  The
8474   API is similar to the old crypto/gc.h, because the gnulib code were
8475   based on GnuTLS's gc.h.
8476 - Fix compiler warning in the "anonself" self test.
8477 - API and ABI modifications:
8478 gnutls_x509_crt_list_verify: Added 'const' to prototype in <gnutls/x509.h>.
8479                              This doesn't reflect a change in behaviour,
8480                              so we don't break backwards compatibility.
8481 GNUTLS_MAC_MD2: New gnutls_mac_algorithm_t value.
8482 GNUTLS_DIG_MD2: New gnutls_digest_algorithm_t value.
8483 GNUTLS_VERIFY_ALLOW_SIGN_RSA_MD2,
8484 GNUTLS_VERIFY_ALLOW_SIGN_RSA_MD5: New gnutls_certificate_verify_flags values.
8485                                   Use when calling
8486                                   gnutls_x509_crt_list_verify,
8487                                   gnutls_x509_crt_verify, or
8488                                   gnutls_certificate_set_verify_flags.
8489 GNUTLS_CERT_INSECURE_ALGORITHM: New gnutls_certificate_status_t value,
8490                                 used when broken signature algorithms
8491                                 is used (currently RSA-MD2/MD5).
8492 LIBGNUTLS_VERSION_MAJOR,
8493 LIBGNUTLS_VERSION_MINOR,
8494 LIBGNUTLS_VERSION_PATCH,
8495 LIBGNUTLS_VERSION_NUMBER: New CPP symbols, indicating the GnuTLS
8496                           version number, can be used for feature existence
8497                           tests.
8498
8499 * Version 1.2.8 (2005-10-07)
8500 - Libgcrypt 1.2.2 is required to fix a bug for forking GnuTLS servers.
8501 - Don't install the auxilliary libexamples library used by the
8502   examples in doc/examples/ on "make install", report and tiny patch
8503   from Thomas Klausner <tk@giga.or.at>.
8504 - If you pass a X.509 CA or PGP trust database to the command line
8505   tool, it will now abort the connection if the server certificate
8506   validation fails.  Use the parameter --insecure to continue even
8507   after certificate validation failures.  Inspired from discussion
8508   with Alexander Kotelnikov <sacha@myxomop.com>.
8509 - The test for socklen_t has been moved to gnulib.
8510 - Link failures for duplicate or missing "program_name" symbol has been fixed,
8511   patch from Martin Lambers <marlam@marlam.de>.
8512 - The command line tool and the examples no longer uses mmap or bzero,
8513   to make them more portable, patch from Martin Lambers
8514   <marlam@marlam.de>.
8515 - Made the PKCS #12 API handle null passwords. Based on patch by
8516   Anton Altaparmakov <aia21@cam.ac.uk>.
8517 - The GTK-DOC manual should build with current released tools.
8518   (But a copy of the output is included, so the tools are not required.)
8519 - The inet_ntop function is now used through gnulib.
8520 - API and ABI modifications:
8521   No changes since last version.
8522
8523 * Version 1.2.7 (2005-09-09)
8524 - The GnuTLS and GnuTLS-extra libraries are now built with versioned symbols.
8525 - Certtool now complains when reading out-of-range X.509 serial
8526   numbers, suggested by Fran <e_agf@yahoo.es>.
8527 - Certtool now uses the readline library (when available) when reading
8528   X.509 serial numbers.
8529 - Fixed build problems in getpass on uClibc and Mingw32 platforms.
8530 - Fixed compile warning regarding socklen_t on Mingw32, reported by
8531   Martin Lambers <marlam@marlam.de>.
8532 - Fixed examples in doc/examples/, suggested by Fran <e_agf@yahoo.es>.
8533 - Gnulib is now used for the core library, enabling future code cleanups.
8534 - The gnutls-cli tool now use gnutls_certificate_verify_peers2,
8535   suggested by Daniel Stenberg <daniel@haxx.se>.
8536 - Doc fixes for gnutls_transport_set_push and gnutls_transport_set_pull.
8537 - Minilibtasn1 is now 0.2.17 (removed optional use of C99 macros).
8538 - Disable zlib support if zlib.h is not present.
8539 - A number of internal cleanups.
8540 - API and ABI modifications:
8541   No changes since last version.
8542
8543 * Version 1.2.6 (2005-07-16)
8544 - MiniLZO updated to version 2.01 and moved to separate directory.
8545 - Collision between system LZO header files and MiniLZO header file
8546   fixed, reported by Matthias Urlichs <smurf@smurf.noris.de>.
8547 - Will now test for liblzo functionality in liblzo2 too, reported by
8548   Thomas Klausner <tk@giga.or.at>.
8549 - Minilibtasn1 is now 0.2.14 (no code changes).
8550 - Some code changes to avoid GTK-DOC warnings.
8551 - API and ABI modifications:
8552   No changes since last version.
8553
8554 * Version 1.2.5 (2005-07-03)
8555 - More builddir != srcdir fixes, reported by Mike Castle
8556   <dalgoda@ix.netcom.com>.
8557 - Fixed off-by-one bug in the size parameter of gnutls_x509_crt_get*_dn,
8558   reported by Adam Langley <alangley@gmail.com>.
8559 - Corrected some stuff in minilzo detection. Pointed out by
8560   Sergey Lipnevich.
8561 - MiniLZO updated to version 2.00.
8562 - gnutls_x509_crt_list_import now accept a DER formatted CRL.
8563 - API and ABI modifications:
8564   No changes since last version.
8565
8566 * Version 1.2.4 (2005-05-28)
8567 - Corrected some bugs that could affect 64 bit systems.
8568 - Some corrections in the header files to include the prototype
8569   of memmem properly (affected 64 bit systems). Report and patch
8570   by Yoann Vandoorselaere <yoann@prelude-ids.org>.
8571 - Introduced the --fix-key option to certtool, which can be used to
8572   regenerate the (optional) parameters in a private key. It should
8573   be used together with --key-info.
8574 - Corrected a bug in certificate chain verification that could lead
8575   to marking a trusted chain as non trusted, if the last certificate in
8576   the chain was a self signed one.
8577 - Gnulib portability files were updated.
8578 - License were updated to reflect new FSF address.
8579 - API and ABI modifications:
8580   No changes since last version.
8581
8582 * Version 1.2.3 (2005-04-28)
8583 - Corrected bug in record packet parsing that could lead
8584   to a denial of service attack.
8585 - Corrected bug in RSA key export. Previously exported keys
8586   can be fixed using certtool. Use certtool -k <infile >outfile
8587 - API and ABI modifications:
8588     gnutls_x509_privkey_fix(): Add.
8589
8590 * Version 1.2.2 (2005-04-25)
8591 - gnutls_error_to_alert() now considers
8592   GNUTLS_E_UNEXPECTED_HANDSHAKE_PACKET.
8593 - Fixed error in session resuming that could cause a crash in a session.
8594 - Fixed pkcs12 friendly name and local key identifier decoding.
8595 - Internal cleanups, removed duplicate typedef/struct definitions,
8596   and made source code include external include file, to check
8597   function prototypes during compile time.
8598 - API and ABI modifications:
8599   No changes since last version.  At least not intentional, but due
8600   to the include header changes, there may be inadvertant changes,
8601   please let us know if you find any.
8602
8603 * Version 1.2.1 (2005-04-04)
8604 - gnutls_bye() will no longer fail when RDWR is used and application
8605   data are available for reading.
8606 - Added more strict checks for the SRP parameters (g,n), when they
8607   are not in the included list.
8608 - Added warning to certtool when MD5 is being used for digital
8609   signatures.
8610 - Optimizations ("-O2 -finline-functions") are not enabled by default,
8611   instead the standard autoconf defaults are used.  Use `./configure
8612   CFLAGS="-O2 -finline-functions"' to get the old optimizations.
8613 - Added the option --get-dh-params to certtool, in order to get the
8614   parameters included in the library primes and generators.
8615 - Improved the semantics of GNUTLS_VERIFY_ALLOW_X509_V1_CA_CRT, to
8616   allow only trusted Version 1 CAs and introduced
8617   GNUTLS_VERIFY_ALLOW_ANY_X509_V1_CA_CRT which has the old semantics.
8618 - Nettle self tests now build properly, reported by Pierre
8619   <pierre42d@9online.fr>.
8620 - Eliminated some memory leaks in DHE and RSA-EXPORT cipher suites.
8621   Reported by Yoann Vandoorselaere <yoann@prelude-ids.org>.
8622 - If the library has been compiled with features disabled, a warning is
8623   issued during the compilation of any program.
8624 - API and ABI modifications:
8625     gnutls_x509_crt_list_import(): Add
8626     gnutls_x509_crq_get_attribute_by_oid(): Add.
8627     gnutls_x509_crq_set_attribute_by_oid(): Add
8628     gnutls_x509_crt_set_extension_by_oid(): Add.
8629     GNUTLS_VERIFY_ALLOW_X509_V1_CA_CRT: Modify semantics.
8630     GNUTLS_VERIFY_ALLOW_ANY_X509_V1_CA_CRT: Add, old behaviour.
8631
8632 * Version 1.2.0 (2005-01-27)
8633 - Added the definitions and OIDs for the RIPEMD-160 hash algorithm.
8634 - Introduced gnutls_x509_crt_sign2(), gnutls_x509_crq_sign2() and
8635   gnutls_x509_crl_sign2().
8636 - Fixed license header in source code files.
8637
8638 * Version 1.1.23 (2005-01-18)
8639 - It is now possible to generate PKCS#12 structures without private
8640   keys using "certtool --to-p12", suggested by Fabian Fagerholm
8641   <fabbe@paniq.net>.
8642 - Certtool now prints information for the RSA and DSA parameters of
8643   certificates and private keys.
8644 - Corrected the write of CRL distribution points.
8645 - The certificate chain verification function now checks certificates
8646   in the reverse order to minimize the spent resources.
8647 - Corrected several bugs found by Marcin Garski <mgarski@post.pl>
8648 - The functions gnutls_x509_crl_get_issuer_dn, gnutls_x509_crq_get_dn,
8649   gnutls_x509_crt_get_issuer_dn, gnutls_x509_crt_get_dn, and
8650   gnutls_x509_rdn_get now set *sizeof_buf to the buffer length that is
8651   required, instead of the string length.  That is, the value has been
8652   incremented by 1 to account for the terminating zero. Reported by
8653   Martin Lambers <marlam@web.de>.
8654 - Debug output shouldn't crash on platforms that doesn't handle NULL
8655   printf %s values.  Reported by Michael.Ringe@aachen.utimaco.de.
8656 - Sync included copy of libtasn1 with version 0.2.13.
8657 - Client X.509 authenticated connections via gnutls-cli should now work again.
8658
8659 * Version 1.1.22 (2004-11-04)
8660 - Replace GNU LD version script with Libtool -export-symbols-regex,
8661   from Joe Orton <joe@manyfish.co.uk>.
8662 - Documentation improvements.
8663 - Code indented using 'indent -i4 -kr'.
8664 - The API manual is included in Devhelp format.  (Was in last release too,
8665   but the NEWS entry was forgotten.)
8666 - The OpenSSL compatibility code now use the internal crypto interface.
8667 - Added simple self test of OpenSSL compatibility library.
8668 - Internally, libtool convenience libraries are used.
8669 - Cleanups to configure.ac.
8670
8671 * Version 1.1.21 (2004-10-27)
8672 - Print DN of certificates with unknown characters in them, but in hexform
8673   only.
8674 - Added second precision to the X.509 parsing and generation functions.
8675 - Corrected bug in _gnutls_x509_get_dn_oid(), and returns the
8676   actual OID.
8677 - Add parameter --la-file to libgnutls-config and libgnutls-extra-config,
8678   tiny patch contributed by Joe Orton <joe@manyfish.co.uk>.
8679 - Add pkg-config meta files, suggested by Stéphane LOEUILLET
8680   <stephane.loeuillet@tiscali.fr>.
8681 - Fix memory initializaion bug in gnutls_certificate_set_x509_trust,
8682   tiny patch by Aleix Conchillo Flaque <aleix@member.fsf.org>.
8683 - Add self test of PKCS#12 functionality in "certtool", based on test
8684   vectors from Joe Orton <joe@manyfish.co.uk>.
8685 - Fix library order in libgnutls*-config --libs output, to permit
8686   static linking, reported by Yoann Vandoorselaere
8687   <yoann@prelude-ids.org>.
8688
8689 * Version 1.1.20 (2004-10-12)
8690 - Fix compile problem in gl/getpass.c on some systems.
8691
8692 * Version 1.1.19 (2004-10-07)
8693 - Fix memory leak in gnutls_certificate_verify_peers and
8694   gnutls_certificate_free_credentials, report and patch by Simon
8695   Posnjak <simon.posnjak@cetrtapot.si>.
8696 - Fix crash in `certtool --to-p12 --load-privkey foo', i.e. exporting
8697   a key and no certificate to PKCS#12.
8698 - Fix objdir != srcdir builds, reported by "Gerrit P. Haase"
8699   <gp@familiehaase.de>.
8700 - Fixes faulty getpass implementation in libextra/opencdk/, reported
8701   by Yoann Vandoorselaere <yoann@prelude-ids.org>.
8702 - Uses memmem instead of strnstr in lib/.
8703 - Using more GNULib portability files, although not yet inside lib/.
8704 - Added gnutls_certificate_verify_peers to gnutls/compat.h.
8705   Nikos deprecated gnutls_certificate_verify_peers in favor of
8706   gnutls_certificate_verify_peers2 earlier in the 1.1 branch.
8707 - Improvements to the manual.
8708 - Add new example "ex-rfc2818" for certificate verification, from Nikos.
8709 - Known bug: the library require snprintf.  This has not yet been
8710   fixed, but will be handled via GNULib later on.
8711
8712 * Version 1.1.18 (2004-08-24)
8713 - Corrected handling of certificate with dates after year 2038.
8714 - Corrected DER decoder which could incorrectly treat input as BER and fail.
8715 - Correct certtool --smime-to-p7 end of line character handling.
8716 - Added example client and server for anonymous authentication.
8717 - Added self test that tests anonymous TLS client and server.
8718 - Added self tests of Nettle and generic crypto layer.
8719 - Added API reference manual in HTML format in doc/reference/ using GTK-DOC.
8720   Online version at <https://www.gnu.org/software/gnutls/reference/>.
8721 - Assume C89 or better; removed checks for size_t, ptrdiff_t and time_t.
8722 - Man pages for API functions are included.
8723
8724 * Version 1.1.17 (2004-08-18)
8725 - Bug fix of padding string in RSA PKCS#1 v1.5 type 2 encryption,
8726   reported by Robey Pointer <robey@danger.com>.
8727 - Generic crypto interface for secret key ciphers, hashes and randomness added.
8728   See section "Experimental" within section "COMPILATION ISSUES" in README.
8729 - Removed length limit on passwords read by 'certtool'.
8730 - Documentation fixes.
8731
8732 * Version 1.1.16 (2004-08-15)
8733 - Fix missing gnulib linker parameter when building certtool.
8734 - Add gnulib module 'progname', needed by module 'error'.
8735 - Improve building with srcdir != objdir.
8736
8737 * Version 1.1.15 (2004-08-15)
8738 - Certtool has simplistic --smime-to-p7 to translate RFC 2633 messages into
8739   PKCS #7 format.
8740 - Ported to Mac OS X / Darwin.
8741 - Ported to FreeBSD.
8742
8743 * Version 1.1.14 (2004-08-09)
8744 - Documentation converted to Texinfo format.
8745 - Bug fix of test suite.
8746 - Configure now print build information, used by Autobuild.
8747
8748 * Version 1.1.13 (2004-08-05)
8749 - Added simple self test suite.
8750
8751 * Version 1.1.12 (2004-08-02)
8752 - Updated the SRP authentication to conform to the
8753   latest (yet unreleased) draft. Unfortunately this breaks
8754   compatibility with previous versions.
8755 - Changed the makefiles to be more portable.
8756 - SRP ciphersuites were moved to the gnutls library.
8757 - Added some default limits in the verification of certificate
8758   chains, to avoid denial of service attacks. Also added
8759   gnutls_certificate_set_verify_limits() to override them.
8760   Issue pointed out by Patrik Hornik <patrik@hornik.sk>.
8761 - Added gnutls_certificate_verify_peers2().
8762
8763 * Version 1.1.11 (2004-07-16)
8764 - Added the '_t' suffix to all exported symbols.
8765 - Fixed bug in RSA encryption, report and patch by Martijn Koster
8766   <mak@greenhills.co.uk>.
8767 - Corrected a bug in certificate verification. Pointed out by
8768   Yoann Vandoorselaere <yoann@prelude-ids.org>
8769 - Added the GNUTLS_VERIFY_DO_NOT_ALLOW_SAME flags to the
8770   verification functions.
8771 - The ephemeral DH and RSA parameters are no longer stored in the
8772   session resume DB.
8773 - Do not free the SRP (prime and generator) parameters obtained from the
8774   callback if they are the static ones defined in extra.h
8775 - Eliminated some memory leaks. Reported by Yoann Vandoorselaere.
8776
8777 * Version 1.1.10 (2004-06-12)
8778 - Added gnutls_sign_algorithm_get_name() and gnutls_pk_algorithm_get_name()
8779 - Corrected bug in TLS renegotiation.
8780 - Corrected bug in OpenPGP key loading using a callback.
8781 - gnutls-srpcrypt was renamed to srptool
8782 - Allow handshake requests by the client.
8783 - Automatically disable certificate types that do not have corresponding
8784   certificates.
8785 - Added gnutls_auth_client_get_type() and gnutls_auth_server_get_type()
8786 - Opencdk library is being included if not found.
8787 - certtool can now add ip address SAN extension.
8788 - certtool has now support for more X.520 DN attribute types.
8789 - Better handling of EOF in gnutls_record_recv().
8790 - _gnutls_deinit() is no longer used. Sessions are not
8791   automatically removed any more, on abnormal termination.
8792 - Corrected session resuming in SRP ciphersuites.
8793 - Updated to conform to the latest srp draft (draft-ietf-tls-srp-07)
8794 - Added new functions to allow access to the ephemeral
8795   Diffie Hellman parameters.
8796 - Added the functions gnutls_x509_crt_get_pk_rsa_raw() and
8797   gnutls_x509_crt_get_pk_dsa_raw() to retrieve parameters from certificates.
8798 - Added the functions gnutls_dh_get_group(), gnutls_dh_get_pubkey() and
8799   gnutls_rsa_export_get_pubkey() to retrieve parameters of the DH or
8800   RSA-EXPORT key exchange.
8801 - Some fixes in the session resuming code.
8802 - Added gnutls_openpgp_keyring_check_id().
8803
8804 * Version 1.1.9 (2004-04-14)
8805 - Added support for authority key identifier and the extended key usage
8806   X.509 extension fields. The certtoool was updated to support them.
8807 - The RC2 cipher is no more included. The one in libgcrypt is now used.
8808 - Added batch support to certtool. Now it can use templates.
8809
8810 * Version 1.1.8 (2004-04-07)
8811 - Implemented all the tests for the SRP group parameters in
8812   client side. This may lead to incompatibility with very
8813   old gnutls servers.
8814 - Corrected bug in RSA parameters handling which could cause
8815   unexpected crashes.
8816 - Optimized the copying of rsa_params.
8817
8818 * Version 1.1.7 (2004-03-29)
8819 - Added gnutls_certificate_set_params_function() and
8820   gnutls_anon_set_params_function() that set the RSA or DH
8821   parameters using a callback.
8822 - Added functions gnutls_rsa_params_cpy(), gnutls_dh_params_cpy()
8823   and gnutls_x509_privkey_cpy().
8824 - Corrected a compilation issue when opencdk was installed in a
8825   non standard directory.
8826 - Deprecated: gnutls_srp_server_set_select_function(),
8827   gnutls_certificate_client_set_select_function(), gnutls_srp_server_set_select_function().
8828
8829 * Version 1.1.6 (2004-02-24)
8830 - Several bug fixes, by Arne Thomassen.
8831 - Fixed a bug where 'server name' extension was always sent.
8832
8833 * Version 1.1.5 (2004-01-06)
8834 - Added the gnutls_sign_algorithm type.
8835
8836 * Version 1.1.4 (2004-01-04)
8837 - Improved gnutls-cli's SRP behaviour in SRP ciphersuites.
8838   If they are of highest priority then the abbreviated handshake
8839   is used.
8840 - Removed all references of missing files.
8841 - Changed handshake behaviour to send the lowest TLS version
8842   when an unsupported version was advertized. The current behaviour
8843   is to send the maximum version we support.
8844 - Corrected problem printing the DC attributes in a DN.
8845
8846 * Version 1.1.3 (2003-12-30)
8847 - Implemented TLS 1.1 (and also obsoleted the TLS 1.0 CBC protection
8848   hack).
8849
8850 * Version 1.1.2 (2003-12-28)
8851 - Added CRL verification functionality to certtool.
8852 - Corrected the CRL distribution point extension handling.
8853
8854 * Version 1.1.1 (2003-12-26)
8855 - Added PKCS #7 support to certtool utility.
8856 - Added support for reading and generating CRL distribution
8857   points extensions in certificates.
8858 - Added support for generating CRLs in the library and the
8859   certtool utility.
8860 - Added support for the Subject Key ID PKIX extension.
8861
8862 * Version 1.1.0 (2003-12-21)
8863 - The error codes GNUTLS_E_NO_TEMPORARY_DH_PARAMS and GNUTLS_E_NO_TEMPORARY_RSA_PARAMS
8864   are no longer returned by the handshake function. Ciphersuites that
8865   require temporary parameters are removed when such parameters do not exist.
8866 - Added the callbacks gnutls_certificate_client_retrieve_function() and
8867   gnutls_certificate_server_retrieve_function(), to allow a client or a server
8868   to specify certificates for the handshake without storing them to the
8869   credentials structure.
8870 - Added support for generating and exporting DSA private keys.
8871 - Added gnutls_x509_crt_set_key_usage() and certtool can now set the
8872   certificate's key usage.
8873 - Added gnutls_openpgp_key_get_key_usage().
8874
8875 * Version 1.0.25 (2005-04-27)
8876 - Corrected bug in record packet parsing that could lead
8877   to a denial of service attack.
8878 - Corrected bug in RSA key export.
8879
8880 * Version 1.0.24 (2005-01-18)
8881 - Corrected several bugs found by Marcin Garski <mgarski@post.pl>
8882
8883 * Version 1.0.23 (2004-11-13)
8884 - Replace GNU LD version script with Libtool -export-symbols-regex,
8885   from Joe Orton <joe@manyfish.co.uk>.
8886 - Copy libtasn1 has been updated to version 0.2.11.
8887 - Corrected the write of CRL distribution points.
8888 - It is now possible to generate PKCS#12 structures without private
8889   keys using "certtool --to-p12", suggested by Fabian Fagerholm
8890   <fabbe@paniq.net>.
8891
8892 * Version 1.0.22 (2004-10-28)
8893 - Print DN of certificates with unknown characters in them, but in hexform
8894   only.
8895 - Corrected bug in _gnutls_x509_get_dn_oid(), and returns the
8896   actual OID.
8897 - Added second precision to the X.509 parsing functions.
8898 - Add parameter --la-file to libgnutls-config and libgnutls-extra-config,
8899   tiny patch contributed by Joe Orton <joe@manyfish.co.uk>.
8900 - Add pkg-config meta files, suggested by Stéphane LOEUILLET
8901   <stephane.loeuillet@tiscali.fr>.
8902 - Fix memory initializaion bug in gnutls_certificate_set_x509_trust,
8903   tiny patch by Aleix Conchillo Flaque <aleix@member.fsf.org>.
8904 - Fix certtool --password for PKCS #12, back ported from 1.1.x branch.
8905 - Fix library order in libgnutls*-config --libs output, to permit
8906   static linking, reported by Yoann Vandoorselaere
8907   <yoann@prelude-ids.org>.
8908
8909 * Version 1.0.21 (2004-10-07)
8910 - Fix memory leak in gnutls_certificate_verify_peers and
8911   gnutls_certificate_free_credentials, report and patch by Simon
8912   Posnjak <simon.posnjak@cetrtapot.si>.
8913 - Fix crash in `certtool --to-p12 --load-privkey foo', i.e. exporting
8914   a key and no certificate to PKCS#12.
8915 - Fix objdir != srcdir builds, reported by "Gerrit P. Haase"
8916   <gp@familiehaase.de>.
8917 - Avoid redefining getpass if system already has it, reported by
8918   Yoann Vandoorselaere <yoann@prelude-ids.org>.
8919 - Add new example "ex-rfc2818" for certificate verification, from Nikos.
8920 - Known bug: the library require snprintf.
8921
8922 * Version 1.0.20 (2004-08-18)
8923 - Bug fix of padding string in RSA PKCS#1 v1.5 type 2 encryption,
8924   reported by Robey Pointer <robey@danger.com>.
8925
8926 * Version 1.0.19 (2004-08-09)
8927 - Bug fix of test suite.
8928
8929 * Version 1.0.18 (2004-08-05)
8930 - Added simple self test suite.
8931
8932 * Version 1.0.17 (2004-08-02)
8933 - Updated the SRP authentication to conform to the
8934   latest (yet unreleased) draft. Unfortunately this breaks
8935   compatibility with previous versions.
8936 - Changed the makefiles to be more portable.
8937 - Added some default limits in the verification of certificate
8938   chains, to avoid denial of service attacks. Also added
8939   gnutls_certificate_set_verify_limits() to override them.
8940   Issue pointed out by Patrik Hornik <patrik@hornik.sk>.
8941 - Added gnutls_certificate_verify_peers2().
8942
8943 * Version 1.0.16 (2004-07-10)
8944 - Do not free the SRP (prime and generator) parameters obtained from the
8945   callback if they are the static ones defined in extra.h.
8946 - Eliminated some memory leaks. Reported by Yoann Vandoorselaere.
8947 - Some fixes in the makefiles.
8948
8949 * Version 1.0.15 (2004-06-29)
8950 - Fixed bug in RSA encryption, report and patch by Martijn Koster
8951   <mak@greenhills.co.uk>.
8952 - Corrected a bug in certificate verification. Pointed out by
8953   Yoann Vandoorselaere <yoann@prelude-ids.org>.
8954
8955 * Version 1.0.14 (2004-06-12)
8956 - Automatically disable certificate types that do not have corresponding
8957   certificates.
8958 - Updates in the documentation.
8959 - certtool can now add ip address SAN extension.
8960 - certtool has now support for more X.520 DN attribute types.
8961 - Opencdk library is being included if not found.
8962 - Added gnutls_openpgp_keyring_check_id().
8963 - Corrected a serious bug in the included libtasn1 library.
8964 - Corrected session resuming in SRP ciphersuites.
8965 - Updated to conform to the latest srp draft (draft-ietf-tls-srp-07)
8966 - Added the functions gnutls_x509_crt_get_pk_rsa_raw() and
8967   gnutls_x509_crt_get_pk_dsa_raw() to retrieve parameters from certificates.
8968 - Some fixes in the session resuming code.
8969
8970 * Version 1.0.13 (2004-04-29)
8971 - Some complilation fixes.
8972 - Added the --xml parameter to the certtool utility.
8973
8974 * Version 1.0.12 (2004-04-23)
8975 - Corrected bug in OpenPGP key loading using a callback.
8976 - Renamed gnutls-srpcrypt to srptool
8977 - Allow handshake requests by the client.
8978 * Things backported from the development branch:
8979 - Added support for authority key identifier and the extended key usage
8980   X.509 extension fields. The certtoool was updated to support them.
8981 - Added batch support to certtool. Now it can use templates.
8982 - The RC2 cipher is no more included. The one in libgcrypt is now used.
8983
8984 * Version 1.0.11 (2004-04-17)
8985 - Added gnutls_sign_algorithm_get_name() and gnutls_pk_algorithm_get_name()
8986 - Corrected bug in TLS renegotiation.
8987
8988 * Version 1.0.10 (2004-04-03)
8989 - Corrected bug in RSA parameters handling which could cause
8990   unexpected crashes.
8991 - Corrected bug in SSL 3.0 authentication.
8992
8993 * Version 1.0.9 (2004-03-29)
8994 - Added gnutls_certificate_set_params_function() and
8995   gnutls_anon_set_params_function() that set the RSA or DH
8996   parameters using a callback.
8997 - Added functions gnutls_rsa_params_cpy(), gnutls_dh_params_cpy()
8998   and gnutls_x509_privkey_cpy().
8999 - Corrected a compilation issue when opencdk was installed in a
9000   non standard directory.
9001 - Documented the changes need in multi-threaded application due
9002   to the new libgcrypt.
9003
9004 * Version 1.0.8 (2004-02-28)
9005 - Corrected bug in mutual certificate authentication in SSL 3.0.
9006
9007 * Version 1.0.7 (2004-02-25)
9008 - Implemented TLS 1.1 (and also obsoleted the TLS 1.0 CBC protection
9009   hack).
9010 - Some updates in the documentation.
9011
9012 * Version 1.0.6 (2004-02-12)
9013 * Backported things from the development branch (while maintaining
9014   backwards compatibility):
9015 - Improved gnutls-cli's SRP behaviour in SRP ciphersuites.
9016   If they are of highest priority then the abbreviated handshake
9017   is used.
9018 - The error codes GNUTLS_E_NO_TEMPORARY_DH_PARAMS and GNUTLS_E_NO_TEMPORARY_RSA_PARAMS
9019   are no longer returned by the handshake function. Ciphersuites that
9020   require temporary parameters are removed when such parameters do not exist.
9021 - Added the callbacks gnutls_certificate_client_retrieve_function() and
9022   gnutls_certificate_server_retrieve_function(), to allow a client or a server
9023   to specify certificates for the handshake without storing them to the
9024   credentials structure.
9025 - Added support for generating and exporting DSA private keys.
9026
9027 * Version 1.0.5 (2004-02-11)
9028 - Fixed a bug where 'server name' extension was always sent.
9029 * Backported things from the development branch:
9030 - Added CRL verification functionality to certtool.
9031 - Corrected the CRL distribution point extension handling.
9032 - Added PKCS #7 support to certtool utility.
9033 - Added support for reading and generating CRL distribution
9034   points extensions in certificates.
9035 - Added support for generating CRLs in the library and the
9036   certtool utility.
9037 - Added support for the Subject Key ID PKIX extension.
9038 - Added the gnutls_sign_algorithm type.
9039
9040 * Version 1.0.4 (2004-01-04)
9041 - Changed handshake behaviour to send the lowest TLS version
9042   when an unsupported version was advertized. The current behaviour
9043   is to send the maximum version we support.
9044 - certtool no longer asks the password in unencrypted private
9045   keys.
9046 - The source is now compiled to use the reentrant libc functions.
9047
9048 * Version 1.0.3 (2003-12-21)
9049 - Corrected bug in gnutls_bye() which made it return an error code
9050   of INVALID_REQUEST instead of success.
9051 - Corrected a bug in the GNUTLS_KEY key usage definitions.
9052
9053 * Version 1.0.2 (2003-12-18)
9054 - Corrected a bug in the RSA key generation. This was
9055   generating unusable RSA keys.
9056
9057 * Version 1.0.1 (2003-12-10)
9058 - Some minor fixes in the makefiles. They now include CFLAGS
9059   from libgcrypt or opencdk if installed in a non standard directory.
9060 - Fixed the SRP detection test in gnutls-cli-debug.
9061 - Added gnutls_rsa_params_export_pkcs1() and gnutls_rsa_params_import_pkcs1().
9062
9063 * Version 1.0.0 (2003-12-04)
9064 - Exported the static SRP group parameters.
9065 - Some fixes in the certificate authenticated SRP ciphersuites.
9066 - Improved the support for draft-ietf-tls-srp-05. The two-phase
9067   handshake is now fully supported without any interaction with
9068   the application layer (except for a callback).
9069
9070 * Version 0.9.99 (2003-11-28)
9071 - Some fixes in the gnutls.h header for the gnutls_server_name_set()
9072   and gnutls_server_name_get() prototypes.
9073 - Exported the gnutls_x509_privkey_sign_data(), gnutls_x509_privkey_verify_data()
9074   and gnutls_x509_crt_verify_data().
9075 - Some fixes in the openpgp authentication.
9076 - Removed the Twofish cipher.
9077
9078 * Version 0.9.98 (2003-11-16)
9079 - The openssl compatibility layer was moved to gnutls-openssl
9080   library instead of being included in the gnutls-extra library.
9081 - Added the RIPEMD ciphersuites defined in draft-ietf-tls-openpgp-keys-04.
9082 - Building with openpgp support is now mandatory.
9083 - gnutls4 compatibility header is no longer included by default in
9084   gnutls.h.
9085 - gnutls8 function usage yelds a deprecation warning in gcc3.
9086 - gnutls_x509_*_set_dn_by_oid() and gnutls_x509_*_get_*_dn_by_oid()
9087   functions have a raw_flag parameter added.
9088 - Added gnutls_x509_*_get_dn_oid() and gnutls_x509_crt_get_extension_oid()
9089   functions which return the available OIDs.
9090
9091 * Version 0.9.97 (2003-11-11)
9092 - The certtool utility can now generate PKCS #12 structures
9093   without specifying a certificate.
9094 - Added capability to read CRLs to certtool.
9095 - Corrected some functions which return GNUTLS_E_SHORT_MEMORY_BUFFER
9096   to properly set the required buffer size.
9097 - Corrected a bug in libgcrypt detection.
9098
9099 * Version 0.9.96 (2003-11-09)
9100 - Some changes to allow compilation with mingw32.
9101 - Several code cleanups.
9102
9103 * Version 0.9.95 (2003-11-02)
9104 - Improved the verification functions. Added new verification
9105   output flags and removed the unused and redundant ones.
9106 - Improved the OpenPGP key support.
9107 - The prime utility was removed, and its functionality was moved
9108   to certtool.
9109
9110 * Version 0.9.94 (2003-10-30)
9111 - Added manpages for the included programs.
9112 - Documented and improved the certtool utility.
9113 - Added PKCS #12 support to certtool utility.
9114
9115 * Version 0.9.93 (2003-10-26)
9116 - Corrected some compilation issues.
9117 - Improved the certtool command line utility.
9118
9119 * Version 0.9.92 (2003-10-25)
9120 - The RFC2818 hostname verification is now case insensitive.
9121 - Added support for generating X.509 certificates.
9122 - Added the certtool, a tool for generating X.509 certificates
9123
9124 * Version 0.9.91 (2003-10-17)
9125 - Fixed a compilation issue in the openpgp authentication part.
9126
9127 * Version 0.9.90 (2003-10-08)
9128 - Updated the openpgp key API (depends on the unreleased new
9129   opencdk).
9130
9131 * Version 0.9.8 (2003-10-02)
9132 - Updated the SRP implementation to follow the latest draft
9133   (draft-ietf-tls-srp-05).
9134 - Improved the gnutls-cli behaviour in error handling,
9135   and added a check for the peer's hostname.
9136 - Use versioned symbols in the library (where available).
9137 - RIJNDAEL ciphersuites were renamed to AES.
9138
9139 * Version 0.9.7 (2003-08-25)
9140 - The tex files are now included in the distribution.
9141 - The library can now decrypt PKCS #12 files encrypted with
9142   the RC2-40 cipher.
9143 - The missing rfc2818_hostname object is now included.
9144 - Several corrections and bug fixes in the library by
9145   Arne Thomassen <arne@arne-thomassen.de>.
9146 - CR is now allowed in the base64 decoder.
9147
9148 * Version 0.9.6 (2003-06-28)
9149 - Added gnutls_x509_privkey_get_key_id() and gnutls_x509_crt_get_key_id()
9150   functions which return a unique (per public key) ID. These can
9151   be used to check if the private key corresponds to a given certificate.
9152 - Corrections in the TLS layer openpgp certificate packet parser.
9153 - Corrected a bug in the record layer buffering, which affected
9154   the case where external pull function was used. Report and patch
9155   by Sergey Poznyakoff <gray@Mirddin.farlep.net>.
9156 - Corrected a bug in gnutls-srpcrypt where a non allocated variable
9157   was freed.
9158 - SRP programs are now built by default.
9159 - Added API to read and write to PKCS #12 structures. Prototypes
9160   in gnutls/pkcs12.h.
9161 - The gnutls_transport_ptr type was changed to a pointer type (void*).
9162
9163 * Version 0.9.5 (2003-04-06)
9164 - Several improvements in the PKCS #7 handling
9165 - Eliminated several hard coded constants in MPI parameters.
9166
9167 * Version 0.9.4 (2003-03-28)
9168 - Corrected a parsing error in the Certificate request message.
9169 - Corrected behaviour when a certificate request message is received.
9170   Now a certificate packet is always sent, and in SSL 3.0 cipher suites
9171   a no_certificate alert is sent instead.
9172 - Added functionality to generate PKCS #7 structures (with certificates).
9173
9174 * Version 0.9.3 (2003-03-24)
9175 - Support for MD2 was dropped.
9176 - Improved the error logging functions, by adding a level, and
9177   by allowing debugging messages just by increasing the level.
9178 - The diffie Hellman ciphersuites are now of higher priority than
9179   the plain RSA.
9180 - The RSA premaster secret version check can no longer be disabled.
9181 - Implemented the counter measure discussed in the paper "Attacking
9182   RSA-based Sessions in SSL/TLS", against the attack described in the
9183   same paper.
9184 - Added the functions: gnutls_handshake_get_last_in(),
9185   gnutls_handshake_get_last_out().
9186 - The gnutls_certificate_set_rsa_params() was renamed to
9187   gnutls_certificate_set_rsa_export_params().
9188 - Added the new functions: gnutls_certificate_set_x509_key()
9189   gnutls_certificate_set_x509_trust(), gnutls_certificate_set_x509_crl(),
9190   gnutls_x509_crt_export(), gnutls_x509_crl_export().
9191 - Added support for encoding and decoding PKCS #8 2.0 encrypted
9192   RSA private keys.
9193
9194 * Version 0.9.2 (2003-03-15)
9195 - Some corrections in the memory mapping code (file is unmapped after
9196   it is read).
9197 - Added support for PKCS#10 certificate requests generation.
9198
9199 * Version 0.9.1 (2003-03-12)
9200 - Corrected a bug in 64 bit architectures, which affected the
9201   serial number calculation in the record layer.
9202 - Added gnutls_certificate_free_keys() which deletes all the
9203   private keys and certificates from the credentials structure.
9204 - Corrected a broken buffer check in _gnutls_io_read_buffered(),
9205   which caused some unexpected packet length errors. Report and patch
9206   by Ian Peters <itp@ximian.com>.
9207 - Added ability to generate RSA keys.
9208 - Increased the maximum parameter size in order to read some large keys
9209   by some CAs. Patch by Ian Peters <itp@ximian.com>.
9210 - Added an strnstr() function and the requirement in some functions to
9211   use null terminated PEM structures is no more.
9212 - Use mmap() if available to read files.
9213 - Fixed a memory leak in SRP code reported by Rupert Kittinger
9214   <r.kittinger@efkon.com>.
9215
9216 * Version 0.9.0 (2003-03-03)
9217 - This version is not binary compatible with the previous ones.
9218 - The library notifies the application on empty and illegal SRP usernames,
9219   so that proper notification (via an alert) is sent to the peer.
9220 - Added ability to send some messages back to the application using
9221   the gnutls_global_set_log_function().
9222 - gnutls_dh_params_generate() and gnutls_rsa_params_generate() now use
9223   gnutls_malloc() to allocate the output parameters.
9224 - Added support for MD2 algorithm in certificate signature verification.
9225 - The RSA and DH parameter generation interface was changed. Added
9226   ability to import and export from and to PKCS3 structures. This
9227   was needed to read parameters generated using the openssl dhparam tool.
9228 - Several changes in the temporary (DH/RSA) parameter codebase. No DH
9229   parameters are now included in the library. Also the credentials structure
9230   can now hold only one temporary parameter of a kind.
9231 - Added a new Certificate, CRL, Private key and PKCS7 structures handling
9232   API, defined in gnutls/x509.h
9233 - Added gnutls_certificate_set_verify_flags() function to allow setting the
9234   verification flags in the credentials structure. They will be used in the
9235   *verify_peers functions.
9236 - Added protection against the new TLS 1.0 record layer timing attack.
9237 - Added support for Certificate revocation lists. Functions defined
9238   in gnutls/x509.h
9239 - The only functions that were removed are:
9240   gnutls_x509_certificate_to_xml()
9241   gnutls_x509_extract_dn_string()
9242 - Ported to libtasn1 0.2.x
9243
9244 * Version 0.8.1 (2003-01-22)
9245 - Improved the SRP support, to prevent attackers guessing the
9246   available usernames by brute force.
9247 - Improved the SRP detection in gnutls-cli-debug
9248 - Some fixes which now allow compilation.
9249
9250 * Version 0.8.0 (2003-01-20)
9251 - Added gnutls_x509_extract_dn_string() which returns a
9252   distinguished name in a single string.
9253 - Added gnutls_openpgp_extract_key_name_string() which returns
9254   an openpgp user ID in a single string.
9255 - Added gnutls_x509_extract_certificate_ca_status() which returns
9256   the CA status of the given certificate.
9257 - Added SRP-6 support. Follows draft-ietf-tls-srp-04.
9258 - If libtasn1 is not present in the system, it is included in
9259   the main gnutls library.
9260 - If liblzo is present in the system, then the included minilzo
9261   will not be used, and libgnutls-extra will depend on liblzo.
9262 - GNUTLS_E_PARSING_ERROR error code was replaced by GNUTLS_E_BASE64_DECODING_ERROR,
9263   and GNUTLS_E_SRP_PWD_PARSING_ERROR. GNUTLS_E_ASCII_ARMOR_ERROR was also
9264   replaced by GNUTLS_E_BASE64_DECODING_ERROR.
9265
9266 * Version 0.6.0 (2002-12-08)
9267 - Added "gnutls/compat4.h" header. This is included in gnutls.h
9268   to emulate the old 0.4.x API.
9269 - Example programs are now stored in doc/examples/
9270 - Several improvements and updates in the documentation.
9271 - Added the certificate authenticated SRP cipher suites.
9272 - gnutls_x509_extract_certificate_dn_string() was updated to return
9273   an RFC2253 conforming string.
9274 - Added the SRP related functions:
9275    gnutls_srp_verifier()
9276    gnutls_srp_base64_encode()
9277    gnutls_srp_base64_decode()
9278 - Added the function gnutls_srp_set_server_credentials_function()
9279   to allow retrieving SRP parameters from an external backend - other
9280   than password files.
9281 - Added the function gnutls_openpgp_set_recv_key_function()
9282   which can be used to set a callback, to get OpenPGP keys.
9283 - Exported the functions:
9284    gnutls_malloc()
9285    gnutls_free()
9286   which should be used by callback functions.
9287 - Changed the semantics of gnutls_pem_base64_encode_alloc()
9288   and gnutls_pem_base64_decode_alloc(). In the default case
9289   were the gnutls library is used with malloc/realloc/free,
9290   these are binary compatible.
9291
9292 * Version 0.5.11 (2002-11-05)
9293 - Some fixes in 'gnutls-cli' client program to prevent some segmentation
9294   faults at exit.
9295 - Example programs found in the documentation can now be generated by
9296   running "make examples" in doc/tex directory.
9297 - Added more descriptive error strings, to gnutls_strerror().
9298 - Documented error codes, and the function reference list is now sorted.
9299 - Optimized buffering code.
9300 - gnutls_x509_extract_certificate_dn_string() was rewritten.
9301 - Added GNUTLS_E_SHORT_MEMORY_BUFFER error code, which is returned in the
9302   case where the memory buffer provided is not long enough.
9303 - Depends on the new OpenCDK 0.3.2.
9304
9305 * Version 0.5.10 (2002-10-13)
9306 - Updated documentation.
9307 - Added server name extension. This allows clients to specify the
9308   name of the server they connect to. Useful to HTTPS.
9309 - Several corrections in the code base, mostly in signed/unsigned,
9310   checkings.
9311
9312 * Version 0.5.9 (2002-10-10)
9313 - Corrected some code which worked fine in gcc 3.2, but not with any
9314   other compiler.
9315 - Updated 'gnutls-cli' with the '--starttls' option, to allow testing
9316   starttls implementations.
9317 - Added gnutls_x509_extract_key_pk_algorithm() function which extracts
9318   the private key type, of a DER encoded key.
9319 - Added gnutls_x509_extract_certificate_dn_string() which returns the
9320   certificate's distinguished name in a single string.
9321 - Added gnutls_set_default_priority() and gnutls_set_default_export_priority()
9322   functions, to avoid calling all the *_priority() functions if the defaults
9323   are acceptable.
9324 - Added int gnutls_x509_check_certificates_hostname() which check whether
9325   the given hostname matches the owner of the given X.509 certificate.
9326
9327 * Version 0.5.8 (2002-09-25)
9328 - Updated documentation.
9329 - Added gnutls_record_get_direction() which replaces the obsolete
9330   gnutls_handshake_get_direction().
9331 - Added function to convert error codes to alert descriptions
9332 - Added LZO compression
9333
9334 * Version 0.5.7 (2002-09-11)
9335 - Some fixes in the memory allocation functions (realloc).
9336 - Improved the string functions used in XML certificate generation.
9337 - Removed dependency on libgdbm.
9338 - Corrected bug in gnutls_dh_params_set() which affected
9339   gnutls_dh_params_deinit().
9340 - Corrected bug in session resuming code in server side.
9341
9342 * Version 0.5.6 (2002-09-06)
9343 - Corrected bugs in SRP implementation, which prevented gnutls
9344   to interoperate with other implementations. (interoperability testing
9345   was done by David Taylor)
9346 - Corrected bug in cert_type extension.
9347 - Corrected extension type checks which used an 8 bit extension size,
9348   instead of 16 bits.
9349 - Added versioning in the XML output of certificate functions.
9350 - Removed the X.509 test suite.
9351
9352 * Version 0.5.5 (2002-09-03)
9353 - Updated the SRP implementation to the latest draft. The blowfish
9354   crypt implementation was removed, since the new draft does not allow
9355   other hash algorithms except for the srpsha.
9356 - Renamed all the constructed types in order to have more consistent
9357   names.
9358 - Improved the certificate and key read functions. Now they can read
9359   the certificate and the private key from the same file.
9360 - Updated and corrected documentation.
9361
9362 * Version 0.5.4 (2002-08-27)
9363 - Fixes in TLS 1.0 PRF and SSL3 random functions.
9364 - gnutls_handshake_set_exportable_detection() was obsoleted.
9365 - Added gnutls_openpgp_extract_key_id() which returns the key ID.
9366 - Corrected bug in DHE key exchange
9367 - Added support for temporary RSA keys which are needed for the
9368   export cipher suites.
9369 - Added the TLS_RSA_EXPORT_ARCFOUR_40_MD5 ciphersuite.
9370
9371 * Version 0.5.3 (2002-08-23)
9372 - No changes. Replaces the tarball of 0.5.2 which accidentally contained
9373   code from the unstable branch.
9374
9375 * Version 0.5.2 (2002-08-22)
9376 - Added an error code that is returned in clients which connect
9377   to export only servers. This must be enabled using the
9378   gnutls_handshake_set_exportable_detection() function.
9379 - Updated openssl compatibility layer.
9380 - Added gnutls_handshake_get_direction() function which returns
9381   the state of the handshake when interrupted.
9382
9383 * Version 0.5.1 (2002-07-17)
9384 - Corrected the m4 macros which used <gnutls.h> instead of
9385   <gnutls/gnutls.h>
9386 - Documentation fixes
9387 - Added gnutls_transport_set_ptr2() function, which accepts two
9388   different pointers, to be used while receiving, and
9389   while sending data.
9390 - Semantic changes in gnutls_record_set_max_size(). The requested
9391   size is now immediately enforced at the output buffers.
9392 - gnutls_global_init_extra() now fails if the library versions do
9393   not match.
9394 - Fixes in client and server example programs. Null encryption can
9395   be used in these programs, to assist in debuging.
9396 - Fixes in zlib compression code.
9397
9398 * Version 0.5.0 (2002-07-06)
9399 - Added X.509 certificate tests in tests/ directory
9400 - Removed stubs for SRP and Anonymous authentication. They served
9401   no purpose since they are always included, unless it was requested
9402   not to do so.
9403 - Added gnutls_handshake_set_private_extensions() function. This
9404   function can be used to enable private (gnutls specific) cipher suites
9405   and compression algorithms.
9406 - Added check for C99 macro support by the compiler.
9407 - Added functions gnutls_b64_encode_fmt2() and gnutls_b64_decode_fmt2()
9408 - Added the new libtasn1 library.
9409 - Removed the gdbm backend. Applications are now responsible for the
9410   session resuming backend. The gnutls-serv application contains an
9411   simple example on how to use gdbm for resuming.
9412 - Headers for the gnutls library are now installed in $(includedir)/gnutls
9413 - Added an OpenSSL compatible interface (with some limitations).
9414 - Added functions to convert DER encoded certificates to XML format.
9415
9416 * Version 0.4.4 (2002-06-24)
9417 - Corrected bug in PKCS-1 RSA encryption which prevented gnutls to encrypt
9418   using keys of some specific size.
9419
9420 * Version 0.4.3 (2002-05-23)
9421 - The gnutls-extra library now compiles fine, if the opencdk library is
9422   not present.
9423 - Several bug fixes.
9424 - Added gnutls_global_set_mem_func() function, to set the memory allocation
9425   functions, if other than the defaults are to be used.
9426 - The default memory allocation functions are now the ones in libc.
9427
9428 * Version 0.4.2 (2002-05-21)
9429 - Separated ASN.1 structures parser documentation and TLS library
9430   documentation.
9431 - Added gnutls_handshake_set_rsa_pms() function, which disables the
9432   version check in RSA premaster secret.
9433 - Added gnutls_session_is_resumed() function, which reports if a session
9434   is a resumed one.
9435 - Added gnutls_state_set_ptr() and gnutls_state_get_ptr() functions, to
9436   assist in callback functions.
9437 - Replaced the included 1024 bit prime for Diffie Hellman, with a new
9438   random one.
9439 - Relicensed the library under the GNU Lesser General Public License
9440 - Added gnutls-extra library which contains the GPL covered code of gnutls.
9441
9442 * Version 0.4.1 (2002-04-07)
9443 - Now uses alloca() for temporary variables
9444 - Optimized RSA signing
9445 - Added functions to return the peer's certificate activation and
9446   expiration time.
9447 - Corrected time function's behaviour (the time value returned no longer
9448   relate to local timezone).
9449
9450 * Version 0.4.0 (2002-04-01)
9451 - Added support for RFC2630 (PKCS7) X.509 certificate sets
9452 - Added new functions: gnutls_x509_extract_certificate_pk_algorithm(),
9453   gnutls_openpgp_extract_key_pk_algorithm().
9454 - Several optimizations in the Handshake protocol
9455 - Several optimizations in RSA algorithm
9456 - Unified the return values because of small buffers.
9457
9458 * Version 0.3.92 (2002-03-23)
9459 - Updated documentation
9460 - Combined error codes of ASN.1 parser and gnutls
9461 - Removed GNUTLS_CERT_TRUSTED from the CertificateStatus enumeration
9462 - Added protection against CBC chosen plaintext attack (disabled by default)
9463 - Improved and optimized compression support
9464
9465 * Version 0.3.91 (2002-03-03)
9466 - Added gnutls-cli-debug program
9467 - Corrections in session resumption
9468 - Rehandshake can now handle negotiation of different authentication
9469   type.
9470 - gnutls-cli, gnutls-serv, gnutls-srpcrypt and gnutls-cli-debug are
9471   now being installed.
9472
9473 * Version 0.3.90 (2002-02-24)
9474 - Handshake messages are not kept in memory any more. Now we use
9475   less memory during a handshake
9476 - Added support for certificates with DSA parameters
9477 - Added DHE_DSS cipher suites
9478 - Key exchange methods changed so they do not depend on the
9479   certificate type. Added certificate type negotiation TLS extension.
9480 - Added openpgp key support (EXPERIMENTAL)
9481 - Improved Diffie Hellman key exchange support.
9482 - Bug fixes in the RSA key exchange.
9483 - Added check for the requested TLS extensions
9484 - TLS extensions now use a 16 bit type field.
9485 - Added a minimal string library to assist in ASN.1 parsing
9486 - Changes in ASN.1 parser to work with the new bison
9487 - Added gnutls_x509_extract_subject_alt_name(), which deprecates
9488   gnutls_x509_extract_subject_dns_name()
9489 - gnutls_x509_set_trust_(file/mem) can now be called multiple times
9490 - gnutls_srp_server_set_cred_file() can now be called multiple times
9491
9492 * Version 0.3.5 (2002-01-25)
9493 - Corrected the RSA key exchange method, to avoid attacks against
9494   PKCS-1 formating.
9495
9496 * Version 0.3.4 (2002-01-20)
9497 - Corrected bugs in DHE_RSA key exchange method
9498
9499 * Version 0.3.3 (2002-01-19)
9500 - Added gnutls_x509pki_verify_certificate()
9501 - Added gnutls_x509pki_set_trust_mem() and gnutls_x509pki_set_key_mem()
9502 - Bug fixes in srpcrypt (based on patch by Marc Huber)
9503 - Bug fixes in the Handshake protocol (based on patch by Guillaume Morin)
9504 - Corrected library versioning
9505
9506 * Version 0.3.2 (2002-01-05)
9507 - Corrected bug which did not allow a client to accept multiple CA names
9508 - Added gnutls_fingerprint()
9509 - Added gnutls_x509pki_extract_certificate_serial()
9510 - Added gnutls_b64_encode_fmt() and gnutls_b64_decode_fmt()
9511 - Corrected behaviour in version advertizing
9512 - Updated documentation
9513 - Prefixed all types in gnutls.h with 'GNUTLS_' to avoid namespace collisions
9514
9515 * Version 0.3.1 (2001-12-21)
9516 - Corrections in the configuration files
9517 - Fixes a bug in anonymous authentication
9518
9519 * Version 0.3.0 (2001-12-17)
9520 - Corrected bug in new integer formatting (now we use the old format again)
9521 - Several corrections and usual cleanups
9522
9523 * Version 0.2.91 (2001-12-10)
9524 - Fixes in MPI handling (fixes possible bug with signed integers)
9525 - Removed name indication extension
9526 - Added gnutls_transport_get_ptr() and gnutls_db_get_ptr()
9527 - Optimizations in server certificate callback.
9528 - Fixes in anonymous authentication
9529 - Corrections in client ciphersuite selection
9530
9531 * Version 0.2.90 (2001-12-07)
9532 - gnutls_handshake(), gnutls_read() etc. functions no longer require
9533   the 'SOCKET cd' argument. This argument is set using the function
9534   gnutls_set_transport_ptr().
9535 - introduced gnutls_x509pki_get_peer_certificate_list(). This function returns
9536   a list containing peer's certificate and issuers DER encoded.
9537 - Updated X.509 certificate handling API
9538 - Added callback to select the server certificate
9539 - More consistent function naming (changes in several function names)
9540 - Buffer overflow checking in ASN.1 structures parser
9541 - Updated documentation
9542
9543 * Version 0.2.11 (2001-11-16)
9544 - Changed the meaning of GNUTLS_E_REHANDSHAKE value. If this value
9545   is returned, then the caller should perform a handshake or send
9546   an alert to the peer.
9547 - Made receive buffer dynamic. Normally if no large chunks are received
9548   it occupies less space.
9549 - Added max_record_size extension
9550 - Bugfixes in session handling
9551 - Improved non blocking IO support in the Handshake Protocol
9552 - Usual bugfixes and cleanups
9553 - Documentation updated (includes ASN.1 documentation)
9554
9555 * Version 0.2.10 (2001-11-05)
9556 - Corrected bugs and improved non blocking IO
9557 - Added hooks to use external database to store sessions
9558 - Usual cleanups
9559
9560 * Version 0.2.9 (2001-10-27)
9561 - AUTH_INFO types and structures were moved to library internals
9562 - AUTH_FAILED is no longer returned in SRP authentication
9563   (any fatal error in SRP means auth failed)
9564 - Introduced GNUTLS_E_INTERRUPTED
9565 - Added support for non blocking IO
9566 - gnutls_recv() and gnutls_send() are now obsolete
9567 - Changed semantics of gnutls_rehandshake()
9568
9569 * Version 0.2.4 (2001-10-12)
9570 - Better handling of X.509 certificate extensions
9571 - Added DHE_RSA ciphersuites
9572 - Updated the Name Indication (dnsname) extension
9573 - Improvements in Diffie Hellman primes handling
9574
9575 * Version 0.2.3 (2001-09-19)
9576 - Memory optimizations in gnutls_recv()
9577 - Fixed several memory leaks
9578 - Added ability to specify callback for x509 client certificate selection
9579 - Better documentation
9580
9581 * Version 0.2.2 (2001-08-21)
9582 - Several bugfixes (library and documentation)
9583
9584 * Version 0.2.1 (2001-08-07)
9585 - SRP fixes
9586
9587 * Version 0.2.0 (2001-08-07)
9588 - Partial support for X.509v3 Certificate extensions.
9589 - Added Internal memory handlers
9590 - Removed gnutls_x509_set_cn()
9591 - Added X.509 client authentication
9592 - Several bug fixes and protocol fixes
9593
9594 * Version 0.1.9 (2001-07-30)
9595 - Corrected bug(s) in ChangeCipherSpec packet (fixes renegotiate)
9596 - SRP is updated to conform to the newest draft.
9597 - Added support for DNSNAME extension.
9598 - Reentracy fixes in ASN.1 Parsing.
9599 - Optimizations in hash/hmac functions
9600 - (Error) message handling has changed
9601 - Better Protocol Version handling
9602 - Added X.509 Certificate Verification
9603 - gnutls_read() semantics are now closer to read(2) - added EOF
9604 - Documented some part of gnutls in doc/tex/ using Latex
9605
9606 * Version 0.1.4 (2001-06-22)
9607 - Corrected (srp) base64 encoding.
9608 - Changed bcrypt algorithm to include username.
9609 - Added RSA Ciphersuites (no certificate checking).
9610 - Fixes in SSL 2.0 client hello parsing.
9611 - Added ASN.1 and DER parsers.
9612 - Bugfixes in session resuming
9613 - Updated Ciphersuite selection algorithm
9614 - Added internal representation of X.509 structures.
9615 - Added global state
9616
9617 * Version 0.1.3 (2001-06-01)
9618 - Updated API (and the way it is documented - we use inline documentation)
9619 - Added function to access alert messages.
9620 - Added support for renegotiating parameters.
9621 - Better and Faster Resume Database handling.
9622 - Several bugfixes
9623
9624 * Version 0.1.2 (2001-05-14)
9625 - Updated API
9626 - Fixes in extension handling
9627
9628 * Version 0.1.1 (2001-05-13)
9629 - Added compatibility with Stanford's libsrp library
9630
9631 * Version 0.1.0 (2001-05-09)
9632 - Added SSL 2.0 client hello support
9633 - GNUTLS is a gnu library
9634 - Added support for TLS extensions.
9635 - Added support for SRP
9636
9637 * Version 0.0.7 (2001-01-11)
9638 - Added server side session resuming (using gdbm)
9639 - Added twofish algorithm
9640
9641 * Version 0.0.6 (2000-12-20)
9642 - Added client side session resuming
9643 - Better documentation (check doc/API)
9644 - Better socket handling (gnutls can be used with select())
9645 - Some primitive support for non blocking IO and socket options has been added.
9646
9647 * Version 0.0.5 (2000-12-07)
9648 - Added Compression (using ZLIB)
9649 - Added SSL 3.0 support
9650
9651 ----------------------------------------------------------------------
9652 Copying and distribution of this file, with or without modification,
9653 are permitted in any medium without royalty provided the copyright
9654 notice and this notice are preserved.