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

Replace SPKI hashing with a managed implementation #97559

Merged
merged 4 commits into from
Jan 29, 2024

Conversation

vcsjones
Copy link
Member

This gets rid of the pinvoke to CryptHashPublicKeyInfo and replaces the implementation with a managed one since we needed it anyway for non-Windows platforms. Since the implementation would be the same for Windows/non-Windows, we can get rid of it from the X.509 PAL.

@ghost
Copy link

ghost commented Jan 26, 2024

Tagging subscribers to this area: @dotnet/area-system-security, @bartonjs, @vcsjones
See info in area-owners.md if you want to be subscribed.

Issue Details

This gets rid of the pinvoke to CryptHashPublicKeyInfo and replaces the implementation with a managed one since we needed it anyway for non-Windows platforms. Since the implementation would be the same for Windows/non-Windows, we can get rid of it from the X.509 PAL.

Author: vcsjones
Assignees: vcsjones
Labels:

area-System.Security

Milestone: -

@vcsjones
Copy link
Member Author

Test failures are known. Merging.

@vcsjones vcsjones merged commit 92999f4 into dotnet:main Jan 29, 2024
108 of 111 checks passed
@vcsjones vcsjones deleted the managed-spki-hash branch January 29, 2024 21:10
@vcsjones vcsjones added this to the 9.0.0 milestone Feb 9, 2024
@github-actions github-actions bot locked and limited conversation to collaborators Mar 12, 2024
@bartonjs bartonjs added cryptographic-docs-impact Issues impacting cryptographic docs. Cleared and reused after documentation is updated each release. and removed cryptographic-docs-impact Issues impacting cryptographic docs. Cleared and reused after documentation is updated each release. labels Aug 15, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants