diff options
author | Jan Jahoda <jajahoda@microsoft.com> | 2021-03-26 07:18:38 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-26 07:18:38 +0300 |
commit | 78f980384f34f73dd99717da15ba12da1c589961 (patch) | |
tree | b6fb9fbc735ad72705df92e6c48c39c39af272f0 /.config | |
parent | e503be0f9c37611bc03363751c67e660cd60b26a (diff) |
Credentials fix (#50230)
* Port of https://github.com/dotnet/corefx/pull/43051
* Shrink suppression file
* Fix another bugs
* Bump System.Net.TestData version
* Fix typo
* Revert casing in connection string
* Fix connection string case
* more fixes
* Change suppression messages
* Fix typo
* Remove false positive
* Fix usersecrets
Co-authored-by: Dan Moseley <danmose@microsoft.com>
Diffstat (limited to '.config')
-rw-r--r-- | .config/CredScanSuppressions.json | 60 |
1 files changed, 1 insertions, 59 deletions
diff --git a/.config/CredScanSuppressions.json b/.config/CredScanSuppressions.json index 2cd0c186716..2f274268f63 100644 --- a/.config/CredScanSuppressions.json +++ b/.config/CredScanSuppressions.json @@ -2,13 +2,7 @@ "tool": "Credential Scanner", "suppressions": [ { - "_justification": "Unit test containing connection strings under the test.", - "file": [ - "src/libraries/System.Data.Common/tests/System/Data/Common/DbConnectionStringBuilderTest.cs" - ] - }, - { - "_justification": "Private key for testing purpose.", + "_justification": "Suppression approved. Private key for testing purpose.", "file": [ "src/libraries/Common/tests/System/Security/Cryptography/AlgorithmImplementations/DSA/DSAKeyPemTests.cs", "src/libraries/Common/tests/System/Security/Cryptography/AlgorithmImplementations/EC/ECKeyPemTests.cs", @@ -19,58 +13,6 @@ "-----BEGIN PRIVATE KEY-----", "-----BEGIN * PRIVATE KEY-----" ] - }, - { - "_justification": "Test credential for Uri testing", - "file": [ - "src/libraries/System.Net.Http/tests/UnitTests/HttpEnvironmentProxyTest.cs", - "src/libraries/System.Private.Uri/tests/ExtendedFunctionalTests/UriRelativeResolutionTest.cs", - "src/libraries/System.Private.Uri/tests/FunctionalTests/UriBuilderRefreshTest.cs", - "src/libraries/System.Private.Uri/tests/FunctionalTests/UriBuilderTests.cs", - "src/libraries/System.Private.Uri/tests/FunctionalTests/UriRelativeResolutionTest.cs", - "src/libraries/System.Runtime/tests/System/Uri.CreateStringTests.cs" - ], - "placeholder": [ - "//*:;&$=123USERINFO@", - "//*:bar@", - "//*:bar1@", - "//*:password1@", - "//*:psw@", - "//*:userinfo2@" - ] - }, - { - "_justification": "Generic test password.", - "file": [ - "src/libraries/Common/tests/System/Net/Configuration.Certificates.cs", - "src/libraries/Common/tests/System/Net/Http/HttpClientHandlerTest.Authentication.cs", - "src/libraries/Common/tests/System/Net/Http/HttpClientHandlerTest.cs", - "src/libraries/Common/tests/System/Net/Http/HttpClientHandlerTest.DefaultProxyCredentials.cs", - "src/libraries/Common/tests/System/Net/Http/PostScenarioTest.cs", - "src/libraries/Common/tests/System/Net/Prerequisites/Deployment/setup_certificates.ps1", - "src/libraries/System.Net.Http/tests/FunctionalTests/SocketsHttpHandlerTest.cs", - "src/libraries/System.Net.Http/tests/UnitTests/DigestAuthenticationTests.cs", - "src/libraries/System.Net.Http/tests/UnitTests/HttpEnvironmentProxyTest.cs", - "src/libraries/System.Net.Mail/tests/Functional/SmtpClientTest.cs", - "src/libraries/System.Security.Cryptography.Xml/tests/SignedXmlTest.cs", - "src/libraries/System.Security.Cryptography.Xml/tests/TestHelpers.cs", - "src/libraries/System.Security.Cryptography.Csp/tests/PasswordDeriveBytesTests.cs", - "src/libraries/System.Security.Cryptography.Csp/tests/TrimmingTests/PasswordDeriveBytesTest.cs", - "src/libraries/System.Security.Cryptography.Algorithms/tests/Rfc2898OneShotTests.cs" - ], - "placeholder": [ - "\"anotherpassword\"", - "\"bar\"", - "\"mono\"", - "\"password1\"", - "\"rightpassword\"", - "\"testcertificate\"", - "\"unused\"", - "\"wrongpassword\"", - "\"PasswordGoesHere\"", - "\"FakePasswordsAreHard\"", - "\"tired\"" - ] } ] } |