Skip to content

Conversation

@chaosoffire
Copy link
Contributor

Description

This PR fixes the portage snapshot GPG verification logic in sources/gentoo.go.

It ensures that the detached signature file (portage-latest.tar.xz.gpgsig) is correctly verified against the snapshot using the available GPG keys.

Changes

  • sources/gentoo.go: Fix GPG verification logic for the portage snapshot.

Pass both portage-latest.tar.xz and its detached signature
(.gpgsig) to VerifyFile for proper GPG verification.

Signed-off-by: Chaosoffire <81634128+chaosoffire@users.noreply.github.com>
@chaosoffire
Copy link
Contributor Author

@stgraber stgraber merged commit 0f885ee into lxc:main Jan 12, 2026
6 of 8 checks passed
@chaosoffire chaosoffire deleted the fix-5 branch January 12, 2026 14:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants