diff options
author | kaotisk <kaotisk@arching-kaos.org> | 2023-08-18 22:30:19 +0300 |
---|---|---|
committer | kaotisk <kaotisk@arching-kaos.org> | 2023-08-18 22:30:19 +0300 |
commit | da5c4e118f6d5b04ee31ca2374a1bd8aa8c00e37 (patch) | |
tree | c9f425479a45e5f91f29d23b7207e2b662b4cd2f /bin/ak-comments | |
parent | 39ed9fd836004d44bc31ecb4a63376a3c2087da6 (diff) | |
download | arching-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-x | bin/ak-comments | 2 |
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 |