aboutsummaryrefslogtreecommitdiff
path: root/firma
diff options
context:
space:
mode:
Diffstat (limited to 'firma')
-rwxr-xr-xfirma8
1 files changed, 5 insertions, 3 deletions
diff --git a/firma b/firma
index b42ca5e..1bdfcac 100755
--- a/firma
+++ b/firma
@@ -1411,15 +1411,17 @@ Content-Disposition: inline"
MESSAGE_BODY="`$GPG --armor --export $LIST_ADDRESS`"
MESSAGE_BODY="
+This is an OpenPGP/MIME encrypted message (RFC 2440 and 3156)
--$boundary
Content-Type: application/pgp-encrypted
-Content-Disposition: attachment
+Content-Description: PGP/MIME version identification
Version: 1
--$boundary
-Content-Type: application/octet-stream
-Content-Disposition: inline; filename="msg.asc"
+Content-Type: application/octet-stream; name=\"encrypted.asc\"
+Content-Disposition: inline; filename=\"encrypted.asc\"
+Content-Description: OpenPGP encrypted message
$(echo -e "${PASSPHRASE}\n${MESSAGE_BODY}" | $GPG_ENCRYPT --recipient $recipients)