]> git.ipfire.org Git - thirdparty/gnutls.git/log
thirdparty/gnutls.git
13 years agoAdded a test of heartbeat ping exchange.
Nikos Mavrogiannopoulos [Sat, 22 Sep 2012 12:09:25 +0000 (14:09 +0200)] 
Added a test of heartbeat ping exchange.

13 years agoseveral cleanups
Nikos Mavrogiannopoulos [Fri, 21 Sep 2012 23:45:33 +0000 (01:45 +0200)] 
several cleanups

13 years agocorrected bug in gnutls_x509_privkey_sign_data
Nikos Mavrogiannopoulos [Fri, 21 Sep 2012 22:59:40 +0000 (00:59 +0200)] 
corrected bug in gnutls_x509_privkey_sign_data

13 years agoAll openpgp code moved within ENABLE_OPENPGP
Nikos Mavrogiannopoulos [Fri, 21 Sep 2012 19:36:56 +0000 (21:36 +0200)] 
All openpgp code moved within ENABLE_OPENPGP

13 years agoupdated makefiles
Nikos Mavrogiannopoulos [Fri, 21 Sep 2012 17:46:39 +0000 (19:46 +0200)] 
updated makefiles

13 years agoCorrectly restore gnutls_record_recv() in DTLS mode if interrupted during the retrasm...
Nikos Mavrogiannopoulos [Fri, 21 Sep 2012 17:05:29 +0000 (19:05 +0200)] 
Correctly restore gnutls_record_recv() in DTLS mode if interrupted during the retrasmition of handshake data.

13 years agoAllow for pinging until timeout.
Nikos Mavrogiannopoulos [Fri, 21 Sep 2012 07:16:57 +0000 (09:16 +0200)] 
Allow for pinging until timeout.

13 years agocorrected time
Nikos Mavrogiannopoulos [Fri, 21 Sep 2012 07:15:14 +0000 (09:15 +0200)] 
corrected time

13 years agodocumented update
Nikos Mavrogiannopoulos [Fri, 21 Sep 2012 07:08:36 +0000 (09:08 +0200)] 
documented update

13 years agofixed copyright
Nikos Mavrogiannopoulos [Fri, 21 Sep 2012 07:02:22 +0000 (09:02 +0200)] 
fixed copyright

13 years agoBetter handling of timeouts.
Nikos Mavrogiannopoulos [Fri, 21 Sep 2012 07:00:01 +0000 (09:00 +0200)] 
Better handling of timeouts.

13 years agoGTK-DOC fixes.
Simon Josefsson [Thu, 20 Sep 2012 23:21:50 +0000 (01:21 +0200)] 
GTK-DOC fixes.

13 years agoMore GTK-DOC warning fixes.
Simon Josefsson [Thu, 20 Sep 2012 23:19:19 +0000 (01:19 +0200)] 
More GTK-DOC warning fixes.

13 years agoAlso include tpm.h in GTK-DOC manual.
Simon Josefsson [Thu, 20 Sep 2012 23:09:40 +0000 (01:09 +0200)] 
Also include tpm.h in GTK-DOC manual.

13 years agoFix GTK-DOC warnings.
Simon Josefsson [Thu, 20 Sep 2012 22:57:30 +0000 (00:57 +0200)] 
Fix GTK-DOC warnings.

13 years agoCleanup warning flags.
Simon Josefsson [Thu, 20 Sep 2012 22:55:05 +0000 (00:55 +0200)] 
Cleanup warning flags.

13 years agobumped versions
Nikos Mavrogiannopoulos [Thu, 20 Sep 2012 21:41:01 +0000 (23:41 +0200)] 
bumped versions

13 years agodoc update
Nikos Mavrogiannopoulos [Tue, 18 Sep 2012 19:50:35 +0000 (21:50 +0200)] 
doc update

13 years agoupdated
Nikos Mavrogiannopoulos [Thu, 20 Sep 2012 21:36:59 +0000 (23:36 +0200)] 
updated

