diff options
author | rhatto <rhatto> | 2006-10-09 20:10:36 +0000 |
---|---|---|
committer | rhatto <rhatto> | 2006-10-09 20:10:36 +0000 |
commit | dbc3d590d10088942245e613098f4f468470dc74 (patch) | |
tree | fb0f89fba16309cc04ce4e2185c1bcb8bd2a4b3d | |
parent | a38e36abbd2a976ded8e86059f9c9a0f9ab05e21 (diff) | |
download | firma-dbc3d590d10088942245e613098f4f468470dc74.tar.gz firma-dbc3d590d10088942245e613098f4f468470dc74.tar.bz2 |
sendkey pgp/mime small change
-rwxr-xr-x | firma | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -1409,8 +1409,9 @@ Content-Disposition: inline" # this is the body of the message to be sent, so no indentation here MESSAGE_BODY="`$GPG --armor --export $LIST_ADDRESS`" + MESSAGE_BODY="`echo -e "${PASSPHRASE}\n${MESSAGE_BODY}" | $GPG_ENCRYPT --recipient $recipients`" - MESSAGE_BODY=" + MESSAGE_BODY="\ This is an OpenPGP/MIME encrypted message (RFC 2440 and 3156) --$boundary Content-Type: application/pgp-encrypted @@ -1423,9 +1424,9 @@ 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) +${MESSAGE_BODY} ---$boundary--" +--${boundary}--" AssembleMessage |