]> git.ipfire.org Git - thirdparty/gnutls.git/log
thirdparty/gnutls.git
12 years agoupdated for verification updates
Nikos Mavrogiannopoulos [Wed, 26 Feb 2014 11:18:01 +0000 (12:18 +0100)] 
updated for verification updates

12 years agoUpdated verification function
Nikos Mavrogiannopoulos [Tue, 25 Feb 2014 12:44:57 +0000 (13:44 +0100)] 
Updated verification function

12 years agoNew option --stricttofu for gnutls-cli
Jens Lechtenboerger [Sat, 22 Feb 2014 17:43:17 +0000 (18:43 +0100)] 
New option --stricttofu for gnutls-cli

With option --tofu, gnutls-cli waits with a yes-no-question upon
certificate changes.  I added the option --stricttofu that omits the
question and fails instead.

The contribution is in accordance to the "Developer's Certificate of
Origin" as found in the file doc/DCO.txt.

Best wishes
Jens

Signed-off-by: Jens Lechtenbörger <jens.lechtenboerger@fsfe.org>
12 years agomoved priorities check to the first call only.
Nikos Mavrogiannopoulos [Sat, 22 Feb 2014 17:31:08 +0000 (18:31 +0100)] 
moved priorities check to the first call only.

12 years agoremoved duplicate definition; reported by Dennis Philipps.
Nikos Mavrogiannopoulos [Fri, 21 Feb 2014 20:53:01 +0000 (21:53 +0100)] 
removed duplicate definition; reported by Dennis Philipps.

12 years agoupdated coding style
Nikos Mavrogiannopoulos [Fri, 21 Feb 2014 08:27:28 +0000 (09:27 +0100)] 
updated coding style

12 years agodoc update
Nikos Mavrogiannopoulos [Thu, 20 Feb 2014 13:25:47 +0000 (14:25 +0100)] 
doc update

12 years agoadded cert
Nikos Mavrogiannopoulos [Thu, 20 Feb 2014 19:54:33 +0000 (20:54 +0100)] 
added cert

12 years agocorrected check
Nikos Mavrogiannopoulos [Thu, 20 Feb 2014 19:51:53 +0000 (20:51 +0100)] 
corrected check

12 years agocombined timeout values
Nikos Mavrogiannopoulos [Thu, 20 Feb 2014 17:49:35 +0000 (18:49 +0100)] 
combined timeout values

12 years agoupdated
Nikos Mavrogiannopoulos [Thu, 20 Feb 2014 13:20:17 +0000 (14:20 +0100)] 
updated

12 years agodoc update
Nikos Mavrogiannopoulos [Thu, 20 Feb 2014 13:18:11 +0000 (14:18 +0100)] 
doc update

12 years agoWhen appending a name, ensure that we append to the end of the list.
Nikos Mavrogiannopoulos [Thu, 20 Feb 2014 12:06:01 +0000 (13:06 +0100)] 
When appending a name, ensure that we append to the end of the list.

12 years agouse gnutls_free()
Nikos Mavrogiannopoulos [Thu, 20 Feb 2014 11:55:25 +0000 (12:55 +0100)] 
use gnutls_free()

12 years agocorrected email in texi
Nikos Mavrogiannopoulos [Thu, 20 Feb 2014 08:52:21 +0000 (09:52 +0100)] 
corrected email in texi

12 years agosrp: Add resistance against guessing usernames
Attila Molnar [Thu, 20 Feb 2014 05:28:12 +0000 (06:28 +0100)] 
srp: Add resistance against guessing usernames

When a client tries to authenticate using an unknown username, instead of
generating a random salt every time, generate the salt based on the
username and a secret seed.

The seed is settable by the application, allowing servers to re-use the
same seed after a restart.

A random seed is generated for each newly allocated SRP server credentials
structure, meaning that applications not using the new API to set the seed
continue to work and gain limited advantage (because they use a different
seed after every restart).

For further information see section 2.5.1.3. in RFC 5054.

