crypto: fix CA trust block parsing - #64753
Conversation
|
Review requested:
|
|
ping @bnoordhuis |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #64753 +/- ##
==========================================
- Coverage 90.28% 90.25% -0.03%
==========================================
Files 762 762
Lines 247520 247524 +4
Branches 46692 46688 -4
==========================================
- Hits 223468 223409 -59
- Misses 15483 15534 +51
- Partials 8569 8581 +12 🚀 New features to boost your workflow:
|
|
@nodejs/security-wg |
|
@pimterry Should we ship this or wait another collaborator to approve as this pr open for one week? |
|
@Renegade334 @avivkeller Could you consider to land this ? |
Renegade334
left a comment
There was a problem hiding this comment.
This diverges from upstream and has the potential to be brittle. We should be re-synchronising this script with curl, as 5be9efc did (minus our own modifications).
|
eg. 6c96168 |
@Renegade334 Thanks for your work on this and I'm not verry familiar with perl so I just keep the minimum code change for fix.I check your code change and that look good to me so would you mind me adding you as co-author? |
Synchronize mk-ca-bundle.pl with curl 1.33. This brings in curl's corrected handling of NSS distrust-after metadata. Refs: https://github.com/curl/curl/blob/0ada20387c31c638cfd7f6b4ae7e5cab5b318caf/scripts/mk-ca-bundle.pl Signed-off-by: Archkon <180910180+Archkon@users.noreply.github.com>
Regenerate node_root_certs.h with the updated parser, restoring the Izenpe.com root certificate whose SERVER_AUTH trust attribute follows CKA_NSS_SERVER_DISTRUST_AFTER metadata. Co-authored-by: Renegade334 <contact.9a5d6388@renegade334.me.uk> Signed-off-by: Archkon <180910180+Archkon@users.noreply.github.com>
Renegade334
left a comment
There was a problem hiding this comment.
👍
Verified output with tools/mk-ca-bundle.pl -i and with a test run of the root-certs updater.
|
@Renegade334 seems all ci check happy and should we land this ? |
|
Landed in 579fb17 |
Fixes: #64752