13 years agoupdates in heartbeat support
Nikos Mavrogiannopoulos [Thu, 20 Sep 2012 21:36:00 +0000 (23:36 +0200)] 
updates in heartbeat support

13 years agoupdated documentation
Nikos Mavrogiannopoulos [Thu, 20 Sep 2012 21:06:06 +0000 (23:06 +0200)] 
updated documentation

13 years agoupdated tests for new security levels
Nikos Mavrogiannopoulos [Thu, 20 Sep 2012 21:01:17 +0000 (23:01 +0200)] 
updated tests for new security levels

13 years agoseveral updates in the heartbeat handling code.
Nikos Mavrogiannopoulos [Thu, 20 Sep 2012 20:59:49 +0000 (22:59 +0200)] 
several updates in the heartbeat handling code.

13 years agoCorrected issues
Nikos Mavrogiannopoulos [Thu, 20 Sep 2012 16:51:54 +0000 (18:51 +0200)] 
Corrected issues

13 years agoDrop -Winline.
Simon Josefsson [Thu, 20 Sep 2012 08:41:36 +0000 (10:41 +0200)] 
Drop -Winline.

13 years agocorrected usage of defines
Nikos Mavrogiannopoulos [Wed, 19 Sep 2012 16:30:09 +0000 (18:30 +0200)] 
corrected usage of defines

13 years agodoc/manpages is handled the same as doc/
Nikos Mavrogiannopoulos [Tue, 18 Sep 2012 21:00:40 +0000 (23:00 +0200)] 
doc/manpages is handled the same as doc/

13 years agocompare-makefile is only executed during make dist.
Nikos Mavrogiannopoulos [Tue, 18 Sep 2012 20:47:14 +0000 (22:47 +0200)] 
compare-makefile is only executed during make dist.

13 years agoDEFAULT_* -> DEFAULT_MAX_*
Nikos Mavrogiannopoulos [Mon, 17 Sep 2012 22:05:50 +0000 (00:05 +0200)] 
DEFAULT_* -> DEFAULT_MAX_*

13 years agoMAX_CERTS_TO_SORT -> DEFAULT_VERIFY_DEPTH
Nikos Mavrogiannopoulos [Mon, 17 Sep 2012 22:04:38 +0000 (00:04 +0200)] 
MAX_CERTS_TO_SORT -> DEFAULT_VERIFY_DEPTH

13 years agocorrected default
Nikos Mavrogiannopoulos [Mon, 17 Sep 2012 18:26:30 +0000 (20:26 +0200)] 
corrected default

13 years agoIncreased security levels by adding insecure.
Nikos Mavrogiannopoulos [Mon, 17 Sep 2012 18:19:42 +0000 (20:19 +0200)] 
Increased security levels by adding insecure.

13 years agoAllow negatives in enumerations.
Nikos Mavrogiannopoulos [Mon, 17 Sep 2012 18:07:54 +0000 (20:07 +0200)] 
Allow negatives in enumerations.

13 years agodo not complain on overlength strings
Nikos Mavrogiannopoulos [Mon, 17 Sep 2012 17:46:29 +0000 (19:46 +0200)] 
do not complain on overlength strings

13 years agognutls_session_enable_compatibility_mode() is equivalent to %COMPAT priority string.
Nikos Mavrogiannopoulos [Mon, 17 Sep 2012 17:45:18 +0000 (19:45 +0200)] 
gnutls_session_enable_compatibility_mode() is equivalent to %COMPAT priority string.

13 years agoWarn on certificate with weak security levels. (re)introduces GNUTLS_SEC_PARAM_WEAK.
Nikos Mavrogiannopoulos [Mon, 17 Sep 2012 17:55:50 +0000 (19:55 +0200)] 
Warn on certificate with weak security levels. (re)introduces GNUTLS_SEC_PARAM_WEAK.

