[gnutls-devel] GnuTLS | pkcs11: respect Mozilla's time-based distrust upon issuer lookup (!1725)

Read-only notification of GnuTLS library development activities gnutls-devel at lists.gnutls.org
Wed Mar 15 00:33:26 CET 2023




Daiki Ueno commented on a discussion on lib/x509/verify.c: https://gitlab.com/gnutls/gnutls/-/merge_requests/1725#note_1314310826

>  		if (gnutls_x509_crt_check_issuer
>  		    (certificate_list[clist_size - 1],
>  		     certificate_list[clist_size - 1]) != 0) {
>  			clist_size--;

JFTR, I meant: if the chain only comprises of certificates that are self-signed and present in the trust store, it will be trimmed to an empty list after this loop, and no further checks including distrust-after are performed.

-- 
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/-/merge_requests/1725#note_1314310826
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/20230314/f87905c5/attachment.html>


More information about the Gnutls-devel mailing list