Capture the updater from the verified source archive before unprivileged build handoff. Exclude build-supplied updater files from copied artifacts and atomically install the trusted command in the root-owned release. Cover source and output replacement with an adversarial publishing regression. Refs #21
This commit is contained in:
@@ -54,6 +54,8 @@ and activates the update **inside this container**. It does not call `pct`, cont
|
||||
host or require the original host checkout. It preserves the CT role, service keys, settings,
|
||||
CLI profiles and history. Official provider CLIs keep their own update/login lifecycle.
|
||||
The updater is included in each binary release, so switching/rolling back releases updates it too.
|
||||
Its root-executed code comes directly from the verified source archive; build-user modifications
|
||||
to extracted source or build output cannot replace the installed updater.
|
||||
|
||||
```bash
|
||||
finaltoken-update --dry-run
|
||||
|
||||
Reference in New Issue
Block a user