13 years agoAdded verification flags GNUTLS_VERIFY_ALLOW_UNSORTED_CHAIN, which is enabled by...
Nikos Mavrogiannopoulos [Sun, 16 Sep 2012 21:02:35 +0000 (23:02 +0200)] 
Added verification flags GNUTLS_VERIFY_ALLOW_UNSORTED_CHAIN, which is enabled by default for verifying TLS sessions.

13 years agoremoved a now redundant chain check
Nikos Mavrogiannopoulos [Sun, 16 Sep 2012 20:50:09 +0000 (22:50 +0200)] 
removed a now redundant chain check

13 years agoAdded function to sort the provided certificate chain prior to verification.
Nikos Mavrogiannopoulos [Sun, 16 Sep 2012 20:47:44 +0000 (22:47 +0200)] 
Added function to sort the provided certificate chain prior to verification.

13 years agoavoid duplicate asn1 structure initialization.
Nikos Mavrogiannopoulos [Sun, 16 Sep 2012 19:41:50 +0000 (21:41 +0200)] 
avoid duplicate asn1 structure initialization.

13 years agoupdated minitasn1
Nikos Mavrogiannopoulos [Sun, 16 Sep 2012 19:21:28 +0000 (21:21 +0200)] 
updated minitasn1

13 years agoUse the pkg-config macro to find libtasn1.
Nikos Mavrogiannopoulos [Sun, 16 Sep 2012 19:20:04 +0000 (21:20 +0200)] 
Use the pkg-config macro to find libtasn1.

13 years agocorrected typo
Nikos Mavrogiannopoulos [Sun, 16 Sep 2012 19:02:47 +0000 (21:02 +0200)] 
corrected typo

13 years agosmall updates
Nikos Mavrogiannopoulos [Sun, 16 Sep 2012 18:50:35 +0000 (20:50 +0200)] 
small updates

13 years agoremoved old libtasn1 requirements
Nikos Mavrogiannopoulos [Sun, 16 Sep 2012 18:48:36 +0000 (20:48 +0200)] 
removed old libtasn1 requirements

13 years agoMAX_NAME_SIZE -> MAX_SERVER_NAME_SIZE
Nikos Mavrogiannopoulos [Sun, 16 Sep 2012 18:48:18 +0000 (20:48 +0200)] 
MAX_NAME_SIZE -> MAX_SERVER_NAME_SIZE

13 years agocorrected sign
Nikos Mavrogiannopoulos [Sun, 16 Sep 2012 09:28:01 +0000 (11:28 +0200)] 
corrected sign

13 years agocorrected prototypes
Nikos Mavrogiannopoulos [Sun, 16 Sep 2012 09:24:01 +0000 (11:24 +0200)] 
corrected prototypes

13 years agouse a %STATELESS_COMPRESSION priority string instead of gnutls_init() flag.
Nikos Mavrogiannopoulos [Sun, 16 Sep 2012 09:21:45 +0000 (11:21 +0200)] 
use a %STATELESS_COMPRESSION priority string instead of gnutls_init() flag.

13 years agocorrected missing parameter
Nikos Mavrogiannopoulos [Sun, 16 Sep 2012 09:19:12 +0000 (11:19 +0200)] 
corrected missing parameter

13 years agoKey usage violations are allowed when the COMPAT keyword is specified.
Nikos Mavrogiannopoulos [Sat, 15 Sep 2012 18:21:02 +0000 (20:21 +0200)] 
Key usage violations are allowed when the COMPAT keyword is specified.

I've noticed in the SSL observatory data that most key usage bits in
a certificate are set randomly (e.g., there are DSA certificates marked
for encryption, and most RSA certificates marked for signature only are used
for encryption anyway). There is no point of being strict in such environment.

13 years agoDo not ask unnecessary questions when signing a certificate (request).
Nikos Mavrogiannopoulos [Sat, 15 Sep 2012 18:13:39 +0000 (20:13 +0200)] 
Do not ask unnecessary questions when signing a certificate (request).

