From: David Edmondson Date: Tue, 9 Feb 2016 15:36:23 +0000 (+0000) Subject: Re: [Gaudenz Steinlin] Bug#810784: should match email adress case insensitive when... X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=91b025bed236ceec7acbfad712002739efac8339;p=notmuch-archives.git Re: [Gaudenz Steinlin] Bug#810784: should match email adress case insensitive when sending encrypted mail --- diff --git a/53/b4efca5eefb2f0ac7403d76a9cc6ec081b291b b/53/b4efca5eefb2f0ac7403d76a9cc6ec081b291b new file mode 100644 index 000000000..86fce55db --- /dev/null +++ b/53/b4efca5eefb2f0ac7403d76a9cc6ec081b291b @@ -0,0 +1,102 @@ +Return-Path: +X-Original-To: notmuch@notmuchmail.org +Delivered-To: notmuch@notmuchmail.org +Received: from localhost (localhost [127.0.0.1]) + by arlo.cworth.org (Postfix) with ESMTP id 888386DE0231 + for ; Tue, 9 Feb 2016 07:36:31 -0800 (PST) +X-Virus-Scanned: Debian amavisd-new at cworth.org +X-Spam-Flag: NO +X-Spam-Score: -0.056 +X-Spam-Level: +X-Spam-Status: No, score=-0.056 tagged_above=-999 required=5 tests=[AWL=0.011, + DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_LOW=-0.7, + RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_NEUTRAL=0.652, + UNPARSEABLE_RELAY=0.001] autolearn=disabled +Received: from arlo.cworth.org ([127.0.0.1]) + by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024) + with ESMTP id tQdDZNUw4DiH for ; + Tue, 9 Feb 2016 07:36:29 -0800 (PST) +Received: from mail-wm0-f52.google.com (mail-wm0-f52.google.com + [74.125.82.52]) by arlo.cworth.org (Postfix) with ESMTPS id 4CAE96DE021E for + ; Tue, 9 Feb 2016 07:36:29 -0800 (PST) +Received: by mail-wm0-f52.google.com with SMTP id g62so28615601wme.0 + for ; Tue, 09 Feb 2016 07:36:29 -0800 (PST) +DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; + d=dme-org.20150623.gappssmtp.com; s=20150623; + h=to:subject:in-reply-to:references:from:date:message-id:mime-version + :content-type; bh=Ie2gHwnT8zm9Yc2tnkm5DvOg3xwNJMLkPA9/EYH/gfM=; + b=YhUYJ9Sm2q+rmP5z7ZlVyhodQXxPCrk/XsyhOcjxEQU+6cC1PLms6XeBnMiQoktUDo + Ejir05PB8IAZBx4E0HnRqqpNFzjO7Mi6ccpghYIzSOS6Zbakh9S7tV+BNE0Ksz/IgCmI + wEFQpedbLEInwr2Wk4FlK1XX7oRDse3g9p/xa0/+iF8DQCvMxnDp5R+2MB68Pv60R03q + buUh0P6xy302bItIGAkrdA0AUGBhjs7og5T5/h/VS8LuSvQZtVl9hkmd7DjdFCBLjgUl + D5GTKcMta8wyvkF3Wry0Q6PosqSfKlLAS1c4UvZjWItqgs/RrLGklfiNAog/cSIFcAnp + TE5g== +X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; + d=1e100.net; s=20130820; + h=x-gm-message-state:to:subject:in-reply-to:references:from:date + :message-id:mime-version:content-type; + bh=Ie2gHwnT8zm9Yc2tnkm5DvOg3xwNJMLkPA9/EYH/gfM=; + b=dNZsrzdV4FkxeEee90/29DhjCK2G2YD1NHG4eNJ2v+8j2eP2lfolHNK31L1mRTplpc + 424lh2+/OiZYeigLS7ImqQtSL6EoC6n/Jtbio9P2NrKwdYfoGqX2TlxjqQ7MsD+Ig8rD + bn8HBdt/uYnDWlO55HtCdN/4CjbBwCtCavtEDAPa4DN6V2Af0zCVrz0LA8aat+5+CvZu + q6DFdWqWc68ws27dLacSovrBIPoEj6/2hM85Pf/yereMD6XuEZh5+FXSuN9mp+AIVG00 + ZzhmfaBy5/9kZ9KFn6MGh+/U5TP9d33rFzGoG+w1yNffaiUuBjxVWWM8+b+JzdlxwlQi + +chA== +X-Gm-Message-State: + AG10YOT/N9aLtofwHZusyKfC5fINAcz04Y28BzXQwiggkZkHEv0CsK6pSbW4RhWwBlB7jQ== +X-Received: by 10.28.97.135 with SMTP id v129mr5692813wmb.90.1455032186545; + Tue, 09 Feb 2016 07:36:26 -0800 (PST) +Received: from disaster-area.hh.sledj.net + ([2a01:348:1a2:1:ea39:35ff:fe2c:a227]) + by smtp.gmail.com with ESMTPSA id m67sm18003955wma.10.2016.02.09.07.36.24 + (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); + Tue, 09 Feb 2016 07:36:24 -0800 (PST) +Received: from localhost (disaster-area.hh.sledj.net [local]) + by disaster-area.hh.sledj.net (OpenSMTPD) with ESMTPA id 01530576; + Tue, 9 Feb 2016 15:36:23 +0000 (UTC) +To: Daniel Kahn Gillmor , + David Bremner , Gaudenz Steinlin , + notmuch@notmuchmail.org, 810784@bugs.debian.org +Subject: Re: [Gaudenz Steinlin] Bug#810784: should match email adress case + insensitive when sending encrypted mail +In-Reply-To: +References: <87egdm4ujh.fsf@tesseract.cs.unb.ca> + <874mee7k88.fsf@alice.fifthhorseman.net> + + +From: David Edmondson +Date: Tue, 09 Feb 2016 15:36:23 +0000 +Message-ID: +MIME-Version: 1.0 +Content-Type: text/plain +X-BeenThere: notmuch@notmuchmail.org +X-Mailman-Version: 2.1.20 +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: Tue, 09 Feb 2016 15:36:31 -0000 + +On Mon, Feb 08 2016, David Edmondson wrote: +> On Mon, Feb 08 2016, David Edmondson wrote: +>> On Fri, Jan 15 2016, Daniel Kahn Gillmor wrote: +>>> So where is the case-insensitive lookup happening? Is this a bug in +>>> mml-mode, or in notmuch-emacs? +>> +>> It's caused by behaviour in mml2015.el (hence upstream). +>> +>> `mml2015-epg-check-user-id' uses `equal' to compare the recipient from +>> the composition buffer with the addresses from the matching key. +>> +>> The simplest way to get the desired behaviour would be to `downcase' +>> both strings before comparing. +> +> Reported as bug#22603 in emacs. + +Fixed in the emacs-25 branch.