Skip to content

Conversation

@jborean93
Copy link
Owner

Refactor the key operations to use common code and try and reduce the complexity of implementing custom key providers. This also removes the SslDotCom key provider due to lack of use and testing available for that provider.

@codecov
Copy link

codecov bot commented Feb 10, 2025

Codecov Report

Attention: Patch coverage is 50.13624% with 183 lines in your changes missing coverage. Please review.

Project coverage is 62.94%. Comparing base (5463de2) to head (46ec369).
Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
src/OpenAuthenticode/KeyProvider.cs 63.19% 50 Missing and 3 partials ⚠️
...c/OpenAuthenticode.Module/OpenAuthenticodeAzKey.cs 0.00% 27 Missing ⚠️
src/OpenAuthenticode.Module/AzureKeyVault.cs 0.00% 26 Missing ⚠️
src/OpenAuthenticode.Module/AzureKeyAlgorithms.cs 0.00% 18 Missing ⚠️
...enticode.Module/OpenAuthenticodeAzTrustedSigner.cs 0.00% 16 Missing ⚠️
src/OpenAuthenticode.Module/AzureTrustedSigner.cs 0.00% 15 Missing ⚠️
...enAuthenticode.Module/OpenAuthenticodeSignature.cs 80.35% 6 Missing and 5 partials ⚠️
src/OpenAuthenticode/KeyType.cs 52.94% 7 Missing and 1 partial ⚠️
src/OpenAuthenticode/RSAPrivateKey.cs 37.50% 4 Missing and 1 partial ⚠️
...OpenAuthenticode.Module/ManagedECDsaKeyProvider.cs 93.33% 0 Missing and 1 partial ⚠️
... and 3 more
Additional details and impacted files
@@             Coverage Diff             @@
##             main      #26       +/-   ##
===========================================
+ Coverage   37.83%   62.94%   +25.10%     
===========================================
  Files          23       24        +1     
  Lines        2051     1951      -100     
  Branches      255      197       -58     
===========================================
+ Hits          776     1228      +452     
+ Misses       1225      665      -560     
- Partials       50       58        +8     
Flag Coverage Δ
PS_7.4_x64_Linux 62.94% <50.13%> (+25.10%) ⬆️
PS_7.4_x64_Windows 62.94% <50.13%> (+25.10%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Refactor the key operations to use common code and try and reduce the
complexity of implementing custom key providers. This also removes the
SslDotCom key provider due to lack of use and testing available for that
provider.
@jborean93 jborean93 merged commit 8cecc0a into main Feb 10, 2025
5 checks passed
@jborean93 jborean93 deleted the key-refactor branch February 10, 2025 01:56
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.

2 participants