From: Tomi Ollila Date: Mon, 14 Apr 2014 12:26:15 +0000 (+0300) Subject: Re: [PATCH] emacs: process crypto for reply only when specified X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=5439440424e16a6db2318a9d8224aa60416da007;p=notmuch-archives.git Re: [PATCH] emacs: process crypto for reply only when specified --- diff --git a/98/018b5557945e9d7b770cf8b05d1e1b758fd273 b/98/018b5557945e9d7b770cf8b05d1e1b758fd273 new file mode 100644 index 000000000..1f72458e6 --- /dev/null +++ b/98/018b5557945e9d7b770cf8b05d1e1b758fd273 @@ -0,0 +1,105 @@ +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 D675E431FBD + for ; Mon, 14 Apr 2014 05:26:25 -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 R-66IpEiZ3Ni for ; + Mon, 14 Apr 2014 05:26:19 -0700 (PDT) +Received: from guru.guru-group.fi (guru.guru-group.fi [46.183.73.34]) + by olra.theworths.org (Postfix) with ESMTP id 7A288431FBC + for ; Mon, 14 Apr 2014 05:26:19 -0700 (PDT) +Received: from guru.guru-group.fi (localhost [IPv6:::1]) + by guru.guru-group.fi (Postfix) with ESMTP id 2961010008F + for ; Mon, 14 Apr 2014 15:26:15 +0300 (EEST) +From: Tomi Ollila +To: Notmuch Mail +Subject: Re: [PATCH] emacs: process crypto for reply only when specified +In-Reply-To: +References: <1396689486-19232-1-git-send-email-jani@nikula.org> + <1396852814-10338-1-git-send-email-jrollins@finestructure.net> + <8761me3st5.fsf@zancas.localnet> + + <87ob05xu9g.fsf@zancas.localnet> + + <87ioqcajip.fsf@servo.finestructure.net> + +User-Agent: Notmuch/0.17+200~g5c6d42d (http://notmuchmail.org) Emacs/24.3.1 + (x86_64-unknown-linux-gnu) +X-Face: HhBM'cA~ +MIME-Version: 1.0 +Content-Type: text/plain +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: Mon, 14 Apr 2014 12:26:26 -0000 + +On Mon, Apr 14 2014, Tomi Ollila wrote: + +> On Mon, Apr 14 2014, Jameson Graef Rollins wrote: +> +>> +>> In any event, if the mml tag is present, it's no longer in notmuch's +>> hands; emacs's mail processing is handling things and calling gpg-agent +>> to sign/encrypt the message. +>> +>> Can you clarify what exactly your situation was? +> +> Exactly that -- the mml tag was present -- so case closed on that issue :D +> +> I did some experiments changing the value of notmuch-crypto-process-mime +> before pressing 'r' button: I had to quit from show mode to search mode and +> choose the thread and then message to have the change to take effect. +> +> I will keep my notmuch-crypto-process-mime set t (and I keep removing +> the mml tags in this system -- and if I forget killing those processes), +> as I want to see [ Good signature by key: 0x... ] -messages. Maybe +> I^HSomebody, Someday provides a patch that provides separate value to +> do just signature checking... + +As a current (temporary!;) solution I Added + +(defun mml-pgpmime-sign-buffer (cont) + (error "Signing messages disabled")) + +to the end of ~/.emacs.d/notmuch-config.el on this one system only... + +I am still vulnerable to DOS attack is someone sends me email encrypted +with my public key... Have to investigate and test this before too long... + +Tomi + + +> +> +>> Presumably people who have not set up any crypto processing should not +>> have notmuch-crypto-process-mime set t. +>> +>> jamie. +> +> Thanks, +> +> Tomi +> +> PS: pkill '(pinentry-curses|gpg)' ++ ;/ -- one step closer to implement that...