Record the local extension signature fix

This commit is contained in:
Archipelago 2026-11-18 11:07:37 +00:00
parent 5ad4e698c2
commit 1443684629

View file

@ -2,6 +2,31 @@
Updated 2026-11-17. Architectural acceptance is separate from implementation.
## Local Host Extension signature policy (2026-11-18)
`sudo archipelago extension add ./mbpfan-2.4.0-7-x86_64.pkg.tar.zst` failed on the
KDE host at `Stage` with `TrustFailed`. The private transaction record, not the CLI
log, identified the cause:
```
error: '/inputs/0c272e…pkg.tar.zst': package missing required signature
```
The service install path uses native `pacman -U` to honor the staging hook masks.
Core's `/etc/pacman.conf` sets `LocalFileSigLevel = Required`, which applies to the
whole file transaction. Repository packages carry detached `.sig` files, but a
local Host Extension is intentionally unsigned (D-115), so the whole transaction was
rejected even though the adapter had already verified the local bytes, checksum and
`.PKGINFO` identity.
`package-transaction.py` now renders a private
`/run/archipelago-package-install.conf` with `LocalFileSigLevel = Optional` for that
single `-U` transaction. Present repository signatures are still verified; the
image's `/etc/pacman.conf` is untouched. `system/tests/dkms_inputs.py` covers the
config rendering and all five tests pass on a real Arch host with `bsdtar`. A new
image is required to carry the fixed daemon to deployed systems; the existing
`20261117T101510Z` image still has the old behaviour.
## Automatic object collection after a successful Stage (2026-11-18)
OS updates and overlay/Host-Extension stages no longer need a separate cleanup