restructure passwords
This commit is contained in:
@@ -13,6 +13,6 @@ host mail.fsfe.org
|
||||
port 587
|
||||
from max.mehl@fsfe.org
|
||||
user max.mehl
|
||||
passwordeval pass Mail/FSFE-SMTP
|
||||
passwordeval pass Mail/SMTP-FSFE
|
||||
|
||||
account default : fsfe
|
||||
|
||||
@@ -2,4 +2,4 @@
|
||||
from subprocess import check_output
|
||||
|
||||
def get_pass(account):
|
||||
return check_output("pass Mail/" + account, shell=True).splitlines()[0]
|
||||
return check_output("pass " + account, shell=True).splitlines()[0]
|
||||
|
||||
Binary file not shown.
@@ -28,5 +28,5 @@ type = IMAP
|
||||
remotehost = machholz.uberspace.de
|
||||
remoteuser = fsfe@ext2.mehl.mx
|
||||
sslcacertfile = /etc/ssl/certs/ca-certificates.crt
|
||||
remotepasseval = get_pass("FSFE")
|
||||
remotepasseval = get_pass("Mail/IMAP-FSFE")
|
||||
maxconnections = 4
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
96FE8C4B
|
||||
Binary file not shown.
@@ -1 +0,0 @@
|
||||
/home/max/Repositories/fsfe/passwords/
|
||||
Binary file not shown.
1
pass/Mail/.gpg-id
Normal file
1
pass/Mail/.gpg-id
Normal file
@@ -0,0 +1 @@
|
||||
E1DD1B5507036B458144104CDA0040918C702037
|
||||
@@ -47,4 +47,4 @@ url = "https://d.mehl.mx/baikal/html/dav.php/addressbooks"
|
||||
username = "mxmehl"
|
||||
# The password can also be fetched from the system password storage, netrc or a
|
||||
# custom command. See http://vdirsyncer.pimutils.org/en/stable/keyring.html
|
||||
password.fetch = ["command", "pass", "DAV/Baikal-mxmehl"]
|
||||
password.fetch = ["command", "pass", "Mail/Baikal-mxmehl"]
|
||||
|
||||
Reference in New Issue
Block a user