diff options
author | Luke <luke@lukesmith.xyz> | 2018-02-13 13:00:48 -0700 |
---|---|---|
committer | Luke <luke@lukesmith.xyz> | 2018-02-13 13:00:48 -0700 |
commit | a4dc0e041e69269442a32c9210b2f247a55bdd87 (patch) | |
tree | 2831a25640a274566b163b1ad2962c1dfeda7a7e /credentials | |
parent | ac1f56dd18cf4b6ce71c4cd477d2deaa6a57df98 (diff) |
switch to gpg2 as default
Diffstat (limited to 'credentials')
-rwxr-xr-x | credentials/getmuttpass | 2 | ||||
-rwxr-xr-x | credentials/imappwd.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/credentials/getmuttpass b/credentials/getmuttpass index c5ee8c2..e01c5de 100755 --- a/credentials/getmuttpass +++ b/credentials/getmuttpass @@ -1,4 +1,4 @@ #!/bin/bash -pass=$(gpg -d -q ~/.config/mutt/credentials/$1.gpg) +pass=$(gpg2 -d -q ~/.config/mutt/credentials/$1.gpg) echo set smtp_pass=\"$pass\" echo set imap_pass=\"$pass\" 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: |