Signed-off-by: Attila Molnar <attilamolnar@hush.com>
12 years agosmall artistic changes
Nikos Mavrogiannopoulos [Thu, 20 Feb 2014 08:33:18 +0000 (09:33 +0100)] 
small artistic changes

12 years agocheck against the success value
Nikos Mavrogiannopoulos [Thu, 20 Feb 2014 08:16:50 +0000 (09:16 +0100)] 
check against the success value

12 years agouse bool types when needed.
Nikos Mavrogiannopoulos [Wed, 19 Feb 2014 15:40:54 +0000 (16:40 +0100)] 
use bool types when needed.

12 years agoensure failure when parsing fails.
Nikos Mavrogiannopoulos [Wed, 19 Feb 2014 14:41:33 +0000 (15:41 +0100)] 
ensure failure when parsing fails.

12 years agoallow ip address as constraint
Nikos Mavrogiannopoulos [Wed, 19 Feb 2014 14:25:08 +0000 (15:25 +0100)] 
allow ip address as constraint

12 years agoAdded check for IPaddress
Nikos Mavrogiannopoulos [Wed, 19 Feb 2014 14:24:14 +0000 (15:24 +0100)] 
Added check for IPaddress

12 years agodoc update
Nikos Mavrogiannopoulos [Wed, 19 Feb 2014 14:23:30 +0000 (15:23 +0100)] 
doc update

12 years agoAdded tests for name constraints addition.
Nikos Mavrogiannopoulos [Wed, 19 Feb 2014 14:22:19 +0000 (15:22 +0100)] 
Added tests for name constraints addition.

12 years agobetter error printing
Nikos Mavrogiannopoulos [Wed, 19 Feb 2014 14:07:03 +0000 (15:07 +0100)] 
better error printing

12 years agocorrected empty name check
Nikos Mavrogiannopoulos [Wed, 19 Feb 2014 14:01:09 +0000 (15:01 +0100)] 
corrected empty name check

12 years agoUpdated test for name constraints to include empty constraints names.
Nikos Mavrogiannopoulos [Wed, 19 Feb 2014 13:50:51 +0000 (14:50 +0100)] 
Updated test for name constraints to include empty constraints names.

12 years agopretty print empty DNSnames
Nikos Mavrogiannopoulos [Wed, 19 Feb 2014 13:49:20 +0000 (14:49 +0100)] 
pretty print empty DNSnames

12 years ago_gnutls_x509_read_value() can now read empty values.
Nikos Mavrogiannopoulos [Wed, 19 Feb 2014 13:45:24 +0000 (14:45 +0100)] 
_gnutls_x509_read_value() can now read empty values.

12 years agoAllow empty names.
Nikos Mavrogiannopoulos [Wed, 19 Feb 2014 13:15:16 +0000 (14:15 +0100)] 
Allow empty names.

12 years agoremoved debugging
Nikos Mavrogiannopoulos [Wed, 19 Feb 2014 13:05:41 +0000 (14:05 +0100)] 
removed debugging

12 years agoAdded check for null
Nikos Mavrogiannopoulos [Wed, 19 Feb 2014 13:03:46 +0000 (14:03 +0100)] 
Added check for null

12 years agoIf alternative names are found, don't bother checking the DN.
Nikos Mavrogiannopoulos [Wed, 19 Feb 2014 12:57:30 +0000 (13:57 +0100)] 
If alternative names are found, don't bother checking the DN.

12 years agoAdded tool to create a certificate chain
Nikos Mavrogiannopoulos [Wed, 19 Feb 2014 12:42:17 +0000 (13:42 +0100)] 
Added tool to create a certificate chain

12 years agoproperly indent name constraints
Nikos Mavrogiannopoulos [Wed, 19 Feb 2014 12:13:13 +0000 (13:13 +0100)] 
properly indent name constraints

12 years ago_gnutls_parse_general_name2() will return the expected data
Nikos Mavrogiannopoulos [Wed, 19 Feb 2014 12:11:19 +0000 (13:11 +0100)] 
_gnutls_parse_general_name2() will return the expected data

