Subject: | Bug#592503: libmail-gnupg-perl: decode uses wrong method to get mime decoded |
Date: | Wed, 11 Aug 2010 16:20:00 +0200 |
To: | bug-Mail-GnuPG [...] rt.cpan.org |
From: | Salvatore Bonaccorso <carnil [...] cpan.org> |
Hi
I'm forwarding this bugreport we got in Debian reported by Christoph
Martin. The original report was in http://bugs.debian.org/592503.
Thank you for looking at it in advance,
Bests
Salvatore
----- Forwarded message from Christoph Martin <martin@uni-mainz.de> -----
From: Christoph Martin <martin@uni-mainz.de>
Resent-From: Christoph Martin <martin@uni-mainz.de>
Reply-To: Christoph Martin <martin@uni-mainz.de>, 592503@bugs.debian.org
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US;
rv:1.8.1.24) Gecko/20100328 Thunderbird/2.0.0.24 Mnenhy/0.7.5.0
Date: Tue, 10 Aug 2010 18:03:21 +0200
To: submit@bugs.debian.org
Subject: Bug#592503: libmail-gnupg-perl: decode uses wrong method to get mime
decoded
Package: libmail-gnupg-perl
Version: 0.15-1
Severity: normal
if decrypt() or get_decrypt_key() ist called on a inline PGP messages
which is quoted-printable encoded, gpg fails with
gpg: malformed CRC#012,gpg: quoted printable character in armor -
probably a buggy MTA has been used
This happens because $message->body_as_string is called instead of
$message->bodyhandle->as_string.
This was already fixed in verify()
See the comment there:
# don't use not $message->body_as_string here, because
# the body isn't decoded in this case!!!
# (which is evil for quoted-printable transfer encoding)
# also the headers and stuff are not needed here
Christoph
-- System Information:
Debian Release: 5.0.5
APT prefers stable
APT policy: (900, 'stable'), (70, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.26-2-686 (SMP w/4 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/bash
Versions of packages libmail-gnupg-perl depends on:
ii libgnupg-interface-perl 0.36-1 Perl interface to GnuPG
ii libmailtools-perl 2.03-1 Manipulate email in perl
programs
ii libmime-perl 5.427-1 transitional dummy package
ii libmime-tools-perl [libm 5.427-1 Perl5 modules for
MIME-compliant m
ii perl 5.10.0-19lenny2 Larry Wall's Practical
Extraction
libmail-gnupg-perl recommends no packages.
libmail-gnupg-perl suggests no packages.
-- no debconf information
--
============================================================================
Christoph Martin, Zentrum für Datenverarbeitung, Uni-Mainz, Germany
Instant-Messaging: Jabber: martin@uni-mainz.de
(Siehe http://www.zdv.uni-mainz.de/4010.php)
begin:vcard
fn:Christoph Martin
n:Martin;Christoph
org;quoted-printable;quoted-printable:Johannes Gutenberg-Universit=C3=A4t;Zentrum f=C3=BCr Datenverarbeitung
adr:;;Anselm Franz von Bentzel-Weg 12;Mainz;;55128;Germany
email;internet:martin@uni-mainz.de
tel;work:+49-6131-3926337
tel;fax:+49-6131-3926407
tel;cell:+49-179-7952652
x-mozilla-html:FALSE
version:2.1
end:vcard
Show quoted text
_______________________________________________
pkg-perl-maintainers mailing list
pkg-perl-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/pkg-perl-maintainers
----- End forwarded message -----
Message body not shown because it is not plain text.