aboutsummaryrefslogtreecommitdiff
path: root/bin/ak-comments
diff options
context:
space:
mode:
authorkaotisk <kaotisk@arching-kaos.org>2023-08-18 22:30:19 +0300
committerkaotisk <kaotisk@arching-kaos.org>2023-08-18 22:30:19 +0300
commitda5c4e118f6d5b04ee31ca2374a1bd8aa8c00e37 (patch)
treec9f425479a45e5f91f29d23b7207e2b662b4cd2f /bin/ak-comments
parent39ed9fd836004d44bc31ecb4a63376a3c2087da6 (diff)
downloadarching-kaos-tools-da5c4e118f6d5b04ee31ca2374a1bd8aa8c00e37.tar.gz
arching-kaos-tools-da5c4e118f6d5b04ee31ca2374a1bd8aa8c00e37.tar.bz2
arching-kaos-tools-da5c4e118f6d5b04ee31ca2374a1bd8aa8c00e37.zip
Moved GPG keyring to dedicated folder under .arching-kaos/
Diffstat (limited to 'bin/ak-comments')
-rwxr-xr-xbin/ak-comments2
1 files changed, 1 insertions, 1 deletions
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