[git] GpgOL - branch, master, updated. gpgol-2.0.5-16-ge7ef14e
by Andre Heinecke
cvs at cvs.gnupg.org
Fri Jan 12 10:39:04 CET 2018
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GnuPG extension for MS Outlook".
The branch, master has been updated
via e7ef14e076f9e4364e940c8e9e27591cf90a0986 (commit)
from 7d772b3e6cadd73c23080b51d29d6a297ea59c67 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit e7ef14e076f9e4364e940c8e9e27591cf90a0986
Author: Andre Heinecke <aheinecke at intevation.de>
Date: Fri Jan 12 10:37:20 2018 +0100
Fix multipart signed mails
* src/mimemaker.cpp (add_body_and_attachments): Add extra line for
multipart/related and multipart/alternative.
--
Outlook adds that line when the message is constructed. If that
line is not part of our hashed message we will create an invalid
signature.
GnuPG-Bug-Id: T3736
diff --git a/src/mimemaker.cpp b/src/mimemaker.cpp
index 057df95..53e6049 100644
--- a/src/mimemaker.cpp
+++ b/src/mimemaker.cpp
@@ -1422,6 +1422,7 @@ add_body_and_attachments (sink_t sink, LPMESSAGE message,
if ((rc=write_multistring (sink,
"Content-Type: multipart/related;\r\n",
"\tboundary=\"", outer_boundary, "\"\r\n",
+ "\r\n", /* <--- Outlook adds an extra line. */
NULL)))
return rc;
}
@@ -1431,6 +1432,7 @@ add_body_and_attachments (sink_t sink, LPMESSAGE message,
if ((rc=write_multistring (sink,
"Content-Type: multipart/mixed;\r\n",
"\tboundary=\"", outer_boundary, "\"\r\n",
+ "\r\n", /* <--- Outlook adds an extra line. */
NULL)))
return rc;
}
@@ -1448,6 +1450,7 @@ add_body_and_attachments (sink_t sink, LPMESSAGE message,
if ((rc=write_multistring (sink,
"Content-Type: multipart/related;\r\n",
"\tboundary=\"", inner_boundary, "\"\r\n",
+ "\r\n", /* <--- Outlook adds an extra line. */
NULL)))
{
return rc;
-----------------------------------------------------------------------
Summary of changes:
src/mimemaker.cpp | 3 +++
1 file changed, 3 insertions(+)
hooks/post-receive
--
GnuPG extension for MS Outlook
http://git.gnupg.org
More information about the Gnupg-commits
mailing list