[gnutls-devel] GnuTLS | GnuTLS handling of escape characters (#1677)
Read-only notification of GnuTLS library development activities
gnutls-devel at lists.gnutls.org
Mon Mar 10 04:18:08 CET 2025
Qianxin Cheng created an issue: https://gitlab.com/gnutls/gnutls/-/issues/1677
## Description of problem:
Hello Developer:
I have a CRL file, and the "O" field in its issuer section contains an escape character. The value of the "O" field is 'VeriSign\'. When I use GnuTLS to parse this CRL file, GnuTLS interprets the "O" field as 'VeriSign\'. However, when I open the CRL file as a .crl file, the "O" field in the issuer section shows as 'VeriSign'.
Therefore, I suspect that the handling of the escape character '\' by GnuTLS may not be entirely reasonable.
## Version of gnutls used:
GnuTLS 3.8.9
## Distributor of gnutls (e.g., Ubuntu, Fedora, RHEL)
Ubuntu
## How reproducible:
certtool --crl-info --inder --infile crl_file_.der
## Actual results:
The issuer field is parsed as Issuer: OU=Class 3 Public Primary Certification Authority,CN=test,O=VeriSign\\,L=test,ST=test,C=US.
## Expected results:
[crl_file_.der](/uploads/b674b4d460fac0bcdd1590920f6edf65/crl_file_.der)[crl_file_.crl](/uploads/d9bdeab38ac289b18339de7f1d4bcb4c/crl_file_.crl)
--
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/-/issues/1677
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/20250310/ffd6b729/attachment.html>
More information about the Gnutls-devel
mailing list