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

Skip SHA test that require marshaling #1384

Merged
merged 5 commits into from
Nov 4, 2024

Conversation

qmuntal
Copy link
Member

@qmuntal qmuntal commented Oct 31, 2024

Some OpenSSL providers (looking at you SymCrypt) don't support marshaling the internal state of the hash function. There are some tests that require that functionality to succeed. We were previously skipping those tests when using the CNG backend, which doesn't implement digest marshaling. This PR generalizes the way we detect that a given digest doesn't support marshaling so it also works for OpenSSL.

Base automatically changed from dev/qmuntal/osslupgr to microsoft/main October 31, 2024 11:13
Copy link
Member

@dagood dagood left a comment

Choose a reason for hiding this comment

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

We might want to have a test that specifically makes sure we don't unintentionally remove marshaller support from specific OpenSSL backend scenarios... but that's probably the role of scenario testing because here we're simply doing the best we can per-platform.

patches/0002-Add-crypto-backend-foundation.patch Outdated Show resolved Hide resolved
@qmuntal qmuntal force-pushed the dev/qmuntal/az3-marshal branch from cd4238a to bd9da3b Compare November 4, 2024 09:22
@qmuntal qmuntal merged commit e3223ed into microsoft/main Nov 4, 2024
28 checks passed
@qmuntal qmuntal deleted the dev/qmuntal/az3-marshal branch November 4, 2024 11:33
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