]>
git.ipfire.org Git - thirdparty/gnutls.git/log
Nikos Mavrogiannopoulos [Sat, 14 Dec 2019 09:51:48 +0000 (10:51 +0100)]
certtool: always set extensions from template
Previously we would only set these extensions specific with add_extension
when generating using --generate-certificate. The change makes sure these
options are considered even when generating an extension from a certificate
request. Issue reported on the mailing list.
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
Nikos Mavrogiannopoulos [Sat, 14 Dec 2019 09:44:16 +0000 (10:44 +0100)]
tests: check certificate generation from certificate request
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
Nikos Mavrogiannopoulos [Mon, 23 Dec 2019 18:52:47 +0000 (18:52 +0000)]
Merge branch 'tmp-fix-serv-exit' into 'master'
gnutls-serv: do not exit on command failure
Closes #868
See merge request gnutls/gnutls!1129
Dmitry Eremin-Solenikov [Sat, 21 Dec 2019 00:17:10 +0000 (00:17 +0000)]
Merge branch 'abi-fix' into 'master'
abi-check: fix include paths
See merge request gnutls/gnutls!1139
Nikos Mavrogiannopoulos [Fri, 20 Dec 2019 22:09:37 +0000 (22:09 +0000)]
Merge branch 'tmp-check-same-certs' into 'master'
_gnutls_verify_crt_status: apply algorithm checks to trusted CAs and other cert improvements
Closes #877
See merge request gnutls/gnutls!1140
Nikos Mavrogiannopoulos [Fri, 20 Dec 2019 19:37:32 +0000 (20:37 +0100)]
tests: ensure test suite does not apply global config
When running the test suite we do not apply the global
gnutls configration as it may change options that are
tested.
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
Nikos Mavrogiannopoulos [Thu, 5 Dec 2019 10:40:31 +0000 (11:40 +0100)]
gnutls-cli: improved output of --benchmark-tls-kx
It is now printed in a way that separates the tests. Example:
```
(TLS1.3)-(ECDHE-SECP256R1)-(RSA-PSS-RSAE-SHA256)-(AES-128-GCM)
- 179.19 transactions/sec
- avg. handshake time: 5.57 ms
- standard deviation: 0.57
(TLS1.3)-(ECDHE-X25519)-(RSA-PSS-RSAE-SHA256)-(AES-128-GCM)
- 182.24 transactions/sec
- avg. handshake time: 5.48 ms
- standard deviation: 0.64
```
Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
Nikos Mavrogiannopoulos [Wed, 4 Dec 2019 12:58:21 +0000 (13:58 +0100)]
gnutls-cli: benchmark-tls-kx can work with sub-ms accuracy
This allows micro and nanoseconds to be reported if necessary,
and it changes reporting of sample variance to standard deviation
giving a possibly better overview as it is in the same units as
the average.
Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
Dmitry Eremin-Solenikov [Fri, 20 Dec 2019 00:04:39 +0000 (00:04 +0000)]
Merge branch 'gost-split-4' into 'master'
gnutls-cli-debug: add GOST_CNT-related KX/cipher/MAC tests
See merge request gnutls/gnutls!1137
Dmitry Eremin-Solenikov [Thu, 19 Jul 2018 12:40:46 +0000 (15:40 +0300)]
gnutls-cli-debug: add GOST_CNT-related KX/cipher/MAC tests
Add test for VKO-GOST-12, GOST28147-TC26Z-CNT and GOST28147-TC26Z-IMIT
support by the server.
Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Nikos Mavrogiannopoulos [Thu, 19 Dec 2019 20:13:15 +0000 (21:13 +0100)]
README.md: updated to list fuzz coverage results [ci skip]
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
Dimitri John Ledkov [Sun, 15 Dec 2019 20:32:02 +0000 (20:32 +0000)]
doc: update reference to the default configuration file
Signed-off-by: Dimitri John Ledkov <xnox@ubuntu.com>
Nikos Mavrogiannopoulos [Thu, 19 Dec 2019 19:28:50 +0000 (20:28 +0100)]
updated auto-generated files
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
Nikos Mavrogiannopoulos [Thu, 19 Dec 2019 08:37:34 +0000 (09:37 +0100)]
_gnutls_verify_crt_status: apply algorithm checks to trusted CAs
If a CA is found in the trusted list, check in addition to
time validity, whether the algorithms comply to the expected
level. This addresses the problem of accepting CAs which would
have been marked as insecure otherwise.
Resolves: #877
Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
Nikos Mavrogiannopoulos [Wed, 18 Dec 2019 13:38:32 +0000 (14:38 +0100)]
certtool: added option to apply a certificate verification profile
This applies to the --verify and --verify-chain commands.
Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
Nikos Mavrogiannopoulos [Wed, 18 Dec 2019 13:29:21 +0000 (14:29 +0100)]
Export profile ID/name handling functions
Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
Nikos Mavrogiannopoulos [Wed, 18 Dec 2019 13:04:35 +0000 (14:04 +0100)]
is_level_acceptable: apply the system-wide profile in all verifications
Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
Lili Quan [Thu, 19 Dec 2019 16:14:20 +0000 (17:14 +0100)]
Introduced check to reject certificates with non-digits in time field
According to RFC5280 we should reject such certificates.
Resolves: #870
Signed-off-by: Lili Quan <13132239506@163.com>
Dmitry Eremin-Solenikov [Wed, 13 Nov 2019 20:47:16 +0000 (23:47 +0300)]
abi-check: fix include paths
If GnuTLS is built outside of source tree, abicheck will miss gnutls.h
header which is generated in the build tree. Expand arguments to include
it.
Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Dmitry Eremin-Solenikov [Wed, 18 Dec 2019 22:05:16 +0000 (22:05 +0000)]
Merge branch 'gost-split-3' into 'master'
Add GOST-CNT ciphersuite support
See merge request gnutls/gnutls!1119
Dmitry Eremin-Solenikov [Wed, 18 Dec 2019 20:28:48 +0000 (23:28 +0300)]
doc: document GROUP-GOST-ALL keyword
Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Dmitry Eremin-Solenikov [Wed, 27 Nov 2019 12:48:57 +0000 (15:48 +0300)]
NEWS: add news entry, describing TLS 1.3 vs GOST issues
Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Dmitry Eremin-Solenikov [Wed, 17 Jul 2019 16:41:47 +0000 (19:41 +0300)]
ext/signature: use GOST signatures for GOST ciphersiuites
draft-smyshlyaev-tls12-gost-suites limits SignatureAndHash algorithms
in CertificateRequest message to GOST values if GOST cipher suite is
selected.
Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Dmitry Eremin-Solenikov [Tue, 3 Sep 2019 07:48:09 +0000 (10:48 +0300)]
tls13-server-kx-neg: add test for GOST-enabled server and client
If both client and server have enabled TLS 1.3 and GOST-CNT
ciphersuites, they should correctly negotiate a connection, but using
TLS 1.2 version.
Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Dmitry Eremin-Solenikov [Mon, 9 Oct 2017 04:17:59 +0000 (07:17 +0300)]
tests: added testcases for ciphersuite/KX negotiation with VKO-GOST
This verifies whether the ciphersuite negotiation will detect and
reject incompatible data present in credentials.
Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Dmitry Eremin-Solenikov [Sat, 23 Sep 2017 18:37:38 +0000 (21:37 +0300)]
tests: add tests for KX-GOST-VKO using different key variants
Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Dmitry Eremin-Solenikov [Thu, 27 Oct 2016 00:31:49 +0000 (03:31 +0300)]
Add GOST cipher suites
Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Dmitry Eremin-Solenikov [Sun, 10 Feb 2019 09:18:40 +0000 (12:18 +0300)]
priority: add GROUP-GOST-ALL keyword
Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Dmitry Eremin-Solenikov [Wed, 30 Nov 2016 10:11:28 +0000 (13:11 +0300)]
Support GOST certificate request values
Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Dmitry Eremin-Solenikov [Sat, 23 Sep 2017 18:56:23 +0000 (21:56 +0300)]
lib: fix group selection in case of GOST cipher suites
Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Nikos Mavrogiannopoulos [Wed, 18 Dec 2019 09:48:11 +0000 (09:48 +0000)]
Merge branch 'tmp-ext-fuzzer' into 'master'
fuzzer: added fuzzer for gnutls_ext_raw_parse() [ci skip]
See merge request gnutls/gnutls!1133
Tim Rühsen [Tue, 17 Dec 2019 19:09:54 +0000 (20:09 +0100)]
Sync with fuzzers from OSS-Fuzz
Only lots of corpora removed (by merge step). Not sure why.
But there are several new UBs detected.
Signed-off-by: Tim Rühsen <tim.ruehsen@gmx.de>
Tim Rühsen [Tue, 17 Dec 2019 18:52:58 +0000 (19:52 +0100)]
Amend fuzz scripts and README for clang-8
Signed-off-by: Tim Rühsen <tim.ruehsen@gmx.de>
Tim Rühsen [Tue, 17 Dec 2019 18:52:05 +0000 (19:52 +0100)]
Add fuzz corpora for gnutls_ext_raw_parse_fuzzer
Signed-off-by: Tim Rühsen <tim.ruehsen@gmx.de>
Nikos Mavrogiannopoulos [Mon, 16 Dec 2019 11:54:23 +0000 (12:54 +0100)]
fuzzer: added fuzzer for gnutls_ext_raw_parse()
Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
Nikos Mavrogiannopoulos [Mon, 16 Dec 2019 11:45:06 +0000 (12:45 +0100)]
gnutls_ocsp_status_request_is_checked: mark explicitly as unsigned the return type
Also some documentation updates.
Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
Nikos Mavrogiannopoulos [Mon, 16 Dec 2019 10:35:48 +0000 (11:35 +0100)]
README.md: updated CI build badge [ci skip]
Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
Nikos Mavrogiannopoulos [Sat, 14 Dec 2019 14:41:17 +0000 (15:41 +0100)]
Provide flag to identify sessions that an OCSP response was requested
That adds the flag GNUTLS_SFLAGS_CLI_REQUESTED_OCSP which can be
checked by a server application to determine whether the
client has requested stapled OCSP responses.
This includes minor cleanups in the status request handling code.
Resolves: #829
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
Tim Rühsen [Tue, 10 Dec 2019 13:52:09 +0000 (13:52 +0000)]
Merge branch 'tmp-more-const-1' into 'master'
Add const to function arguments in lib/x509
See merge request gnutls/gnutls!1007
Nikos Mavrogiannopoulos [Sat, 7 Dec 2019 20:30:17 +0000 (21:30 +0100)]
abi: updated to latest const changes and added NEWS entry
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
Tim Rühsen [Tue, 21 May 2019 19:50:33 +0000 (21:50 +0200)]
Add const to function arguments in lib/x509
This change does not introduce functionality changes.
It just adds const promises to the caller.
Signed-off-by: Tim Rühsen <tim.ruehsen@gmx.de>
Nikos Mavrogiannopoulos [Thu, 5 Dec 2019 16:06:22 +0000 (17:06 +0100)]
gnutls-serv: do not exit on command failure
If gnutls_reauth() or gnutls_heartbeat_ping() fail, gnutls-serv
would simply quit. This prevents using this tool in a test environment
like tlsfuzzer. Ensure that we don't quit on error.
Resolves: #868
Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
Nikos Mavrogiannopoulos [Thu, 5 Dec 2019 15:46:29 +0000 (15:46 +0000)]
Merge branch 'AVOID_INTERNALS' into 'master'
lib: remove obsolete AVOID_INTERNALS
See merge request gnutls/gnutls!1127
Nikos Mavrogiannopoulos [Wed, 4 Dec 2019 21:18:02 +0000 (22:18 +0100)]
.triage-policies.yml: updated to work with latest gitlab-triage [ci skip]
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
Vitezslav Cizek [Wed, 4 Dec 2019 14:24:17 +0000 (15:24 +0100)]
lib: remove obsolete AVOID_INTERNALS
Although commit
1f246c381e8a7449d84b143ffe50a0818622d2a3 enabled
the self-check functions unconditionally, the #ifdefs AVOID_INTERNALS
remained in lib/crypto-selftests-pk.c.
Signed-off-by: Vitezslav Cizek <vcizek@suse.com>
Nikos Mavrogiannopoulos [Mon, 2 Dec 2019 16:32:16 +0000 (17:32 +0100)]
Revert "Released 3.6.11.1 including missing files"
This reverts commit
1e9c9ba0c0798b5566902e6c5ab83418826dd7f5 .
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
Nikos Mavrogiannopoulos [Mon, 2 Dec 2019 16:08:43 +0000 (17:08 +0100)]
Released 3.6.11.1 including missing files
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
Nikos Mavrogiannopoulos [Mon, 2 Dec 2019 13:05:22 +0000 (13:05 +0000)]
Merge branch 'tmp-libopts-fix' into 'master'
libopts: include new files into dist
Closes #867
See merge request gnutls/gnutls!1126
Nikos Mavrogiannopoulos [Mon, 2 Dec 2019 07:56:05 +0000 (08:56 +0100)]
libopts: include new files into dist
This also includes --enable-local-libopts flag to make dist
to catch future regressions.
Resolves: #867
Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
Nikos Mavrogiannopoulos [Sun, 1 Dec 2019 21:39:01 +0000 (22:39 +0100)]
released 3.6.11
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
Fiona Klute [Sun, 1 Dec 2019 18:20:17 +0000 (19:20 +0100)]
Write OCSP status request debug information to logfile, if set
The status information not part of the payload data and should be
separate when using --logfile.
Signed-off-by: Fiona Klute <fiona.klute@gmx.de>
Fiona Klute [Sun, 1 Dec 2019 17:45:28 +0000 (18:45 +0100)]
Send log messages about loading client credentials to logfile, if set
Signed-off-by: Fiona Klute <fiona.klute@gmx.de>
Nikos Mavrogiannopoulos [Fri, 29 Nov 2019 19:30:26 +0000 (20:30 +0100)]
.travis.yml: explicitly install openssl to address build issue
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
Nikos Mavrogiannopoulos [Fri, 29 Nov 2019 15:19:07 +0000 (16:19 +0100)]
NEWS: documented AES-CFB8 fix [ci skip]
Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
Nikos Mavrogiannopoulos [Fri, 29 Nov 2019 12:06:41 +0000 (13:06 +0100)]
bumped version
Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
Nikos Mavrogiannopoulos [Thu, 28 Nov 2019 08:08:28 +0000 (09:08 +0100)]
.travis.yml: update submodules [ci skip]
Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
Nikos Mavrogiannopoulos [Fri, 29 Nov 2019 08:40:55 +0000 (09:40 +0100)]
base64: minor improvements in OOM handling and test suite
Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
Nikos Mavrogiannopoulos [Thu, 28 Nov 2019 15:15:05 +0000 (15:15 +0000)]
Merge branch 'tmp-fix-base64' into 'master'
gnutls_base64_decode2() succeeds decoding the empty string
Closes #834
See merge request gnutls/gnutls!1124
Nikos Mavrogiannopoulos [Thu, 28 Nov 2019 14:05:17 +0000 (15:05 +0100)]
gnutls_base64_decode2() succeeds decoding the empty string
This is a behavioral change of the API but it conforms to
the RFC4648 expectations.
Resolves: #834
Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
Nikos Mavrogiannopoulos [Wed, 27 Nov 2019 15:13:06 +0000 (16:13 +0100)]
Revert "tests: ignore datefudge-check check when running on command line"
This commit was breaking CI on FreeBSD systems.
This reverts commit
1fe4f8e289d666979618fbb909983ac05aad11ac .
Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
Nikos Mavrogiannopoulos [Wed, 27 Nov 2019 10:43:56 +0000 (10:43 +0000)]
Merge branch 'tmp-fix-crl-dist-points' into 'master'
Add CRL distribution points to non-self-signed certificates
Closes #765
See merge request gnutls/gnutls!1123
Nikos Mavrogiannopoulos [Mon, 25 Nov 2019 21:36:22 +0000 (22:36 +0100)]
certtool: always include the CRL distribution points on CAs
Previously we would omit the CRL distribution points from a non-self
signed CA certificate, even if contained in the template.
Resolves: #765
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
Nikos Mavrogiannopoulos [Mon, 25 Nov 2019 21:38:05 +0000 (22:38 +0100)]
tests: ignore datefudge-check check when running on command line
That allows running the tests individually without make or setting
top_builddir variable.
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
Dmitry Eremin-Solenikov [Sat, 23 Nov 2019 23:18:37 +0000 (23:18 +0000)]
Merge branch 'minimal-check' into 'master'
Run tests under minimal configuration
See merge request gnutls/gnutls!1122
Dmitry Eremin-Solenikov [Fri, 22 Nov 2019 14:21:19 +0000 (17:21 +0300)]
tests: make tests pass with disabled GOST algorithms
Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Dmitry Eremin-Solenikov [Fri, 22 Nov 2019 13:43:49 +0000 (16:43 +0300)]
gitlab-ci: enable running make check on minimal build
Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Tim Rühsen [Fri, 15 Nov 2019 11:27:55 +0000 (11:27 +0000)]
Merge branch 'wip-cross-compilation' into 'master'
Fix cross-compilation of the Guile bindings
See merge request gnutls/gnutls!1120
Nikos Mavrogiannopoulos [Tue, 12 Nov 2019 10:49:54 +0000 (10:49 +0000)]
Merge branch 'fix-coverity' into 'master'
vko: fix possible unitilized scalar access
See merge request gnutls/gnutls!1118
Ludovic Courtès [Mon, 11 Nov 2019 20:36:22 +0000 (21:36 +0100)]
guile: Silence auto-compilation warning for 'guild'.
Reported by Helmut Grohne <helmut@subdivi.de>
and Andreas Metzler <ametzler@bebt.de>
at <https://bugs.debian.org/943905>.
* guile/Makefile.am (%.go): Pass "GUILE_AUTO_COMPILE=0" to avoid
warnings about 'guild' needing to be compiled.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Dmitry Eremin-Solenikov [Sun, 10 Nov 2019 11:06:58 +0000 (14:06 +0300)]
vko: fix possible unitilized scalar access
Fix error path in _gnutls_gost_keytrans_decrypt. If
_asn1_strict_der_decode() fails, cleanup path will try to
gnutls_pk_params_release(&pub), which will access unitialized pub
variable. Fix by deleting asn1 sctructure directly.
Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Ludovic Courtès [Mon, 11 Nov 2019 20:30:48 +0000 (21:30 +0100)]
guile: Do not attempt to load shared object when cross-compiling.
Reported by Helmut Grohne <helmut@subdivi.de>
and Andreas Metzler <ametzler@bebt.de>
at <https://bugs.debian.org/943905>.
* configure.ac: Add 'CROSS_COMPILING' conditional.
* guile/Makefile.am (CROSS_COMPILING_VARIABLE): New variable.
(%.go): Use it.
* guile/modules/gnutls.in <top level>: Do not call 'load-extension'
when "GNUTLS_GUILE_CROSS_COMPILING" is defined.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Dmitry Eremin-Solenikov [Fri, 8 Nov 2019 23:03:16 +0000 (23:03 +0000)]
Merge branch 'gost-split-2' into 'master'
GOST key exchange support
See merge request gnutls/gnutls!1097
Daiki Ueno [Fri, 8 Nov 2019 12:38:54 +0000 (12:38 +0000)]
Merge branch 'tmp-cfb8-fixes' into 'master'
nettle: backport fixes to cfb8_decrypt
See merge request gnutls/gnutls!1117
Dmitry Eremin-Solenikov [Thu, 27 Oct 2016 00:30:34 +0000 (03:30 +0300)]
Add support for VKO GOST key exchange
Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Daiki Ueno [Thu, 7 Nov 2019 17:25:01 +0000 (18:25 +0100)]
.gitlab-ci.yml: bump configure cache version
Signed-off-by: Daiki Ueno <dueno@redhat.com>
Günther Deschner [Wed, 6 Nov 2019 12:17:57 +0000 (13:17 +0100)]
crypto-selftests: test CFB8 ciphers with different chunksizes
Signed-off-by: Guenther Deschner <gd@samba.org>
Signed-off-by: Daiki Ueno <dueno@redhat.com>
Daiki Ueno [Fri, 8 Nov 2019 09:10:09 +0000 (10:10 +0100)]
nettle: use included CFB8 implementation if nettle is 3.5
Signed-off-by: Daiki Ueno <dueno@redhat.com>
Dmitry Eremin-Solenikov [Thu, 7 Nov 2019 22:12:43 +0000 (22:12 +0000)]
Merge branch 'prf-crash' into 'master'
prf: don't crash when called before handshake completion
See merge request gnutls/gnutls!1116
Dmitry Eremin-Solenikov [Sat, 9 Feb 2019 23:38:43 +0000 (02:38 +0300)]
groups: add function to return group by curve
Two GOST groups will have two curves attached. Add function to retrieve
group by curve, rather than by group id.
Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Dmitry Eremin-Solenikov [Tue, 7 May 2019 15:01:33 +0000 (18:01 +0300)]
ecc: define curve->group relationship
Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Dmitry Eremin-Solenikov [Tue, 29 Aug 2017 08:09:31 +0000 (11:09 +0300)]
Declare groups corresponding to GOST curves
Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Dmitry Eremin-Solenikov [Fri, 2 Dec 2016 03:26:55 +0000 (06:26 +0300)]
Add GOST key transport support
Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Dmitry Eremin-Solenikov [Thu, 7 Jun 2018 10:19:55 +0000 (13:19 +0300)]
nettle: add support for GOST key derivation
Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Dmitry Eremin-Solenikov [Thu, 27 Oct 2016 15:58:12 +0000 (18:58 +0300)]
_gnutls_pk_derive: add argument for nonce
GOST VKO key derivation needs another opaque argument (called UKM).
Add an argument to _gnutls_pk_derive to accomodate that keying material.
Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Dmitry Eremin-Solenikov [Thu, 14 Jun 2018 12:39:39 +0000 (15:39 +0300)]
nettle/gost: add support for GOST VKO algorithm
GOST VKO is a variant of ECDHE algorithm.
Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Dmitry Eremin-Solenikov [Thu, 14 Jun 2018 12:39:19 +0000 (15:39 +0300)]
nettle/gost: provide GOST keywrapping support
Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Miroslav Lichvar [Wed, 6 Nov 2019 10:37:10 +0000 (11:37 +0100)]
prf: don't crash when called before handshake completion
If a gnutls_prf*() function is called before the handshake is completed,
return GNUTLS_E_INVALID_REQUEST instead of crashing.
Signed-off-by: Miroslav Lichvar <mlichvar@redhat.com>
Daiki Ueno [Wed, 6 Nov 2019 11:07:24 +0000 (12:07 +0100)]
nettle: backport fixes to cfb8_decrypt
cfb8: don't truncate output IV if input is shorter than block size:
https://git.lysator.liu.se/nettle/nettle/commit/
f4a9c842621baf5d71aa9cc3989851f44dc46861
Signed-off-by: Daiki Ueno <dueno@redhat.com>
Nikos Mavrogiannopoulos [Tue, 5 Nov 2019 15:47:17 +0000 (16:47 +0100)]
gnutls_privkey_sign_data2: removed unnecessary text [ci skip]
Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
Dmitry Eremin-Solenikov [Sat, 2 Nov 2019 20:26:42 +0000 (20:26 +0000)]
Merge branch 'crt-vrfy-final' into 'master'
tls-sig: reverse bytes in TLS signatures for GOST signatures
See merge request gnutls/gnutls!1114
Nikos Mavrogiannopoulos [Sat, 2 Nov 2019 09:15:48 +0000 (09:15 +0000)]
Merge branch 'tmp-update-ci-to-f31' into 'master'
Update CI to F31
See merge request gnutls/gnutls!1113
Nikos Mavrogiannopoulos [Fri, 1 Nov 2019 13:04:27 +0000 (14:04 +0100)]
.gitlab-ci.yml: do not inline strcmp in valgrind build
Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
Nikos Mavrogiannopoulos [Fri, 1 Nov 2019 09:24:24 +0000 (10:24 +0100)]
.gitlab-ci.yml: removed unnecessary use of --enable-valgrind-tests
Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
Nikos Mavrogiannopoulos [Fri, 1 Nov 2019 08:59:40 +0000 (08:59 +0000)]
Merge branch 'master' into 'master'
nettle: Support sysctl(KERN_ARND) for random number generation on NetBSD.
See merge request gnutls/gnutls!1109
nia [Thu, 31 Oct 2019 18:36:49 +0000 (18:36 +0000)]
Add NEWS entry for the NetBSD KERN_ARND change.
Signed-off-by: Nia Alarie <nia@NetBSD.org>
Dmitry Eremin-Solenikov [Thu, 18 May 2017 02:36:49 +0000 (05:36 +0300)]
tls-sig: reverse bytes in TLS signatures for GOST signatures
GOST TLS suites have one peculiarity: CertificateVerify message uses
byte order opposite to the rest of GOST signature usage (BE instead of
LE). So, reverse byte order in signatures in TLS code. For now this
applies only to TLS 1.2 code. GOST TLS 1.3 ciphersuites will also follow
this approach. Legacy TLS 1.0 ciphersuites also had this peculiarity.
Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Nikos Mavrogiannopoulos [Thu, 31 Oct 2019 10:47:57 +0000 (10:47 +0000)]
Merge branch 'logfile-doc-improvement' into 'master'
doc: describe how to make gnutls-cli quiet for pipe usage
Closes #845
See merge request gnutls/gnutls!1108
Dmitry Eremin-Solenikov [Wed, 30 Oct 2019 14:20:23 +0000 (14:20 +0000)]
Merge branch 'remove-uint24' into 'master'
lib: simplify uint24 handling
See merge request gnutls/gnutls!1107
Nikos Mavrogiannopoulos [Wed, 30 Oct 2019 09:39:49 +0000 (10:39 +0100)]
.gitlab-ci.yml: updated CI environment to F31
Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
Nikos Mavrogiannopoulos [Fri, 11 Oct 2019 18:46:41 +0000 (20:46 +0200)]
tests: include config.h in rawpk-api.c
This seems to have impacted windows compilation.
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>