Repository navigation
Harden updater integrity checks - #24
Merged
Merged
Conversation
Finesssee
added a commit
that referenced
this pull request
Apr 4, 2026
Security fixes: - Harden updater integrity checks (PR #24) - Harden CLI binary resolution (PR #26) - Harden Kiro CLI path resolution (PR #25) - Verify VC++ runtime before packaging (PR #23) New provider: - Add Infini AI Coding Plan provider (PR #28) Bug fixes: - Fix Windows CLI visibility (Issue #22) - Fix Claude .local/bin detection (Issue #22)
Finesssee
added a commit
that referenced
this pull request
Apr 7, 2026
Security fixes: - Harden updater integrity checks (PR #24) - Harden CLI binary resolution (PR #26) - Harden Kiro CLI path resolution (PR #25) - Verify VC++ runtime before packaging (PR #23) New provider: - Add Infini AI Coding Plan provider (PR #28) Bug fixes: - Fix Windows CLI visibility (Issue #22) - Fix Claude .local/bin detection (Issue #22)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Motivation
Description
expected_sha256: Option<String>field toUpdateInfoand parse an optionaldigestproperty from GitHub asset metadata, validatingsha256:<hex>values viaparse_sha256_digestinrust/src/updater.rs.supports_auto_download()to requireexpected_sha256.is_some().UpdateState::Readyinrust/src/updater.rs.auto_download_updatesdefault tofalseinrust/src/settings.rs, and update updater tests to include digest metadata and assert the new auto-download contract.Testing
cd rust && cargo fmt --all, which completed successfully.cargo test/cargo test updater::testswere executed but the build/test run failed in this environment because thex86_64-pc-windows-msvctarget (Windows toolchain) is not installed, so unit tests could not complete here.digest), and they are expected to run successfully in a Windows-capable CI or local environment with the appropriate Rust target installed.Codex Task