Skip to content

Enforce hash requirements - #6629

Open
JohnMcPMS wants to merge 2 commits into
microsoft:masterfrom
JohnMcPMS:must-hash
Open

JohnMcPMS wants to merge 2 commits into
microsoft:masterfrom
JohnMcPMS:must-hash

Conversation

@JohnMcPMS

@JohnMcPMS JohnMcPMS commented Oct 28, 2026 •

Copy link
Copy Markdown
Member

📖 Description

REST installer parsing did not require hashes, which is only acceptable for installer types where we do not control the download (Store-based MSIX installs only right now). Make not having a required hash result in an ignored installer, as we do for other required fields.

Hash validation further allowed the empty hash to accept anything. While that matches with some form of expectation, we don't really want that. Hash validation is now required to occur if the task is invoked.

🔍 Validation

Added new tests for the hash validation and REST response parsing.
Fixed a number of test overrides that relied on the validation skip.

Microsoft Reviewers: Open in CodeFlow

@JohnMcPMS
JohnMcPMS requested a review from a team as a code owner October 28, 2026 00:02
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.

1 participant