Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: PKCS12 ephemeral key and non-encrypted MAC are not supported macOS #124

Merged
merged 22 commits into from
Aug 17, 2023

Conversation

JeyJeyGao
Copy link
Collaborator

@JeyJeyGao JeyJeyGao commented Aug 16, 2023

Fix bugs for PKCS12 certificates on macOS:

  • doesn't support ephemeral key
  • doesn't support non-encrypted MAC

Test on Linux, macOS, Windows
Signed-off-by: Junjie Gao [email protected]

@JeyJeyGao JeyJeyGao force-pushed the fix/pkcs12_EphemeralKeySet branch from 80beab7 to 80bc5c1 Compare August 16, 2023 01:42
@codecov
Copy link

codecov bot commented Aug 16, 2023

Codecov Report

Merging #124 (57d2957) into main (a685a90) will decrease coverage by 0.77%.
The diff coverage is 84.21%.

@@            Coverage Diff             @@
##             main     #124      +/-   ##
==========================================
- Coverage   94.19%   93.42%   -0.77%     
==========================================
  Files          15       16       +1     
  Lines         465      502      +37     
==========================================
+ Hits          438      469      +31     
- Misses         27       33       +6     
Files Changed Coverage Δ
...ugin.AzureKeyVault/Certificate/CertificateChain.cs 100.00% <ø> (ø)
...on.Plugin.AzureKeyVault/KeyVault/KeyVaultClient.cs 86.20% <53.84%> (-5.80%) ⬇️
...otation.Plugin.AzureKeyVault/Certificate/Pkcs12.cs 100.00% <100.00%> (ø)

Signed-off-by: Junjie Gao <[email protected]>
Signed-off-by: Junjie Gao <[email protected]>
Signed-off-by: Junjie Gao <[email protected]>
Signed-off-by: Junjie Gao <[email protected]>
Signed-off-by: Junjie Gao <[email protected]>
Signed-off-by: Junjie Gao <[email protected]>
Signed-off-by: Junjie Gao <[email protected]>
Signed-off-by: Junjie Gao <[email protected]>
Signed-off-by: Junjie Gao <[email protected]>
Signed-off-by: Junjie Gao <[email protected]>
Signed-off-by: Junjie Gao <[email protected]>
Signed-off-by: Junjie Gao <[email protected]>
Signed-off-by: Junjie Gao <[email protected]>
Signed-off-by: Junjie Gao <[email protected]>
Signed-off-by: Junjie Gao <[email protected]>
@JeyJeyGao JeyJeyGao changed the title fix: pkcs12 ephemeral key set for macOS fix: pkcs12 ephemeral key and non-encrypted MAC are not supported macOS Aug 17, 2023
@JeyJeyGao JeyJeyGao changed the title fix: pkcs12 ephemeral key and non-encrypted MAC are not supported macOS fix: PKCS12 ephemeral key and non-encrypted MAC are not supported macOS Aug 17, 2023
Signed-off-by: Junjie Gao <[email protected]>
Signed-off-by: Junjie Gao <[email protected]>
Signed-off-by: Junjie Gao <[email protected]>
Signed-off-by: Junjie Gao <[email protected]>
Copy link
Member

@shizhMSFT shizhMSFT left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

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.

3 participants