openssl/openssl

OpenSSL incorrectly parsed the authorityCertIssuer field information containing Chinese characters

Open

#27,196 创建于 2025年3月29日

在 GitHub 查看
 (8 评论) (0 反应) (0 负责人)C (11,262 fork)batch import
help wantedtriaged: feature

仓库指标

Star
 (30,157 star)
PR 合并指标
 (30 天内没有已合并 PR)

描述

Version: OpenSSL 3.4.1 11 Feb 2025 (Library: OpenSSL 3.4.1 11 Feb 2025)

Test Case: A CRL file containing Chinese characters, where the authorityCertIssuer field in the AKI extension is specified as "/CN=中文/OU=中文/O=中文/L=中文/ST=中文/C=CN".

Command: openssl crl -in crl_Chinese_AuthorityCertIssuer.der -inform DER -text -noout

Result: The command successfully printed the authorityCertIssuer field information of the CRL file containing Chinese characters, but the names were incorrect. In contrast, when printing the authorityCertIssuer field of the CRL file using GnuTLS, the correct Chinese characters were displayed. The following screenshot shows the print result from OpenSSL.

Image

Test Case:

crl_Chinese_AuthorityCertIssuer.zip

贡献者指南