[gnutls-devel] GnuTLS | keyusage extension parsing (#1608)

Read-only notification of GnuTLS library development activities gnutls-devel at lists.gnutls.org
Thu Nov 14 10:12:31 CET 2024



dulanshuangqiao created an issue: https://gitlab.com/gnutls/gnutls/-/issues/1608



## Description of problem:
Parse 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:

 * certtool -i --inraw --infile fd.der

## Actual results:
![image](/uploads/ba24e73fd5661075a38924e3137e0868/image.png)

## Expected results:
I parse the certificate which has a keyusage extension with an empty value.
gnutls throws a tag error, while openssl successfully parses and displays a null value

![image](/uploads/8218bebff0161d782fa31f8491b0adf2/image.png)

-- 
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/-/issues/1608
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/20241114/d3f413fc/attachment.html>


More information about the Gnutls-devel mailing list