blob: 15a1d55ed06a3f56ed0185b22358bc0a7482dc10 (
plain)
1
2
3
4
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\""
|