Package: pgp4pine
Version: 1.76-2
Severity: normal
Tags: patch

Rationale:

When you only look for "-----BEGIN PGP" in the mail, then you will also catch
other PGP/GPG blocks, such as: "-----BEGIN PGP PUBLIC KEY BLOCK-----" when
someone sends you a public key inline. pgp4pine will then tell you that there
was an error since it failed to decrypt the message, which is nonsense, because
the message wasn't encrypted in the first place, but only contained an included
public key.

*t

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (500, 'testing'), (500, 'stable'), (50, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15-1-686
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages pgp4pine depends on:
ii  libc6                        2.3.6.ds1-4 GNU C Library: Shared libraries

Versions of packages pgp4pine recommends:
ii  gnupg                         1.4.5-1    GNU privacy guard - a free PGP rep
hi  pgp-us                        2.6.3a-7   Public key encryption system (US v

-- no debconf information
--- /tmp/README.Debian.orig     2006-09-14 14:14:49.000000000 +0200
+++ /tmp/README.Debian  2006-09-14 14:14:41.000000000 +0200
@@ -19,7 +19,7 @@
 2. If you want pgp4pine to automatically catch and decrypt/verify 
    PGP-signed/encrypted messages, set display-filters (near the bottom) to
 
-      _BEGINNING("-----BEGIN PGP")_ /usr/bin/pgp4pine -d -i _TMPFILE_
+      _BEGINNING("-----BEGIN PGP MESSAGE")_ /usr/bin/pgp4pine -d -i _TMPFILE_
 
    Do it exactly like this. Five '-' and _TMPFILE_ and this stuff literally.
    (Of course, change the path to the binary if you installed it elsewhere.)
@@ -36,7 +36,7 @@
 3a. As a system administrator, you can globally set these filters in the
    /etc/pine.conf. Just add the lines:
 
-display-filters=_BEGINNING("-----BEGIN PGP")_ /usr/bin/pgp4pine -d -i _TMPFILE_
+display-filters=_BEGINNING("-----BEGIN PGP MESSAGE")_ /usr/bin/pgp4pine -d -i 
_TMPFILE_
 sending-filters=/usr/bin/pgp4pine -e -i _TMPFILE_ -r _RECIPIENTS_
 
 4. When sending mail, Pine will now offer you filters, by default 'unfiltered'.

Reply via email to