13 years agomingw32 support. Based on patch by LRN.
Nikos Mavrogiannopoulos [Sat, 15 Sep 2012 11:43:28 +0000 (13:43 +0200)] 
mingw32 support. Based on patch by LRN.

13 years agoAdded GNUTLS_STATELESS_COMPRESSION flag to gnutls_init().
Nikos Mavrogiannopoulos [Sat, 15 Sep 2012 10:25:45 +0000 (12:25 +0200)] 
Added GNUTLS_STATELESS_COMPRESSION flag to gnutls_init().

13 years agoAdded gnutls_x509_privkey_get_pk_algorithm2(). Certtool prints the number of bits...
Nikos Mavrogiannopoulos [Sat, 15 Sep 2012 09:15:07 +0000 (11:15 +0200)] 
Added gnutls_x509_privkey_get_pk_algorithm2(). Certtool prints the number of bits in a private key.

13 years agoRefer to files with explicit path. Patch by LRN.
Nikos Mavrogiannopoulos [Sat, 15 Sep 2012 09:02:03 +0000 (11:02 +0200)] 
Refer to files with explicit path. Patch by LRN.

13 years agowin32 fix. Patch by LRN.
Nikos Mavrogiannopoulos [Sat, 15 Sep 2012 08:44:34 +0000 (10:44 +0200)] 
win32 fix. Patch by LRN.

13 years agolibopts depends on libintl. Patch by LRN.
Nikos Mavrogiannopoulos [Sat, 15 Sep 2012 08:43:59 +0000 (10:43 +0200)] 
libopts depends on libintl. Patch by LRN.

13 years agosmall optimizations in ASN.1 to save memory
Nikos Mavrogiannopoulos [Thu, 13 Sep 2012 19:31:10 +0000 (21:31 +0200)] 
small optimizations in ASN.1 to save memory

13 years agoAdded a note on compression
Nikos Mavrogiannopoulos [Thu, 13 Sep 2012 16:57:41 +0000 (18:57 +0200)] 
Added a note on compression

13 years agoFix mpz_unitstbit compilation with GMP versions < 5.
Ilya Tumaykin [Tue, 11 Sep 2012 07:42:47 +0000 (11:42 +0400)] 
Fix mpz_unitstbit compilation with GMP versions < 5.

Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
13 years agoWhen requested gnutls_x509_trust_list_deinit() will deinitialized all certs (includin...
Nikos Mavrogiannopoulos [Wed, 12 Sep 2012 21:03:32 +0000 (23:03 +0200)] 
When requested gnutls_x509_trust_list_deinit() will deinitialized all certs (including the named)

13 years agoUse the new asn1_read_node_value()
Nikos Mavrogiannopoulos [Wed, 12 Sep 2012 20:45:55 +0000 (22:45 +0200)] 
Use the new asn1_read_node_value()

13 years agoFix gnutls_x509_trust_list_add_trust_mem with DER-format certificates.
Marti Raudsepp [Mon, 3 Sep 2012 17:58:54 +0000 (20:58 +0300)] 
Fix gnutls_x509_trust_list_add_trust_mem with DER-format certificates.

The function took a "type" argument and then happily proceeded to ignore
it and try PEM format anyway.

Most importantly, this makes gnutls_x509_trust_list_add_system_trust
work on Windows, which loads DER certificates using this function.  I'll
be damned if that actually ever worked properly -- certainly not in any
git version. :)

Also added test for gnutls_x509_trust_list_add_trust_mem.

Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
13 years agoadded upload directive
Nikos Mavrogiannopoulos [Sun, 2 Sep 2012 19:31:50 +0000 (21:31 +0200)] 
added upload directive

13 years agomingw64 compilation fixes
Nikos Mavrogiannopoulos [Sun, 2 Sep 2012 19:19:13 +0000 (21:19 +0200)] 
mingw64 compilation fixes

