Skip to content

[release/v7.7.0] Fix the resource string WeakCatalogHashAlgorithm - #28350

Closed
Justin Chung (jshigetomi) wants to merge 2 commits into
PowerShell:release/v7.7.0from
jshigetomi:backport-28322-to-7.7.0
Closed

Justin Chung (jshigetomi) wants to merge 2 commits into
PowerShell:release/v7.7.0from
jshigetomi:backport-28322-to-7.7.0

Conversation

@jshigetomi

Copy link
Copy Markdown
Collaborator

Backport of #28322 to release/v7.7.0.

Depends on #28342. This branch includes that prerequisite commit so the diff will narrow automatically after it merges.

@jshigetomi
Justin Chung (jshigetomi) requested a review from a team as a code owner November 5, 2026 00:26
Copilot AI balanced review requested due to automatic review settings November 5, 2026 00:26
@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
There may be pipelines that require an authorized user to comment /azp run to run.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟢 Approval recommended

No active review issues are recorded for the backport correcting the SHA-1 warning wording for version 1 file catalogs.

No open issues 🎉

What changed in this PR

Backports the WeakCatalogHashAlgorithm wording correction to release/v7.7.0. The current diff also includes the prerequisite SHA-1 warning changes from #28342.

Changes:

  • Adds warnings when generating or validating version 1 file catalogs.
  • Identifies SHA-1 accurately in the warning and recommends regenerating catalogs with -CatalogVersion 2.
File Description
src/​System.Management.Automation/​security/​CatalogHelper.cs Adds legacy catalog warnings to generation and validation.
src/​System.Management.Automation/​resources/​CatalogStrings.resx Adds the corrected SHA-1 warning text and localization constraints.

Review effort: Balanced

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.

4 participants