From ba9f97b7291907bc7c1aaefb64b23d4207ddd7f3 Mon Sep 17 00:00:00 2001 From: Urbain Vaes Date: Sun, 18 Oct 2015 23:02:05 +0100 Subject: Adapt .offlineimap.py to the new password file --- .offlineimap/offlineimap.py | 4 +++- .passwords | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.offlineimap/offlineimap.py b/.offlineimap/offlineimap.py index c63b82d..6b2c466 100644 --- a/.offlineimap/offlineimap.py +++ b/.offlineimap/offlineimap.py @@ -2,9 +2,11 @@ import os import subprocess + + def mailpasswd(acct): acct = os.path.basename(acct) - path = "/home/urbain/.passwords/%s.asc" % acct + path = "/home/urbain/.password-store/Mail/%s.gpg" % acct args = ["gpg", "--use-agent", "--quiet", "--batch", "-d", path] try: return subprocess.check_output(args).strip() diff --git a/.passwords b/.passwords index ebfe618..a868f93 160000 --- a/.passwords +++ b/.passwords @@ -1 +1 @@ -Subproject commit ebfe618e5197447046cb94996a1650d51d9bf401 +Subproject commit a868f9384abcc988d4f46fc7354198f49f08a94b -- cgit v1.2.3