]>
git.ipfire.org Git - thirdparty/gnutls.git/log
Nikos Mavrogiannopoulos [Wed, 26 Feb 2014 11:18:01 +0000 (12:18 +0100)]
updated for verification updates
Nikos Mavrogiannopoulos [Tue, 25 Feb 2014 12:44:57 +0000 (13:44 +0100)]
Updated verification function
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>
Nikos Mavrogiannopoulos [Sat, 22 Feb 2014 17:31:08 +0000 (18:31 +0100)]
moved priorities check to the first call only.
Nikos Mavrogiannopoulos [Fri, 21 Feb 2014 20:53:01 +0000 (21:53 +0100)]
removed duplicate definition; reported by Dennis Philipps.
Nikos Mavrogiannopoulos [Fri, 21 Feb 2014 08:27:28 +0000 (09:27 +0100)]
updated coding style
Nikos Mavrogiannopoulos [Thu, 20 Feb 2014 13:25:47 +0000 (14:25 +0100)]
doc update
Nikos Mavrogiannopoulos [Thu, 20 Feb 2014 19:54:33 +0000 (20:54 +0100)]
added cert
Nikos Mavrogiannopoulos [Thu, 20 Feb 2014 19:51:53 +0000 (20:51 +0100)]
corrected check
Nikos Mavrogiannopoulos [Thu, 20 Feb 2014 17:49:35 +0000 (18:49 +0100)]
combined timeout values
Nikos Mavrogiannopoulos [Thu, 20 Feb 2014 13:20:17 +0000 (14:20 +0100)]
updated
Nikos Mavrogiannopoulos [Thu, 20 Feb 2014 13:18:11 +0000 (14:18 +0100)]
doc update
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.
Nikos Mavrogiannopoulos [Thu, 20 Feb 2014 11:55:25 +0000 (12:55 +0100)]
use gnutls_free()
Nikos Mavrogiannopoulos [Thu, 20 Feb 2014 08:52:21 +0000 (09:52 +0100)]
corrected email in texi
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>
Nikos Mavrogiannopoulos [Thu, 20 Feb 2014 08:33:18 +0000 (09:33 +0100)]
small artistic changes
Nikos Mavrogiannopoulos [Thu, 20 Feb 2014 08:16:50 +0000 (09:16 +0100)]
check against the success value
Nikos Mavrogiannopoulos [Wed, 19 Feb 2014 15:40:54 +0000 (16:40 +0100)]
use bool types when needed.
Nikos Mavrogiannopoulos [Wed, 19 Feb 2014 14:41:33 +0000 (15:41 +0100)]
ensure failure when parsing fails.
Nikos Mavrogiannopoulos [Wed, 19 Feb 2014 14:25:08 +0000 (15:25 +0100)]
allow ip address as constraint
Nikos Mavrogiannopoulos [Wed, 19 Feb 2014 14:24:14 +0000 (15:24 +0100)]
Added check for IPaddress
Nikos Mavrogiannopoulos [Wed, 19 Feb 2014 14:23:30 +0000 (15:23 +0100)]
doc update
Nikos Mavrogiannopoulos [Wed, 19 Feb 2014 14:22:19 +0000 (15:22 +0100)]
Added tests for name constraints addition.
Nikos Mavrogiannopoulos [Wed, 19 Feb 2014 14:07:03 +0000 (15:07 +0100)]
better error printing
Nikos Mavrogiannopoulos [Wed, 19 Feb 2014 14:01:09 +0000 (15:01 +0100)]
corrected empty name check
Nikos Mavrogiannopoulos [Wed, 19 Feb 2014 13:50:51 +0000 (14:50 +0100)]
Updated test for name constraints to include empty constraints names.
Nikos Mavrogiannopoulos [Wed, 19 Feb 2014 13:49:20 +0000 (14:49 +0100)]
pretty print empty DNSnames
Nikos Mavrogiannopoulos [Wed, 19 Feb 2014 13:45:24 +0000 (14:45 +0100)]
_gnutls_x509_read_value() can now read empty values.
Nikos Mavrogiannopoulos [Wed, 19 Feb 2014 13:15:16 +0000 (14:15 +0100)]
Allow empty names.
Nikos Mavrogiannopoulos [Wed, 19 Feb 2014 13:05:41 +0000 (14:05 +0100)]
removed debugging
Nikos Mavrogiannopoulos [Wed, 19 Feb 2014 13:03:46 +0000 (14:03 +0100)]
Added check for null
Nikos Mavrogiannopoulos [Wed, 19 Feb 2014 12:57:30 +0000 (13:57 +0100)]
If alternative names are found, don't bother checking the DN.
Nikos Mavrogiannopoulos [Wed, 19 Feb 2014 12:42:17 +0000 (13:42 +0100)]
Added tool to create a certificate chain
Nikos Mavrogiannopoulos [Wed, 19 Feb 2014 12:13:13 +0000 (13:13 +0100)]
properly indent name constraints
Nikos Mavrogiannopoulos [Wed, 19 Feb 2014 12:11:19 +0000 (13:11 +0100)]
_gnutls_parse_general_name2() will return the expected data
Nikos Mavrogiannopoulos [Wed, 19 Feb 2014 10:37:46 +0000 (11:37 +0100)]
certtool allows setting name constraints.
Nikos Mavrogiannopoulos [Wed, 19 Feb 2014 10:47:59 +0000 (11:47 +0100)]
removed false warnings
Nikos Mavrogiannopoulos [Wed, 19 Feb 2014 10:08:31 +0000 (11:08 +0100)]
simplify names
Nikos Mavrogiannopoulos [Wed, 19 Feb 2014 10:04:20 +0000 (11:04 +0100)]
Verify name constraints.
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.
Nikos Mavrogiannopoulos [Wed, 19 Feb 2014 09:01:49 +0000 (10:01 +0100)]
Added support for e-mail constraints.
Nikos Mavrogiannopoulos [Wed, 19 Feb 2014 06:40:22 +0000 (07:40 +0100)]
Added more constraints tests for unsupported structures.
Nikos Mavrogiannopoulos [Wed, 19 Feb 2014 06:39:44 +0000 (07:39 +0100)]
Corrected check for present constraints in unsupported types.
Nikos Mavrogiannopoulos [Tue, 18 Feb 2014 15:52:40 +0000 (16:52 +0100)]
fix small leak
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.
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.
Nikos Mavrogiannopoulos [Tue, 18 Feb 2014 15:31:22 +0000 (16:31 +0100)]
properly deinitialize name constraints structure.
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.
Nikos Mavrogiannopoulos [Tue, 18 Feb 2014 14:38:37 +0000 (15:38 +0100)]
Added missing file
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
Nikos Mavrogiannopoulos [Tue, 18 Feb 2014 08:17:32 +0000 (09:17 +0100)]
reinitialize the handshake timers when gnutls_handshake() is called.
Nikos Mavrogiannopoulos [Tue, 18 Feb 2014 08:23:54 +0000 (09:23 +0100)]
Improved DTLS rehandshake test to catch a timeout issue in handshake().
Nikos Mavrogiannopoulos [Tue, 18 Feb 2014 08:05:34 +0000 (09:05 +0100)]
doc update
Nikos Mavrogiannopoulos [Tue, 18 Feb 2014 06:49:45 +0000 (07:49 +0100)]
Allow multiple flags in gnutls_x509_crt_get_name_constraints()
Nikos Mavrogiannopoulos [Tue, 18 Feb 2014 06:44:58 +0000 (07:44 +0100)]
Do not deinitialize the constraints structure when reading the constraints fails.
Nikos Mavrogiannopoulos [Tue, 18 Feb 2014 06:44:02 +0000 (07:44 +0100)]
Allow appending name constraints.
Nikos Mavrogiannopoulos [Tue, 18 Feb 2014 06:36:47 +0000 (07:36 +0100)]
Allow setting a non-critical name-constraints extension.
Nikos Mavrogiannopoulos [Tue, 18 Feb 2014 06:33:56 +0000 (07:33 +0100)]
better checking of unsupported constraints.
Nikos Mavrogiannopoulos [Mon, 17 Feb 2014 12:46:47 +0000 (13:46 +0100)]
doc update
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.
Nikos Mavrogiannopoulos [Sat, 15 Feb 2014 17:16:30 +0000 (18:16 +0100)]
depend on p11-kit 0.20.0 or later
Nikos Mavrogiannopoulos [Sat, 15 Feb 2014 14:38:18 +0000 (15:38 +0100)]
changed names for clarity
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.
Nikos Mavrogiannopoulos [Fri, 14 Feb 2014 06:59:56 +0000 (07:59 +0100)]
corrected suppressions file
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
Nikos Mavrogiannopoulos [Fri, 14 Feb 2014 06:36:19 +0000 (07:36 +0100)]
removed deprecated flag
Nikos Mavrogiannopoulos [Thu, 13 Feb 2014 18:39:05 +0000 (19:39 +0100)]
added Ted
Nikos Mavrogiannopoulos [Thu, 13 Feb 2014 13:45:21 +0000 (14:45 +0100)]
Use pre-generated keys for self-tests.
Nikos Mavrogiannopoulos [Thu, 13 Feb 2014 13:43:50 +0000 (14:43 +0100)]
set value to null after releasing
Nikos Mavrogiannopoulos [Thu, 13 Feb 2014 13:32:53 +0000 (14:32 +0100)]
generate keys in the acceptable sizes in FIPS140 mode
Nikos Mavrogiannopoulos [Thu, 13 Feb 2014 12:43:12 +0000 (13:43 +0100)]
generate 2048 bit keys in RSA mode
Nikos Mavrogiannopoulos [Thu, 13 Feb 2014 12:36:33 +0000 (13:36 +0100)]
Added _gnutls_parse_general_name2()
Nikos Mavrogiannopoulos [Thu, 13 Feb 2014 12:28:20 +0000 (13:28 +0100)]
ensure that _gnutls_x509_read_value works as documented.
Nikos Mavrogiannopoulos [Thu, 13 Feb 2014 09:05:28 +0000 (10:05 +0100)]
ensure that the issuer in present in a trusted module.
Nikos Mavrogiannopoulos [Thu, 13 Feb 2014 08:47:39 +0000 (09:47 +0100)]
removed flag GNUTLS_PKCS11_TOKEN_TRUSTED_UINT
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().
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.
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.
Nikos Mavrogiannopoulos [Thu, 13 Feb 2014 08:09:50 +0000 (09:09 +0100)]
mark trusted p11-kit modules as trusted.
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>
Nikos Mavrogiannopoulos [Wed, 12 Feb 2014 18:49:46 +0000 (19:49 +0100)]
Applied part of Ted Zlatanov's patch.
Nikos Mavrogiannopoulos [Wed, 12 Feb 2014 15:32:35 +0000 (16:32 +0100)]
Added test for pathlen constraints.
Nikos Mavrogiannopoulos [Wed, 12 Feb 2014 15:12:29 +0000 (16:12 +0100)]
Added check for v1 intermediate CA certificate
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.
Nikos Mavrogiannopoulos [Wed, 12 Feb 2014 08:45:05 +0000 (09:45 +0100)]
removed unused function
Nikos Mavrogiannopoulos [Tue, 11 Feb 2014 09:03:50 +0000 (10:03 +0100)]
doc update
Nikos Mavrogiannopoulos [Tue, 11 Feb 2014 09:02:20 +0000 (10:02 +0100)]
Use longer timestamps for serial numbers.
Nikos Mavrogiannopoulos [Mon, 10 Feb 2014 09:50:23 +0000 (10:50 +0100)]
updated indent cmd
Nikos Mavrogiannopoulos [Mon, 10 Feb 2014 09:48:54 +0000 (10:48 +0100)]
corrected indent parameters
Nikos Mavrogiannopoulos [Mon, 10 Feb 2014 09:43:52 +0000 (10:43 +0100)]
do not redefine the _gnutls_x86_cpuid_s symbol
Nikos Mavrogiannopoulos [Fri, 7 Feb 2014 07:45:48 +0000 (08:45 +0100)]
Adjusted the security levels of PFS, SECURE128 and SECURE192 keywords.
Nikos Mavrogiannopoulos [Fri, 7 Feb 2014 07:45:48 +0000 (08:45 +0100)]
reduced security levels of SECURE128 and SECURE192 strings.
Nikos Mavrogiannopoulos [Thu, 6 Feb 2014 16:52:52 +0000 (17:52 +0100)]
only test libz if it is available
Nikos Mavrogiannopoulos [Thu, 6 Feb 2014 16:48:43 +0000 (17:48 +0100)]
check errors from gnutls_priority_set_direct().
Nikos Mavrogiannopoulos [Thu, 6 Feb 2014 07:48:36 +0000 (08:48 +0100)]
doc update
Nikos Mavrogiannopoulos [Thu, 6 Feb 2014 07:48:21 +0000 (08:48 +0100)]
increased the interval between reading /dev/urandom
Nikos Mavrogiannopoulos [Wed, 5 Feb 2014 10:38:14 +0000 (11:38 +0100)]
Sync with TP.
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.
Nikos Mavrogiannopoulos [Wed, 5 Feb 2014 09:06:58 +0000 (10:06 +0100)]
use newlines in error printing