]> gitweb.fluxo.info Git - firma.git/commitdiff
sendkey pgp/mime fixes
authorrhatto <rhatto>
Mon, 9 Oct 2006 20:03:25 +0000 (20:03 +0000)
committerrhatto <rhatto>
Mon, 9 Oct 2006 20:03:25 +0000 (20:03 +0000)
firma

diff --git a/firma b/firma
index b42ca5ee2525b63d80aad179938eead15038534a..1bdfcac960c0acb3cd4a267e1fff0b390e9952ee 100755 (executable)
--- 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)