Fix GnuPG groups support.
Check for encryption key existence using gpg --encrypt instead
of --list-public-keys.
intrigeri
12 years ago
|
0 |
1.2.2 (UNRELEASED)
|
|
1 |
|
|
2 |
* Fix GnuPG groups support: check for encryption key existence using
|
|
3 |
gpg --encrypt instead of --list-public-keys.
|
|
4 |
|
0 | 5 |
1.2.1 (2011 06 05)
|
1 | 6 |
|
2 | 7 |
* Support more mailers than just mutt.
|
332 | 332 |
|
333 | 333 |
# E-mail encryption
|
334 | 334 |
if [ $ENCRYPT_EMAIL = "yes" ]; then
|
335 | |
gpg --batch --list-public-keys $EMAIL_ADDRESS >/dev/null 2>&1
|
|
335 |
echo | gpg --batch --encrypt --recipient $EMAIL_ADDRESS >/dev/null 2>&1
|
336 | 336 |
res=$?
|
337 | 337 |
if [ $res -ne 0 ]; then
|
338 | 338 |
warning " GnuPG public key for $EMAIL_ADDRESS not found."
|