From d512be24515b0afb669578d16576fe2db840990b Mon Sep 17 00:00:00 2001 From: kaotisk Date: Sun, 30 Jul 2023 20:06:37 +0300 Subject: Renamed FINGERPRINT to AK_FINGERPRINT --- bin/ak-categories | 2 +- bin/ak-comments | 2 +- bin/ak-config | 2 +- bin/ak-files | 2 +- bin/ak-mixtapes | 2 +- bin/ak-news | 4 ++-- bin/ak-pack_z_block | 6 +++--- bin/ak-profile | 2 +- bin/ak-reference | 2 +- bin/ak-sm-files | 2 +- bin/ak-todos | 2 +- bin/ak-transactions | 2 +- bin/ak-zblock-manipulator | 6 +++--- 13 files changed, 18 insertions(+), 18 deletions(-) diff --git a/bin/ak-categories b/bin/ak-categories index d72453f..f5a6671 100755 --- a/bin/ak-categories +++ b/bin/ak-categories @@ -72,7 +72,7 @@ add(){ TITLE=$(head -n 1 $FILE) FILE_IPFS_HASH=$(ak-ipfs-add $FILE) FILE_SIGN_FILE=$FILE".asc" - gpg --detach-sign --sign-with $FINGERPRINT --armor --output $FILE_SIGN_FILE $FILE + gpg --detach-sign --sign-with $AK_FINGERPRINT --armor --output $FILE_SIGN_FILE $FILE FILE_SIGNATURE=$(ak-ipfs-add $FILE_SIGN_FILE) cat > data < data else diff --git a/bin/ak-config b/bin/ak-config index 0dfed8e..513c8dc 100755 --- a/bin/ak-config +++ b/bin/ak-config @@ -44,7 +44,7 @@ published(){ # We will be using our public key also to put it in the block later KEY="tmp-gpg.pub" -gpg2 --armour --output $KEY --export $FINGERPRINT +gpg2 --armour --output $KEY --export $AK_FINGERPRINT GPG_PUB_KEY=$(ak-ipfs-add $KEY) rm $KEY diff --git a/bin/ak-files b/bin/ak-files index fe0d279..d663d59 100755 --- a/bin/ak-files +++ b/bin/ak-files @@ -63,7 +63,7 @@ main(){ fi logit "[INFO]" "Signing..." SIGN_FILE=$FILENAME".asc" - gpg2 --detach-sign --sign-with $FINGERPRINT --armor --output $SIGN_FILE $FILE + gpg2 --detach-sign --sign-with $AK_FINGERPRINT --armor --output $SIGN_FILE $FILE if [ $? == 0 ]; then logit "[INFO]" "Signed" else diff --git a/bin/ak-mixtapes b/bin/ak-mixtapes index 93ba01b..8c6089d 100755 --- a/bin/ak-mixtapes +++ b/bin/ak-mixtapes @@ -13,7 +13,7 @@ main(){ MIXTAPE_IPFS_HASH=$(ak-ipfs-add $MIXTAPE_FILE) MIXTAPE_SIGN_FILE=$MIXTAPE_FILE".asc" - gpg2 --detach-sign --sign-with $FINGERPRINT --armor --output $MIXTAPE_SIGN_FILE $MIXTAPE_FILE + gpg2 --detach-sign --sign-with $AK_FINGERPRINT --armor --output $MIXTAPE_SIGN_FILE $MIXTAPE_FILE MIXTAPE_SIGNATURE=$(ak-ipfs-add $MIXTAPE_SIGN_FILE) diff --git a/bin/ak-news b/bin/ak-news index 1c0a440..2c0e9de 100755 --- a/bin/ak-news +++ b/bin/ak-news @@ -90,7 +90,7 @@ add2(){ TITLE=$(head -n 1 $FILE) FILE_IPFS_HASH=$(ak-ipfs-add $FILE) FILE_SIGN_FILE=$FILE".asc" - gpg --detach-sign --sign-with $FINGERPRINT --armor --output $FILE_SIGN_FILE $FILE + gpg --detach-sign --sign-with $AK_FINGERPRINT --armor --output $FILE_SIGN_FILE $FILE FILE_SIGNATURE=$(ak-ipfs-add $FILE_SIGN_FILE) cat > data < data < data < data < data <