Skip to content

Commit

Permalink
Add SHA256 self-signed cert and use Securetring as password parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
ciaozhang committed Jun 24, 2021
1 parent 0880d1e commit b263ec3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build/credscan-exclusion.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"tool": "Credential Scanner",
"tool": "Credential Scanner",
"suppressions": [
{
"file": "SelfSigned1024_SHA1.pfx",
Expand Down
2 changes: 1 addition & 1 deletion test/Microsoft.IdentityModel.TestUtils/KeyingMaterial.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1075,7 +1075,7 @@ public static JsonWebKey JsonWebKeyX509_2048_As_RSA_With_KeyId
private static SecureString ConvertToSecureString(string password)
{
if (password == null)
throw new ArgumentNullException("password");
throw new ArgumentNullException(nameof(password));

var securePassword = new SecureString();

Expand Down

0 comments on commit b263ec3

Please sign in to comment.