Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: wolfSSL is unable to correctly process the CRL serial number field. #174

Open
onepeople158 opened this issue Mar 13, 2025 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@onepeople158
Copy link

onepeople158 commented Mar 13, 2025

Contact Details

No response

Version

I am using version 0.1.7 of the wolfssl Command Line Utility. Linked to wolfSSL version 5.7.6

Description

Hello Developer,

I have a CRL file, and its CRL number field is 1340261524025379168094198301688384645909778198. According to RFC5280, the CRL parser must be able to handle CRL numerical values up to 20 bytes, which corresponds to a maximum decimal integer of 49 digits. However, the CRL number field above is a 46-digit decimal integer. The result from parsing with wolfCLU is 1318915862. So, is this a bug?

Reproduction steps

wolfssl crl -inform der -in crl_file_serial.der -text

crl_file_serial.zip

Relevant log output

@onepeople158 onepeople158 added the bug Something isn't working label Mar 13, 2025
@kareem-wolfssl kareem-wolfssl transferred this issue from wolfSSL/wolfssl Mar 13, 2025
@embhorn embhorn assigned lealem47 and unassigned JacobBarthelmeh Mar 20, 2025
@lealem47
Copy link
Contributor

Hi @onepeople158,

Thank you for this report. I've put up this PR wolfSSL/wolfssl#8587 to handle both of the CRL parsing issues you reported

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants