aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrhatto <rhatto>2006-10-09 20:03:25 +0000
committerrhatto <rhatto>2006-10-09 20:03:25 +0000
commita38e36abbd2a976ded8e86059f9c9a0f9ab05e21 (patch)
treeaec54b9f0269c4bb0ad441322763d31cbdfcea2a
parenteb84e4ffd04a2b8a239f3873499696788d43a38f (diff)
downloadfirma-a38e36abbd2a976ded8e86059f9c9a0f9ab05e21.tar.gz
firma-a38e36abbd2a976ded8e86059f9c9a0f9ab05e21.tar.bz2
sendkey pgp/mime fixes
-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)