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-comments | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin/ak-comments') diff --git a/bin/ak-comments b/bin/ak-comments index 3a35efa..a8016bf 100755 --- a/bin/ak-comments +++ b/bin/ak-comments @@ -58,7 +58,7 @@ add(){ DATETIME="$1" FILE_IPFS_HASH=$(ak-ipfs-add $FILE) FILE_SIGN_FILE=$FILE".asc" - gpg --detach-sign --sign-with $AK_FINGERPRINT --armor --output $FILE_SIGN_FILE $FILE + gpg2 --homedir $AK_GPGHOME --detach-sign --sign-with $AK_FINGERPRINT --armor --output $FILE_SIGN_FILE $FILE FILE_SIGNATURE=$(ak-ipfs-add $FILE_SIGN_FILE) printf '{"datetime":"%s","ipfs":"%s","detach":"%s"}' $DATETIME $FILE_IPFS_HASH $FILE_SIGNATURE > data else -- cgit v1.2.3