Bug#592503: libmail-gnupg-perl: decode uses wrong method to get mime decoded
Christoph Martin
martin at uni-mainz.de
Tue Aug 10 16:03:21 UTC 2010
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 at uni-mainz.de
(Siehe http://www.zdv.uni-mainz.de/4010.php)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: martin.vcf
Type: text/x-vcard
Size: 374 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-perl-maintainers/attachments/20100810/f740d453/attachment.vcf>
More information about the pkg-perl-maintainers
mailing list