rewrite underway

This commit is contained in:
Luke Smith
2019-02-21 10:14:17 -05:00
parent f2dcd92c30
commit 03279ea318
24 changed files with 324 additions and 533 deletions

5
bin/getmuttpass Executable file
View File

@ -0,0 +1,5 @@
#!/bin/bash
GPG="gpg"; command -v gpg >/dev/null || GPG="gpg2"
pass=$(printf '%q' "$("$GPG" --decrypt --quiet ~/.local/share/muttwizard/$1.gpg)")
echo "set smtp_pass=\"$pass\""
echo "set imap_pass=\"$pass\""