Luke Smith
5 years ago
No known key found for this signature in database
GPG Key ID: 4C50B54A911F6252
1 changed files with
1 additions and
1 deletions
-
bin/getmuttpass
|
|
@@ -1,5 +1,5 @@ |
|
|
|
#!/bin/bash |
|
|
|
GPG="gpg"; command -v gpg >/dev/null || GPG="gpg2" |
|
|
|
pass=$(printf '%q' "$("$GPG" --decrypt --quiet ~/.local/share/muttwizard/$1.gpg)") |
|
|
|
pass=$(printf '%q' "$("$GPG" --decrypt --quiet "$HOME/.local/share/muttwizard/$1.gpg")") |
|
|
|
echo "set smtp_pass=\"$pass\"" |
|
|
|
echo "set imap_pass=\"$pass\"" |