Browse Source

Moved password gpg files to password-store

ansible
Micah Halter 7 months ago
parent
commit
223a662fbd

+ 1
- 0
.gitignore View File

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

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

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

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

@@ -1,5 +1,5 @@
import subprocess

def mailpasswd(account):
path = "/home/micah/.mail-%s-passwd.gpg" % account
path = "%s" % account
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 @@
#!/bin/bash

gpg2 --passphrase-file /home/micah/.gnupg/passphrase --pinentry-mode loopback --batch --no-tty --decrypt /home/micah/.vdirsyncer-gmailunsecure-secret.gpg
gpg2 --passphrase-file /home/micah/.gnupg/passphrase --pinentry-mode loopback --batch --no-tty --decrypt /home/micah/.password-store/vdirsyncer/gmail.gpg

Loading…
Cancel
Save