From cb37ba08b35f7236f3387d4a5c6463b24936bf24 Mon Sep 17 00:00:00 2001 From: kaotisk Date: Thu, 4 Jul 2024 08:17:29 +0300 Subject: Refactoring --- lib/_ak_gpg | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lib/_ak_gpg') diff --git a/lib/_ak_gpg b/lib/_ak_gpg index d220a4b..80e461c 100755 --- a/lib/_ak_gpg +++ b/lib/_ak_gpg @@ -1,6 +1,7 @@ #!/bin/bash source $AK_LIBDIR/_ak_log source $AK_LIBDIR/_ak_ipfs +source $AK_LIBDIR/_ak_config _ak_gpg(){ gpg2 --homedir $AK_GPGHOME $* @@ -26,7 +27,7 @@ _ak_gpg_key_import_from_file(){ } _ak_gpg_key_self_get_fingerprint_from_config(){ - ak-config --show | jq -r '.gpg' + _ak_config_show | jq -r '.gpg' } _ak_gpg_key_self_get_fingerprint(){ -- cgit v1.2.3