From a4dc0e041e69269442a32c9210b2f247a55bdd87 Mon Sep 17 00:00:00 2001 From: Luke Date: Tue, 13 Feb 2018 13:00:48 -0700 Subject: switch to gpg2 as default --- credentials/imappwd.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'credentials/imappwd.py') diff --git a/credentials/imappwd.py b/credentials/imappwd.py index 8570a5f..0a74804 100755 --- a/credentials/imappwd.py +++ b/credentials/imappwd.py @@ -4,7 +4,7 @@ home = os.path.expanduser("~") def mailpasswd(acct): acct = os.path.basename(acct) path = "%s/.config/mutt/credentials/%s.gpg" % (home,acct) - args = ["gpg", "--use-agent", "--quiet", "--batch", "-d", path] + args = ["gpg2", "--use-agent", "--quiet", "--batch", "-d", path] try: return subprocess.check_output(args).strip() except subprocess.CalledProcessError: -- cgit v1.2.3