Skip to content

[Feature]: Verify APK identity and release bundle before fresh provisioning #21

Description

@awatchar

Problem

The fresh provisioning path installs minimum-foss.apk without applying the manifest, checksum, package identity, version and signer validation already used by the existing-device updater.

Scope

  • Verify the complete reviewed bundle before any device mutation.
  • Verify RELEASE-MANIFEST.json and the APK checksum binding.
  • Verify package ID, version metadata and APK signer using the bundled/local Android tooling.
  • Fail closed with actionable error codes/messages.
  • Preserve fresh-device support; do not require an installed-signer anchor.
  • Reuse shared updater verification logic where practical without changing updater behavior.

Acceptance

  • Corrupt, incomplete, wrong-package and unsigned/unexpected-signer inputs fail before ADB mutation.
  • A valid reviewed bundle reaches the existing provisioning flow.
  • Pester tests cover success and failure paths without requiring hardware.
  • Physical T56 provisioning remains a later acceptance step when hardware is connected.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions