summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUrbain Vaes <urbain@vaes.uk>2015-10-18 23:02:05 +0100
committerUrbain Vaes <urbain@vaes.uk>2015-10-18 23:02:05 +0100
commitba9f97b7291907bc7c1aaefb64b23d4207ddd7f3 (patch)
treeb65577ff82b439724649afee86df564b68c8ac38
parent6405a0c56d453dec7888bdbf5226fb24fc4ccb81 (diff)
Adapt .offlineimap.py to the new password file
-rw-r--r--.offlineimap/offlineimap.py4
m---------.passwords0
2 files changed, 3 insertions, 1 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
-Subproject ebfe618e5197447046cb94996a1650d51d9bf40
+Subproject a868f9384abcc988d4f46fc7354198f49f08a94