[gnutls-devel] GnuTLS | Country field with more than two English characters. (#1674)
Read-only notification of GnuTLS library development activities
gnutls-devel at lists.gnutls.org
Tue Mar 4 13:27:06 CET 2025
Qianxin Cheng created an issue: https://gitlab.com/gnutls/gnutls/-/issues/1674
## Description of problem:
Hello Developer, I have a CRL file where the Country value in the Issuer field is "USA." Normally, ISO 3166-1 specifies two characters to represent a country name. However, GnuTLS successfully printed the Issuer field information of this CRL file without any errors. Therefore, I would like to ask if this is a bug.
## Version of gnutls used:
GnuTLS 3.7.11
## Distributor of gnutls (e.g., Ubuntu, Fedora, RHEL)
Ubuntu
## How reproducible:
certtool --crl-info --inder --infile USA_Country.der
## Actual results:
GnuTLS successfully printed this CRL file.
## Expected results:
For comparison, when using Python's Cryptography library to print this CRL file, the following error was displayed: error: must be >= 2 and <= 2, but it was 3.
[USA_Country.der](/uploads/453ebed1da954300e5b20e151fcdb32b/USA_Country.der)
--
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/-/issues/1674
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/20250304/b60d78d3/attachment.html>
More information about the Gnutls-devel
mailing list