Skip to content

Compile Sigstore trust bootstrap into AppUpdater - #24

Closed
mxcl wants to merge 1 commit into
masterfrom
codex/embed-trust-bootstrap
Closed

Compile Sigstore trust bootstrap into AppUpdater#24
mxcl wants to merge 1 commit into
masterfrom
codex/embed-trust-bootstrap

Conversation

@mxcl

@mxcl mxcl commented Aug 4, 2026

Copy link
Copy Markdown
Owner

Summary

  • compile the existing TUF root and trusted-root snapshot directly into AppUpdater
  • remove the production SwiftPM resource bundle dependency
  • make the live attestation smoke test run after its build directory is moved away

Root cause

Bundle.module relied on SwiftPM's generated resource accessor. The manually assembled macOS smoke app copied the bundle into Contents/Resources, but the accessor searched beside the app bundle and then fell back to the original build directory. That fallback made the smoke test pass while a relocated release app crashed loading the trust bootstrap.

Security impact

The compiled trust bootstrap is byte-for-byte identical to AppUpdater 4.1.0's resources. TUF rotation, metadata verification, and the existing offline fallback policy are unchanged; this only removes the runtime packaging dependency.

Checks

  • swift test — 75 tests passed
  • release build contains no AppUpdater_AppUpdater.bundle
  • compiled trust bootstrap bytes match the 4.1.0 resources
  • live signed relocation smoke: incorrect source ref rejected; attested Automic-Vault-2.10.0.dmg prepared successfully with .build absent

@mxcl mxcl closed this Aug 4, 2026
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