Skip to content

Fix extension processing order in x509 cli#2916

Merged
justsmth merged 4 commits intoaws:mainfrom
nhatnghiho:x509-cli
Dec 17, 2025
Merged

Fix extension processing order in x509 cli#2916
justsmth merged 4 commits intoaws:mainfrom
nhatnghiho:x509-cli

Conversation

@nhatnghiho
Copy link
Copy Markdown
Contributor

Description of changes:

Our x509 cli currently does extension handling before generating a serial number for the certificate, which would lead to an incorrect AKID for self-signed certificates. This PR fixes that.

Testing:

Unit tests

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license and the ISC license.

@nhatnghiho nhatnghiho requested a review from a team as a code owner December 17, 2025 17:15
@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented Dec 17, 2025

Codecov Report

❌ Patch coverage is 69.23077% with 16 lines in your changes missing coverage. Please review.
✅ Project coverage is 78.16%. Comparing base (192d915) to head (55486a1).

Files with missing lines Patch % Lines
tool-openssl/test_util.cc 20.00% 9 Missing and 3 partials ⚠️
tool-openssl/x509.cc 50.00% 4 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2916      +/-   ##
==========================================
+ Coverage   78.15%   78.16%   +0.01%     
==========================================
  Files         689      689              
  Lines      118633   118676      +43     
  Branches    16684    16687       +3     
==========================================
+ Hits        92718    92764      +46     
+ Misses      25025    25023       -2     
+ Partials      890      889       -1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@justsmth justsmth enabled auto-merge (squash) December 17, 2025 21:23
@justsmth justsmth merged commit ca4a1ba into aws:main Dec 17, 2025
392 of 393 checks passed
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.

4 participants