]>
git.ipfire.org Git - thirdparty/gnutls.git/log
Nikos Mavrogiannopoulos [Wed, 27 Jun 2018 19:46:24 +0000 (21:46 +0200)]
p11tool: remove duplicate branch
The GNUTLS_PKCS11_OBJ_ATTR_MATCH and GNUTLS_PKCS11_OBJ_ATTR_ALL
attributes are the same, so there is no need to handle them
separately.
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
Tim Rühsen [Tue, 26 Jun 2018 10:50:30 +0000 (12:50 +0200)]
Add strdup-posix gnulib module
Some files in gl/tests won't build in environments without
strdup(), e.g. MinGW on Debian. The gnulib docs advise to
explicitly add the module.
Signed-off-by: Tim Rühsen <tim.ruehsen@gmx.de>
Nikos Mavrogiannopoulos [Thu, 21 Jun 2018 09:29:19 +0000 (11:29 +0200)]
testcompat-tls13-openssl: fix openssl interactions
* Do not require certificate validation on tests where no certificate is sent
* Rekey test performs data transfer after re-key
This introduces a dependency on the expect package for testing, and
updates openssl to address an issue in post-handshake auth interop
testing.
Resolves #488
Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
Nikos Mavrogiannopoulos [Fri, 22 Jun 2018 12:14:07 +0000 (14:14 +0200)]
gnutls-serv: when post-handshake auth is asked; require a certificate
This allows testing post-handshake authentication using gnutls-serv.
Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
Nikos Mavrogiannopoulos [Thu, 21 Jun 2018 13:05:40 +0000 (15:05 +0200)]
key update: corrected generation of keys
Resolves #485
Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
Nikos Mavrogiannopoulos [Thu, 21 Jun 2018 06:46:04 +0000 (08:46 +0200)]
gnutls-cli: wait for all server data prior to closing connection
This cleans-up the existing code which was disfunctional and
allows detecting errors which happen after we transmit data
to the server.
Relates #485
Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
Nikos Mavrogiannopoulos [Wed, 27 Jun 2018 11:34:16 +0000 (13:34 +0200)]
.gitignore: added new test executables
Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
Nikos Mavrogiannopoulos [Wed, 27 Jun 2018 11:27:39 +0000 (13:27 +0200)]
tests: eliminated compiler warnings
Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
Dmitry Eremin-Solenikov [Tue, 26 Jun 2018 13:02:45 +0000 (16:02 +0300)]
Update .gitignore files according to bootstrap
Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Dmitry Eremin-Solenikov [Tue, 26 Jun 2018 12:22:49 +0000 (15:22 +0300)]
src: fix regenerating autogen files if builddir = srcdir
Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Tim Rühsen [Tue, 26 Jun 2018 19:33:00 +0000 (19:33 +0000)]
Merge branch 'timespec-overflow2' into 'master'
avoid more possible overflows when substracting timespecs
See merge request gnutls/gnutls!685
Rolf Eike Beer [Tue, 26 Jun 2018 13:18:36 +0000 (15:18 +0200)]
convert from milliseconds to timespec without loop
Signed-off-by: Rolf Eike Beer <eike@sf-mail.de>
Rolf Eike Beer [Tue, 26 Jun 2018 13:02:51 +0000 (15:02 +0200)]
use timespec_sub_ms() instead of open coding it
Signed-off-by: Rolf Eike Beer <eike@sf-mail.de>
Rolf Eike Beer [Tue, 26 Jun 2018 12:59:54 +0000 (14:59 +0200)]
avoid overflow when substracting timespecs if rdtsc is not available
This may still overflow on platforms where unsigned long is 32 bit (e.g. 32 bit
Un*x, any Windows) when the delta is more than 4 seconds.
Signed-off-by: Rolf Eike Beer <eike@sf-mail.de>
Dmitry Eremin-Solenikov [Tue, 26 Jun 2018 08:38:58 +0000 (11:38 +0300)]
lib/nettle/gost: support building with mini-nettle/mini-gmp
Do not depend directly on gmp.h.
Closes: #497
Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Rolf Eike Beer [Tue, 26 Jun 2018 07:39:19 +0000 (09:39 +0200)]
avoid rounding errors and overflows when substracting timespecs
The current Unix time will cause overflows if multiplied with 1000, which could
lead to rounding errors afterwards. Do the substractions first so all numbers
stay small enough to fit into unsigned ints.
Signed-off-by: Rolf Eike Beer <eike@sf-mail.de>
Nikos Mavrogiannopoulos [Tue, 26 Jun 2018 10:36:32 +0000 (10:36 +0000)]
Merge branch 'tmp-fix-fips-generation' into 'master'
wrap_nettle_pk_generate_keys: retry on provable key generation
Closes #283
See merge request gnutls/gnutls!681
Nikos Mavrogiannopoulos [Mon, 25 Jun 2018 10:30:55 +0000 (12:30 +0200)]
wrap_nettle_pk_generate_keys: retry on provable key generation
This resolves issue with occasional failures under RSA key generation
in FIPS140-2 mode.
Resolves #283
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
Nikos Mavrogiannopoulos [Tue, 26 Jun 2018 07:08:30 +0000 (07:08 +0000)]
Merge branch 'auto-sync-translations' into 'master'
Let ./bootstrap sync from translationproject.org
Closes #470
See merge request gnutls/gnutls!678
Tim Rühsen [Sat, 23 Jun 2018 13:11:17 +0000 (15:11 +0200)]
Let ./bootstrap sync from translationproject.org
This makes manual updating of the translations obsolete.
From now on, builds and tarballs will always have the latest translations
included.
We should not forget to inform translationproject.org to update the
translations before a release. How to do that is described at
https://translationproject.org/html/maintainers.html (6. Announcing).
Nikos Mavrogiannopoulos [Tue, 26 Jun 2018 00:38:51 +0000 (02:38 +0200)]
gnutls_session_get_desc: fixed desc printing of custom groups
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
Nikos Mavrogiannopoulos [Mon, 25 Jun 2018 08:06:25 +0000 (10:06 +0200)]
doc update [ci skip]
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
Nikos Mavrogiannopoulos [Sun, 24 Jun 2018 19:46:15 +0000 (21:46 +0200)]
aarch64: use getauxval() if available to discover cpu caps
This improves CPU detection by avoiding the parsing of
of a human-readable file and allows operation under debian
multilib qemu setup.
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
Nikos Mavrogiannopoulos [Sun, 24 Jun 2018 19:50:15 +0000 (21:50 +0200)]
.gitlab-ci.yml: no need for submodule update on cross-builds
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
Nikos Mavrogiannopoulos [Mon, 18 Jun 2018 11:14:03 +0000 (13:14 +0200)]
.gitlab-ci.yml: use qemu for aarch64 testing
This eliminates the need (and costs) to maintain a separate baremetal
system.
Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
Nikos Mavrogiannopoulos [Sun, 24 Jun 2018 06:27:00 +0000 (08:27 +0200)]
.gitlab-ci.yml: corrected typo
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
Nikos Mavrogiannopoulos [Sun, 24 Jun 2018 06:06:55 +0000 (08:06 +0200)]
.gitlab-ci.yml: skip submodule initialization when not necessary
This prevents unnecessary download of submodules on CI.
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
Nikos Mavrogiannopoulos [Sun, 24 Jun 2018 04:51:14 +0000 (06:51 +0200)]
.gitlab-ci.yml: updated x86 CI builds with better datefudge detection
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
Nikos Mavrogiannopoulos [Sun, 24 Jun 2018 04:58:37 +0000 (06:58 +0200)]
.gitlab-ci.yml: debian stretch build replaced by buster
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
Nikos Mavrogiannopoulos [Sat, 23 Jun 2018 17:38:26 +0000 (19:38 +0200)]
doc update [ci skip]
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
Nikos Mavrogiannopoulos [Sat, 23 Jun 2018 17:35:13 +0000 (19:35 +0200)]
doc update [ci skip]
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
Nikos Mavrogiannopoulos [Sat, 23 Jun 2018 16:54:03 +0000 (16:54 +0000)]
Merge branch 'gost-no-tls' into 'master'
GOST certificates/PKCS#7/PKCS#12 support
See merge request gnutls/gnutls!654
Dmitry Eremin-Solenikov [Fri, 15 Jun 2018 10:38:44 +0000 (13:38 +0300)]
tests: add PKCS#12 test script for GOST 28147-89-encrypted files
Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Dmitry Eremin-Solenikov [Fri, 15 Jun 2018 10:06:41 +0000 (13:06 +0300)]
certtool: honour --hash option when generating PKCS#12 files
Use algorithm specified with --hash option when generating MAC for
PKCS#12 file, allowing user to select algorithms other than SHA-1.
Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Dmitry Eremin-Solenikov [Sun, 24 Sep 2017 07:31:39 +0000 (10:31 +0300)]
tests: expand pkcs7 test to also check GOST files
Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Dmitry Eremin-Solenikov [Sat, 23 Sep 2017 19:51:19 +0000 (22:51 +0300)]
test: test GOST keys import/export
Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Dmitry Eremin-Solenikov [Sat, 23 Sep 2017 18:40:34 +0000 (21:40 +0300)]
certtool: ask if certificate will be used for data encryption
Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Dmitry Eremin-Solenikov [Sat, 23 Sep 2017 18:37:18 +0000 (21:37 +0300)]
tests: add common gost certificates for tests
Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Dmitry Eremin-Solenikov [Tue, 6 Dec 2016 00:57:24 +0000 (03:57 +0300)]
Support key matching with GOST keys
GOST keys do not support signing non-GOST hashes, so use correct digest
algorithm when verifying that GOST public and private keys match.
Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Dmitry Eremin-Solenikov [Sat, 26 Nov 2016 01:51:41 +0000 (04:51 +0300)]
Add generated GOST credentials for tests
Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Dmitry Eremin-Solenikov [Mon, 21 Nov 2016 17:58:00 +0000 (20:58 +0300)]
Use GOST R 34.11-94 when generating key for PKCS data to be encrypted with GOST 28147-89
Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Dmitry Eremin-Solenikov [Mon, 21 Nov 2016 17:52:43 +0000 (20:52 +0300)]
certtool: support generating GOST-encrypted PKCS#8/12 files
Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Dmitry Eremin-Solenikov [Thu, 17 Nov 2016 21:23:54 +0000 (00:23 +0300)]
Add gost certificates to chainverify tests
Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Dmitry Eremin-Solenikov [Thu, 17 Nov 2016 07:47:16 +0000 (10:47 +0300)]
Expand x509 sign/verify test with GOST algorithms
Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Dmitry Eremin-Solenikov [Thu, 17 Nov 2016 07:22:11 +0000 (10:22 +0300)]
oids: expand to include GOST digests/signatures
Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Dmitry Eremin-Solenikov [Tue, 29 Aug 2017 14:44:10 +0000 (17:44 +0300)]
tests: privkey-keygen: adapt to support GOST algorithms
Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Dmitry Eremin-Solenikov [Mon, 24 Oct 2016 17:56:46 +0000 (20:56 +0300)]
Support GOST private keys generation
Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Dmitry Eremin-Solenikov [Fri, 21 Oct 2016 15:01:20 +0000 (18:01 +0300)]
certtool: support dumping GOST private key information
Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Dmitry Eremin-Solenikov [Fri, 21 Oct 2016 14:38:57 +0000 (17:38 +0300)]
Add several DN entry definitions used by qualified GOST signatures
Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Dmitry Eremin-Solenikov [Mon, 28 Aug 2017 11:34:33 +0000 (14:34 +0300)]
certool: export GOST privkeys only in PKCS#8 format
Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Dmitry Eremin-Solenikov [Wed, 9 Nov 2016 11:19:58 +0000 (14:19 +0300)]
Add support for PKCS12 files using GOST MAC
Local PKCS12-based standard derives from RFC 7292 (PKCS #12) in using
PBKDF2 to generate MAC key rather than using PKCS12 scheme.
Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Dmitry Eremin-Solenikov [Wed, 9 Nov 2016 11:02:56 +0000 (14:02 +0300)]
Add support for PBES2/PBKDF2 using GOST algorithms
Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Dmitry Eremin-Solenikov [Sat, 28 Jan 2017 03:01:01 +0000 (06:01 +0300)]
Support PKCS#12 key derivation with GOST digests
Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Dmitry Eremin-Solenikov [Fri, 21 Oct 2016 14:56:04 +0000 (17:56 +0300)]
Add support for importing/exporting GOST private keys
Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Dmitry Eremin-Solenikov [Mon, 18 Sep 2017 09:54:12 +0000 (12:54 +0300)]
Support importing/exporting X.509 GOST public keys
Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Dmitry Eremin-Solenikov [Fri, 21 Oct 2016 01:43:35 +0000 (04:43 +0300)]
Add ASN.1 definitions for GOST keys
Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Dmitry Eremin-Solenikov [Fri, 21 Oct 2016 01:07:36 +0000 (04:07 +0300)]
nettle: add support for GOST 34.10 public keys
There is no support for GOST public keys derivation, as it is used only
for TLS or PKCS#7 with encrypted content.
Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Dmitry Eremin-Solenikov [Fri, 21 Oct 2016 14:05:38 +0000 (17:05 +0300)]
Add few functions to support basic operations with GOST public keys
Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Dmitry Eremin-Solenikov [Fri, 21 Oct 2016 01:02:30 +0000 (04:02 +0300)]
Add declarations for GOST R 34.10 signatures
Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Dmitry Eremin-Solenikov [Fri, 21 Oct 2016 00:55:10 +0000 (03:55 +0300)]
Define GOST R 34.10 curves
Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Dmitry Eremin-Solenikov [Fri, 21 Oct 2016 01:00:21 +0000 (04:00 +0300)]
Add declarations to support GOST public keys
Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Dmitry Eremin-Solenikov [Tue, 29 Nov 2016 02:28:17 +0000 (05:28 +0300)]
Add support for I/O of little-endian MPI
Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Dmitry Eremin-Solenikov [Tue, 29 Nov 2016 02:30:10 +0000 (05:30 +0300)]
nettle: add support for unsigned LE MPIs
Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Dmitry Eremin-Solenikov [Fri, 21 Oct 2016 01:05:41 +0000 (04:05 +0300)]
nettle: add support for GOST 34.11 hash functions
Add support for GOST R 34.11-94 and Streebog (256/512) functions.
Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Dmitry Eremin-Solenikov [Fri, 21 Oct 2016 01:05:07 +0000 (04:05 +0300)]
nettle: support GOST28147-89 in CFB mode
Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Dmitry Eremin-Solenikov [Thu, 27 Oct 2016 00:18:32 +0000 (03:18 +0300)]
Add declarations for GOST 28147-89 cipher in CFB mode
Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Dmitry Eremin-Solenikov [Fri, 21 Oct 2016 00:57:17 +0000 (03:57 +0300)]
Add declarations for GOST R 34.11 (-94 and -2012) digest algorithms
Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Dmitry Eremin-Solenikov [Tue, 29 Aug 2017 12:12:53 +0000 (15:12 +0300)]
Import GOST-supporting part from Nettle pending patches
Nettle upstream takes significant time to accept GOST-related patches.
As per Nikos' suggestion, push relevant parts to GnuTLS, so that they
can be tested in wild at the same time supporting GOST ciphersuite code.
Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Dmitry Eremin-Solenikov [Sun, 17 Sep 2017 17:57:52 +0000 (20:57 +0300)]
.gitlab-ci.yml: disable gost in minimal build
Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Dmitry Eremin-Solenikov [Wed, 26 Oct 2016 19:34:17 +0000 (22:34 +0300)]
Add configure argument to disable GOST support
Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Nikos Mavrogiannopoulos [Fri, 22 Jun 2018 09:52:48 +0000 (09:52 +0000)]
Merge branch 'tmp-fix-order-extensions' into 'master'
extensions: corrected order of pre-shared-key and dumbfw
Closes #473
See merge request gnutls/gnutls!659
Nikos Mavrogiannopoulos [Tue, 12 Jun 2018 08:16:10 +0000 (10:16 +0200)]
_gnutls_parse_hello_extensions: enforce that pre-shared-key extension is last
This is a requirement in draft-ietf-tls-tls13-28 4.2.11 section:
The "pre_shared_key" extension MUST be the last extension in the
ClientHello (this facilitates implementation as described below).
Servers MUST check that it is the last extension and otherwise fail
the handshake with an "illegal_parameter" alert.
Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
Nikos Mavrogiannopoulos [Tue, 12 Jun 2018 08:01:22 +0000 (10:01 +0200)]
tests: check whether we send the pre-shared key extension after dumbfw
Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
Nikos Mavrogiannopoulos [Tue, 12 Jun 2018 07:35:16 +0000 (09:35 +0200)]
tests: corrected typo in comment
Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
Nikos Mavrogiannopoulos [Fri, 8 Jun 2018 08:48:32 +0000 (10:48 +0200)]
extensions: corrected order of pre-shared-key and dumbfw
The pre-shared-key MUST always be last under TLS1.3 while the
dumbfw extension should be last in order to do proper evaluation
of extension size (gnutls requirement). As such the protocol
requirement takes precedence.
Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
Nikos Mavrogiannopoulos [Thu, 21 Jun 2018 14:33:33 +0000 (14:33 +0000)]
Merge branch 'fix-warnings-in-testsuite' into 'master'
Fix test code for -Werror
See merge request gnutls/gnutls!675
Tim Rühsen [Tue, 19 Jun 2018 11:21:44 +0000 (13:21 +0200)]
Fix test code for -Werror
Nikos Mavrogiannopoulos [Thu, 21 Jun 2018 09:30:52 +0000 (09:30 +0000)]
Merge branch 'tmp-supplemental-no-tls13' into 'master'
Disable TLS1.3 when supplemental data extensions are enabled
Closes #479
See merge request gnutls/gnutls!673
Nikos Mavrogiannopoulos [Tue, 19 Jun 2018 12:59:33 +0000 (14:59 +0200)]
tests: updated supplemental tests for TLS1.3
This includes tests that verify that TLS1.3 is not negotiated
when supplemental data are set in client and/or server side.
Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
Nikos Mavrogiannopoulos [Tue, 19 Jun 2018 14:03:52 +0000 (16:03 +0200)]
gnutls_supplemental_register: disable TLS 1.3 globally
This allows using the registered supplemental data handlers, since
these are not used under TLS 1.3.
Resolves #479
Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
Nikos Mavrogiannopoulos [Tue, 19 Jun 2018 12:42:13 +0000 (14:42 +0200)]
gnutls_session_supplemental_register: disable TLS1.3 when set
This allows using the registered supplemental data handlers, since
these are not used under TLS 1.3.
Resolves #479
Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
Nikos Mavrogiannopoulos [Wed, 20 Jun 2018 13:18:56 +0000 (13:18 +0000)]
Merge branch 'exclude-fuzz-corpora' into 'master'
Remove oss-fuzz copora from tarball
Closes #461
See merge request gnutls/gnutls!671
Tim Rühsen [Tue, 19 Jun 2018 10:02:13 +0000 (12:02 +0200)]
Remove oss-fuzz copora from tarball
The size of the corpora is huge and not needed for normal builds.
This patch also fixes test run issues on Windows.
Nikos Mavrogiannopoulos [Wed, 20 Jun 2018 11:20:27 +0000 (13:20 +0200)]
gnutls-cli: introduce the rekey1 inline command
That allows performing a rekey locally and with the
peer.
Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
Nikos Mavrogiannopoulos [Wed, 20 Jun 2018 12:02:57 +0000 (12:02 +0000)]
Merge branch 'tmp-safe-padding-removal-made-optional' into 'master'
Safe padding removal was made optional
Closes #466
See merge request gnutls/gnutls!669
Nikos Mavrogiannopoulos [Mon, 18 Jun 2018 09:33:34 +0000 (11:33 +0200)]
document new behavior on safe padding removal
Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
Nikos Mavrogiannopoulos [Mon, 18 Jun 2018 09:22:36 +0000 (11:22 +0200)]
record: fail with invalid request when attempting to send no pad and no data
Previously we were returning an internal error which seems to be incorrect
in that case.
Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
Nikos Mavrogiannopoulos [Mon, 18 Jun 2018 09:15:56 +0000 (11:15 +0200)]
tests: enhance padding check
This introduces tests for zero-data transfers with padding as well
as padding and de-padding with safe padding flag set.
Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
Nikos Mavrogiannopoulos [Mon, 18 Jun 2018 09:03:40 +0000 (11:03 +0200)]
gnutls-cli: added CCM run under TLS1.2 in benchmark mode
Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
Nikos Mavrogiannopoulos [Mon, 18 Jun 2018 09:00:39 +0000 (11:00 +0200)]
cipher: made TLS1.3 safe padding check optional
This patch introduces the gnutls_init() flag GNUTLS_SAFE_PADDING_CHECK
which makes the TLS1.3 safe padding check optional. That way applications
which do not utilize the TLS1.3 padding do not get penalized by the performance
drop in TLS1.3 packet processing. This addresses a regression in TLS1.3
packet processing performance.
Resolves: #466
Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
Nikos Mavrogiannopoulos [Tue, 19 Jun 2018 11:16:13 +0000 (13:16 +0200)]
gnutls_session_get_id: document restrictions
This documents the fact that a TLS session ID cannot be relied
to be unique or to even have a meaningful value.
Resolves #484
Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
Nikos Mavrogiannopoulos [Tue, 19 Jun 2018 11:08:27 +0000 (13:08 +0200)]
tests: verify that resumed session ID matches original
Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
Nikos Mavrogiannopoulos [Wed, 20 Jun 2018 06:21:00 +0000 (06:21 +0000)]
Merge branch 'fix-files-update' into 'master'
Fix make files-update for out-of-tree builds
See merge request gnutls/gnutls!674
Dmitry Eremin-Solenikov [Tue, 19 Jun 2018 15:23:14 +0000 (18:23 +0300)]
Makefile.am: move autogen files update to src/Makefile.am
Move autogen'ed files update to src/Makefile.am to simplify code and
support out-of-tree builds.
Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Dmitry Eremin-Solenikov [Tue, 19 Jun 2018 15:20:18 +0000 (18:20 +0300)]
Makefile.am: files-update: support out-of-tree builds
Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Dmitry Eremin-Solenikov [Tue, 19 Jun 2018 08:26:09 +0000 (11:26 +0300)]
symbol-check: fix typo to make it work for out-of-tree builds
Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Nikos Mavrogiannopoulos [Sat, 16 Jun 2018 13:46:25 +0000 (15:46 +0200)]
aarch64: update elf files to correspond to the macosx version
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
Nikos Mavrogiannopoulos [Sun, 10 Jun 2018 12:08:54 +0000 (14:08 +0200)]
macosx: include aarch64 asm files
Relates #475
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
Tim Rühsen [Tue, 19 Jun 2018 07:39:32 +0000 (07:39 +0000)]
Merge branch 'tmp-fix-tags' into 'master'
Makefile.am: abi-check: fetch fresh tags
See merge request gnutls/gnutls!668
Nikos Mavrogiannopoulos [Sat, 16 Jun 2018 13:27:02 +0000 (15:27 +0200)]
Makefile.am: abi-check: fetch fresh tags
This addresses the issue of failed abi-check CI runs on
forked repositories.
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>