forked from notaryproject/notation-go
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: added tsa trust store root cert validation (notaryproject#471)
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 notaryproject#470 --------- Signed-off-by: Patrick Zheng <[email protected]>
- Loading branch information
1 parent
3c33022
commit d66c7ab
Showing
5 changed files
with
48 additions
and
0 deletions.
There are no files selected for viewing
Binary file added
BIN
+1.39 KB
verifier/testdata/truststore/x509/tsa/test-mismatch/DigiCertTSARootSHA384.cer
Binary file not shown.
File renamed without changes.
Binary file added
BIN
+1.28 KB
verifier/testdata/truststore/x509/tsa/test-nonSelfIssued/nonSelfIssued.crt
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters