]>
git.ipfire.org Git - thirdparty/gnutls.git/log
Alexander Sosedkin [Fri, 20 Mar 2026 15:09:40 +0000 (16:09 +0100)]
tests/mini-dtls-fragments: implement a basic DTLS test
Signed-off-by: Alexander Sosedkin <asosedkin@redhat.com>
Daiki Ueno [Mon, 27 Apr 2026 23:38:52 +0000 (08:38 +0900)]
Merge branch 'typo-test-fix' into 'master'
tests: fix typo in skip message
See merge request gnutls/gnutls!2101
Sam James [Mon, 27 Apr 2026 17:51:19 +0000 (18:51 +0100)]
tests: fix typo in skip message
Otherwise we try to execute the skip message which results in noise
in the log. Copy the other places we skip and echo to stderr.
Signed-off-by: Sam James <sam@gentoo.org>
Daiki Ueno [Mon, 27 Apr 2026 08:48:14 +0000 (17:48 +0900)]
Merge branch 'wip/dueno/hpke2' into 'master'
Minor cleanup of HPKE API
See merge request gnutls/gnutls!2097
Daiki Ueno [Mon, 27 Apr 2026 08:27:03 +0000 (17:27 +0900)]
Merge branch 'wip/dueno/minor-fixes' into 'master'
Minor fixes for 3.8.13 release
Closes #1797 and #1855
See merge request gnutls/gnutls!2099
Daiki Ueno [Mon, 27 Apr 2026 08:26:09 +0000 (17:26 +0900)]
Merge branch 'wip/dueno/mldsa-pk-from-sk-followup' into 'master'
nettle: sanity check ML-DSA private key in pk_fixup
See merge request gnutls/gnutls!2093
Daiki Ueno [Mon, 27 Apr 2026 05:25:28 +0000 (14:25 +0900)]
nettle: support truncated authentication tag in Nettle 4 build
Reported by Joshua Rogers.
Signed-off-by: Daiki Ueno <ueno@gnu.org>
Daiki Ueno [Mon, 27 Apr 2026 02:10:08 +0000 (11:10 +0900)]
tests: execise client cert selection for RSA-PSS-RSAE algorithms
This adds a test case for
8366cd25ff81ddf27a7a5d885f64a3fdcc0c5125 , by
extending send-client-cert test with only RSA-PSS-* signature
algorithms are indicated by the server.
Signed-off-by: Daiki Ueno <ueno@gnu.org>
Daiki Ueno [Sun, 26 Apr 2026 12:58:28 +0000 (21:58 +0900)]
NEWS: mention gnutls_pkcs11_obj_get_pk_algorithm as a new function
Signed-off-by: Daiki Ueno <ueno@gnu.org>
Alexander Sosedkin [Wed, 18 Feb 2026 18:58:42 +0000 (19:58 +0100)]
doc/Makefile: add stamp_error_codes to EXTRA_DIST
This also moves stamp_* to MAINTAINERCLEANFILES from DISTCLEANFILES,
which should not include what's in the tarball.
Fixes: #1797
Signed-off-by: Alexander Sosedkin <asosedkin@redhat.com>
Modified-by: Daiki Ueno <ueno@gnu.org>
Daiki Ueno [Sun, 26 Apr 2026 02:13:33 +0000 (11:13 +0900)]
tests: match automake variables for pkcs11-obj-get-pk-algorithm
Signed-off-by: Daiki Ueno <ueno@gnu.org>
Daiki Ueno [Sun, 26 Apr 2026 02:10:10 +0000 (11:10 +0900)]
build: switch to using static_assert instead of verify
Gnulib now emulates static_assert in C23, prefer it over verify.
Signed-off-by: Daiki Ueno <ueno@gnu.org>
Daiki Ueno [Mon, 27 Apr 2026 02:09:25 +0000 (11:09 +0900)]
Merge branch 'fix-tls-1.3-handshake' into 'master'
Fix TLS 1.3 handshake
Closes #1842
See merge request gnutls/gnutls!2095
Daiki Ueno [Sun, 26 Apr 2026 01:15:34 +0000 (10:15 +0900)]
.gitlab-ci.yml: enable HPKE in Fedora builds
Signed-off-by: Daiki Ueno <ueno@gnu.org>
Alexander Sosedkin [Fri, 24 Apr 2026 08:44:16 +0000 (10:44 +0200)]
hpke/hpke-builders: use a relative include
Signed-off-by: Alexander Sosedkin <asosedkin@redhat.com>
Daiki Ueno [Tue, 21 Apr 2026 08:10:12 +0000 (17:10 +0900)]
hpke-key-management: use memcmp instead of manual comparison
Signed-off-by: Daiki Ueno <ueno@gnu.org>
Daiki Ueno [Tue, 21 Apr 2026 07:53:11 +0000 (16:53 +0900)]
hpke-key-management: fix the license header
Signed-off-by: Daiki Ueno <ueno@gnu.org>
Daiki Ueno [Tue, 21 Apr 2026 07:38:34 +0000 (16:38 +0900)]
hpke: rework public key serialization logic with existing facilities
Instead of manually serializing or deserializing KEM public keys, use
_gnutls_ecc_ansi_x962_{import,export} for NIST curves and copy
raw_pub from gnutls_pk_params_st for Edwards curves.
Signed-off-by: Daiki Ueno <ueno@gnu.org>
Daiki Ueno [Tue, 21 Apr 2026 03:42:21 +0000 (12:42 +0900)]
hpke: use _gnutls_set_datum as possible
Signed-off-by: Daiki Ueno <ueno@gnu.org>
Daiki Ueno [Mon, 20 Apr 2026 14:00:33 +0000 (23:00 +0900)]
configure: make it possible to toggle HPKE support
This adds a configure option to toggle support for HPKE. Currently the
feature is disabled, until the API is considered stable.
Signed-off-by: Daiki Ueno <ueno@gnu.org>
Daiki Ueno [Mon, 20 Apr 2026 13:49:48 +0000 (22:49 +0900)]
NEWS: expand HPKE entry with a bit more detail
Signed-off-by: Daiki Ueno <ueno@gnu.org>
Daiki Ueno [Mon, 20 Apr 2026 04:53:02 +0000 (13:53 +0900)]
doc: add HPKE section in "Using GnuTLS as a cryptographic library"
Signed-off-by: Daiki Ueno <ueno@gnu.org>
Daiki Ueno [Mon, 20 Apr 2026 13:39:50 +0000 (22:39 +0900)]
hpke: fix documentation comments
Signed-off-by: Daiki Ueno <ueno@gnu.org>
Daiki Ueno [Mon, 20 Apr 2026 13:09:59 +0000 (22:09 +0900)]
hpke: stop exposing gnutls_hpke_get_enc_size from public API
Given gnutls_hpke_encap allocates the "enc" anyway, having a special
function to get the size doesn't make much sense.
Signed-off-by: Daiki Ueno <ueno@gnu.org>
Daiki Ueno [Mon, 20 Apr 2026 13:01:25 +0000 (22:01 +0900)]
hpke: rename gnutls_hpke_generate_keypair to _derive_keypair
As the gnutls_hpke_generate_keypair function always generates a key
from IKM, rename it to _derive_keypair to match the terminology in
RFC 9180.
Signed-off-by: Daiki Ueno <ueno@gnu.org>
Daiki Ueno [Mon, 20 Apr 2026 12:56:09 +0000 (21:56 +0900)]
hpke: stop exposing testing functions from public API
This removes gnutls_hpke_set_seq, which was unused, and renames
gnutls_hpke_get_seq and gnutls_hpke_set_ikme to be clear that they are
testing functions.
Signed-off-by: Daiki Ueno <ueno@gnu.org>
Daiki Ueno [Mon, 20 Apr 2026 12:30:32 +0000 (21:30 +0900)]
hpke: give all additional information to encap/decap at once
This merges gnutls_hpke_set_{psk,sender_privkey,sender_pubkey} into
gnutls_hpke_encap and gnutls_hpke_decap to avoid copying keys.
Signed-off-by: Daiki Ueno <ueno@gnu.org>
Daiki Ueno [Mon, 20 Apr 2026 11:21:42 +0000 (20:21 +0900)]
gnutls_hpke_generate_keypair: expect initialized keys
This moves responsibility of initializing gnutls_pubkey_t or
gnutls_privkey_t to the caller of the function, to match the existing
convention in gnutls_privkey_generate*.
Signed-off-by: Daiki Ueno <ueno@gnu.org>
Daiki Ueno [Mon, 20 Apr 2026 05:30:21 +0000 (14:30 +0900)]
hpke: add "const" qualifier to gnutls_pubkey_t/gnutls_privkey_t
Signed-off-by: Daiki Ueno <ueno@gnu.org>
Daiki Ueno [Mon, 20 Apr 2026 05:05:21 +0000 (14:05 +0900)]
hpke: remove unnecessary "const" qualifier to enum types
Since they are a scalar, enum types are always constant.
Signed-off-by: Daiki Ueno <ueno@gnu.org>
Daiki Ueno [Mon, 20 Apr 2026 11:23:32 +0000 (20:23 +0900)]
hpke-tests: remove unnecessary cleanup label
As `fail` exits the program, the cleanup label will never be reached
upon error case.
Signed-off-by: Daiki Ueno <ueno@gnu.org>
Daiki Ueno [Mon, 20 Apr 2026 04:43:37 +0000 (13:43 +0900)]
hpke: fix gtk-doc markup for gnutls_hpke_{mode,role}_t
Signed-off-by: Daiki Ueno <ueno@gnu.org>
Daiki Ueno [Mon, 20 Apr 2026 03:57:32 +0000 (12:57 +0900)]
hpke: shorten function names by stripping _context_
Signed-off-by: Daiki Ueno <ueno@gnu.org>
Alexander Sosedkin [Fri, 24 Apr 2026 07:47:13 +0000 (07:47 +0000)]
Merge branch 'wip/dueno/news-3.8.13' into 'master'
NEWS: add entries for 3.8.13 [ci skip]
See merge request gnutls/gnutls!2091
Daiki Ueno [Mon, 13 Apr 2026 07:31:18 +0000 (16:31 +0900)]
NEWS: add entries for 3.8.13 [ci skip]
Signed-off-by: Daiki Ueno <ueno@gnu.org>
Daiki Ueno [Sat, 18 Apr 2026 11:42:13 +0000 (20:42 +0900)]
Merge branch 'dev/ddudas/hpke' into 'master'
Expose HPKE through abstract key API
See merge request gnutls/gnutls!1976
d-Dudas [Thu, 16 Apr 2026 19:07:34 +0000 (22:07 +0300)]
Updated NEWS and HPKE functions release version.
Signed-off-by: David Dudas <david.dudas03@e-uvt.ro>
d-Dudas [Mon, 13 Apr 2026 14:50:23 +0000 (17:50 +0300)]
Removed libgnutls_hpke.la
Signed-off-by: David Dudas <david.dudas03@e-uvt.ro>
d-Dudas [Mon, 13 Apr 2026 12:39:29 +0000 (15:39 +0300)]
Fixed memory leaks.
Signed-off-by: David Dudas <david.dudas03@e-uvt.ro>
d-Dudas [Mon, 13 Apr 2026 11:46:51 +0000 (14:46 +0300)]
Removed file commited by mistake.
Signed-off-by: David Dudas <david.dudas03@e-uvt.ro>
d-Dudas [Mon, 13 Apr 2026 11:12:04 +0000 (14:12 +0300)]
Added minitasn1 dependency to HPKE Makefile
Signed-off-by: David Dudas <david.dudas03@e-uvt.ro>
d-Dudas [Mon, 13 Apr 2026 07:15:50 +0000 (10:15 +0300)]
Make raw pubkey optional for raw privkey import.
If no raw pubkey is provided when importing raw
privkey, then derive the pubkey from privkey.
Signed-off-by: David Dudas <david.dudas03@e-uvt.ro>
d-Dudas [Fri, 3 Apr 2026 19:22:19 +0000 (22:22 +0300)]
Replaced buf+size pairs with datum
Also removed _gnutls_hpke prefix from
static functions.
Signed-off-by: David Dudas <david.dudas03@e-uvt.ro>
d-Dudas [Thu, 2 Apr 2026 18:42:58 +0000 (21:42 +0300)]
Remove GNUTLS_ prefix from private HPKE macros
Signed-off-by: David Dudas <david.dudas03@e-uvt.ro>
d-Dudas [Thu, 2 Apr 2026 18:28:05 +0000 (21:28 +0300)]
Replace int to bool as return type for boolean functions
Signed-off-by: David Dudas <david.dudas03@e-uvt.ro>
d-Dudas [Tue, 31 Mar 2026 20:53:34 +0000 (23:53 +0300)]
Created separate HPKE module
Added lib/hpke/Makefile.am and moved
files from lib/hpke/helpers to lib/hpke.
Signed-off-by: David Dudas <david.dudas03@e-uvt.ro>
d-Dudas [Tue, 31 Mar 2026 19:55:22 +0000 (22:55 +0300)]
Added gnutls/hpke.h
Moved every HPKE-related definitions and
declarations from gnutls/abstract.h to
the new gnutls/hpke.h.
Signed-off-by: David Dudas <david.dudas03@e-uvt.ro>
d-Dudas [Sun, 15 Mar 2026 06:44:19 +0000 (08:44 +0200)]
HPKE API rework.
Aligned the HPKE with RFC9180.
Signed-off-by: David Dudas <david.dudas03@e-uvt.ro>
d-Dudas [Mon, 3 Nov 2025 19:29:17 +0000 (21:29 +0200)]
Added HPKE API for DHKEM.
Signed-off-by: David Dudas <david.dudas03@e-uvt.ro>
Daiki Ueno [Sat, 18 Apr 2026 02:06:17 +0000 (11:06 +0900)]
Merge branch 'fix-p11tool-same-url' into 'master'
Add new API to fetch privkey type
Closes #1467
See merge request gnutls/gnutls!2074
Romain Tartière [Fri, 17 Apr 2026 00:08:31 +0000 (14:08 -1000)]
Fix TLS 1.3 handshake
Add the signature_algorithms_cert to the list of allowed algorithms if
present, and fallback to the signature_algorithms otherwise.
This better fit [RFC8446 section 4.2.3][1]:
> If no "signature_algorithms_cert" extension is present, then the
> "signature_algorithms" extension also applies to signatures appearing
> in certificates.
This fix TLS 1.3 handshake with Java after [JDK-
8349583 ][2].
[1]: https://datatracker.ietf.org/doc/html/rfc8446#section-4.2.3
[2]: https://bugs.openjdk.org/browse/JDK-
8349583
Signed-off-by: Romain Tartière <romain@blogreen.org>
Ghadi Elie Rahme [Fri, 17 Apr 2026 15:54:11 +0000 (15:54 +0000)]
Add unit test for gnutls_pkcs11_obj_get_pk_algorithm
Signed-off-by: Ghadi Elie Rahme <ghadi.rahme@canonical.com>
Daiki Ueno [Fri, 17 Apr 2026 03:45:29 +0000 (12:45 +0900)]
Merge branch 'tests-kryoptic-sha3' into 'master'
tests/pkcs11-provider/pkcs11-provider-hmac: uncomment SHA-3 tests
See merge request gnutls/gnutls!2094
Alexander Sosedkin [Thu, 16 Apr 2026 10:59:22 +0000 (12:59 +0200)]
tests/pkcs11-provider/pkcs11-provider-hmac: uncomment SHA-3 tests
Signed-off-by: Alexander Sosedkin <asosedkin@redhat.com>
Ghadi Elie Rahme [Tue, 24 Feb 2026 15:57:17 +0000 (15:57 +0000)]
p11tool: use object reference to list data
Closes #1467
Signed-off-by: Ghadi Elie Rahme <ghadi.rahme@canonical.com>
Ghadi Elie Rahme [Tue, 24 Feb 2026 15:57:12 +0000 (15:57 +0000)]
lib/pkcs11.c: fix dangling pointer in pkcs11_read_pubkey
Fixes a dangling pointer affecting CKK_EC_EDWARD. if _gnutls_pubkey_parse_ecc_eddsa_params
or _gnutls_ecc_curve_get_params fail, the cleanup section will be executed freeing tmpX
and leaving the datum in pobj dangling.
Signed-off-by: Ghadi Elie Rahme <ghadi.rahme@canonical.com>
Ghadi Elie Rahme [Mon, 9 Mar 2026 14:39:01 +0000 (14:39 +0000)]
auto-generated files update
Signed-off-by: Ghadi Elie Rahme <ghadi.rahme@canonical.com>
Ghadi Elie Rahme [Fri, 6 Mar 2026 18:08:53 +0000 (18:08 +0000)]
lib/pkcs11: Add new API to fetch privkey type
Signed-off-by: Ghadi Elie Rahme <ghadi.rahme@canonical.com>
Daiki Ueno [Wed, 15 Apr 2026 10:57:24 +0000 (19:57 +0900)]
Merge branch 'wip/dueno/nc-tree-followup' into 'master'
x509/name_constraints: minor fixes after !2083
See merge request gnutls/gnutls!2092
Daiki Ueno [Wed, 15 Apr 2026 09:36:48 +0000 (18:36 +0900)]
nettle: sanity check ML-DSA private key in pk_fixup
The caller should set raw_priv properly before calling pk_fixup. Add a
sanity check following the EdDSA case.
Signed-off-by: Daiki Ueno <ueno@gnu.org>
Daiki Ueno [Wed, 15 Apr 2026 09:28:00 +0000 (18:28 +0900)]
x509/name_constraints: use stdbool more
Signed-off-by: Daiki Ueno <ueno@gnu.org>
Daiki Ueno [Wed, 15 Apr 2026 09:24:50 +0000 (18:24 +0900)]
x509/name_constraints: remove unnecessary manual cleanup
There was a duplicate cleanup logic at the exit from
namename_constraints_init: one done manually and the other with
name_constraints_deinit. Remove the former as it's redundant.
Signed-off-by: Daiki Ueno <ueno@gnu.org>
Daiki Ueno [Wed, 15 Apr 2026 06:21:32 +0000 (15:21 +0900)]
Merge branch 'dev/ddudas/debug/compilation-warnings' into 'master'
Fixed some compilation warnings
See merge request gnutls/gnutls!2090
d-Dudas [Tue, 14 Apr 2026 18:05:59 +0000 (21:05 +0300)]
Updated cligen submodule
Signed-off-by: David Dudas <david.dudas03@e-uvt.ro>
d-Dudas [Mon, 13 Apr 2026 18:24:22 +0000 (21:24 +0300)]
Fixed some compilation warnings
Signed-off-by: David Dudas <david.dudas03@e-uvt.ro>
Daiki Ueno [Mon, 13 Apr 2026 01:56:54 +0000 (10:56 +0900)]
Merge branch 'wip/dueno/mldsa-pk-from-sk' into 'master'
nettle: support deriving ML-DSA public key from expanded secret key
Closes #1723
See merge request gnutls/gnutls!2088
Daiki Ueno [Sun, 12 Apr 2026 23:36:20 +0000 (08:36 +0900)]
Merge branch 'master' into 'master'
aarch64: Enable GCS
Closes #1764
See merge request gnutls/gnutls!2038
Daiki Ueno [Thu, 9 Apr 2026 04:47:26 +0000 (13:47 +0900)]
nettle: support deriving ML-DSA public key from expanded secret key
RFC 9881 defines 3 private key formats for ML-DSA: "seed",
"expandedKey" and both. When it is "expandedKey", a non-trivial
conversion is required to derive a public key, which is now
implemented in leancrypto through lc_dilithium_pk_from_sk. This patch
modifies the pk_fixup backend function to use it to derive a public
key when importing a private key.
Signed-off-by: Daiki Ueno <ueno@gnu.org>
Guillaume Gardet [Thu, 23 Oct 2025 13:19:08 +0000 (15:19 +0200)]
aarch64: Enable GCS
Signed-off-by: Guillaume Gardet <guillaume.gardet@arm.com>
Daiki Ueno [Fri, 10 Apr 2026 00:54:48 +0000 (09:54 +0900)]
nettle: use "switch" instead of "if" in wrap_nettle_pk_fixup
This makes it easier to conditionalize code with #ifdef.
Signed-off-by: Daiki Ueno <ueno@gnu.org>
Daiki Ueno [Thu, 9 Apr 2026 03:58:16 +0000 (12:58 +0900)]
privkey_to_pubkey: use constants to access public key parameters
Signed-off-by: Daiki Ueno <ueno@gnu.org>
Daiki Ueno [Mon, 30 Mar 2026 00:29:10 +0000 (09:29 +0900)]
Merge branch 'master' into 'master'
Check client certificate usage in serv
See merge request gnutls/gnutls!2087
Daiki Ueno [Mon, 30 Mar 2026 00:24:06 +0000 (09:24 +0900)]
Merge branch 'wip/dueno/nc-tree' into 'master'
x509/name_constraints: rework with rbtree-list
See merge request gnutls/gnutls!2083
Joachim Vandersmissen [Sun, 29 Mar 2026 15:55:08 +0000 (10:55 -0500)]
Use client certificate in gnutls-cli test
Signed-off-by: Joachim Vandersmissen <git@jvdsn.com>
Daiki Ueno [Sun, 29 Mar 2026 00:20:08 +0000 (09:20 +0900)]
Merge branch 'wip/dueno/doc-update' into 'master'
cli,serv: make it explicit that they are a testing program
See merge request gnutls/gnutls!2086
Daiki Ueno [Fri, 27 Mar 2026 01:26:03 +0000 (10:26 +0900)]
SECURITY.md: suggest CVSS v3.1 [ci skip]
Signed-off-by: Daiki Ueno <ueno@gnu.org>
Daiki Ueno [Sat, 28 Mar 2026 08:00:09 +0000 (17:00 +0900)]
SECURITY.md: don't impose normal process for low severity issues
Signed-off-by: Daiki Ueno <ueno@gnu.org>
Daiki Ueno [Fri, 27 Mar 2026 01:24:13 +0000 (10:24 +0900)]
SECURITY.md: make it explicit that testing programs are out of scope
Signed-off-by: Daiki Ueno <ueno@gnu.org>
Daiki Ueno [Fri, 27 Mar 2026 01:18:52 +0000 (10:18 +0900)]
cli,serv: make it explicit that they are a testing program
Signed-off-by: Daiki Ueno <ueno@gnu.org>
Daiki Ueno [Tue, 24 Mar 2026 11:27:37 +0000 (20:27 +0900)]
x509/name_constraints: refactor intersection/union with iterators
This refactors the loops in name_constraints_node_list_intersect and
name_constraints_node_list_union with gl_list_iterator_t, as well as
factor out the partitioning logic in _intersect to _partition.
Signed-off-by: Daiki Ueno <ueno@gnu.org>
Joachim Vandersmissen [Fri, 27 Mar 2026 03:09:55 +0000 (22:09 -0500)]
Check client certificate usage in serv
Signed-off-by: Joachim Vandersmissen <git@jvdsn.com>
Daiki Ueno [Wed, 25 Mar 2026 02:21:40 +0000 (11:21 +0900)]
x509/name_constraints: redefine type_bitmask_t as unsigned long
Previously type_bitmask_t was defined as uint8_t, which were
zero-extended to a machine word when doing bit-wise operations.
Signed-off-by: Daiki Ueno <ueno@gnu.org>
Daiki Ueno [Wed, 25 Mar 2026 07:32:08 +0000 (16:32 +0900)]
hello_ext: move static assertions from gnutls_int.h to hello_ext.c
Signed-off-by: Daiki Ueno <ueno@gnu.org>
Daiki Ueno [Mon, 23 Mar 2026 08:51:10 +0000 (17:51 +0900)]
x509/name_constraints: extensively use bool instead of unsigned
Signed-off-by: Daiki Ueno <ueno@gnu.org>
Daiki Ueno [Mon, 23 Mar 2026 08:20:45 +0000 (17:20 +0900)]
_gnutls_x509_name_constraints_is_empty: remove type argument
The type argument is only used in
gnutls_x509_name_constraints_check_crt defined in the same
file. Create a helper function name_constraints_contains_type split
from _gnutls_x509_name_constraints_is_empty to cater for that.
Signed-off-by: Daiki Ueno <ueno@gnu.org>
Daiki Ueno [Fri, 20 Mar 2026 01:50:56 +0000 (10:50 +0900)]
x509/name_constraints: extensively use gnutls_x509_subject_alt_name_t
Signed-off-by: Daiki Ueno <ueno@gnu.org>
Daiki Ueno [Tue, 17 Mar 2026 04:13:58 +0000 (13:13 +0900)]
x509/name_constraints: rework with rbtree-list
Instead of sorting permitted sets on demand, use a sorted list backed
by a binary tree to represent the sorted view of the sets. The
amortized complexity should be O(log n) as before.
Signed-off-by: Daiki Ueno <ueno@gnu.org>
Alexander Sosedkin [Thu, 26 Mar 2026 15:35:50 +0000 (15:35 +0000)]
Merge branch 'wip/dueno/utils' into 'master'
mem,str,datum: rename `_steal_*` to `_take_*`
See merge request gnutls/gnutls!2085
Daiki Ueno [Tue, 17 Mar 2026 03:42:23 +0000 (12:42 +0900)]
mem: make _gnutls_take_pointer type safer
This changes the source parameter of _gnutls_take_pointer from "void **"
to "void *", while adding automatic cast using typeof.
Signed-off-by: Daiki Ueno <ueno@gnu.org>
Daiki Ueno [Thu, 26 Mar 2026 03:39:56 +0000 (12:39 +0900)]
mem,str,datum: rename _steal_* to _take_*
While the name of _gnutls_steal_* functions was inspired by GLib's
g_steal_* family, it doesn't seem to be intuitive at first glance,
possibly because of the negative meaning of the word "steal". Let's
call it _gnutls_take_*, following the example of TAKE_* macros in
systemd and Option::take in Rust.
Signed-off-by: Daiki Ueno <ueno@gnu.org>
Daiki Ueno [Thu, 12 Mar 2026 22:58:40 +0000 (07:58 +0900)]
Merge branch 'ci-f43' into 'master'
.gitlab-ci.yml: move fedora jobs to Fedora 43
See merge request gnutls/gnutls!2082
Alexander Sosedkin [Thu, 12 Mar 2026 13:03:31 +0000 (13:03 +0000)]
Merge branch 'devel-ci-local' into 'master'
devel/ci-local.sh: add a gitlab-ci-local wrapper
See merge request gnutls/gnutls!2077
Alexander Sosedkin [Mon, 23 Feb 2026 16:10:51 +0000 (17:10 +0100)]
.gitlab-ci.yml: move fedora jobs to Fedora 43
Signed-off-by: Alexander Sosedkin <asosedkin@redhat.com>
Alexander Sosedkin [Mon, 2 Mar 2026 12:51:48 +0000 (13:51 +0100)]
devel/ci-local.sh: add a gitlab-ci-local wrapper
gitlab-ci-local doesn't play nicely with gnutls out of the box.
This adds a wrapper that smoothes several wrinkles out:
1. if you're using worktrees, bootstrapping submodules fails
2. there's no way to pass arbitrary arguments like `--remote` to podman
3. `artifacts: untracked: true` doesn't work without `paths` specified
4. commit-check job is skipped by default
Signed-off-by: Alexander Sosedkin <asosedkin@redhat.com>
Daiki Ueno [Fri, 6 Mar 2026 00:51:58 +0000 (09:51 +0900)]
Merge branch 'c99' into 'master'
configure: make the C99 detection more resiliant
Closes #1806
See merge request gnutls/gnutls!2081
Ross Burton [Thu, 5 Mar 2026 11:33:57 +0000 (11:33 +0000)]
configure: make the C99 detection more resiliant
autoconf 2.73 will default to C23 by default, which means that the >C99
detection logic in configure.ac will fail because it only handles c11
and c99.
Instead of adding c23 to the list and then breaking again in the future,
flip the logic around (as suggested by Zack Weinberg) and check
explicitly for just c89.
Closes #1806.
Signed-off-by: Ross Burton <ross.burton@arm.com>
Alexander Sosedkin [Wed, 4 Mar 2026 16:31:52 +0000 (16:31 +0000)]
Merge branch 'ktls-chacha-iv-fix' into 'master'
ktls: fix ChaCha20-Poly1305 IV passing for TLS 1.2
See merge request gnutls/gnutls!2079
Alexander Sosedkin [Tue, 3 Mar 2026 18:52:18 +0000 (19:52 +0100)]
ktls: simplify ChaCha20‑Poly1305 IV passing
Signed-off-by: Alexander Sosedkin <asosedkin@redhat.com>
Alexander Sosedkin [Tue, 3 Mar 2026 18:47:25 +0000 (19:47 +0100)]
ktls: fix ChaCha20-Poly1305 IV passing for TLS 1.2
Signed-off-by: Alexander Sosedkin <asosedkin@redhat.com>
Alexander Sosedkin [Wed, 4 Mar 2026 13:03:50 +0000 (13:03 +0000)]
Merge branch 'wip/dueno/remove-nettle-bundle' into 'master'
Remove no longer used files copied from Nettle
See merge request gnutls/gnutls!2078