From 3f06278626912f8cb1fceaa12b4473abef5f24a3 Mon Sep 17 00:00:00 2001 From: cantcuckthis <102478867+cantcuckthis@users.noreply.github.com> Date: Sun, 27 Mar 2022 16:54:22 +0000 Subject: [PATCH] Prompt for GPG key unlock in systems without pam-gnupg Resolves #675, #585, #597. --- bin/mw | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/mw b/bin/mw index 04361fc..6f2e271 100755 --- a/bin/mw +++ b/bin/mw @@ -135,7 +135,7 @@ set ssl_force_tls = yes" pop) synccmd="macro index o \"mpop $fulladdr\" \"run mpop to get $fulladdr's mail\"" folder="$maildir/$fulladdr" prepmpop ;; - *) synccmd="macro index o \"mw -y $fulladdr\" \"run mbsync to sync $fulladdr\"" + *) synccmd="macro index o \"pass show $fulladdr &> /dev/null; mw -y $fulladdr\" \"run mbsync to sync $fulladdr\"" folder="$maildir/$fulladdr" prepmbsync ;; esac