commit: 865860503c1279a1b5880aa180ecf67206640e45 Author: Sam James <sam <AT> gentoo <DOT> org> AuthorDate: Sun Apr 30 05:28:55 2023 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Mon May 1 07:20:57 2023 +0000 URL: https://gitweb.gentoo.org/proj/portage.git/commit/?id=86586050
sync: webrsync: export PORTAGE_GPG_KEY for emerge-webrsync Set PORTAGE_GPG_KEY to sync-openpgp-key-path configured by the user for use by emerge-webrsync to pass to gemato. Bug: https://bugs.gentoo.org/905358 Signed-off-by: Sam James <sam <AT> gentoo.org> lib/portage/sync/modules/webrsync/webrsync.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/portage/sync/modules/webrsync/webrsync.py b/lib/portage/sync/modules/webrsync/webrsync.py index b4a6bb4f8..8de7c08ad 100644 --- a/lib/portage/sync/modules/webrsync/webrsync.py +++ b/lib/portage/sync/modules/webrsync/webrsync.py @@ -109,6 +109,9 @@ class WebRsync(SyncBase): self._refresh_keys(openpgp_env) self.spawn_kwargs["env"]["PORTAGE_GPG_DIR"] = openpgp_env.home self.spawn_kwargs["env"]["PORTAGE_TEMP_GPG_DIR"] = openpgp_env.home + self.spawn_kwargs["env"][ + "PORTAGE_GPG_KEY" + ] = self.repo.sync_openpgp_key_path except (GematoException, asyncio.TimeoutError) as e: writemsg_level( f"!!! Verification impossible due to keyring problem:\n{e}\n",
