From da5c4e118f6d5b04ee31ca2374a1bd8aa8c00e37 Mon Sep 17 00:00:00 2001 From: kaotisk Date: Fri, 18 Aug 2023 22:30:19 +0300 Subject: Moved GPG keyring to dedicated folder under .arching-kaos/ --- bin/ak-enter | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bin/ak-enter') diff --git a/bin/ak-enter b/bin/ak-enter index 7d04693..64ef5a0 100755 --- a/bin/ak-enter +++ b/bin/ak-enter @@ -232,7 +232,7 @@ do logit "[ERROR]" "Could not get GPG key: $gpg ." exit 1 fi - gpg2 --import $gpg > /dev/null 2>&1 + gpg2 --homedir $AK_GPGHOME --import $gpg > /dev/null 2>&1 if [ "$?" -ne 0 ] then logit "[ERROR]" "Could not import GPG key: $gpg ." @@ -255,7 +255,7 @@ do fi logit "[INFO]" "Downloaded block $block." - gpg2 --verify $block.asc > /dev/null 2>&1 + gpg2 --homedir $AK_GPGHOME --verify $block.asc > /dev/null 2>&1 if [ "$?" -ne 0 ] then logit "[ERROR]" "Could not verify $block with GPG key $gpg." -- cgit v1.2.3