Skip to content

Conversation

keegan-caruso
Copy link
Contributor

Update RsaSecurityKey.cs to remove Pkcs 1 from HasPrivateKey check

Summary of the changes (Less than 80 chars)

Description

No functional difference, using pkcs1 will be flagged on scans and this removes it here.

No functional difference, using pkcs1 will be flagged on scans and this removes it here.
@keegan-caruso keegan-caruso requested a review from a team as a code owner July 15, 2025 23:38
Copy link

Summary

Summary
Generated on: 7/15/2025 - 11:51:52 PM
Coverage date: 7/15/2025 - 11:41:51 PM - 7/15/2025 - 11:51:11 PM
Parser: MultiReport (60x Cobertura)
Assemblies: 1
Classes: 7
Files: 2
Line coverage: 80.3% (620 of 772)
Covered lines: 620
Uncovered lines: 152
Coverable lines: 772
Total lines: 483
Branch coverage: 67.8% (228 of 336)
Covered branches: 228
Total branches: 336
Method coverage: Feature is only available for sponsors

Coverage

Microsoft.IdentityModel.JsonWebTokens - 80.3%
Name Line Branch
Microsoft.IdentityModel.JsonWebTokens 80.3% 67.8%
Microsoft.IdentityModel.JsonWebTokens.JwtTokenUtilities 100%
System.Text.RegularExpressions.Generated 80.3% 67.8%
System.Text.RegularExpressions.Generated 80.3% 67.8%
System.Text.RegularExpressions.Generated.<RegexGenerator_g>F12A1AEDDDFE32BA
DF4DBFF323AF1BCB48B9F9721B7CD3E05F5E034CF225E3DF8__CreateJweRegex_1
79.2% 68%
System.Text.RegularExpressions.Generated.<RegexGenerator_g>F12A1AEDDDFE32BA
DF4DBFF323AF1BCB48B9F9721B7CD3E05F5E034CF225E3DF8__CreateJwsRegex_0
81.4% 67.6%
System.Text.RegularExpressions.Generated.<RegexGenerator_g>F334844C618E00D3
CEC5D3FE0D00CF0141BBEE98635313BB2CB8D3921464CE05A__CreateJweRegex_1
79.2% 68%
System.Text.RegularExpressions.Generated.<RegexGenerator_g>F334844C618E00D3
CEC5D3FE0D00CF0141BBEE98635313BB2CB8D3921464CE05A__CreateJwsRegex_0
81.4% 67.6%

@keegan-caruso keegan-caruso self-assigned this Jul 18, 2025
@keegan-caruso keegan-caruso merged commit 11251ee into dev Jul 18, 2025
6 checks passed
@keegan-caruso keegan-caruso deleted the kecaruso/use-pss-HasPrivateKey branch July 18, 2025 17:26
This was referenced Jul 21, 2025
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.

4 participants