]>
git.ipfire.org Git - thirdparty/gnutls.git/log
Nikos Mavrogiannopoulos [Sun, 1 Nov 2009 15:33:19 +0000 (17:33 +0200)]
Avoid code duplication by using all the functions defined in gnutls_algorithms
to map from TLS 1.2 signature algorithm numbers to gnutls signature algorithms.
Added minimal documentation for SIGN-* in gnutls-cli priority strings.
Corrected bug in signature algorithm extension generation.
Nikos Mavrogiannopoulos [Sun, 1 Nov 2009 15:33:19 +0000 (17:33 +0200)]
Avoid code duplication by using all the functions defined in gnutls_algorithms
to map from TLS 1.2 signature algorithm numbers to gnutls signature algorithms.
Added minimal documentation for SIGN-* in gnutls-cli priority strings.
Corrected bug in signature algorithm extension generation.
Nikos Mavrogiannopoulos [Sun, 1 Nov 2009 14:38:00 +0000 (16:38 +0200)]
Rationalized function names for signature generation and verification during handshake.
_gnutls_tls_sign_hdata -> _gnutls_handshake_sign_cert_vrfy
_gnutls_verify_sig_hdata -> _gnutls_handshake_verify_cert_vrfy
_gnutls_tls_sign_params -> _gnutls_handshake_sign_data
_gnutls_verify_sig_params -> _gnutls_handshake_verify_data
Nikos Mavrogiannopoulos [Sun, 1 Nov 2009 12:57:24 +0000 (14:57 +0200)]
Do not output error if a server replies with a SignatureAlgorithms extension.
Nikos Mavrogiannopoulos [Sun, 1 Nov 2009 12:23:45 +0000 (14:23 +0200)]
RSA_SHA -> RSA_SHA1
Nikos Mavrogiannopoulos [Sun, 1 Nov 2009 09:45:08 +0000 (11:45 +0200)]
Documented memory leak fix.
Nikos Mavrogiannopoulos [Sun, 1 Nov 2009 09:19:23 +0000 (11:19 +0200)]
Final touch on signature algorithms in TLS 1.2 support. Added function gnutls_session_sign_algorithm_get_requested()
for callbacks to be able to verify they return a correct certificate as well as documentation for its usage.
Nikos Mavrogiannopoulos [Sun, 1 Nov 2009 00:54:08 +0000 (02:54 +0200)]
Improved TLS 1.2 support. Added support for the SignatureAlgorithm extension
as well for the SignatureAlgorithm in certificate request.
Limitation for TLS 1.2 clients:
Only SHA1 or SHA256 are supported for generating signatures in
certificate verify message. That is to avoid storing all handshake
messages in memory. To be reconsidered in the future.
Nikos Mavrogiannopoulos [Sat, 31 Oct 2009 23:52:14 +0000 (01:52 +0200)]
fixes in order to compile with -Werror
Nikos Mavrogiannopoulos [Sat, 31 Oct 2009 18:25:17 +0000 (20:25 +0200)]
remove unnessesary warning.
Nikos Mavrogiannopoulos [Sat, 31 Oct 2009 08:33:38 +0000 (10:33 +0200)]
correctly check extension size.
Nikos Mavrogiannopoulos [Wed, 28 Oct 2009 08:44:18 +0000 (10:44 +0200)]
When resuming a session do not overwrite the initial session data with resumed
session data. Discovered on discussion at help-gnutls with Sebastien Decugis.
Simon Josefsson [Mon, 26 Oct 2009 13:45:39 +0000 (14:45 +0100)]
Fix code style so it compiles with gcc 4.4 with warnings.
Simon Josefsson [Mon, 26 Oct 2009 13:20:16 +0000 (14:20 +0100)]
Update gnulib files.
Simon Josefsson [Mon, 26 Oct 2009 13:14:27 +0000 (14:14 +0100)]
Drop unknown mini-hfail.
Simon Josefsson [Mon, 26 Oct 2009 13:11:47 +0000 (14:11 +0100)]
Add.
Daiki Ueno [Mon, 26 Oct 2009 06:05:13 +0000 (23:05 -0700)]
Enable ClientHello to carry arbitrary length extension data.
Nikos Mavrogiannopoulos [Sun, 25 Oct 2009 18:49:18 +0000 (20:49 +0200)]
Added GNUTLS_BAG_SECRET that adds support for storing a randomly generated key
into a PKCS-12 structure. This is a gnutls extension, since PKCS-12 does not
specify what should be in the secret bag. What we do is store the key as
OCTET string and specify an OID of the PKCS-9 random nonce.
Nikos Mavrogiannopoulos [Sun, 25 Oct 2009 17:38:16 +0000 (19:38 +0200)]
Corrected warnings in picky compilers and rearanged code.
Nikos Mavrogiannopoulos [Sat, 24 Oct 2009 14:38:25 +0000 (17:38 +0300)]
Added support for the AES family of ciphers in the PKCS8 and 12 encryption options.
Nikos Mavrogiannopoulos [Sat, 24 Oct 2009 14:36:26 +0000 (17:36 +0300)]
Do not print auto-generated files.
Simon Josefsson [Fri, 23 Oct 2009 16:21:38 +0000 (18:21 +0200)]
Add.
Simon Josefsson [Fri, 23 Oct 2009 16:21:12 +0000 (18:21 +0200)]
Fix forgotten braces.
Reported by Jason Pettiss <jpettiss@yahoo.com>.
Simon Josefsson [Fri, 23 Oct 2009 16:20:23 +0000 (18:20 +0200)]
Indent code.
Nikos Mavrogiannopoulos [Thu, 22 Oct 2009 16:33:44 +0000 (19:33 +0300)]
1. Fix for memory leaks on interrupted handshake.
2. Fixes issue where a TLS 1.2 client will wrongly calculate hashes if the server will select a different than 1.2 protocol.
3. In TLS 1.2 when a certificate request is sent, support is not complete. In that case abort the handshake. By checking
TLS 1.2 it seems that the algorithms to be used for the signature in the certificate verify message are negotiated not at
the client/server hello messages but rather selected by the server at the certificate request. This might not look as bad, but
since in this message we have to sign all previous handshake messages, it forces us to keep all the handshake messages into a
buffer until this point... I don't know who proposed this change to the TLS WG, but it seems it wasn't really thought of.
Simon Josefsson [Tue, 20 Oct 2009 09:27:13 +0000 (11:27 +0200)]
Fix expired cert.
Simon Josefsson [Fri, 16 Oct 2009 06:43:38 +0000 (08:43 +0200)]
Make sure we use libgcrypt correctly.
Simon Josefsson [Thu, 15 Oct 2009 06:36:07 +0000 (08:36 +0200)]
Update gnulib files.
Simon Josefsson [Thu, 15 Oct 2009 06:34:52 +0000 (08:34 +0200)]
Update gnulib files.
Simon Josefsson [Thu, 15 Oct 2009 06:27:48 +0000 (08:27 +0200)]
Export C++ symbol visibility.
Tiny patch from Boyan Kasarov <bkasarov@gmail.com>.
Simon Josefsson [Wed, 14 Oct 2009 15:24:35 +0000 (17:24 +0200)]
Regenerate.
Simon Josefsson [Wed, 14 Oct 2009 15:24:00 +0000 (17:24 +0200)]
Add.
Simon Josefsson [Wed, 14 Oct 2009 15:22:11 +0000 (17:22 +0200)]
Fix MAC password.
Simon Josefsson [Wed, 14 Oct 2009 15:18:23 +0000 (17:18 +0200)]
Use better friendly names.
Simon Josefsson [Wed, 14 Oct 2009 15:16:08 +0000 (17:16 +0200)]
Add self test to test PKCS#12 functions.
Simon Josefsson [Wed, 14 Oct 2009 14:17:50 +0000 (16:17 +0200)]
Work around 'Cannot find OID: 1.2.840.113549.1.9.21' PKCS#12 problem.
Reported by Michael Welsh Duggan <mwd@cert.org> in
<http://permalink.gmane.org/gmane.network.gnutls.general/1786>.
Simon Josefsson [Wed, 14 Oct 2009 09:47:19 +0000 (11:47 +0200)]
Mention that sometimes CA certs needs to be included in PKCS#12 files.
Reported by Ivars Suba <Ivars.Suba@bank.lv>.
Simon Josefsson [Wed, 7 Oct 2009 16:12:02 +0000 (18:12 +0200)]
After setting priorities using new API, update current TLS version.
Simon Josefsson [Tue, 6 Oct 2009 13:53:22 +0000 (15:53 +0200)]
Bump versions.
Simon Josefsson [Tue, 6 Oct 2009 13:21:40 +0000 (15:21 +0200)]
Generated.
Simon Josefsson [Tue, 6 Oct 2009 13:10:58 +0000 (15:10 +0200)]
Version 2.9.7.
Simon Josefsson [Tue, 6 Oct 2009 10:41:02 +0000 (12:41 +0200)]
Update gnulib files.
Simon Josefsson [Tue, 6 Oct 2009 09:50:42 +0000 (11:50 +0200)]
Add.
Simon Josefsson [Tue, 6 Oct 2009 09:46:10 +0000 (11:46 +0200)]
Fix symbol export rules.
Tiny patch by Boyan Kasarov <bkasarov@gmail.com>.
Simon Josefsson [Tue, 6 Oct 2009 09:42:31 +0000 (11:42 +0200)]
Include config.h.
Tiny patch from Boyan Kasarov <bkasarov@gmail.com>.
Daiki Ueno [Wed, 30 Sep 2009 20:18:17 +0000 (05:18 +0900)]
Reserve enough room for hash buffers.
This fixes x509self self-test.
Simon Josefsson [Wed, 30 Sep 2009 07:15:37 +0000 (09:15 +0200)]
Update gnulib files.
Simon Josefsson [Wed, 30 Sep 2009 07:13:13 +0000 (09:13 +0200)]
Add.
Simon Josefsson [Wed, 30 Sep 2009 07:11:37 +0000 (09:11 +0200)]
Attempt to negotiate TLS 1.2 by default.
Simon Josefsson [Wed, 30 Sep 2009 07:11:08 +0000 (09:11 +0200)]
Add.
Simon Josefsson [Wed, 30 Sep 2009 05:45:26 +0000 (07:45 +0200)]
Fix comment.
Daiki Ueno [Wed, 30 Sep 2009 01:30:13 +0000 (10:30 +0900)]
Fix server-side TLS 1.2 support.
Daiki Ueno [Tue, 29 Sep 2009 22:11:30 +0000 (07:11 +0900)]
Calculate DER-encoded DigestInfo on-the-fly rather than hard code it.
Ludovic Courtès [Mon, 28 Sep 2009 20:46:33 +0000 (22:46 +0200)]
guile: Adjust for Guile 1.9.3+.
* guile/src/core.c (mark_session_record_port, free_session_record_port):
Conditionalize on `SCM_MAJOR_VERSION == 1 && SCM_MINOR_VERSION <= 8'.
(scm_init_gnutls_session_record_port_type): Adjust accordingly.
(make_session_record_port): Use `scm_gc_malloc_pointerless ()' when
available.
Ludovic Courtès [Mon, 28 Sep 2009 20:40:08 +0000 (22:40 +0200)]
guile: Syntactic nitpicking.
* guile/src/core.c (SCM_GNUTLS_MAKE_SESSION_DATA,
SCM_GNUTLS_SET_SESSION_RECORD_PORT): Remove extraneous semicolon.
Ludovic Courtès [Mon, 28 Sep 2009 20:39:03 +0000 (22:39 +0200)]
guile: Use Guile's malloc routines.
* guile/src/core.c (scm_init_gnutls): Use Guile's malloc routines.
Simon Josefsson [Wed, 23 Sep 2009 15:46:06 +0000 (17:46 +0200)]
Clarify gnutls_server_name_set usage.
Reported by Daniel Black <daniel@cacert.org> in
<http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3878>.
Ludovic Courtès [Wed, 23 Sep 2009 09:07:13 +0000 (11:07 +0200)]
Fix integer/pointer cast warnings in the Guile bindings on x86_64.
* guile/src/core.c (do_fill_port, fill_session_record_port_input,
scm_gnutls_set_session_transport_fd_x): Make sure pointer/integer casts
use integers of the right size.
Ludovic Courtès [Wed, 23 Sep 2009 09:04:06 +0000 (11:04 +0200)]
Update Guile bindings to the current OpenPGP API.
* guile/src/extra.c (scm_gnutls_openpgp_certificate_id,
scm_gnutls_openpgp_certificate_id_x): Use
the newer `gnutls_openpgp_crt_get_key_id ()'.
Ludovic Courtès [Wed, 23 Sep 2009 08:44:29 +0000 (10:44 +0200)]
Turn off auto-compilation when using Guile 1.9+.
* guile/src/Makefile.am (GUILE_FOR_BUILD): Turn off auto-compilation
with Guile 1.9+.
* guile/tests/Makefile.am (TESTS_ENVIRONMENT): Likewise.
* doc/Makefile.am (GUILE_FOR_BUILD): Likewise.
Ludovic Courtès [Wed, 23 Sep 2009 08:39:21 +0000 (10:39 +0200)]
Fix inclusion of <config.h> in Guile bindings.
* guile/src/core.c, guile/src/errors.c, guile/src/extra.c,
guile/src/utils.c: Include <config.h> first, as suggested by Simon
Josefsson.
* guile/src/utils.h: Don't include <config.h>.
Simon Josefsson [Tue, 22 Sep 2009 16:35:13 +0000 (18:35 +0200)]
Update gnulib files.
Simon Josefsson [Tue, 22 Sep 2009 13:34:04 +0000 (15:34 +0200)]
Bump versions.
Simon Josefsson [Tue, 22 Sep 2009 12:36:54 +0000 (14:36 +0200)]
Chmod.
Simon Josefsson [Tue, 22 Sep 2009 12:27:49 +0000 (14:27 +0200)]
Generated.
Simon Josefsson [Tue, 22 Sep 2009 12:15:32 +0000 (14:15 +0200)]
Version 2.9.6.
Simon Josefsson [Tue, 22 Sep 2009 11:46:51 +0000 (13:46 +0200)]
Update gnulib files.
Brad Hards [Sun, 13 Sep 2009 09:15:03 +0000 (19:15 +1000)]
Add forgotten documentation bits for issuer altname
Signed-off-by: Simon Josefsson <simon@josefsson.org>
Simon Josefsson [Fri, 11 Sep 2009 17:44:53 +0000 (19:44 +0200)]
Update gnulib files.
Simon Josefsson [Fri, 11 Sep 2009 17:43:10 +0000 (19:43 +0200)]
Add debug message.
Tiny patch from Miroslav Kratochvil <exa.exa@gmail.com> in
<http://thread.gmane.org/gmane.network.gnutls.general/1758>.
Daiki Ueno [Fri, 11 Sep 2009 09:32:20 +0000 (18:32 +0900)]
Fix out-of-tree build.
Fix out-of-tree build; gnutls.h is generated in the build tree.
Simon Josefsson [Thu, 10 Sep 2009 19:53:00 +0000 (21:53 +0200)]
Enable Camellia by default.
Simon Josefsson [Thu, 10 Sep 2009 07:49:29 +0000 (09:49 +0200)]
Bump versions.
Simon Josefsson [Thu, 10 Sep 2009 07:43:56 +0000 (09:43 +0200)]
Generated.
Simon Josefsson [Thu, 10 Sep 2009 07:30:46 +0000 (09:30 +0200)]
Version 2.9.5.
Simon Josefsson [Thu, 10 Sep 2009 07:04:48 +0000 (09:04 +0200)]
Bump version.
Simon Josefsson [Thu, 10 Sep 2009 06:30:04 +0000 (08:30 +0200)]
Update gnulib files.
Simon Josefsson [Thu, 10 Sep 2009 06:27:19 +0000 (08:27 +0200)]
Add.
Simon Josefsson [Thu, 10 Sep 2009 06:26:32 +0000 (08:26 +0200)]
Add.
Simon Josefsson [Thu, 10 Sep 2009 06:25:45 +0000 (08:25 +0200)]
Bump library version for new APIs.
Simon Josefsson [Thu, 10 Sep 2009 06:25:01 +0000 (08:25 +0200)]
Indent.
Simon Josefsson [Thu, 10 Sep 2009 06:24:47 +0000 (08:24 +0200)]
Move the new ABIs to the GNUTLS_2_10 section.
Brad Hards [Wed, 9 Sep 2009 11:57:06 +0000 (21:57 +1000)]
Add X509 Issuer Altname functions
Signed-off-by: Simon Josefsson <simon@josefsson.org>
Simon Josefsson [Mon, 7 Sep 2009 16:02:56 +0000 (18:02 +0200)]
Don't use ! to negate exit status.
Reported by "Tom G. Christensen" <tgc@jupiterrise.com> in
<http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3861>.
Simon Josefsson [Thu, 3 Sep 2009 10:09:32 +0000 (12:09 +0200)]
Update gnulib files.
Simon Josefsson [Thu, 3 Sep 2009 10:07:56 +0000 (12:07 +0200)]
Bump versions.
Simon Josefsson [Thu, 3 Sep 2009 10:05:15 +0000 (12:05 +0200)]
Commit cyclo/ dir too.
Simon Josefsson [Thu, 3 Sep 2009 09:49:47 +0000 (11:49 +0200)]
Generated.
Simon Josefsson [Thu, 3 Sep 2009 09:38:29 +0000 (11:38 +0200)]
Version 2.9.4.
Simon Josefsson [Thu, 3 Sep 2009 09:37:23 +0000 (11:37 +0200)]
Build when OpenPGP is disabled.
Simon Josefsson [Thu, 3 Sep 2009 09:05:56 +0000 (11:05 +0200)]
Fix!
Simon Josefsson [Thu, 3 Sep 2009 09:03:31 +0000 (11:03 +0200)]
Typo.
Simon Josefsson [Thu, 3 Sep 2009 09:00:50 +0000 (11:00 +0200)]
Ugly hack for autobuilder.
Simon Josefsson [Tue, 1 Sep 2009 05:03:45 +0000 (07:03 +0200)]
Add.
Simon Josefsson [Tue, 1 Sep 2009 05:03:14 +0000 (07:03 +0200)]
Use SHA256 as MAC by default.
Simon Josefsson [Tue, 1 Sep 2009 04:58:59 +0000 (06:58 +0200)]
Add.
Daiki Ueno [Mon, 31 Aug 2009 23:02:05 +0000 (08:02 +0900)]
Add SHA-2 cipher suites.
Signed-off-by: Simon Josefsson <simon@josefsson.org>
Daiki Ueno [Mon, 31 Aug 2009 23:02:27 +0000 (08:02 +0900)]
Print NewSessionTicket handshake.
Signed-off-by: Simon Josefsson <simon@josefsson.org>
Simon Josefsson [Mon, 31 Aug 2009 19:07:04 +0000 (21:07 +0200)]
Add.
Simon Josefsson [Mon, 31 Aug 2009 18:59:14 +0000 (20:59 +0200)]
Handle XMPP SANs properly.
Reported by Howard Chu <hyc@symas.com> in
<https://savannah.gnu.org/support/?106975>.