Codebase list metche / d291b36
Fix GnuPG groups support. Check for encryption key existence using gpg --encrypt instead of --list-public-keys. intrigeri 12 years ago
2 changed file(s) with 6 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
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
05 1.2.1 (2011 06 05)
16
27 * Support more mailers than just mutt.
332332
333333 # E-mail encryption
334334 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
336336 res=$?
337337 if [ $res -ne 0 ]; then
338338 warning " GnuPG public key for $EMAIL_ADDRESS not found."