[gnutls-devel] GnuTLS | Certificate parsing differences (#1613)
Read-only notification of GnuTLS library development activities
gnutls-devel at lists.gnutls.org
Wed Nov 20 08:37:09 CET 2024
dulanshuangqiao created an issue: https://gitlab.com/gnutls/gnutls/-/issues/1613
## Description of problem:
The results of parsing the certificate using gnutls_x509_crt_import are different from those of parsing the certificate using certtool -i --inraw --infile fd.der
## Version of gnutls used:
gnutls-cli 3.7.3
## Distributor of gnutls (e.g., Ubuntu, Fedora, RHEL)
Ubuntu
## How reproducible:
Steps to Reproduce:
* one Parse the certificate using gnutls_x509_crt_import
* two Parse the certificate using certtool -i --inraw --infile Cert1731937920100M2.der
[Cert1731937920100M2.der](/uploads/916d89d6e6698f9c4036db86b169bace/Cert1731937920100M2.der)
## Actual results:
gnutls_x509_crt_import success,return GNUTLS_E_SUCCESS (0)
certtool -i --inraw --infile fd.der throws error:gnutls_x509_ext_import_authority_key_id: ASN1 parser:Error in DER parsing
## Expected results:
gnutls_x509_crt_import Returns an error value
--
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/-/issues/1613
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/20241120/db77e217/attachment.html>
More information about the Gnutls-devel
mailing list