Skip to content

Bump SerialNumber max length limit #848

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

Closed
wants to merge 1 commit into from

Conversation

roblabla
Copy link
Contributor

@roblabla roblabla commented Jan 19, 2023

One of the certs in MS' root of trust has a serial number of length 21.

Bump it to 30 to be safe.

Link to the certificate: http://www.download.windowsupdate.com/msdownload/update/v3/static/trustedr/en/d3eefbcbbcf49867838626e23bb59ca01e305db7.crt

See it on lapo.it

One of the certs in MS' root of trust has a serial number of length 21.

Bump it to 30 to be safe
@tarcieri
Copy link
Member

I'm guessing the fix you actually want is #831.

This change would violate a MUST NOT in RFC5280:

https://www.rfc-editor.org/rfc/rfc5280#section-4.1.2.2

Conforming CAs MUST NOT use serialNumber values longer than 20 octets.

@tarcieri tarcieri closed this Jan 19, 2023
@roblabla
Copy link
Contributor Author

Ah, yes, that seems to be the case.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants