-
Notifications
You must be signed in to change notification settings - Fork 387
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add SHA-2 self-signed cert and use SecureString as password parameter
- Loading branch information
Showing
5 changed files
with
105 additions
and
72 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,61 +1,65 @@ | ||
{ | ||
"tool": "Credential Scanner", | ||
"suppressions": [ | ||
{ | ||
"file": "SelfSigned1024_SHA1.pfx", | ||
"_justification": "Self-signed certificate used by unit tests" | ||
}, | ||
{ | ||
"file": "SelfSigned1024_SHA256.pfx", | ||
"_justification": "Self-signed certificate used by unit tests." | ||
}, | ||
{ | ||
"file": "SelfSigned2048_SHA256.pfx", | ||
"_justification": "Self-signed certificate used by unit tests." | ||
}, | ||
{ | ||
"file": "SelfSigned2048_SHA384.pfx", | ||
"_justification": "Self-signed certificate used by unit tests." | ||
}, | ||
{ | ||
"file": "SelfSigned2048_SHA512.pfx", | ||
"_justification": "Self-signed certificate used by unit tests" | ||
}, | ||
{ | ||
"file": "KeyingMaterial.cs", | ||
"_justification": "Test contains password to load the two dummy valid_cert files excluded above" | ||
}, | ||
{ | ||
"file": "JsonWebTokenHandlerTests.cs", | ||
"_justification": "Test contains an access token that's used only for testing purposes." | ||
}, | ||
{ | ||
"file": "OpenIdConnectParameterNames.cs", | ||
"_justification": "One of the constants has value: 'client_secret' which triggers a CredScan issue." | ||
}, | ||
{ | ||
"file": "ReferenceTokens.cs", | ||
"_justification": "File contains tokens that are used only for testing purposes." | ||
}, | ||
{ | ||
"file": "SignedHttpRequestTestUtils.cs", | ||
"_justification": "File contains tokens that are used only for testing purposes." | ||
}, | ||
{ | ||
"file": "JsonWebKeyTests.cs", | ||
"_justification": "File contains tokens that are used only for testing purposes." | ||
}, | ||
{ | ||
"file": "TestData.cs", | ||
"_justification": "File contains tokens that are used only for testing purposes." | ||
}, | ||
{ | ||
"file": "JwtSecurityTokenHandlerTests.cs", | ||
"_justification": "File contains tokens that are used only for testing purposes." | ||
}, | ||
{ | ||
"file": "References.cs", | ||
"_justification": "File contains tokens that are used only for testing purposes." | ||
} | ||
] | ||
"suppressions": [ | ||
{ | ||
"file": "SelfSigned1024_SHA1.pfx", | ||
"_justification": "Self-signed certificate used by unit tests" | ||
}, | ||
{ | ||
"file": "SelfSigned1024_SHA256.pfx", | ||
"_justification": "Self-signed certificate used by unit tests." | ||
}, | ||
{ | ||
"file": "SelfSigned2048_SHA256.pfx", | ||
"_justification": "Self-signed certificate used by unit tests." | ||
}, | ||
{ | ||
"file": "SelfSigned2048_SHA256_2.pfx", | ||
"_justification": "Self-signed certificate used by unit tests." | ||
}, | ||
{ | ||
"file": "SelfSigned2048_SHA384.pfx", | ||
"_justification": "Self-signed certificate used by unit tests." | ||
}, | ||
{ | ||
"file": "SelfSigned2048_SHA512.pfx", | ||
"_justification": "Self-signed certificate used by unit tests" | ||
}, | ||
{ | ||
"file": "KeyingMaterial.cs", | ||
"_justification": "Test contains password to load the two dummy valid_cert files excluded above" | ||
}, | ||
{ | ||
"file": "JsonWebTokenHandlerTests.cs", | ||
"_justification": "Test contains an access token that's used only for testing purposes." | ||
}, | ||
{ | ||
"file": "OpenIdConnectParameterNames.cs", | ||
"_justification": "One of the constants has value: 'client_secret' which triggers a CredScan issue." | ||
}, | ||
{ | ||
"file": "ReferenceTokens.cs", | ||
"_justification": "File contains tokens that are used only for testing purposes." | ||
}, | ||
{ | ||
"file": "SignedHttpRequestTestUtils.cs", | ||
"_justification": "File contains tokens that are used only for testing purposes." | ||
}, | ||
{ | ||
"file": "JsonWebKeyTests.cs", | ||
"_justification": "File contains tokens that are used only for testing purposes." | ||
}, | ||
{ | ||
"file": "TestData.cs", | ||
"_justification": "File contains tokens that are used only for testing purposes." | ||
}, | ||
{ | ||
"file": "JwtSecurityTokenHandlerTests.cs", | ||
"_justification": "File contains tokens that are used only for testing purposes." | ||
}, | ||
{ | ||
"file": "References.cs", | ||
"_justification": "File contains tokens that are used only for testing purposes." | ||
} | ||
] | ||
} |
Binary file not shown.
Oops, something went wrong.