aboutsummaryrefslogtreecommitdiff
path: root/lib/_ak_gpg
diff options
context:
space:
mode:
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"