mirror of
https://github.com/xcat2/xcat-dep.git
synced 2026-10-18 01:30:32 +00:00
779403852c
trust_dbpath named the keyring after a hash of the staging directory and did not create it. A directory or symlink that another user put at that predictable name under the local root became the rpmkeys --dbpath for the publisher key. trust_dbpath now creates a fresh 0700 directory with tempdir under the same root, so XCAT_DEP_TRUST_TMP still selects it. CLEANUP removes it when the creating process exits. stage_inputs and build_native_inputs run in that process, so the keyring stays in place for every verify_input of the run. Signed-off-by: Daniel Hilst <392820+dhilst@users.noreply.github.com>