aboutsummaryrefslogtreecommitdiff
path: root/bin/ak-config
diff options
context:
space:
mode:
authorkaotisk <kaotisk@arching-kaos.org>2024-04-05 14:23:22 +0300
committerkaotisk <kaotisk@arching-kaos.org>2024-04-05 14:23:22 +0300
commit0fd522a6e324de08a99bdd42ead193acff6f3d15 (patch)
tree7f25b03bb1ed8aaaf73689a59fee42196381ea2d /bin/ak-config
parent946d002543083d9561bb1e7f851b8179099ad077 (diff)
downloadarching-kaos-tools-0fd522a6e324de08a99bdd42ead193acff6f3d15.tar.gz
arching-kaos-tools-0fd522a6e324de08a99bdd42ead193acff6f3d15.tar.bz2
arching-kaos-tools-0fd522a6e324de08a99bdd42ead193acff6f3d15.zip
various fixes, surely still broken in places
Diffstat (limited to 'bin/ak-config')
-rwxr-xr-xbin/ak-config5
1 files changed, 3 insertions, 2 deletions
diff --git a/bin/ak-config b/bin/ak-config
index cc2c8c5..7d604ed 100755
--- a/bin/ak-config
+++ b/bin/ak-config
@@ -15,12 +15,13 @@ PROGRAM="$(basename $0)"
descriptionString="Arching Kaos Configuration Tool"
source $AK_LIBDIR/_ak_script
+source $AK_LIBDIR/_ak_gpg
source $AK_LIBDIR/_ak_ipfs
_ak_config_show(){
# We will be using our public key also to put it in the block later
KEY="tmp-gpg.pub"
- gpg2 --homedir $AK_GPGHOME --armour --output $KEY --export $AK_FINGERPRINT
+ _ak_gpg_key_self_export $KEY
GPG_PUB_KEY=$(_ak_ipfs_add $KEY)
rm $KEY
@@ -52,7 +53,7 @@ _ak_config_publish(){
}
_ak_config_published(){
- _ak_ipfs_cat $(ak-node-info ipfs) | jq -c
+ _ak_ipfs_cat $(ak-node-info --ipfs) | jq -c
}
if [ ! -z $1 ]; then