13 years agoupdated libs
Nikos Mavrogiannopoulos [Sun, 2 Sep 2012 19:08:36 +0000 (21:08 +0200)] 
updated libs

13 years agoThe default system_recv_timeout() doesn't include a call to recv() to avoid issue...
Nikos Mavrogiannopoulos [Sun, 2 Sep 2012 16:46:47 +0000 (18:46 +0200)] 
The default system_recv_timeout() doesn't include a call to recv() to avoid issue in few systems.

13 years agoincreased timeouts
Nikos Mavrogiannopoulos [Sun, 2 Sep 2012 09:00:02 +0000 (11:00 +0200)] 
increased timeouts

13 years agodump the errno received by select
Nikos Mavrogiannopoulos [Sun, 2 Sep 2012 08:59:16 +0000 (10:59 +0200)] 
dump the errno received by select

13 years agoremoved unused code
Nikos Mavrogiannopoulos [Sun, 2 Sep 2012 08:39:49 +0000 (10:39 +0200)] 
removed unused code

13 years agouse errno_to_gerr() in _gnutls_io_check_recv().
Nikos Mavrogiannopoulos [Sun, 2 Sep 2012 08:36:12 +0000 (10:36 +0200)] 
use errno_to_gerr() in _gnutls_io_check_recv().

13 years agoDo not repeatedly set timeout
Nikos Mavrogiannopoulos [Sun, 2 Sep 2012 08:25:52 +0000 (10:25 +0200)] 
Do not repeatedly set timeout

13 years agodocumented fix
Nikos Mavrogiannopoulos [Sat, 1 Sep 2012 17:15:28 +0000 (19:15 +0200)] 
documented fix

13 years agoBe tolerant is ECDSA-violating signatures.
Nikos Mavrogiannopoulos [Sat, 1 Sep 2012 17:07:18 +0000 (19:07 +0200)] 
Be tolerant is ECDSA-violating signatures.

13 years agoAdded server mode tests for the various EC curves.
Nikos Mavrogiannopoulos [Sat, 1 Sep 2012 17:06:09 +0000 (19:06 +0200)] 
Added server mode tests for the various EC curves.

13 years agoAdded heartbeat functions
Nikos Mavrogiannopoulos [Sat, 1 Sep 2012 10:39:13 +0000 (12:39 +0200)] 
Added heartbeat functions

13 years agoAdded suite for ECDSA under various curves
Nikos Mavrogiannopoulos [Sat, 1 Sep 2012 09:27:51 +0000 (11:27 +0200)] 
Added suite for ECDSA under various curves

13 years agodocumented fix
Nikos Mavrogiannopoulos [Sat, 1 Sep 2012 08:34:08 +0000 (10:34 +0200)] 
documented fix

13 years agoRemoved unused ECC code.
Nikos Mavrogiannopoulos [Fri, 31 Aug 2012 17:36:41 +0000 (19:36 +0200)] 
Removed unused ECC code.

Renamed ecc_mulmod_wmnaf -> ecc_mulmod
Renamed ecc_projective_add_point_ng -> ecc_projective_add_point

13 years agoSome small optimizations in heartbeat handling and regeneration of src/ args files.
Nikos Mavrogiannopoulos [Thu, 30 Aug 2012 20:19:52 +0000 (22:19 +0200)] 
Some small optimizations in heartbeat handling and regeneration of src/ args files.

13 years agoremoved unneeded test
Nikos Mavrogiannopoulos [Thu, 30 Aug 2012 18:21:16 +0000 (20:21 +0200)] 
removed unneeded test

13 years agoremoved unneeded test.
Nikos Mavrogiannopoulos [Thu, 30 Aug 2012 18:14:56 +0000 (20:14 +0200)] 
removed unneeded test.

13 years agoBUFFER_APPEND_PFX is no more. Replaced with BUFFER_APPEND_PFX4
Nikos Mavrogiannopoulos [Thu, 30 Aug 2012 18:10:20 +0000 (20:10 +0200)] 
BUFFER_APPEND_PFX is no more. Replaced with BUFFER_APPEND_PFX4

