From 8667152bc05967c2a9b19a80d809c81caec0a4df Mon Sep 17 00:00:00 2001 From: kaotisk Date: Fri, 19 Jul 2024 17:54:46 +0300 Subject: Expanded ak-gpg handler --- config.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'config.sh') diff --git a/config.sh b/config.sh index 7a4ffc8..a4a5aef 100755 --- a/config.sh +++ b/config.sh @@ -22,7 +22,7 @@ export AK_ZLIST="$AK_WORKDIR/zlist" export AK_ZLATEST="$AK_WORKDIR/zlatest" export AK_LOGSFILE="$AK_WORKDIR/logs" export AK_GPGHOME="$AK_WORKDIR/keyring" -export AK_FINGERPRINT="$(gpg2 --homedir $AK_GPGHOME --list-keys | grep kaos@kaos.kaos -B 1 | head -n 1 | awk '{print $1}')" +export AK_FINGERPRINT="$(cat $AK_WORKDIR/selected_key)" export AK_MINEDBLOCKSDIR="$AK_WORKDIR/mined_blocks" export AK_ZBLOCKSFILE="$AK_WORKDIR/zBlocksFile" export AK_ZPAIRSFILE="$AK_WORKDIR/pairsFile" -- cgit v1.2.3