aboutsummaryrefslogtreecommitdiff
path: root/lib/_ak_gpg
diff options
context:
space:
mode:
authorkaotisk <kaotisk@arching-kaos.org>2024-07-04 08:17:29 +0300
committerkaotisk <kaotisk@arching-kaos.org>2024-07-04 08:17:29 +0300
commitcb37ba08b35f7236f3387d4a5c6463b24936bf24 (patch)
tree894a3bc93c2fd77b745eae3242d9780dec7f7540 /lib/_ak_gpg
parenta40e07d1ef1d5b57973630715cecc489925b12c5 (diff)
downloadarching-kaos-tools-cb37ba08b35f7236f3387d4a5c6463b24936bf24.tar.gz
arching-kaos-tools-cb37ba08b35f7236f3387d4a5c6463b24936bf24.tar.bz2
arching-kaos-tools-cb37ba08b35f7236f3387d4a5c6463b24936bf24.zip
Refactoring
Diffstat (limited to 'lib/_ak_gpg')
-rwxr-xr-xlib/_ak_gpg3
1 files changed, 2 insertions, 1 deletions
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(){