12 years agocerttool allows setting name constraints.
Nikos Mavrogiannopoulos [Wed, 19 Feb 2014 10:37:46 +0000 (11:37 +0100)] 
certtool allows setting name constraints.

12 years agoremoved false warnings
Nikos Mavrogiannopoulos [Wed, 19 Feb 2014 10:47:59 +0000 (11:47 +0100)] 
removed false warnings

12 years agosimplify names
Nikos Mavrogiannopoulos [Wed, 19 Feb 2014 10:08:31 +0000 (11:08 +0100)] 
simplify names

12 years agoVerify name constraints.
Nikos Mavrogiannopoulos [Wed, 19 Feb 2014 10:04:20 +0000 (11:04 +0100)] 
Verify name constraints.

12 years agoAdded gnutls_x509_name_constraints_check_crt
Nikos Mavrogiannopoulos [Wed, 19 Feb 2014 09:19:43 +0000 (10:19 +0100)] 
Added gnutls_x509_name_constraints_check_crt

This function will check name constraints against all the names
in a certificate.

12 years agoAdded support for e-mail constraints.
Nikos Mavrogiannopoulos [Wed, 19 Feb 2014 09:01:49 +0000 (10:01 +0100)] 
Added support for e-mail constraints.

12 years agoAdded more constraints tests for unsupported structures.
Nikos Mavrogiannopoulos [Wed, 19 Feb 2014 06:40:22 +0000 (07:40 +0100)] 
Added more constraints tests for unsupported structures.

12 years agoCorrected check for present constraints in unsupported types.
Nikos Mavrogiannopoulos [Wed, 19 Feb 2014 06:39:44 +0000 (07:39 +0100)] 
Corrected check for present constraints in unsupported types.

12 years agofix small leak
Nikos Mavrogiannopoulos [Tue, 18 Feb 2014 15:52:40 +0000 (16:52 +0100)] 
fix small leak

12 years agoWhen verifying a response and a signer isn't provided assume that the signer is the...
Nikos Mavrogiannopoulos [Tue, 18 Feb 2014 15:52:02 +0000 (16:52 +0100)] 
When verifying a response and a signer isn't provided assume that the signer is the issuer.

12 years agoWhen sending a nonce in OCSP check if it is available on the reply.
Nikos Mavrogiannopoulos [Tue, 18 Feb 2014 15:36:38 +0000 (16:36 +0100)] 
When sending a nonce in OCSP check if it is available on the reply.

12 years agoproperly deinitialize name constraints structure.
Nikos Mavrogiannopoulos [Tue, 18 Feb 2014 15:31:22 +0000 (16:31 +0100)] 
properly deinitialize name constraints structure.

12 years agoVerify in example that the sent nonce matches the received nonce.
Nikos Mavrogiannopoulos [Tue, 18 Feb 2014 14:59:05 +0000 (15:59 +0100)] 
Verify in example that the sent nonce matches the received nonce.

Reported by Benny Baumann.

12 years agoAdded missing file
Nikos Mavrogiannopoulos [Tue, 18 Feb 2014 14:38:37 +0000 (15:38 +0100)] 
Added missing file

12 years agopriority string flag VERIFY_ALLOW_X509_V1_CA_CRT is now a dummy
Nikos Mavrogiannopoulos [Mon, 17 Feb 2014 15:09:02 +0000 (16:09 +0100)] 
priority string flag VERIFY_ALLOW_X509_V1_CA_CRT is now a dummy

12 years agoreinitialize the handshake timers when gnutls_handshake() is called.
Nikos Mavrogiannopoulos [Tue, 18 Feb 2014 08:17:32 +0000 (09:17 +0100)] 
reinitialize the handshake timers when gnutls_handshake() is called.

