[imp] CVS IMP with PGP Support
Chuck Hagenbuch
chuck@horde.org
Thu, 2 May 2002 22:01:05 -0400
Quoting Michael M Slusarz <slusarz@bigworm.colorado.edu>:
> The problem: the PHP mail/imap functions do not correctly return enough
> of the message to correctly check the digital signature (For those that
> care, RFC 2015 requires that the entire message INCLUDING the MIME
> headers of that part be use to create a digital signature. Unfortunately
> all imap functions that retrieve the body of the MIME part strip the
> MIME header information away. Thus, we are verifying the signature on
> something LESS than the previous message so, obviously, it always comes
> up as a BAD signature).
Hmm. You know that partnumber.0, passed to imap_fetchbody as the part
number, gets you the headers for a part?
-chuck
--
Charles Hagenbuch, <chuck@horde.org>
"A dream which helps you to live your reality with dignity
and justice is a good dream." - Tariq Ramadan