Skip to content

install.ps1 checksum mismatch does not stop installation #980

Closed

Description

@ajianaz

Problem

install.ps1:115-117 — When SHA256 checksum mismatches, it calls Write-ErrorMsg but does NOT exit. Installation continues with corrupted/tampered binary.

Also docker-entrypoint.sh:32 — verify_sha256() does not return 1 on sha256sum -c - failure, so download continues.

Fix

  • install.ps1: Add exit 1 after Write-ErrorMsg on checksum mismatch
  • docker-entrypoint.sh: verify_sha256 should exit 1 on verification failure

Severity: MAJOR (security — tampered binary installation)

Activity

  1. added
    bug
    scope:infra
    on Aug 10, 2026
  2. ajianaz commented on Aug 10, 2026

    @ajianaz
    CollaboratorAuthor

    Fixed in #983 (merged to develop)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugscope:infra

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions