6 lines
208 B
Bash
Executable File
6 lines
208 B
Bash
Executable File
#!/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\""
|