[gnutls-devel] GnuTLS | cockpit-certificate-ensure: ../../../lib/x509/common.c:1756: _gnutls_sort_clist: Assertion `k == clist_size' failed. (#1521)

Read-only notification of GnuTLS library development activities gnutls-devel at lists.gnutls.org
Fri Jan 5 08:51:34 CET 2024

Jean-Luc Duprat commented: https://gitlab.com/gnutls/gnutls/-/issues/1521#note_1715238476

The two attached files demonstrate the problem.  They were custom created to repro this issue, no concerns with the key being posted here.

On Fedora 39, if dropped in /etc/cockpit/ws-certs.d/
when the following command is run
`$ sudo /usr/libexec/cockpit-certificate-ensure --check`
cockpit-certificate-ensure: ../../../lib/x509/common.c:1756: _gnutls_sort_clist: Assertion `k == clist_size' failed.


The chain described above is contained in foo.crt and should help answer your questions and repro the issue.

I am not sure of the API calls that cockpit-certificate-ensure is making, however they are likely over here:

Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/-/issues/1521#note_1715238476
You're receiving this email because of your account on gitlab.com.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gnupg.org/pipermail/gnutls-devel/attachments/20240105/be843ff4/attachment.html>

More information about the Gnutls-devel mailing list