Skip to content

fix: added tsa trust store root cert validation#471

Merged
priteshbandi merged 3 commits intomainfrom
unknown repository
Nov 1, 2024
Merged

fix: added tsa trust store root cert validation#471
priteshbandi merged 3 commits intomainfrom
unknown repository

Conversation

@ghost
Copy link
Copy Markdown

@ghost ghost commented Oct 29, 2024

This PR adds tsa trust store root cert validation while getting certificates from trust store. This is to fail fast if cert in TSA trust store is not a root CA certificate.

Resolves #470

Signed-off-by: Patrick Zheng <patrickzheng@microsoft.com>
@codecov
Copy link
Copy Markdown

codecov bot commented Oct 29, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 80.25%. Comparing base (e1b80e2) to head (b4fba9c).
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #471      +/-   ##
==========================================
+ Coverage   80.18%   80.25%   +0.07%     
==========================================
  Files          34       34              
  Lines        3305     3318      +13     
==========================================
+ Hits         2650     2663      +13     
  Misses        509      509              
  Partials      146      146              

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

Signed-off-by: Patrick Zheng <patrickzheng@microsoft.com>
Copy link
Copy Markdown
Contributor

@shizhMSFT shizhMSFT left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Copy Markdown
Contributor

@priteshbandi priteshbandi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@priteshbandi priteshbandi merged commit 1dc55d0 into notaryproject:main Nov 1, 2024
@ghost ghost deleted the cert branch November 3, 2024 12:14
@ghost ghost mentioned this pull request Dec 12, 2024
6 tasks
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.

TSA trust store root certificate validation

2 participants