12 years agoImproved DTLS rehandshake test to catch a timeout issue in handshake().
Nikos Mavrogiannopoulos [Tue, 18 Feb 2014 08:23:54 +0000 (09:23 +0100)] 
Improved DTLS rehandshake test to catch a timeout issue in handshake().

12 years agodoc update
Nikos Mavrogiannopoulos [Tue, 18 Feb 2014 08:05:34 +0000 (09:05 +0100)] 
doc update

12 years agoAllow multiple flags in gnutls_x509_crt_get_name_constraints()
Nikos Mavrogiannopoulos [Tue, 18 Feb 2014 06:49:45 +0000 (07:49 +0100)] 
Allow multiple flags in gnutls_x509_crt_get_name_constraints()

12 years agoDo not deinitialize the constraints structure when reading the constraints fails.
Nikos Mavrogiannopoulos [Tue, 18 Feb 2014 06:44:58 +0000 (07:44 +0100)] 
Do not deinitialize the constraints structure when reading the constraints fails.

12 years agoAllow appending name constraints.
Nikos Mavrogiannopoulos [Tue, 18 Feb 2014 06:44:02 +0000 (07:44 +0100)] 
Allow appending name constraints.

12 years agoAllow setting a non-critical name-constraints extension.
Nikos Mavrogiannopoulos [Tue, 18 Feb 2014 06:36:47 +0000 (07:36 +0100)] 
Allow setting a non-critical name-constraints extension.

12 years agobetter checking of unsupported constraints.
Nikos Mavrogiannopoulos [Tue, 18 Feb 2014 06:33:56 +0000 (07:33 +0100)] 
better checking of unsupported constraints.

12 years agodoc update
Nikos Mavrogiannopoulos [Mon, 17 Feb 2014 12:46:47 +0000 (13:46 +0100)] 
doc update

12 years agoAdded support for name constraints X.509 extension.
Nikos Mavrogiannopoulos [Thu, 13 Feb 2014 13:47:14 +0000 (14:47 +0100)] 
Added support for name constraints X.509 extension.

This allows to generate and read the name constraints extension,
as well as check against the DNSNAME value.

12 years agodepend on p11-kit 0.20.0 or later
Nikos Mavrogiannopoulos [Sat, 15 Feb 2014 17:16:30 +0000 (18:16 +0100)] 
depend on p11-kit 0.20.0 or later

12 years agochanged names for clarity
Nikos Mavrogiannopoulos [Sat, 15 Feb 2014 14:38:18 +0000 (15:38 +0100)] 
changed names for clarity

12 years agoCorrected bug in gnutls_pcert_list_import_x509_raw().
Nikos Mavrogiannopoulos [Sat, 15 Feb 2014 09:06:21 +0000 (10:06 +0100)] 
Corrected bug in gnutls_pcert_list_import_x509_raw().

The bug caused gnutls_pcert_list_import_x509_raw() to crash if
gnutls_x509_crt_list_import() would fail with the provided data.
Reported by Dmitriy Anisimkov.

12 years agocorrected suppressions file
Nikos Mavrogiannopoulos [Fri, 14 Feb 2014 06:59:56 +0000 (07:59 +0100)] 
corrected suppressions file

12 years agodo not mention GNUTLS_VERIFY_ALLOW_X509_V1_CA_CRT in documentation
Nikos Mavrogiannopoulos [Fri, 14 Feb 2014 06:50:00 +0000 (07:50 +0100)] 
do not mention GNUTLS_VERIFY_ALLOW_X509_V1_CA_CRT in documentation

12 years agoremoved deprecated flag
Nikos Mavrogiannopoulos [Fri, 14 Feb 2014 06:36:19 +0000 (07:36 +0100)] 
removed deprecated flag

12 years agoadded Ted
Nikos Mavrogiannopoulos [Thu, 13 Feb 2014 18:39:05 +0000 (19:39 +0100)] 
added Ted

12 years agoUse pre-generated keys for self-tests.
Nikos Mavrogiannopoulos [Thu, 13 Feb 2014 13:45:21 +0000 (14:45 +0100)] 
Use pre-generated keys for self-tests.

