aboutsummaryrefslogtreecommitdiff
path: root/lib/_ak_gpg
diff options
context:
space:
mode:
authorkaotisk <kaotisk@arching-kaos.org>2024-07-23 14:10:03 +0300
committerkaotisk <kaotisk@arching-kaos.org>2024-07-23 14:10:03 +0300
commita359611ed2bcc79bf440f05096cfbdc618869067 (patch)
tree7d4d5fb32a3ee842320474917ca95b09d8190400 /lib/_ak_gpg
parent3dbf01ec2d879beab38c84f20cc8986b15d3cd18 (diff)
downloadarching-kaos-tools-a359611ed2bcc79bf440f05096cfbdc618869067.tar.gz
arching-kaos-tools-a359611ed2bcc79bf440f05096cfbdc618869067.tar.bz2
arching-kaos-tools-a359611ed2bcc79bf440f05096cfbdc618869067.zip
use settings instead of file to store activated gpg key
Diffstat (limited to 'lib/_ak_gpg')
-rwxr-xr-xlib/_ak_gpg2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/_ak_gpg b/lib/_ak_gpg
index a2cca7a..a214965 100755
--- a/lib/_ak_gpg
+++ b/lib/_ak_gpg
@@ -208,7 +208,7 @@ _ak_gpg_select_key(){
if [ -n "$x" ]
then
_ak_log_info "$x was selected"
- printf '%s' "$x" > $AK_WORKDIR/selected_key
+ _ak_settings_set "gpg.fingerprint" "$x"
break
else
_ak_log_warning "You didn't select a key"