Package: signing-party
Version: 0.4.0-1
Severity: normal
Tags: patch

Using only -t, the sendmail binary terminates the incoming message at
a trailing dot, so a ~/.signature like:

My name is steve
.

(the actual signature that caused this is some rather ugly perl that has
a trailing dot, but you get the idea)

Will cause the key attachments to be silently dropped.  Since -ti is
supported by all of the major MTA's (AFAICT), it seems harmless to use
it, and will prevent unexpected behavior.

Thanks, and simple patch attached.

--------------------------------------------------------------------
--- /usr/bin/gpg-mailkeys       2005-03-05 08:37:02.000000000 -0500
+++ gpg-mailkeys        2005-07-24 11:59:47.188495339 -0400
@@ -86,7 +86,7 @@
 --$BOUNDARY--
 EOM
        echo -n " sending"
-       /usr/sbin/sendmail -t <$TEMPFILE
+       /usr/sbin/sendmail -ti <$TEMPFILE
        rm $TEMPFILE
        echo " done."
        shift 1
--------------------------------------------------------------------

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.11-1-686-smp
Locale: LANG=C, LC_CTYPE=en_US.ISO-8859-15 (charmap=ISO-8859-15) (ignored: 
LC_ALL set to en_US.ISO-8859-15)

Versions of packages signing-party depends on:
ii  gnupg            1.4.1-1                 GNU privacy guard - a free PGP rep
ii  libgnupg-interfa 0.33-5                  Perl interface to GnuPG
ii  libmailtools-per 1.62-1                  Manipulate email in perl programs
ii  libmime-perl     5.417-1                 Perl5 modules for MIME-compliant m
ii  libpaper-utils   1.1.14-3                Library for handling paper charact
ii  mailx            1:8.1.2-0.20050715cvs-1 A simple mail user agent
ii  perl             5.8.7-4                 Larry Wall's Practical Extraction 

Versions of packages signing-party recommends:
ii  exim4-daemon-light [mail-tran 4.52-1     lightweight exim MTA (v4) daemon
ii  libintl-perl                  1.11-1     Uniforum message translations syst
ii  libtext-iconv-perl            1.4-1      converts between character sets in
ii  recode                        3.6-11     Character set conversion utility

-- no debconf information

-- 
 -----------------------------------------------------------------
|   ,''`.                                            Stephen Gran |
|  : :' :                                        [EMAIL PROTECTED] |
|  `. `'                        Debian user, admin, and developer |
|    `-                                     http://www.debian.org |
 -----------------------------------------------------------------

Attachment: signature.asc
Description: Digital signature

Reply via email to