12 years agoset value to null after releasing
Nikos Mavrogiannopoulos [Thu, 13 Feb 2014 13:43:50 +0000 (14:43 +0100)] 
set value to null after releasing

12 years agogenerate keys in the acceptable sizes in FIPS140 mode
Nikos Mavrogiannopoulos [Thu, 13 Feb 2014 13:32:53 +0000 (14:32 +0100)] 
generate keys in the acceptable sizes in FIPS140 mode

12 years agogenerate 2048 bit keys in RSA mode
Nikos Mavrogiannopoulos [Thu, 13 Feb 2014 12:43:12 +0000 (13:43 +0100)] 
generate 2048 bit keys in RSA mode

12 years agoAdded _gnutls_parse_general_name2()
Nikos Mavrogiannopoulos [Thu, 13 Feb 2014 12:36:33 +0000 (13:36 +0100)] 
Added _gnutls_parse_general_name2()

12 years agoensure that _gnutls_x509_read_value works as documented.
Nikos Mavrogiannopoulos [Thu, 13 Feb 2014 12:28:20 +0000 (13:28 +0100)] 
ensure that _gnutls_x509_read_value works as documented.

12 years agoensure that the issuer in present in a trusted module.
Nikos Mavrogiannopoulos [Thu, 13 Feb 2014 09:05:28 +0000 (10:05 +0100)] 
ensure that the issuer in present in a trusted module.

12 years agoremoved flag GNUTLS_PKCS11_TOKEN_TRUSTED_UINT
Nikos Mavrogiannopoulos [Thu, 13 Feb 2014 08:47:39 +0000 (09:47 +0100)] 
removed flag GNUTLS_PKCS11_TOKEN_TRUSTED_UINT

12 years agoAdded flag GNUTLS_PKCS11_TOKEN_TRUSTED for gnutls_pkcs11_token_get_flags().
Nikos Mavrogiannopoulos [Thu, 13 Feb 2014 08:39:57 +0000 (09:39 +0100)] 
Added flag GNUTLS_PKCS11_TOKEN_TRUSTED for gnutls_pkcs11_token_get_flags().

12 years agoUse the GNUTLS_PKCS11_OBJ_FLAG_PRESENT_IN_TRUSTED_MODULE to ensure that only trusted...
Nikos Mavrogiannopoulos [Thu, 13 Feb 2014 08:25:59 +0000 (09:25 +0100)] 
Use the GNUTLS_PKCS11_OBJ_FLAG_PRESENT_IN_TRUSTED_MODULE to ensure that only trusted modules are used.

12 years agoAdded flag GNUTLS_PKCS11_OBJ_FLAG_PRESENT_IN_TRUSTED_MODULE.
Nikos Mavrogiannopoulos [Thu, 13 Feb 2014 08:22:25 +0000 (09:22 +0100)] 
Added flag GNUTLS_PKCS11_OBJ_FLAG_PRESENT_IN_TRUSTED_MODULE.

This flag can be used to ensure that the object request lies on
a marked as trusted PKCS #11 module. The marking is done on
p11-kit configuration.

12 years agomark trusted p11-kit modules as trusted.
Nikos Mavrogiannopoulos [Thu, 13 Feb 2014 08:09:50 +0000 (09:09 +0100)] 
mark trusted p11-kit modules as trusted.

12 years agofixed socket existance checking
Marcus Meissner [Wed, 12 Feb 2014 19:58:43 +0000 (20:58 +0100)] 
fixed socket existance checking

If getaddrinfo returns: ipv4 address, ipv6 address ... and socket() for
the ipv6 address fails, this loop would fail and abort the socket listen
code.

Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
12 years agoApplied part of Ted Zlatanov's patch.
Nikos Mavrogiannopoulos [Wed, 12 Feb 2014 18:49:46 +0000 (19:49 +0100)] 
Applied part of Ted Zlatanov's patch.