13 years agoAdded Heartbeat extension support.
Olga [Mon, 27 Aug 2012 22:12:56 +0000 (00:12 +0200)] 
Added Heartbeat extension support.

Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
13 years agocorrected deinitialization of wmnaf cache.
Nikos Mavrogiannopoulos [Thu, 30 Aug 2012 18:02:18 +0000 (20:02 +0200)] 
corrected deinitialization of wmnaf cache.

13 years agowMNAF-based multiplication
Ilya Tumaykin [Thu, 30 Aug 2012 07:36:34 +0000 (11:36 +0400)] 
wMNAF-based multiplication

Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
13 years agoAdded extension in TODO list
Nikos Mavrogiannopoulos [Thu, 30 Aug 2012 17:50:24 +0000 (19:50 +0200)] 
Added extension in TODO list

13 years agoOn Linux with /proc/sys/net/ipv6/bindv6only == 0 (which is now the
Nikos Mavrogiannopoulos [Thu, 30 Aug 2012 17:46:06 +0000 (19:46 +0200)] 
On Linux with /proc/sys/net/ipv6/bindv6only == 0 (which is now the
default), gnutls-serv cannot listen on ipv6. Patch by Bernhard R. Link.

13 years agosimplified ECDSA/DSA signature generation in tokens.
Nikos Mavrogiannopoulos [Mon, 27 Aug 2012 16:38:01 +0000 (18:38 +0200)] 
simplified ECDSA/DSA signature generation in tokens.

13 years agodocumented fix
Nikos Mavrogiannopoulos [Sun, 26 Aug 2012 21:26:29 +0000 (23:26 +0200)] 
documented fix

13 years agoRevert "Use _gnutls_dsa_q_to_hash() only for warning reasons."
Nikos Mavrogiannopoulos [Sun, 26 Aug 2012 19:18:53 +0000 (21:18 +0200)] 
Revert "Use _gnutls_dsa_q_to_hash() only for warning reasons."

This reverts commit 8bb82a3d386abc1c59cb16d3a6d8c68fb66a2170.

13 years agofix DSA and ECDSA signing in smart cards.
Nikos Mavrogiannopoulos [Sun, 26 Aug 2012 19:18:35 +0000 (21:18 +0200)] 
fix DSA and ECDSA signing in smart cards.

13 years agonull terminate the certificate being print
Nikos Mavrogiannopoulos [Sun, 26 Aug 2012 19:16:57 +0000 (21:16 +0200)] 
null terminate the certificate being print

13 years agoUse _gnutls_dsa_q_to_hash() only for warning reasons.
Nikos Mavrogiannopoulos [Sun, 26 Aug 2012 18:04:47 +0000 (20:04 +0200)] 
Use _gnutls_dsa_q_to_hash() only for warning reasons.

13 years agodocumented fix
Nikos Mavrogiannopoulos [Sat, 25 Aug 2012 23:11:10 +0000 (01:11 +0200)] 
documented fix

13 years agoChanges in password handling of certtool.
Nikos Mavrogiannopoulos [Sat, 25 Aug 2012 13:38:14 +0000 (15:38 +0200)] 
Changes in password handling of certtool.

Ask password when required and only if the '--password' option is not given.
If the '--password' option is given during key generation then assume the PKCS #8 format.

13 years agoPrevent the usage of strlen() on null values.
Nikos Mavrogiannopoulos [Sat, 25 Aug 2012 13:37:17 +0000 (15:37 +0200)] 
Prevent the usage of strlen() on null values.

13 years agodoc update
Nikos Mavrogiannopoulos [Sat, 25 Aug 2012 13:20:38 +0000 (15:20 +0200)] 
doc update

13 years agoadded new items
Nikos Mavrogiannopoulos [Wed, 22 Aug 2012 17:08:11 +0000 (19:08 +0200)] 
added new items