2018-02-09 23:47:29 -07:00
|
|
|
#!/bin/bash
|
2019-02-19 08:14:03 -05:00
|
|
|
GPG="gpg"; command -v gpg >/dev/null || GPG="gpg2"
|
2019-04-16 13:51:41 -04:00
|
|
|
pass=$(printf '%q' "$("$GPG" --decrypt --quiet "$HOME/.local/share/muttwizard/$1.gpg")")
|
2019-02-19 08:14:03 -05:00
|
|
|
echo "set smtp_pass=\"$pass\""
|
|
|
|
echo "set imap_pass=\"$pass\""
|