How to handle multipart messages (RFC 2440) and verify them with
GnuPG?
Thomas Zangl - Home
thomas at tzis.net
Mon Jan 17 19:10:30 CET 2005
On Mon, 17 Jan 2005 18:22:43 +0100, "Werner Koch" <wk at gnupg.org> wrote:
>2015 and 3156 do have such an example. Your code only contains
>another MIME container as signed part but that does'nt change anything
>for your parser. Recall that you need to keep track of the different
>boundaries; either by ignoring inner ones or by stacking them up.
Thank your for the example. I tried it but it does not work :-/
(I might remember that I already tried this because of an idea in the
RFCs mentioned above).
Here are the 2 files with which I play around:
http://intern.tzi.dhs.org/test.sig
http://intern.tzi.dhs.org/test.eml
Command line for testing:
gpg --verify D:\test.sig D:\test.eml
(I always get: "gpg: BAD signature from ..")
>gnupg 1.9 has an uncompleted tools/gpgparsemail.c which shows how to
>parse MIME encrypted or signed messages.
I will look at it.
Thank you anyway :)
--
----------------------------------------------------------------
,yours Thomas Zangl -thomas at tzi.dhs.org- -TZ1-6BONE-
-http://tzi.dhs.org - http://www.borg-kindberg.ac.at
Use YAMC! now! Get it at http://www.borg-kindberg.ac.at/yamc/
More information about the Gnupg-users
mailing list