From: Daniel Kahn Gillmor Date: Thu, 4 Apr 2013 01:50:08 +0000 (+2000) Subject: Bug#704648: notmuch-emacs: M-x notmuch-show-reply on an encrypted message should... X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=5eb03a5aaa72cdcf8f8f352a17d42935d35b2841;p=notmuch-archives.git Bug#704648: notmuch-emacs: M-x notmuch-show-reply on an encrypted message should insert encryption tags into the mml buffer --- diff --git a/a9/b2cfbd51e7ef2583c1ac85051ee8633fadf2c6 b/a9/b2cfbd51e7ef2583c1ac85051ee8633fadf2c6 new file mode 100644 index 000000000..eac992ad6 --- /dev/null +++ b/a9/b2cfbd51e7ef2583c1ac85051ee8633fadf2c6 @@ -0,0 +1,119 @@ +Return-Path: +X-Original-To: notmuch@notmuchmail.org +Delivered-To: notmuch@notmuchmail.org +Received: from localhost (localhost [127.0.0.1]) + by olra.theworths.org (Postfix) with ESMTP id DEE25431FBC + for ; Wed, 3 Apr 2013 18:54:13 -0700 (PDT) +X-Virus-Scanned: Debian amavisd-new at olra.theworths.org +X-Spam-Flag: NO +X-Spam-Score: -2.3 +X-Spam-Level: +X-Spam-Status: No, score=-2.3 tagged_above=-999 required=5 + tests=[RCVD_IN_DNSWL_MED=-2.3] autolearn=disabled +Received: from olra.theworths.org ([127.0.0.1]) + by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) + with ESMTP id 74nVrvAGSW6Z for ; + Wed, 3 Apr 2013 18:54:13 -0700 (PDT) +Received: from buxtehude.debian.org (buxtehude.debian.org [140.211.166.26]) + (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) + (No client certificate requested) + by olra.theworths.org (Postfix) with ESMTPS id E6944431FAE + for ; Wed, 3 Apr 2013 18:54:12 -0700 (PDT) +Received: from debbugs by buxtehude.debian.org with local (Exim 4.80) + (envelope-from ) + id 1UNZNN-0007pI-AN; Thu, 04 Apr 2013 01:54:05 +0000 +X-Loop: owner@bugs.debian.org +Subject: Bug#704648: notmuch-emacs: M-x notmuch-show-reply on an encrypted + message should insert encryption tags into the mml buffer +Resent-From: Daniel Kahn Gillmor +Resent-To: debian-bugs-dist@lists.debian.org +Resent-CC: dkg@fifthhorseman.net, notmuch@notmuchmail.org, + Carl Worth +X-Loop: owner@bugs.debian.org +Resent-Date: Thu, 04 Apr 2013 01:54:01 +0000 +Resent-Message-ID: +X-Debian-PR-Message: report 704648 +X-Debian-PR-Package: notmuch-emacs +X-Debian-PR-Keywords: +X-Debian-PR-Source: notmuch +Received: via spool by submit@bugs.debian.org id=B.136504021628058 + (code B); Thu, 04 Apr 2013 01:54:01 +0000 +Received: (at submit) by bugs.debian.org; 4 Apr 2013 01:50:16 +0000 +X-Spam-Bayes: score:0.0000 Tokens: new, 6; hammy, 150; neutral, 64; spammy, 1. + spammytokens:0.960-+--H*r:bugs.debian.org + hammytokens:0.000-+--H*M:reportbug, + 0.000-+--H*MI:reportbug, 0.000-+--H*x:6.4.3, 0.000-+--H*UA:6.4.3, + 0.000-+--H*x:reportbug +Received: from lair.fifthhorseman.net ([108.58.6.98] + helo=alice.fifthhorseman.net) + by buxtehude.debian.org with esmtp (Exim 4.80) + (envelope-from ) id 1UNZJf-0007Hp-F2 + for submit@bugs.debian.org; Thu, 04 Apr 2013 01:50:15 +0000 +Content-Type: text/plain; charset="us-ascii" +MIME-Version: 1.0 +Content-Transfer-Encoding: 7bit +From: Daniel Kahn Gillmor +To: Debian Bug Tracking System +Message-ID: <20130404015008.4874.79510.reportbug@alice.fifthhorseman.net> +X-Mailer: reportbug 6.4.3 +Date: Wed, 03 Apr 2013 21:50:08 -0400 +Delivered-To: submit@bugs.debian.org +Resent-Sender: Debian BTS +X-BeenThere: notmuch@notmuchmail.org +X-Mailman-Version: 2.1.13 +Precedence: list +Reply-To: Daniel Kahn Gillmor , 704648@bugs.debian.org +List-Id: "Use and development of the notmuch mail system." + +List-Unsubscribe: , + +List-Archive: +List-Post: +List-Help: +List-Subscribe: , + +X-List-Received-Date: Thu, 04 Apr 2013 01:54:14 -0000 + +Package: notmuch-emacs +Version: 0.15.2-1 +Severity: normal + +When i'm viewing an encrypted message in notmuch-emacs, and i hit R +(or M-x notmuch-show-reply), it drops me into an mml compose buffer +with the decrypted message body properly quoted and attributed. + +If I go ahead and send that reply, the previously-encrypted message +content goes out in the clear. This is a faux pas. + +Notmuch should insert the appropriate MML encryption tag into the +reply buffer by default if the message being replied to has the +"encrypted" tag: + + <#secure method=pgpmime mode=encrypt> + +(it should probably be a different tag if the incoming message used +S/MIME instead of PGP/MIME, though i don't think we handle S/MIME yet, +so maybe we can leave that distinction to later) + + --dkg + + +-- System Information: +Debian Release: 7.0 + APT prefers testing + APT policy: (500, 'testing'), (200, 'unstable'), (1, 'experimental') +Architecture: amd64 (x86_64) + +Kernel: Linux 3.8-trunk-amd64 (SMP w/4 CPU cores) +Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) +Shell: /bin/sh linked to /bin/dash + +Versions of packages notmuch-emacs depends on: +ii emacs23 23.4+1-4 +ii notmuch 0.15.2-1 + +notmuch-emacs recommends no packages. + +notmuch-emacs suggests no packages. + +-- debconf-show failed