From a359611ed2bcc79bf440f05096cfbdc618869067 Mon Sep 17 00:00:00 2001 From: kaotisk Date: Tue, 23 Jul 2024 14:10:03 +0300 Subject: use settings instead of file to store activated gpg key --- lib/_ak_config | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'lib/_ak_config') diff --git a/lib/_ak_config b/lib/_ak_config index f47a7c5..45d0112 100755 --- a/lib/_ak_config +++ b/lib/_ak_config @@ -3,8 +3,9 @@ source $AK_LIBDIR/_ak_node _ak_config_show(){ # We will be using our public key also to put it in the block later - KEY="tmp-gpg.pub" - _ak_gpg_key_self_export $KEY + KEY="self.pub" + ak-gpg --export-key-self-to-file + _ak_log_debug "$KEY" GPG_PUB_KEY=$(_ak_ipfs_add $KEY) rm $KEY profile="$(ak-profile -l)" -- cgit v1.2.3