]> git.proxmox.com Git - aab.git/commit - PVE/AAB.pm
caching: cache signatures but ignore outer verify errors
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 2 Dec 2021 13:46:08 +0000 (14:46 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 2 Dec 2021 15:43:01 +0000 (16:43 +0100)
commitf29113a862339c8abd8d5a21587154666a898e9e
treed79d83daff1b035bcd01d52f21900ce1d315068e
parentfbec3675cc378c0f12693131a6a5605b04cb7c15
caching: cache signatures but ignore outer verify errors

new pacman (6.0) doesn't downloads the <pkg>.sig files if SigLevel is
set to `Never`, an understandable optimization in general but for our
use case an issue.

We cache packages on the host, where we have internet but do not have
an archlinux trusted keyring setup, we then verify the non-bootstrap
packages (i.e., all but pacman and the keyring) in the bootstrapping
container itself

This is somewhat ugly, but one of the simpler options, an possible
alternative on the long run could be to package archlinux-keyring for
debian and have that as dependency for aab, then we could populate a
local directory (pacman gas a `--gpgdir` option) and fully verify all
that..

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
PVE/AAB.pm