]> git.ipfire.org Git - thirdparty/gnutls.git/log
thirdparty/gnutls.git
16 years agoAvoid code duplication by using all the functions defined in gnutls_algorithms
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.

16 years agoAvoid code duplication by using all the functions defined in gnutls_algorithms
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.

16 years agoRationalized function names for signature generation and verification during handshake.
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

16 years agoDo not output error if a server replies with a SignatureAlgorithms extension.
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.

16 years agoRSA_SHA -> RSA_SHA1
Nikos Mavrogiannopoulos [Sun, 1 Nov 2009 12:23:45 +0000 (14:23 +0200)] 
RSA_SHA -> RSA_SHA1

16 years agoDocumented memory leak fix.
Nikos Mavrogiannopoulos [Sun, 1 Nov 2009 09:45:08 +0000 (11:45 +0200)] 
Documented memory leak fix.

16 years agoFinal touch on signature algorithms in TLS 1.2 support. Added function gnutls_session...
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.

16 years agoImproved TLS 1.2 support. Added support for the SignatureAlgorithm extension
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.

16 years agofixes in order to compile with -Werror
Nikos Mavrogiannopoulos [Sat, 31 Oct 2009 23:52:14 +0000 (01:52 +0200)] 
fixes in order to compile with -Werror

16 years agoremove unnessesary warning.
Nikos Mavrogiannopoulos [Sat, 31 Oct 2009 18:25:17 +0000 (20:25 +0200)] 
remove unnessesary warning.

16 years agocorrectly check extension size.
Nikos Mavrogiannopoulos [Sat, 31 Oct 2009 08:33:38 +0000 (10:33 +0200)] 
correctly check extension size.

16 years agoWhen resuming a session do not overwrite the initial session data with resumed
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.

16 years agoFix code style so it compiles with gcc 4.4 with warnings.
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.

16 years agoUpdate gnulib files.
Simon Josefsson [Mon, 26 Oct 2009 13:20:16 +0000 (14:20 +0100)] 
Update gnulib files.

16 years agoDrop unknown mini-hfail.
Simon Josefsson [Mon, 26 Oct 2009 13:14:27 +0000 (14:14 +0100)] 
Drop unknown mini-hfail.

16 years agoAdd.
Simon Josefsson [Mon, 26 Oct 2009 13:11:47 +0000 (14:11 +0100)] 
Add.

16 years agoEnable ClientHello to carry arbitrary length extension data.
Daiki Ueno [Mon, 26 Oct 2009 06:05:13 +0000 (23:05 -0700)] 
Enable ClientHello to carry arbitrary length extension data.

16 years agoAdded GNUTLS_BAG_SECRET that adds support for storing a randomly generated key
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.

16 years agoCorrected warnings in picky compilers and rearanged code.
Nikos Mavrogiannopoulos [Sun, 25 Oct 2009 17:38:16 +0000 (19:38 +0200)] 
Corrected warnings in picky compilers and rearanged code.

16 years agoAdded support for the AES family of ciphers in the PKCS8 and 12 encryption options.
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.

16 years agoDo not print auto-generated files.
Nikos Mavrogiannopoulos [Sat, 24 Oct 2009 14:36:26 +0000 (17:36 +0300)] 
Do not print auto-generated files.

16 years agoAdd.
Simon Josefsson [Fri, 23 Oct 2009 16:21:38 +0000 (18:21 +0200)] 
Add.

16 years agoFix forgotten braces.
Simon Josefsson [Fri, 23 Oct 2009 16:21:12 +0000 (18:21 +0200)] 
Fix forgotten braces.

Reported by Jason Pettiss <jpettiss@yahoo.com>.

16 years agoIndent code.
Simon Josefsson [Fri, 23 Oct 2009 16:20:23 +0000 (18:20 +0200)] 
Indent code.

16 years ago1. Fix for memory leaks on interrupted handshake.
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.

16 years agoFix expired cert.
Simon Josefsson [Tue, 20 Oct 2009 09:27:13 +0000 (11:27 +0200)] 
Fix expired cert.

16 years agoMake sure we use libgcrypt correctly.
Simon Josefsson [Fri, 16 Oct 2009 06:43:38 +0000 (08:43 +0200)] 
Make sure we use libgcrypt correctly.

16 years agoUpdate gnulib files.
Simon Josefsson [Thu, 15 Oct 2009 06:36:07 +0000 (08:36 +0200)] 
Update gnulib files.

16 years agoUpdate gnulib files.
Simon Josefsson [Thu, 15 Oct 2009 06:34:52 +0000 (08:34 +0200)] 
Update gnulib files.

16 years agoExport C++ symbol visibility.
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>.

16 years agoRegenerate.
Simon Josefsson [Wed, 14 Oct 2009 15:24:35 +0000 (17:24 +0200)] 
Regenerate.

16 years agoAdd.
Simon Josefsson [Wed, 14 Oct 2009 15:24:00 +0000 (17:24 +0200)] 
Add.

