Skip to content

fix(marketplace): require SHA256 checksum before HttpMarketplace install - #405

Merged
ZhuchkaTriplesix merged 1 commit into
devfrom
issue/396-marketplace-sha256
Jul 27, 2026
Merged

fix(marketplace): require SHA256 checksum before HttpMarketplace install#405
ZhuchkaTriplesix merged 1 commit into
devfrom
issue/396-marketplace-sha256

Conversation

@ZhuchkaTriplesix

Copy link
Copy Markdown
Member

Summary

  • Marketplace install fails closed when manifest sha256Checksum is missing or empty
  • Aligns HttpMarketplace with updater fail-closed checksum model
  • Reuse archive bytes for SHA256 verify + zip decode (single read)

Closes #396

Test plan

  • flutter test test/core/market/marketplace_repository_test.dart

Closes #396 — marketplace install fails closed when manifest checksum
is missing or empty, matching the updater security model.
@github-actions github-actions Bot added enhancement New feature or request marketplace Extensions marketplace, ExtensionManifest labels Jul 27, 2026
@ZhuchkaTriplesix
ZhuchkaTriplesix merged commit 57e27e2 into dev Jul 27, 2026
4 checks passed
@ZhuchkaTriplesix ZhuchkaTriplesix self-assigned this Jul 27, 2026
@ZhuchkaTriplesix
ZhuchkaTriplesix deleted the issue/396-marketplace-sha256 branch July 27, 2026 20:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request marketplace Extensions marketplace, ExtensionManifest

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant