[gnutls-devel] GnuTLS | TAG check for extensions (#1652)
Read-only notification of GnuTLS library development activities
gnutls-devel at lists.gnutls.org
Fri Jan 31 11:06:56 CET 2025
dulanshuangqiao created an issue: https://gitlab.com/gnutls/gnutls/-/issues/1652
## Description of problem:
When importing a certificate with incorrect extension (incorrect TAG) using gnutls_x509_crt_import, only the Subject Alternative Name extension will be processed with a "Error in TAG". Other extensions with incorrect TAG will still be accepted without a "Error in TAG".
## Version of gnutls used:
gnutls-cli 3.7.3
## Distributor of gnutls (e.g., Ubuntu, Fedora, RHEL)
Ubuntu
## How reproducible:
Steps to Reproduce:
* one gnutls_x509_crt_import
## Actual results:
Except for SAN, other extensions are not checked
## Expected results:
For extensions with incorrect TAG, an error "Error in TAG" is thrown
--
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/-/issues/1652
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/20250131/9b2704bc/attachment.html>
More information about the Gnutls-devel
mailing list