From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id 31673431FB6 for ; Fri, 29 Aug 2014 11:05:32 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: 0 X-Spam-Level: X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none] 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 PDHpYiaFrpgh for ; Fri, 29 Aug 2014 11:05:28 -0700 (PDT) Received: from yantan.tethera.net (yantan.tethera.net [199.188.72.155]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by olra.theworths.org (Postfix) with ESMTPS id 641E3431FAF for ; Fri, 29 Aug 2014 11:05:28 -0700 (PDT) Received: from remotemail by yantan.tethera.net with local (Exim 4.80) (envelope-from ) id 1XNQYA-0007uy-IU; Fri, 29 Aug 2014 15:05:26 -0300 Received: (nullmailer pid 24360 invoked by uid 1000); Fri, 29 Aug 2014 18:05:19 -0000 From: David Bremner To: notmuch@notmuchmail.org Subject: [Vagrant Cascadian] Bug#759646: notmuch-emacs: switching mode= to invalid value sends unencrypted mail User-Agent: Notmuch/0.18.1+72~g028c560 (http://notmuchmail.org) Emacs/24.3.1 (x86_64-pc-linux-gnu) Date: Fri, 29 Aug 2014 11:05:19 -0700 Message-ID: <87lhq7npcw.fsf@maritornes.cs.unb.ca> MIME-Version: 1.0 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 8bit X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 Aug 2014 18:05:32 -0000 Return-path: Envelope-to: david@tethera.net Delivery-date: Fri, 29 Aug 2014 01:21:13 -0300 Received: from quantz.debian.org ([5.153.231.28]) by yantan.tethera.net with esmtps (TLS1.2:DHE_RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from ) id 1XNDgX-00054M-FR for david@tethera.net; Fri, 29 Aug 2014 01:21:13 -0300 Received: from qa by quantz.debian.org with local (Exim 4.80) (envelope-from ) id 1XNDgT-0000iW-U5 for david@tethera.net; Fri, 29 Aug 2014 04:21:09 +0000 Received: from buxtehude.debian.org ([140.211.166.26]) from C=NA,ST=NA, L=Ankh Morpork,O=Debian SMTP,OU=Debian SMTP CA,CN=buxtehude.debian.org, EMAIL=hostmaster@buxtehude.debian.org (verified) by quantz.debian.org with esmtps (TLS1.2:DHE_RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from ) id 1XNDgT-0000hu-CO for notmuch@packages.qa.debian.org; Fri, 29 Aug 2014 04:21:09 +0000 Received: from debbugs by buxtehude.debian.org with local (Exim 4.80) (envelope-from ) id 1XNDgR-0007ex-9Y; Fri, 29 Aug 2014 04:21:07 +0000 X-Loop: owner@bugs.debian.org Subject: Bug#759646: notmuch-emacs: switching mode= to invalid value sends unencrypted mail Reply-To: Vagrant Cascadian , 759646@bugs.debian.org Resent-From: Vagrant Cascadian Resent-To: debian-bugs-dist@lists.debian.org Resent-CC: vagrant@debian.org, Carl Worth X-Loop: owner@bugs.debian.org Resent-Date: Fri, 29 Aug 2014 04:21:02 +0000 Resent-Message-ID: X-Debian-PR-Message: report 759646 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.140928588228527 (code B); Fri, 29 Aug 2014 04:21:02 +0000 Received: (at submit) by bugs.debian.org; 29 Aug 2014 04:18:02 +0000 X-Spam-Checker-Version: SpamAssassin 3.3.2-bugs.debian.org_2005_01_02 (2011-06-06) on buxtehude.debian.org X-Spam-Level: X-Spam-Status: No, score=-19.9 required=4.0 tests=BAYES_00,FOURLA, FROMDEVELOPER,HAS_PACKAGE,PGPSIGNATURE,X_DEBBUGS_CC autolearn=ham version=3.3.2-bugs.debian.org_2005_01_02 X-Spam-Bayes: score:0.0000 Tokens: new, 10; hammy, 151; neutral, 109; spammy, 0. spammytokens: hammytokens:0.000-+--H*c:pgp-sha512, 0.000-+--H*UA:sk:x86_64-, 0.000-+--armhf, 0.000-+--H*u:sk:x86_64-, 0.000-+--H*u:Notmuch Received: from cascadia.debian.net ([173.255.214.101]) by buxtehude.debian.org with esmtp (Exim 4.80) (envelope-from ) id 1XNDdS-0007PR-0B for submit@bugs.debian.org; Fri, 29 Aug 2014 04:18:02 +0000 Received: from localhost (host-224-31.pubnet.pdx.edu [131.252.224.31]) (Authenticated sender: vagrant@cascadia.debian.net) by cascadia.debian.net (Postfix) with ESMTPSA id 424D91B7CC for ; Thu, 28 Aug 2014 21:17:55 -0700 (PDT) From: Vagrant Cascadian To: Debian Bug Tracking System User-Agent: Notmuch/0.18.1 (http://notmuchmail.org) Emacs/24.3.1 (x86_64-pc-linux-gnu) Date: Thu, 28 Aug 2014 21:17:51 -0700 Message-ID: <87mwaoudxs.fsf@aikidev.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Delivered-To: submit@bugs.debian.org Delivered-To: notmuch@packages.qa.debian.org Precedence: list X-Loop: notmuch@packages.qa.debian.org X-Debian: PTS X-Debian-Package: notmuch X-PTS-Package: notmuch X-PTS-Keyword: bts List-ID: List-Unsubscribe: --=-=-= Content-Type: text/plain Package: notmuch-emacs Version: 0.18.1-1 Severity: normal Thanks for notmuch-emacs! When sending mail from notmuch-emacs interface, I usually use pgpmine signatures, but sometimes I want to send a signed encrypted message, so I manually edit the mode=sign to mode=signencrypt ... but if I make a typo, i.e. mode=signinvalidencrypt, notmuch happily and without warning sends the mail unencrypted. i.e. #secure method=pgpmime mode=signinvalidencrypt will end up sending an encrypted message (with the <>, of course). It seems like it should error out if the mode= is set to an invalid or unknown value, rather than sending mail in the clear. I've got this set up in ~/.emacs, not sure what all else might be coming into play: '(message-setup-hook (quote (mml-secure-message-sign))) '(notmuch-crypto-process-mime t) live well, vagrant -- System Information: Debian Release: jessie/sid APT prefers testing APT policy: (500, 'testing'), (120, 'unstable'), (1, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 armhf Kernel: Linux 3.14-2-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 depends on: ii libc6 2.19-9 ii libglib2.0-0 2.40.0-4 ii libgmime-2.6-0 2.6.20-1 ii libnotmuch3 0.18.1-1 ii libtalloc2 2.1.1-2 ii zlib1g 1:1.2.8.dfsg-1 Versions of packages notmuch recommends: ii alot 0.3.5-2 ii gnupg-agent 2.0.25-2 ii notmuch-emacs 0.18.1-1 ii notmuch-mutt 0.18.1-1 ii notmuch-vim 0.18.1-1 notmuch suggests no packages. -- no debconf information --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBCgAGBQJT//7vAAoJELeLgtSBS5G2eBoQAKfr8KSu+Ao71lE6Es31jZFK tr1GKtDUeuy0ThNjtMEpnEHrq1WIS5Hm0CBuLd1CWTln7pdGo7X+2PZ4ob2710Qg v1NS6pwlEvL758HWg3uboY3SC88+bbzmehFGwPl4xO5ado5Y0RY+tZa3dLKOwXSR FgCDFwU0hN5x4wUSx8XjJpOyfPJ7BQu1SyIB7SKiesGJeUB6QuL8U7GP9tz7K7N+ J72a8kAhaWlUwzwb/USFL6r+I4t+BrnllBv8w5OSddnleq+BEFv17ezkewQXuiwX JqEoA336rBQt+d0Bc6tNxRPRPZ0oiHDnb9IJ2CDW+05Tmnht5u1YlMhKk8jAJiO8 r8k4OCbz5fmrIuhdy+AMMUK6l4NsFLLZTJlrInU//wy164P+8nrV3zDmM68AZNef mgQ5leEC6ekXBMrk4Gung6/+qMBGOJ2khi2Zone/WM3lFk2WyJRvw4aj9gVhxnqd ZBGcrmWIvN5hpWFlFkzHqOG6zuNEAwBosOs+bmPtmXMBZuDFzJg5XyVyqwcmxXPk ohgDg0kW2/xkpSiEEAWbyPnnNq++2eLpQ20tJdJvWnWv1PY3QwYvSIT49QaLJ+vr v6U0hKuntF2fZSBgXUvSu+fwfifVvq7T43/GtnLUf0V+0C+Wz4c5aDtj62CPPWtP KijS/byqyC4GJ3z27PMi =5WFy -----END PGP SIGNATURE----- --=-=-=--