From a38e36abbd2a976ded8e86059f9c9a0f9ab05e21 Mon Sep 17 00:00:00 2001 From: rhatto Date: Mon, 9 Oct 2006 20:03:25 +0000 Subject: sendkey pgp/mime fixes --- firma | 8 +++++--- 1 file 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) -- cgit v1.2.3