Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Fix ML-KEM test to use PBES1+3DES #115160

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

Merged
merged 1 commit into from
Apr 29, 2025
Merged

Fix ML-KEM test to use PBES1+3DES #115160

merged 1 commit into from
Apr 29, 2025

Conversation

vcsjones
Copy link
Member

@vcsjones vcsjones commented Apr 29, 2025

This is yet another instance of a test failing in Windows 10 SP0 and libraries tests don't run that, by default.

All of the ML-KEM test PFX certificates are encoded with PBES2. This changes the "Not supported" scenario of the test to use a PBES1 / 3DES+SHA1 encoded PFX.

Contributes to #115156 (not marking as closing so Build Analysis sees it for pipelines running before this change)

Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR updates the ML-KEM test to address a failing scenario on Windows by switching the test PFX data and password handling.

  • Introduces a new constant PfxPassword and an embedded Base64 PFX string.
  • Updates all instances of the password argument to use the new constant.

Copy link
Contributor

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

@vcsjones vcsjones merged commit 7f563ee into dotnet:main Apr 29, 2025
85 of 87 checks passed
@vcsjones vcsjones deleted the fix-115156 branch April 29, 2025 22:53
@vcsjones vcsjones added the test-bug Problem in test source code (most likely) label Apr 29, 2025
@vcsjones vcsjones added this to the 10.0.0 milestone Apr 29, 2025
akoeplinger added a commit to akoeplinger/runtime that referenced this pull request Apr 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-System.Security test-bug Problem in test source code (most likely)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants