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

Three bug fixes #13

Merged
merged 3 commits into from
Feb 26, 2024
Merged

Three bug fixes #13

merged 3 commits into from
Feb 26, 2024

Conversation

zqad
Copy link

@zqad zqad commented Aug 7, 2023

Thanks for the lst merge, got a few fixes that depended on the github actions as I added regression tests as part of the fixes.

  • Handle CRL serial >7
  • Fix show-status to not crash on missing DNS SANs
  • Handle CSRs without DNS SAN gracefully by adding a SAN using the CN

When the serial goes above 07 to 08, it becomes an invalid number as it
is interpreted as octal. Use the same trick as for the cert serial and
force hex interpretation.
Certificates created with sign-csr might not have DNS SANs, which would
lead to a crash ($san not set).
Server CSRs where handled the same as user CSRs: They were requested to
provide an email. Instead ensure existence of the DNS SAN, or preserve
the DNS SAN from the CSR.
@tomberek tomberek merged commit 609417b into tomberek:master Feb 26, 2024
3 checks passed
@zqad
Copy link
Author

zqad commented Feb 26, 2024

Thanks!

@zqad zqad deleted the fixes branch February 26, 2024 19:16
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