12 years agoAdded test for pathlen constraints.
Nikos Mavrogiannopoulos [Wed, 12 Feb 2014 15:32:35 +0000 (16:32 +0100)] 
Added test for pathlen constraints.

12 years agoAdded check for v1 intermediate CA certificate
Nikos Mavrogiannopoulos [Wed, 12 Feb 2014 15:12:29 +0000 (16:12 +0100)] 
Added check for v1 intermediate CA certificate

12 years agoFix bug that prevented the rejection of v1 intermediate CA certificates.
Nikos Mavrogiannopoulos [Wed, 12 Feb 2014 15:11:58 +0000 (16:11 +0100)] 
Fix bug that prevented the rejection of v1 intermediate CA certificates.

Reported by Suman Jana.

12 years agoremoved unused function
Nikos Mavrogiannopoulos [Wed, 12 Feb 2014 08:45:05 +0000 (09:45 +0100)] 
removed unused function

12 years agodoc update
Nikos Mavrogiannopoulos [Tue, 11 Feb 2014 09:03:50 +0000 (10:03 +0100)] 
doc update

12 years agoUse longer timestamps for serial numbers.
Nikos Mavrogiannopoulos [Tue, 11 Feb 2014 09:02:20 +0000 (10:02 +0100)] 
Use longer timestamps for serial numbers.

12 years agoupdated indent cmd
Nikos Mavrogiannopoulos [Mon, 10 Feb 2014 09:50:23 +0000 (10:50 +0100)] 
updated indent cmd

12 years agocorrected indent parameters
Nikos Mavrogiannopoulos [Mon, 10 Feb 2014 09:48:54 +0000 (10:48 +0100)] 
corrected indent parameters

12 years agodo not redefine the _gnutls_x86_cpuid_s symbol
Nikos Mavrogiannopoulos [Mon, 10 Feb 2014 09:43:52 +0000 (10:43 +0100)] 
do not redefine the _gnutls_x86_cpuid_s symbol

12 years agoAdjusted the security levels of PFS, SECURE128 and SECURE192 keywords.
Nikos Mavrogiannopoulos [Fri, 7 Feb 2014 07:45:48 +0000 (08:45 +0100)] 
Adjusted the security levels of PFS, SECURE128 and SECURE192 keywords.

12 years agoreduced security levels of SECURE128 and SECURE192 strings.
Nikos Mavrogiannopoulos [Fri, 7 Feb 2014 07:45:48 +0000 (08:45 +0100)] 
reduced security levels of SECURE128 and SECURE192 strings.

12 years agoonly test libz if it is available
Nikos Mavrogiannopoulos [Thu, 6 Feb 2014 16:52:52 +0000 (17:52 +0100)] 
only test libz if it is available

12 years agocheck errors from gnutls_priority_set_direct().
Nikos Mavrogiannopoulos [Thu, 6 Feb 2014 16:48:43 +0000 (17:48 +0100)] 
check errors from gnutls_priority_set_direct().

12 years agodoc update
Nikos Mavrogiannopoulos [Thu, 6 Feb 2014 07:48:36 +0000 (08:48 +0100)] 
doc update

12 years agoincreased the interval between reading /dev/urandom
Nikos Mavrogiannopoulos [Thu, 6 Feb 2014 07:48:21 +0000 (08:48 +0100)] 
increased the interval between reading /dev/urandom

12 years agoSync with TP.
Nikos Mavrogiannopoulos [Wed, 5 Feb 2014 10:38:14 +0000 (11:38 +0100)] 
Sync with TP.

12 years agoAdded --ask-pass certtool option to allow asking for passwords even when in batch...
Nikos Mavrogiannopoulos [Wed, 5 Feb 2014 09:24:15 +0000 (10:24 +0100)] 
Added --ask-pass certtool option to allow asking for passwords even when in batch mode.

12 years agouse newlines in error printing
Nikos Mavrogiannopoulos [Wed, 5 Feb 2014 09:06:58 +0000 (10:06 +0100)] 
use newlines in error printing