diff options
author | kaotisk <kaotisk@arching-kaos.org> | 2024-03-27 03:49:27 +0200 |
---|---|---|
committer | kaotisk <kaotisk@arching-kaos.org> | 2024-03-27 03:49:27 +0200 |
commit | 28717aded7df4ac4842fa308e67c1c15e1de4ffa (patch) | |
tree | 64a93db7a952dabf5c2af3b7776bdcf0d050e181 /bin/ak-articles | |
parent | abdfe0a5c2a86f19aafe12ae70663ddcf83a6e39 (diff) | |
download | arching-kaos-tools-28717aded7df4ac4842fa308e67c1c15e1de4ffa.tar.gz arching-kaos-tools-28717aded7df4ac4842fa308e67c1c15e1de4ffa.tar.bz2 arching-kaos-tools-28717aded7df4ac4842fa308e67c1c15e1de4ffa.zip |
Introduced and applied _ak_gpg library
Diffstat (limited to 'bin/ak-articles')
-rwxr-xr-x | bin/ak-articles | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/ak-articles b/bin/ak-articles index 363aa7f..9a9f462 100755 --- a/bin/ak-articles +++ b/bin/ak-articles @@ -5,6 +5,7 @@ descriptionString="Articles module for Arching Kaos" source $AK_LIBDIR/_ak_logit source $AK_LIBDIR/_ak_script_description +source $AK_LIBDIR/_ak_gpg ZARTICLESDIR="$AK_WORKDIR/articles" TEMP="/tmp/aktmp" @@ -91,7 +92,7 @@ _ak_modules_articles_add(){ TITLE=$(head -n 1 $FILE) FILE_IPFS_HASH=$(ak-ipfs-add $FILE) FILE_SIGN_FILE=$FILE".asc" - gpg2 --homedir $AK_GPGHOME --detach-sign --sign-with $AK_FINGERPRINT --armor --output $FILE_SIGN_FILE $FILE + _ak_gpg_sign_detached $FILE_SIGN_FILE $FILE FILE_SIGNATURE=$(ak-ipfs-add $FILE_SIGN_FILE) cat > data <<EOF { |