Browse Source

Moved password gpg files to password-store

ansible
Micah Halter 2 months ago
parent
commit
223a662fbd

+ 1
- 0
.gitignore View File

@@ -31,3 +31,4 @@ qutebrowser/.config/qutebrowser/shortcuts.py
31 31
 # python files
32 32
 **/__pycache__
33 33
 **/__init__.py
34
+**/*.pyc

+ 2
- 2
offlineimap/.config/offlineimap/config View File

@@ -14,7 +14,7 @@ postsynchook = notmuch new
14 14
 [Repository gmail-remote]
15 15
 type = Gmail
16 16
 remoteuser = mhalter3378@gmail.com
17
-remotepasseval = mailpasswd("gmailunsecure")
17
+remotepasseval = mailpasswd("/home/micah/.password-store/offlineimap/gmail.gpg")
18 18
 folderfilter = lambda foldername: foldername not in ['[Gmail]/All Mail']
19 19
 ssl_version = tls1_2
20 20
 sslcacertfile = /etc/ssl/certs/ca-certificates.crt
@@ -32,7 +32,7 @@ postsynchook = notmuch new
32 32
 [Repository gatech-remote]
33 33
 type = IMAP
34 34
 remoteuser = mhalter3@gatech.edu
35
-remotepasseval = mailpasswd("gatech")
35
+remotepasseval = mailpasswd("/home/micah/.password-store/offlineimap/gatech.gpg")
36 36
 folderfilter = lambda foldername: foldername not in ['Calendar', 'Calendar/Birthdays', 'Calendar/United States holidays', 'Contacts', 'Conversation History', 'Journal', 'Notes', 'Tasks']
37 37
 remotehost = outlook.office365.com
38 38
 sslcacertfile = /etc/ssl/certs/ca-certificates.crt

+ 1
- 1
offlineimap/.config/offlineimap/offlineimap.py View File

@@ -1,5 +1,5 @@
1 1
 import subprocess
2 2
 
3 3
 def mailpasswd(account):
4
-    path = "/home/micah/.mail-%s-passwd.gpg" % account
4
+    path = "%s" % account
5 5
     return subprocess.check_output(["gpg2", "--pinentry-mode", "loopback", "--passphrase-file", "/home/micah/.gnupg/passphrase", "--quiet", "--batch", "-d", path]).strip()

BIN
offlineimap/.config/offlineimap/offlineimap.pyc View File


+ 1
- 1
vdirsyncer/.config/vdirsyncer/password.sh View File

@@ -1,3 +1,3 @@
1 1
 #!/bin/bash
2 2
 
3
-gpg2 --passphrase-file /home/micah/.gnupg/passphrase --pinentry-mode loopback --batch --no-tty --decrypt /home/micah/.vdirsyncer-gmailunsecure-secret.gpg
3
+gpg2 --passphrase-file /home/micah/.gnupg/passphrase --pinentry-mode loopback --batch --no-tty --decrypt /home/micah/.password-store/vdirsyncer/gmail.gpg

Loading…
Cancel
Save