pass now used for password management

This commit is contained in:
Luke Smith
2019-04-19 17:47:20 -04:00
parent 5aef2f37f4
commit c65a5cc723
3 changed files with 10 additions and 48 deletions

View File

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