]>
git.ipfire.org Git - thirdparty/gnutls.git/log
Zoltan Fridrich [Tue, 8 Mar 2022 17:01:37 +0000 (18:01 +0100)]
Make gnutls compliant to RFC5280
Signed-off-by: Zoltan Fridrich <zfridric@redhat.com>
Daiki Ueno [Wed, 16 Mar 2022 06:13:24 +0000 (06:13 +0000)]
Merge branch 'wip/dueno/compress-cert-cli' into 'master'
cli, serv: allow multiple --compress-cert options
See merge request gnutls/gnutls!1553
Daiki Ueno [Mon, 14 Mar 2022 15:03:07 +0000 (16:03 +0100)]
cli, serv: allow multiple --compress-cert options
This eliminates the need of parsing the comma separated list manually.
Signed-off-by: Daiki Ueno <ueno@gnu.org>
Daiki Ueno [Mon, 14 Mar 2022 14:38:29 +0000 (14:38 +0000)]
Merge branch 'wip/dueno/options' into 'master'
Make option description type-safe
See merge request gnutls/gnutls!1535
Daiki Ueno [Mon, 14 Mar 2022 08:47:25 +0000 (08:47 +0000)]
Merge branch 'calloc' into 'master'
Always check calloc() return value for NULL
See merge request gnutls/gnutls!1552
Tobias Heider [Sun, 13 Mar 2022 22:58:42 +0000 (23:58 +0100)]
Handle all cases of calloc returning NULL.
Signed-off-by: Tobias Heider <tobias.heider@canonical.com>
František Krenželok [Sat, 12 Mar 2022 06:55:05 +0000 (06:55 +0000)]
Merge branch 'config' into 'master'
Fix global-ini-handler
See merge request gnutls/gnutls!1551
Frantisek Krenzelok [Fri, 11 Mar 2022 17:22:18 +0000 (18:22 +0100)]
Fix global-ini-handler
Signed-off-by: Frantisek Krenzelok <krenzelok.frantisek@gmail.com>
Daiki Ueno [Thu, 10 Feb 2022 14:58:08 +0000 (15:58 +0100)]
Make option specification type-safe
This switches the CLI code and documentation generation to the
external cligen module, which provides more type-safe specification.
Signed-off-by: Daiki Ueno <ueno@gnu.org>
Daiki Ueno [Wed, 9 Mar 2022 11:26:02 +0000 (11:26 +0000)]
Merge branch 'wip/dueno/lock-macro' into 'master'
locks: define lock functions as a macro
Closes #1330
See merge request gnutls/gnutls!1549
Daiki Ueno [Wed, 9 Mar 2022 11:08:42 +0000 (11:08 +0000)]
Merge branch 'fips' into 'master'
fips: use GNUTLS_FIPS140_STRICT instead of magic number.
See merge request gnutls/gnutls!1547
Tobias Heider [Wed, 9 Mar 2022 00:18:20 +0000 (01:18 +0100)]
fips: use GNUTLS_FIPS140_STRICT instead of magic number.
Signed-off-by: Tobias Heider <tobias.heider@canonical.com>
Daiki Ueno [Wed, 9 Mar 2022 08:45:47 +0000 (08:45 +0000)]
Merge branch 'wip/dueno/ci-timeout' into 'master'
.gitlab-ci.yml: prolong timeout for slow CI jobs
See merge request gnutls/gnutls!1548
Daiki Ueno [Wed, 9 Mar 2022 07:07:58 +0000 (08:07 +0100)]
locks: define lock functions as a macro
When threads are not supported, glthread_* functions are defined as
no-op and thus dereferencing lock variables in inline functions will
cause compilation error. This change fixes it by redefining our lock
functions as a macro so it will also be compiled out.
Reported by Fabrice Fontaine in:
https://gitlab.com/gnutls/gnutls/-/issues/1330
Signed-off-by: Daiki Ueno <ueno@gnu.org>
Daiki Ueno [Wed, 9 Mar 2022 06:25:01 +0000 (07:25 +0100)]
.gitlab-ci.yml: prolong timeout for slow CI jobs
Suggested by Marvin Scholz in:
https://gitlab.com/gnutls/gnutls/-/merge_requests/1543#note_859825412
Signed-off-by: Daiki Ueno <ueno@gnu.org>
Daiki Ueno [Sat, 5 Mar 2022 07:18:06 +0000 (07:18 +0000)]
Merge branch 'wip/dueno/strcodes' into 'master'
algorithms: ensure _list() exclude non-existing algorithms
See merge request gnutls/gnutls!1542
Daiki Ueno [Wed, 2 Mar 2022 14:19:35 +0000 (14:19 +0000)]
Merge branch 'wip/dueno/libtss2-esys-dlopen' into 'master'
tpm2: dynamically load tss2 libraries as needed
See merge request gnutls/gnutls!1544
Daiki Ueno [Wed, 2 Mar 2022 12:34:14 +0000 (12:34 +0000)]
Merge branch 'epirat-fix-missing-frameworks-pc-file' into 'master'
configure.ac: add missing Libs.private for macOS
See merge request gnutls/gnutls!1543
Daiki Ueno [Wed, 23 Feb 2022 18:48:52 +0000 (19:48 +0100)]
tpm2: dynamically load tss2 libraries as needed
libtss2-esys links to OpenSSL or mbed TLS for cryptography, which may
cause packaging issues. This instead dlopen's tss2 libraries as
needed so non-TPM applications continue working without loading
multiple crypto libraries.
Signed-off-by: Daiki Ueno <ueno@gnu.org>
Daiki Ueno [Wed, 2 Mar 2022 05:17:10 +0000 (05:17 +0000)]
Merge branch 'zfridric_devel' into 'master'
Add compress_certificate extension (RFC8879)
Closes #1301
See merge request gnutls/gnutls!1512
Zoltan Fridrich [Wed, 12 Jan 2022 13:57:42 +0000 (14:57 +0100)]
Add compress_certificate extension (RFC8879)
Signed-off-by: Zoltan Fridrich <zfridric@redhat.com>
Daiki Ueno [Mon, 28 Feb 2022 19:46:46 +0000 (19:46 +0000)]
Merge branch 'master' into 'master'
x509: fix return error code for failed decryption without key
Closes #1321
See merge request gnutls/gnutls!1546
Craig Gallek [Sun, 27 Feb 2022 15:39:07 +0000 (10:39 -0500)]
x509: fix return error code for failed decryption without key
Decrypting an encrypted private key previously returned
GNUTLS_E_DECRYPTION_FAILED when no password was supplied. This changed when
decryption via pin callbacks was added in
d31b89de .
That change should have included a check for callback existence in order to
preserve the error path of the no-password case.
This adds the check and a test for the previous behavior.
Resolves bug #1321
Signed-off-by: Craig Gallek <cgallek@gmail.com>
Daiki Ueno [Sat, 26 Feb 2022 15:49:19 +0000 (15:49 +0000)]
Merge branch 'wip/dueno/sendfile' into 'master'
gnutls_record_send_file: make it work with non-blocking I/O
See merge request gnutls/gnutls!1545
Daiki Ueno [Thu, 24 Feb 2022 08:55:01 +0000 (09:55 +0100)]
gnutls_record_send_file: make it work with non-blocking I/O
When either read() or gnutls_record_send() returns EAGAIN, just return
to the caller so it can call this function again, instead of retrying
internally.
Signed-off-by: Daiki Ueno <ueno@gnu.org>
Daiki Ueno [Thu, 24 Feb 2022 06:45:49 +0000 (06:45 +0000)]
Merge branch 'ktls_sendfile' into 'master'
ktls: sendfile
See merge request gnutls/gnutls!1486
Marvin Scholz [Wed, 23 Feb 2022 18:03:51 +0000 (19:03 +0100)]
configure.ac: add missing Libs.private for macOS
On macOS the CoreFoundation and Security frameworks are used by
GnuTLS, however those were missing in the Libs.private in the .pc
resulting in link failures with static builds when relying on the
output of pkg-config --static.
Signed-off-by: Marvin Scholz <epirat07@gmail.com>
Frantisek Krenzelok [Wed, 16 Feb 2022 10:25:11 +0000 (11:25 +0100)]
non-KTLS sendfile test
Signed-off-by: Frantisek Krenzelok <krenzelok.frantisek@gmail.com>
Frantisek Krenzelok [Wed, 16 Feb 2022 10:23:36 +0000 (11:23 +0100)]
non-KTLS sendfile
Added: sendfile API functionality for non KTLS enabled builds.
Signed-off-by: Frantisek Krenzelok <krenzelok.frantisek@gmail.com>
Daiki Ueno [Tue, 22 Feb 2022 16:09:46 +0000 (17:09 +0100)]
algorithms: ensure _list() exclude non-existing algorithms
This aligns the behavior of _list() function for sign/pk to the one
for cipher/mac: the former previously returned all the algorithms
defined, while the latter returns only algorithms compiled in.
Signed-off-by: Daiki Ueno <ueno@gnu.org>
Daiki Ueno [Tue, 22 Feb 2022 16:25:26 +0000 (17:25 +0100)]
Revert "algorithms: compile out GOST algorithm IDs if they are disabled"
This reverts commit
aa94bcbdaa55899f4f4ae13dc3e9a8c559354676 .
Signed-off-by: Daiki Ueno <ueno@gnu.org>
Frantisek Krenzelok [Wed, 16 Feb 2022 10:22:47 +0000 (11:22 +0100)]
auto-generated files update
Signed-off-by: Frantisek Krenzelok <krenzelok.frantisek@gmail.com>
Frantisek Krenzelok [Tue, 16 Nov 2021 11:05:53 +0000 (12:05 +0100)]
ktls: sendfile
added API function: gnutls_record_send_file().
added: _gnutls_ktls_send_file() function which increases the performance
by offloading the file encryption to kernel, thus the data never goes
to userspace.
updated tests/gnutls_ktls to cover new API
Signed-off-by: Frantisek Krenzelok <krenzelok.frantisek@gmail.com>
Daiki Ueno [Tue, 22 Feb 2022 13:25:31 +0000 (13:25 +0000)]
Merge branch 'wip/dueno/gost-fixes' into 'master'
priority, algorithms: compile out GOST algorithms IDs if they are disabled
See merge request gnutls/gnutls!1539
Daiki Ueno [Mon, 21 Feb 2022 15:36:32 +0000 (16:36 +0100)]
algorithms: compile out GOST algorithm IDs if they are disabled
When compiled with --disable-gost, gnutls-cli --list still prints GOST
algorithms for public key systems and signatures. This change adds
compile time checks to suppress them.
Signed-off-by: Daiki Ueno <ueno@gnu.org>
Daiki Ueno [Tue, 22 Feb 2022 07:16:27 +0000 (07:16 +0000)]
Merge branch 'defer-setting-prio-string' into 'master'
[split off !1533] defer setting priority string
See merge request gnutls/gnutls!1540
Alexander Sosedkin [Mon, 21 Feb 2022 17:19:25 +0000 (18:19 +0100)]
lib/algorithms: add UB warnings on late allowlisting API invocations
Signed-off-by: Alexander Sosedkin <asosedkin@redhat.com>
Alexander Sosedkin [Mon, 14 Feb 2022 12:48:37 +0000 (13:48 +0100)]
lib/priority: defer setting system-wide priority string
Signed-off-by: Alexander Sosedkin <asosedkin@redhat.com>
Alexander Sosedkin [Mon, 14 Feb 2022 11:44:57 +0000 (12:44 +0100)]
lib/priority: split up update_system_wide_priority_string
This is done in preparation for deferring priority string evaluation.
Signed-off-by: Alexander Sosedkin <asosedkin@redhat.com>
Daiki Ueno [Mon, 21 Feb 2022 15:28:49 +0000 (16:28 +0100)]
priority: compile out GOST algorithms IDs if they are disabled
When compiled with --disable-gost, gnutls-cli --priority NORMAL --list
still prints GOST algorithms for ciphers, MACs, and signatures. This
change adds compile time checks to suppress them.
Signed-off-by: Daiki Ueno <ueno@gnu.org>
Daiki Ueno [Mon, 21 Feb 2022 06:38:28 +0000 (06:38 +0000)]
Merge branch 'bump-max-algorithm' into 'master'
bump GNUTLS_MAX_ALGORITHM_NUM / MAX_ALGOS
See merge request gnutls/gnutls!1538
Daiki Ueno [Sun, 20 Feb 2022 08:52:24 +0000 (08:52 +0000)]
Merge branch 'typos' into 'master'
Fix typos
See merge request gnutls/gnutls!1537
Daiki Ueno [Sun, 20 Feb 2022 07:17:39 +0000 (07:17 +0000)]
Merge branch 'zfridric_devel3' into 'master'
Disable some tests in fips mode
See merge request gnutls/gnutls!1536
Alexander Sosedkin [Fri, 18 Feb 2022 10:05:15 +0000 (11:05 +0100)]
bump GNUTLS_MAX_ALGORITHM_NUM / MAX_ALGOS
Fedora 36 LEGACY crypto-policy uses allowlisting format
and is long enough to blow past the 64 priority string
elements mark, causing, effectively, priority string truncation.
Signed-off-by: Alexander Sosedkin <asosedkin@redhat.com>
Dimitris Apostolou [Thu, 17 Feb 2022 15:35:59 +0000 (17:35 +0200)]
Fix typos
Signed-off-by: Dimitris Apostolou <dimitris.apostolou@icloud.com>
Zoltan Fridrich [Thu, 17 Feb 2022 10:46:29 +0000 (11:46 +0100)]
Disable some tests in fips mode
Signed-off-by: Zoltan Fridrich <zfridric@redhat.com>
Daiki Ueno [Wed, 16 Feb 2022 14:34:34 +0000 (14:34 +0000)]
Merge branch 'wip/dueno/iana-cs' into 'master'
gnutls_ciphersuite_get: new function to get unique ciphersuite name
Closes #1291
See merge request gnutls/gnutls!1513
Daiki Ueno [Wed, 16 Feb 2022 07:20:42 +0000 (07:20 +0000)]
Merge branch 'wip/dueno/fips-pkcs12' into 'master'
pkcs12: tighten algorithm checks under FIPS
See merge request gnutls/gnutls!1531
Daiki Ueno [Thu, 10 Feb 2022 16:35:13 +0000 (17:35 +0100)]
_gnutls_pkcs_raw_{decrypt,encrypt}_data: use public crypto API
These functions previously used the internal crypto
API (_gnutls_cipher_*) which does not have algorithm checks for FIPS.
This change switches the code to use the public crypto
API (gnutls_cipher_*) to trigger proper state transitions under FIPS
mode.
Signed-off-by: Daiki Ueno <ueno@gnu.org>
Daiki Ueno [Thu, 10 Feb 2022 15:43:08 +0000 (16:43 +0100)]
pkcs12: mark MAC generation and verification as FIPS non-approved
Signed-off-by: Daiki Ueno <ueno@gnu.org>
Daiki Ueno [Tue, 15 Feb 2022 18:16:10 +0000 (18:16 +0000)]
Merge branch 'wip/dueno/ktls-return-value' into 'master'
gnutls_transport_is_ktls_enabled: fix return value of stub
See merge request gnutls/gnutls!1534
Daiki Ueno [Tue, 15 Feb 2022 16:38:20 +0000 (17:38 +0100)]
gnutls_transport_is_ktls_enabled: fix return value of stub
Signed-off-by: Daiki Ueno <ueno@gnu.org>
Daiki Ueno [Wed, 12 Jan 2022 09:37:53 +0000 (10:37 +0100)]
gnutls_ciphersuite_get: new function to get unique ciphersuite name
The existing method to obtain the name of the currently negotiated TLS
ciphersuite is as follows:
- call gnutls_cipher_get, gnutls_mac_get, gnutls_kx_get
- call gnutls_cipher_suite_get_name with the value from the above functions
This process is cumbersome and only works with TLS 1.2 or earlier;
moreover the returned names are GnuTLS specific.
This change adds a new function gnutls_ciphersuite_get to eliminate
those limitations. It returns the "canonical" name of the
ciphersuite, which is mostly identical to the ones registered in IANA,
with an exception for compatibility.
Signed-off-by: Daiki Ueno <ueno@gnu.org>
Daiki Ueno [Thu, 10 Feb 2022 14:53:29 +0000 (14:53 +0000)]
Merge branch 'wip/dueno/nettle-master' into 'master'
.gitlab-ci.yml: fix nettle installation path
See merge request gnutls/gnutls!1492
Daiki Ueno [Mon, 20 Dec 2021 08:28:10 +0000 (09:28 +0100)]
tls-fuzzer: prolong timeout for FFDHE tests
Signed-off-by: Daiki Ueno <ueno@gnu.org>
Daiki Ueno [Fri, 26 Nov 2021 19:03:15 +0000 (20:03 +0100)]
.gitlab-ci.yml: prolong timeout for fedora-nettle-minigmp/test
Signed-off-by: Daiki Ueno <ueno@gnu.org>
Daiki Ueno [Fri, 26 Nov 2021 08:37:58 +0000 (09:37 +0100)]
.gitlab-ci.yml: fix nettle installation path
.fedora-nettle/build clones the nettle into "nettle-git" and
temporarily change the working directory while buidling it. After
moving back to the original working directory, the installation path
should be prefixed with "${PWD}/nettle-git/".
Signed-off-by: Daiki Ueno <ueno@gnu.org>
Daiki Ueno [Thu, 3 Feb 2022 15:35:40 +0000 (15:35 +0000)]
Merge branch 'wip/dueno/fips-rsa-keygen' into 'master'
rsa_generate_fips186_4_keypair: accept a few more modulus sizes
See merge request gnutls/gnutls!1523
Daiki Ueno [Tue, 1 Feb 2022 14:19:52 +0000 (15:19 +0100)]
certtool --generate-privkey: update warnings on RSA key sizes
Signed-off-by: Daiki Ueno <ueno@gnu.org>
Daiki Ueno [Thu, 27 Jan 2022 17:17:43 +0000 (18:17 +0100)]
rsa_generate_fips186_4_keypair: accept a few more modulus sizes
While _rsa_generate_fips186_4_keypair was modified to accept modulus
sizes other than 2048 and 3076, rsa_generate_fips186_4_keypair, which
calls that function, was not updated to accept such modulus sizes.
Spotted by Alexander Sosedkin.
Signed-off-by: Daiki Ueno <ueno@gnu.org>
Daiki Ueno [Thu, 3 Feb 2022 13:46:46 +0000 (13:46 +0000)]
Merge branch 'wip/dueno/fedora35' into 'master'
.gitlab-ci.yml: update Fedora images to Fedora 35
See merge request gnutls/gnutls!1527
Daiki Ueno [Fri, 7 Jan 2022 10:24:36 +0000 (11:24 +0100)]
.gitlab-ci.yml: update Fedora images to Fedora 35
Signed-off-by: Daiki Ueno <ueno@gnu.org>
Daiki Ueno [Tue, 1 Feb 2022 13:39:00 +0000 (13:39 +0000)]
Merge branch 'bump-soname' into 'master'
Bump libgnutlsxx soname due to ABI break
Closes #1318
See merge request gnutls/gnutls!1528
Seppo Yli-Olli [Mon, 31 Jan 2022 16:32:28 +0000 (18:32 +0200)]
Bump libgnutlsxx soname due to ABI break
db_check_entry and db_check_entry now have const parameters
Signed-off-by: Seppo Yli-Olli <seppo.yliolli@gmail.com>
Daiki Ueno [Sat, 29 Jan 2022 12:24:01 +0000 (12:24 +0000)]
Merge branch 'wip/dueno/tpmtool' into 'master'
Make --with-tpm2 not conflict with --with-tpm
Closes #1313
See merge request gnutls/gnutls!1526
Daiki Ueno [Fri, 28 Jan 2022 19:21:51 +0000 (19:21 +0000)]
Merge branch 'ktls-record-send-fix' into 'master'
ktls: fix _gnutls_ktls_send_control_msg return value
Closes #1314
See merge request gnutls/gnutls!1525
Daiki Ueno [Fri, 28 Jan 2022 15:18:16 +0000 (15:18 +0000)]
Merge branch 'aes-gcm-sizes' into 'master'
buffer size checks in accelerated cipher implementations
See merge request gnutls/gnutls!1521
Daiki Ueno [Fri, 28 Jan 2022 15:17:54 +0000 (15:17 +0000)]
Merge branch 'wip/dueno/doc-fixes2' into 'master'
Minor fixes after 3.7.3 (mainly documentation)
See merge request gnutls/gnutls!1524
Daiki Ueno [Fri, 28 Jan 2022 06:49:42 +0000 (07:49 +0100)]
configure.ac: make --with-tpm and --with-tpm2 independent
These features are not mutually exclusive, so it doesn't make sense to
disable the TPM 1.2 support with TPM 2.0 support.
Reported by Jan Palus in:
https://gitlab.com/gnutls/gnutls/-/issues/1313
Signed-off-by: Daiki Ueno <ueno@gnu.org>
Daiki Ueno [Fri, 28 Jan 2022 11:50:56 +0000 (12:50 +0100)]
gen-getopt.py: avoid struct member name clash with C keywords
Signed-off-by: Daiki Ueno <ueno@gnu.org>
Daiki Ueno [Fri, 28 Jan 2022 06:55:25 +0000 (07:55 +0100)]
tests: tcp_connect: avoid resource leak on error path
Signed-off-by: Daiki Ueno <ueno@gnu.org>
Daiki Ueno [Fri, 28 Jan 2022 07:48:47 +0000 (08:48 +0100)]
README.md: fix versions in build status and add 3.6.x
Signed-off-by: Daiki Ueno <ueno@gnu.org>
František Krenželok [Fri, 28 Jan 2022 11:49:32 +0000 (11:49 +0000)]
Merge branch 'ktls_fix' into 'master'
KTLS: hotfix
See merge request gnutls/gnutls!1522
Jan Palus [Fri, 28 Jan 2022 10:07:02 +0000 (11:07 +0100)]
ktls: fix _gnutls_ktls_send_control_msg return value
always returned 0 on success while contract mandates to return number of
bytes sent
Fixes #1314
Signed-off-by: Jan Palus <jpalus@fastmail.com>
Daiki Ueno [Fri, 28 Jan 2022 05:35:45 +0000 (06:35 +0100)]
release-steps: fix markup
Signed-off-by: Daiki Ueno <ueno@gnu.org>
Frantisek Krenzelok [Thu, 27 Jan 2022 12:54:21 +0000 (13:54 +0100)]
KTLS: hotfix
fixed: keys will be set only when both sockets were enabled for ktls
fixed: session->internals.ktls_enabled left uninitialized for non
ktls-enabled build
Signed-off-by: Frantisek Krenzelok <krenzelok.frantisek@gmail.com>
Alexander Sosedkin [Wed, 26 Jan 2022 15:25:01 +0000 (16:25 +0100)]
lib/accelerated: use unlikely on buffer length checks more consistently
Signed-off-by: Alexander Sosedkin <asosedkin@redhat.com>
Alexander Sosedkin [Wed, 26 Jan 2022 15:15:36 +0000 (16:15 +0100)]
lib/accelerated: rearranged several size checks to avoid overflow
Signed-off-by: Alexander Sosedkin <asosedkin@redhat.com>
Alexander Sosedkin [Tue, 25 Jan 2022 11:32:59 +0000 (12:32 +0100)]
tests/scripts/common: fix skipping over x86-specific tests
Signed-off-by: Alexander Sosedkin <asosedkin@redhat.com>
Alexander Sosedkin [Tue, 25 Jan 2022 12:37:55 +0000 (13:37 +0100)]
tests/slow/test-hash-large: output GNUTLS_CPUID_OVERRIDE hints
Signed-off-by: Alexander Sosedkin <asosedkin@redhat.com>
Alexander Sosedkin [Tue, 25 Jan 2022 12:46:46 +0000 (13:46 +0100)]
tests/slow/cipher-api-test: add happy paths, specific error checks etc
Signed-off-by: Alexander Sosedkin <asosedkin@redhat.com>
Alexander Sosedkin [Tue, 25 Jan 2022 12:36:19 +0000 (13:36 +0100)]
lib/accelerated: report GNUTLS_E_SHORT_MEMORY_BUFFER in many places
Signed-off-by: Alexander Sosedkin <asosedkin@redhat.com>
Andreas Metzler [Mon, 24 Jan 2022 17:13:41 +0000 (17:13 +0000)]
Merge branch 'tmp-2022-testsuite-more-bashism' into 'master'
testsuite: Fix missed instances of &> redirection
See merge request gnutls/gnutls!1519
Andreas Metzler [Mon, 24 Jan 2022 17:12:50 +0000 (17:12 +0000)]
Merge branch 'tmp-2022-testsuite-infinite-loop' into 'master'
testsuite: Fix endless loop on /bin/sh without $RANDOM
Closes #1315
See merge request gnutls/gnutls!1520
Alexander Sosedkin [Mon, 24 Jan 2022 16:37:24 +0000 (17:37 +0100)]
.gitlab-ci.yml: enable hardware acceleration in UB+ASAN jobs
Signed-off-by: Alexander Sosedkin <asosedkin@redhat.com>
Alexander Sosedkin [Mon, 24 Jan 2022 16:34:35 +0000 (17:34 +0100)]
tests/slow/cipher-api-test: actually test for short buffer...
... avoiding the case when different failures mask the intended one
Signed-off-by: Alexander Sosedkin <asosedkin@redhat.com>
Alexander Sosedkin [Mon, 24 Jan 2022 16:33:48 +0000 (17:33 +0100)]
lib/accelerated/x86/aes-gcm-x86-pclmul-avx: add short buffer checks
Signed-off-by: Alexander Sosedkin <asosedkin@redhat.com>
Andreas Metzler [Sun, 23 Jan 2022 12:40:17 +0000 (13:40 +0100)]
testsuite: Fix endless loop on /bin/sh without $RANDOM
Closes #1315
Signed-off-by: Andreas Metzler <ametzler@bebt.de>
Andreas Metzler [Sun, 23 Jan 2022 06:52:21 +0000 (07:52 +0100)]
testsuite: Fix missed instances of &> redirection
Signed-off-by: Andreas Metzler <ametzler@bebt.de>
Andreas Metzler [Sat, 22 Jan 2022 12:40:03 +0000 (12:40 +0000)]
Merge branch 'tmp-2022-testsuite-bashism' into 'master'
Avoid &> redirection bashism in testsuite
See merge request gnutls/gnutls!1518
Andreas Metzler [Fri, 21 Jan 2022 17:25:52 +0000 (18:25 +0100)]
Avoid &> redirection bashism in testsuite
Signed-off-by: Andreas Metzler <ametzler@bebt.de>
Daiki Ueno [Tue, 18 Jan 2022 06:59:08 +0000 (06:59 +0000)]
Merge branch 'wip/dueno/release-3.7.3' into 'master'
Release 3.7.3
See merge request gnutls/gnutls!1517
Daiki Ueno [Mon, 17 Jan 2022 15:48:10 +0000 (16:48 +0100)]
Release 3.7.3
Signed-off-by: Daiki Ueno <ueno@gnu.org>
Daiki Ueno [Tue, 18 Jan 2022 05:43:07 +0000 (06:43 +0100)]
tests: privkey-keygen: fix memory leak
Signed-off-by: Daiki Ueno <ueno@gnu.org>
Daiki Ueno [Sat, 30 Oct 2021 06:56:07 +0000 (08:56 +0200)]
x509: fix thread-safety in gnutls_x509_trust_list_verify_crt2
This function previously used gnutls_x509_trust_list_get_issuer
without GNUTLS_TL_GET_COPY flag, which is required when the function
is called from multi-threaded application and PKCS #11 trust store is
in use.
Reported and the change suggested by Remi Gacogne in:
https://gitlab.com/gnutls/gnutls/-/issues/1277
Signed-off-by: Daiki Ueno <ueno@gnu.org>
Daiki Ueno [Mon, 17 Jan 2022 17:53:32 +0000 (17:53 +0000)]
Merge branch 'wip/dueno/fips-module-version' into 'master'
fips: add mechanism to embed FIPS module name in the library
See merge request gnutls/gnutls!1508
Daiki Ueno [Sun, 16 Jan 2022 06:57:02 +0000 (07:57 +0100)]
cli: add --list-config option
With this option gnutls-cli prints the build-time configuration of the
library, retrieved through gnutls_get_library_config.
Signed-off-by: Daiki Ueno <ueno@gnu.org>
Daiki Ueno [Tue, 11 Jan 2022 06:36:27 +0000 (07:36 +0100)]
fips: add build option to embed FIPS module info in library config
This adds a couple of configure options, --with-fips140-module-name
and --with-fips140-module-version, which packagers can use to embed
FIPS module information in the library.
Signed-off-by: Daiki Ueno <ueno@gnu.org>
Daiki Ueno [Tue, 11 Jan 2022 06:34:59 +0000 (07:34 +0100)]
global: add API to retrieve library configuration at run time
Signed-off-by: Daiki Ueno <ueno@gnu.org>
Daiki Ueno [Sun, 16 Jan 2022 11:17:39 +0000 (12:17 +0100)]
configure.ac: emit feature summary as C macro
Signed-off-by: Daiki Ueno <ueno@gnu.org>