tags 415088 patch
forwarded 415088 http://rt.cpan.org/Public/Bug/Display.html?id=2718
thanks
On Sun, Mar 18, 2007 at 09:55:43PM +0200, Niko Tyni wrote:
> Clearly this needs to be documented in the Mail::GnuPG manual.
> I'm retitling the bug accordingly and setting the severity to
> 'wishlist'. I'll try to come up with a patch to the documentation and
> submit it to the upstream bug as well.
Hi,
here's the suggested documentation patch I sent to the upstream bug
report.
Cheers,
--
Niko Tyni [EMAIL PROTECTED]
--- libmail-gnupg-perl-0.08.orig/GnuPG.pm
+++ libmail-gnupg-perl-0.08/GnuPG.pm
@@ -338,6 +338,12 @@
The message can either be in RFC compliant-ish multipart/signed
format, or just a single part ascii armored message.
+ Note that MIME-encoded data should be supplied unmodified inside
+ the MIME::Entity input message, otherwise the signature will be
+ broken. Since MIME-tools version 5.419, this can be achieved with
+ the C<decode_bodies> method of MIME::Parser. See the MIME::Parser
+ documentation for more information.
+
Output:
On error:
Exit code of gpg. (0 on success)