Draft of GnuTLS 2.4.0 release notes
simon at josefsson.org
Mon May 26 17:53:26 CEST 2008
If you have any comments on what we should say in the 2.4.0 release
notes, now is the time to speak. Here is how they look right now. I
have only gone through *.so ABI function changes and NEWS entries during
2.3.x so I may have missed somethings... will compare the *.h's soon.
Major end-user visible changes compared to the v2.2 branch:
* The certtool --inder and --outder has been replaced by --inraw and --outraw.
This aligns terminology with OpenPGP, which doesn't use DER
encoding. The old parameters will continue to work for some time.
* Certtool now confirm passwords and changes permissions of private key files.
* The default handshake size limit has been increased to 48kb.
It appears as if some valid handshakes are large due to sending many
CA certificates. (The earlier limit was 16kb.)
* LZO compression is now disabled by default.
The main reason is that LZO compression in TLS is not standardized,
but license compatiblity issues with minilzo triggered us to make
this decision now.
* Improvements for cross-compilation to Windows and OpenWRT.
* The look of the GTK-DOC manual has been improved.
Major developer visible changes compared to the v2.2 branch:
* Full OpenPGP support is part of libgnutls, licensed under the LGPL.
* New APIs to access the raw X.509 Subject and Issuer DN's and
elements from the certificate credentials structure, thanks to Joe
* Names of constants to affect certificate printing changed.
The constants are used for OpenPGP too, which the names didn't
reflect, so the following change has been made:
Old name New name
The old names will be mapped to the new names for some time.
* The function gnutls_openpgp_privkey_get_id has been renamed to
* Replaced all uses of alloca with malloc and free.
* We no longer build with -D_REENTRANT -D_THREAD_SAFE.
We have been unable to find a documented rationale for this
Of course, many smaller fixes have been made, see the ChangeLog file.
API/ABI changes in GnuTLS 2.4
All OpenPGP functions have been moved from libgnutls-extra to
libgnutls, and several new functions have been added to support
OpenPGP subkeys (see below). Even though all programs that link to
libgnutls-extra for the OpenPGP symbols also links to libgnutls, we
felt that strictly speaking we have removed some symbols from the
libgnutls-extra library. Removing a function from a shared library
requires you to increment the shared library version. We are thus
increasing the shared library version of GnuTLS. You need to
recompile all your programs linked with GnuTLS to make them work with
this GnuTLS release.
(We considered to bump the shared library version only for
libgnutls-extra, since again strictly speaking we have not removed any
functions from libgnutls, but that may lead to problems when a
libgnutls-extra from 2.2.x pulls in libgnutls from 2.4.x. By
incrementing the version of both libraries, it is guaranteed that they
will only be linked with each other.)
This release adds a small set of new API functions:
Used to handle X.509 Certificate DN's directly.
Converts a data buffer to hex. Useful for handling PSK/SRP shared
Direct access to credential elements.
New OpenPGP related functions.
The function gnutls_openpgp_crt_get_key_id is the same as the old
from gnutls_openpgp_crt_get_id, see above.
The release also adds a new header file 'gnutls/crypto.h', however it
is currently not used. During the next development branch, it will be
used to provide functions for applications to replace parts of the
default libgcrypt low-level crypto implementation. (For example,
applications could provide its own random-number generator.)
More information about the Gnutls-devel