16 years agoFix MAC password.
Simon Josefsson [Wed, 14 Oct 2009 15:22:11 +0000 (17:22 +0200)] 
Fix MAC password.

16 years agoUse better friendly names.
Simon Josefsson [Wed, 14 Oct 2009 15:18:23 +0000 (17:18 +0200)] 
Use better friendly names.

16 years agoAdd self test to test PKCS#12 functions.
Simon Josefsson [Wed, 14 Oct 2009 15:16:08 +0000 (17:16 +0200)] 
Add self test to test PKCS#12 functions.

16 years agoWork around 'Cannot find OID: 1.2.840.113549.1.9.21' PKCS#12 problem.
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>.

16 years agoMention that sometimes CA certs needs to be included in PKCS#12 files.
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>.

16 years agoAfter setting priorities using new API, update current TLS version.
Simon Josefsson [Wed, 7 Oct 2009 16:12:02 +0000 (18:12 +0200)] 
After setting priorities using new API, update current TLS version.

16 years agoBump versions.
Simon Josefsson [Tue, 6 Oct 2009 13:53:22 +0000 (15:53 +0200)] 
Bump versions.

16 years agoGenerated. gnutls_2_9_7
Simon Josefsson [Tue, 6 Oct 2009 13:21:40 +0000 (15:21 +0200)] 
Generated.

16 years agoVersion 2.9.7.
Simon Josefsson [Tue, 6 Oct 2009 13:10:58 +0000 (15:10 +0200)] 
Version 2.9.7.

16 years agoUpdate gnulib files.
Simon Josefsson [Tue, 6 Oct 2009 10:41:02 +0000 (12:41 +0200)] 
Update gnulib files.

16 years agoAdd.
Simon Josefsson [Tue, 6 Oct 2009 09:50:42 +0000 (11:50 +0200)] 
Add.

16 years agoFix symbol export rules.
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>.

16 years agoInclude config.h.
Simon Josefsson [Tue, 6 Oct 2009 09:42:31 +0000 (11:42 +0200)] 
Include config.h.

Tiny patch from Boyan Kasarov <bkasarov@gmail.com>.

16 years agoReserve enough room for hash buffers.
Daiki Ueno [Wed, 30 Sep 2009 20:18:17 +0000 (05:18 +0900)] 
Reserve enough room for hash buffers.

This fixes x509self self-test.

16 years agoUpdate gnulib files.
Simon Josefsson [Wed, 30 Sep 2009 07:15:37 +0000 (09:15 +0200)] 
Update gnulib files.

16 years agoAdd.
Simon Josefsson [Wed, 30 Sep 2009 07:13:13 +0000 (09:13 +0200)] 
Add.

16 years agoAttempt to negotiate TLS 1.2 by default.
Simon Josefsson [Wed, 30 Sep 2009 07:11:37 +0000 (09:11 +0200)] 
Attempt to negotiate TLS 1.2 by default.

16 years agoAdd.
Simon Josefsson [Wed, 30 Sep 2009 07:11:08 +0000 (09:11 +0200)] 
Add.

16 years agoFix comment.
Simon Josefsson [Wed, 30 Sep 2009 05:45:26 +0000 (07:45 +0200)] 
Fix comment.

16 years agoFix server-side TLS 1.2 support.
Daiki Ueno [Wed, 30 Sep 2009 01:30:13 +0000 (10:30 +0900)] 
Fix server-side TLS 1.2 support.

16 years agoCalculate DER-encoded DigestInfo on-the-fly rather than hard code it.
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.

16 years agoguile: Adjust for Guile 1.9.3+.
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.

16 years agoguile: Syntactic nitpicking.
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.

16 years agoguile: Use Guile's malloc routines.
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.

16 years agoClarify gnutls_server_name_set usage.
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>.

16 years agoFix integer/pointer cast warnings in the Guile bindings on x86_64.
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.

16 years agoUpdate Guile bindings to the current OpenPGP API.
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 ()'.

16 years agoTurn off auto-compilation when using Guile 1.9+.
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.

16 years agoFix inclusion of <config.h> in Guile bindings.
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>.

16 years agoUpdate gnulib files.
Simon Josefsson [Tue, 22 Sep 2009 16:35:13 +0000 (18:35 +0200)] 
Update gnulib files.

16 years agoBump versions.
Simon Josefsson [Tue, 22 Sep 2009 13:34:04 +0000 (15:34 +0200)] 
Bump versions.

16 years agoChmod.
Simon Josefsson [Tue, 22 Sep 2009 12:36:54 +0000 (14:36 +0200)] 
Chmod.

16 years agoGenerated. gnutls_2_9_6
Simon Josefsson [Tue, 22 Sep 2009 12:27:49 +0000 (14:27 +0200)] 
Generated.

16 years agoVersion 2.9.6.
Simon Josefsson [Tue, 22 Sep 2009 12:15:32 +0000 (14:15 +0200)] 
Version 2.9.6.

16 years agoUpdate gnulib files.
Simon Josefsson [Tue, 22 Sep 2009 11:46:51 +0000 (13:46 +0200)] 
Update gnulib files.

