My dotfiles for my Linux rice managed with stow and make
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

.offlineimap.py 271B

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