gpg: use more consistent key names

This commit is contained in:
Harald Sitter
2024-11-03 18:37:34 +01:00
parent 077ce58c2e
commit bc35596bd2
2 changed files with 2 additions and 1 deletions

View File

@@ -14,7 +14,7 @@ KEYRING=/usr/lib/systemd/import-pubring.gpg
rm -rf "$GNUPGHOME"
mkdir "$GNUPGHOME"
rm -f "$KEYRING"
gpg --no-options --no-default-keyring --keyring="$KEYRING" --homedir="$GNUPGHOME" --import "$SRCDIR/.secure_files/gpg.key"
gpg --no-options --no-default-keyring --keyring="$KEYRING" --homedir="$GNUPGHOME" --import "$SRCDIR/.secure_files/gpg.public.key"
rm -rfv /etc/pacman.d/gnupg

View File

@@ -18,6 +18,7 @@ go -C ./upload-vacuum/ build -o upload-vacuum .
# For this script only
export GNUPGHOME="$PWD/.secure_files/gpg"
gpg --no-options --homedir="$GNUPGHOME" --import "$SRCDIR/.secure_files/gpg.private.key"
REMOTE=$SSH_USER@$SSH_HOST:$SSH_PATH
echo "files.kde.org ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAILUjdH4S7otYIdLUkOZK+owIiByjNQPzGi7GQ5HOWjO6" >> ~/.ssh/known_hosts