16 years agoAdd forgotten documentation bits for issuer altname
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>
16 years agoUpdate gnulib files.
Simon Josefsson [Fri, 11 Sep 2009 17:44:53 +0000 (19:44 +0200)] 
Update gnulib files.

16 years agoAdd debug message.
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>.

16 years agoFix out-of-tree build.
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.

16 years agoEnable Camellia by default.
Simon Josefsson [Thu, 10 Sep 2009 19:53:00 +0000 (21:53 +0200)] 
Enable Camellia by default.

16 years agoBump versions.
Simon Josefsson [Thu, 10 Sep 2009 07:49:29 +0000 (09:49 +0200)] 
Bump versions.

16 years agoGenerated. gnutls_2_9_5
Simon Josefsson [Thu, 10 Sep 2009 07:43:56 +0000 (09:43 +0200)] 
Generated.

16 years agoVersion 2.9.5.
Simon Josefsson [Thu, 10 Sep 2009 07:30:46 +0000 (09:30 +0200)] 
Version 2.9.5.

16 years agoBump version.
Simon Josefsson [Thu, 10 Sep 2009 07:04:48 +0000 (09:04 +0200)] 
Bump version.

16 years agoUpdate gnulib files.
Simon Josefsson [Thu, 10 Sep 2009 06:30:04 +0000 (08:30 +0200)] 
Update gnulib files.

16 years agoAdd.
Simon Josefsson [Thu, 10 Sep 2009 06:27:19 +0000 (08:27 +0200)] 
Add.

16 years agoAdd.
Simon Josefsson [Thu, 10 Sep 2009 06:26:32 +0000 (08:26 +0200)] 
Add.

16 years agoBump library version for new APIs.
Simon Josefsson [Thu, 10 Sep 2009 06:25:45 +0000 (08:25 +0200)] 
Bump library version for new APIs.

16 years agoIndent.
Simon Josefsson [Thu, 10 Sep 2009 06:25:01 +0000 (08:25 +0200)] 
Indent.

16 years agoMove the new ABIs to the GNUTLS_2_10 section.
Simon Josefsson [Thu, 10 Sep 2009 06:24:47 +0000 (08:24 +0200)] 
Move the new ABIs to the GNUTLS_2_10 section.

16 years agoAdd X509 Issuer Altname functions
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>
16 years agoDon't use ! to negate exit status.
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>.

16 years agoUpdate gnulib files.
Simon Josefsson [Thu, 3 Sep 2009 10:09:32 +0000 (12:09 +0200)] 
Update gnulib files.

16 years agoBump versions.
Simon Josefsson [Thu, 3 Sep 2009 10:07:56 +0000 (12:07 +0200)] 
Bump versions.

16 years agoCommit cyclo/ dir too.
Simon Josefsson [Thu, 3 Sep 2009 10:05:15 +0000 (12:05 +0200)] 
Commit cyclo/ dir too.

16 years agoGenerated. gnutls_2_9_4
Simon Josefsson [Thu, 3 Sep 2009 09:49:47 +0000 (11:49 +0200)] 
Generated.

16 years agoVersion 2.9.4.
Simon Josefsson [Thu, 3 Sep 2009 09:38:29 +0000 (11:38 +0200)] 
Version 2.9.4.

16 years agoBuild when OpenPGP is disabled.
Simon Josefsson [Thu, 3 Sep 2009 09:37:23 +0000 (11:37 +0200)] 
Build when OpenPGP is disabled.

16 years agoFix!
Simon Josefsson [Thu, 3 Sep 2009 09:05:56 +0000 (11:05 +0200)] 
Fix!

16 years agoTypo.
Simon Josefsson [Thu, 3 Sep 2009 09:03:31 +0000 (11:03 +0200)] 
Typo.

16 years agoUgly hack for autobuilder.
Simon Josefsson [Thu, 3 Sep 2009 09:00:50 +0000 (11:00 +0200)] 
Ugly hack for autobuilder.

16 years agoAdd.
Simon Josefsson [Tue, 1 Sep 2009 05:03:45 +0000 (07:03 +0200)] 
Add.

16 years agoUse SHA256 as MAC by default.
Simon Josefsson [Tue, 1 Sep 2009 05:03:14 +0000 (07:03 +0200)] 
Use SHA256 as MAC by default.

16 years agoAdd.
Simon Josefsson [Tue, 1 Sep 2009 04:58:59 +0000 (06:58 +0200)] 
Add.

16 years agoAdd SHA-2 cipher suites.
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>
16 years agoPrint NewSessionTicket handshake.
Daiki Ueno [Mon, 31 Aug 2009 23:02:27 +0000 (08:02 +0900)] 
Print NewSessionTicket handshake.

Signed-off-by: Simon Josefsson <simon@josefsson.org>
16 years agoAdd.
Simon Josefsson [Mon, 31 Aug 2009 19:07:04 +0000 (21:07 +0200)] 
Add.

16 years agoHandle XMPP SANs properly.
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>.