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-transactions | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'bin/ak-transactions') diff --git a/bin/ak-transactions b/bin/ak-transactions index f7024ef..1e374fa 100755 --- a/bin/ak-transactions +++ b/bin/ak-transactions @@ -5,6 +5,7 @@ _ak_modules_transactions_usage(){ } source $AK_LIBDIR/_ak_logit +source $AK_LIBDIR/_ak_gpg _ak_modules_transactions_main(){ logit "INFO" "$FROM_ADDRESS to $TO_ADDRESS value sent: $AMOUNT" @@ -18,7 +19,7 @@ EOF FILE_IPFS_HASH=$(ak-ipfs-add $TRANSACTION_FILE) SIGN_FILE=$TRANSACTION_FILE".asc" - gpg2 --homedir $AK_GPGHOME --detach-sign --sign-with $AK_FINGERPRINT --armor --output $SIGN_FILE $TRANSACTION_FILE + _ak_gpg_sign_detached $SIGN_FILE $TRANSACTION_FILE FILE_SIGNATURE=$(ak-ipfs-add $SIGN_FILE) -- cgit v1.2.3