From 28717aded7df4ac4842fa308e67c1c15e1de4ffa Mon Sep 17 00:00:00 2001 From: kaotisk Date: Wed, 27 Mar 2024 03:49:27 +0200 Subject: Introduced and applied _ak_gpg library --- bin/ak-mixtapes | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'bin/ak-mixtapes') diff --git a/bin/ak-mixtapes b/bin/ak-mixtapes index 2004ccb..242211d 100755 --- a/bin/ak-mixtapes +++ b/bin/ak-mixtapes @@ -5,6 +5,7 @@ PROGRAM="$(basename $0)" descriptionString="AK mixtape block creator" source $AK_LIBDIR/_ak_logit source $AK_LIBDIR/_ak_script_description +source $AK_LIBDIR/_ak_gpg _ak_modules_mixtapes_usage(){ _ak_modules_mixtapes_title @@ -35,7 +36,7 @@ _ak_modules_mixtapes_main(){ MIXTAPE_IPFS_HASH=$(ak-ipfs-add $MIXTAPE_FILE) MIXTAPE_SIGN_FILE=$MIXTAPE_FILE".asc" - gpg2 --homedir $AK_GPGHOME --detach-sign --sign-with $AK_FINGERPRINT --armor --output $MIXTAPE_SIGN_FILE $MIXTAPE_FILE + _ak_gpg_sign_detached $MIXTAPE_SIGN_FILE $MIXTAPE_FILE MIXTAPE_SIGNATURE=$(ak-ipfs-add $MIXTAPE_SIGN_FILE) -- cgit v1.2.3