From a8b3969199f1d4c297428ae3d4c2ecac983dfa88 Mon Sep 17 00:00:00 2001 From: Alex Karle Date: Thu, 28 May 2020 00:19:32 -0400 Subject: [PATCH] cleanup: Remove offlineimap config I don't frequently delete old dotfiles, on the offchance I'm on a machine where I can't install my preferred tool and have to resort to a backup (and look, hey! I've got a config for that). screen is a great example of this -- never used, really, but not inconceivable that it might be of use one day where tmux isn't available. offlineimap is not one of those "maybe I'll need this" cases. --- offlineimap/config | 19 ------------------- offlineimap/get_pass.py | 12 ------------ 2 files changed, 31 deletions(-) delete mode 100644 offlineimap/config delete mode 100755 offlineimap/get_pass.py diff --git a/offlineimap/config b/offlineimap/config deleted file mode 100644 index 345e519..0000000 --- a/offlineimap/config +++ /dev/null @@ -1,19 +0,0 @@ -[general] -accounts = karleco -pythonfile = ~/.config/offlineimap/get_pass.py - -[Account karleco] -localrepository = karleco-local -remoterepository = karleco-remote - -[Repository karleco-local] -type = Maildir -localfolders = ~/mail - -[Repository karleco-remote] -type = IMAP -remotehost = imap.fastmail.com -remoteuser = alex@karle.co -expunge = no -sslcacertfile = /etc/ssl/certs/ca-certificates.crt -remotepasseval = get_pass() diff --git a/offlineimap/get_pass.py b/offlineimap/get_pass.py deleted file mode 100755 index 0a6426c..0000000 --- a/offlineimap/get_pass.py +++ /dev/null @@ -1,12 +0,0 @@ -#!/usr/bin/env python2 -# Small python script to retrieve encrypted gpg email password -# Heavily inspired by Arch Wiki's offlineimap docs -from subprocess import check_output - -def get_pass(): - return check_output("pash show mail/karleco", shell=True).strip("\n") - -# If called via CLI, output the password to STDOUT -# Useful for things like GIT_ASKPASS -if __name__ == "__main__": - print(get_pass()) -- libgit2 0.28.4