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 DC7256DE0AC2 for ; Mon, 8 Feb 2016 14:08:26 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at cworth.org X-Spam-Flag: NO X-Spam-Score: -0.035 X-Spam-Level: X-Spam-Status: No, score=-0.035 tagged_above=-999 required=5 tests=[AWL=0.032, 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 6he2A8sMWAjZ for ; Mon, 8 Feb 2016 14:08:25 -0800 (PST) Received: from mail-wm0-f50.google.com (mail-wm0-f50.google.com [74.125.82.50]) by arlo.cworth.org (Postfix) with ESMTPS id DB4D36DE02CE for ; Mon, 8 Feb 2016 14:08:24 -0800 (PST) Received: by mail-wm0-f50.google.com with SMTP id g62so136067560wme.0 for ; Mon, 08 Feb 2016 14:08:24 -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=Ioil0GUedgdw/O0BFyOZiGHrDYbNdVrscD0V7aD0U1A=; b=aSxZhg8dCOb4yH71TjCPMDUydWekDQAH8ZXUkudvzlm1UP7qqrAOkdUeZEi81N/UhJ CRcFHLQvKvrdRE0584kj9mdezEdItVRmOA2ozXsLjNNl9VOZZ5yx0xJqyRIIi46IMTZt 3Cxi5vRsHip2gI8roUftfHCQd/k1ksF+X1c0ct8tkr41Z46zXl1g9PR6NnxHLyR9js/E EHArI7OXPYMONdJ2PlwqYYiGsd4F7F/vD1xgvSFHFPAqBytu0gNwa2qLKAsD7PO9+gjK l8vSLHsmNgbh1nfF/WAeCEo8H/uH8cPMgXAq3j5VLUR4dZKB3YHUQTqEljwx6v4yeGE/ aPzQ== 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=Ioil0GUedgdw/O0BFyOZiGHrDYbNdVrscD0V7aD0U1A=; b=GdZqDrmI2MNKB+tpQlKu+wnsp49nu/oXQIZ4dWc8SPULvivX/vdiyuqqqBGiED0dE7 Yur/OzbEMOrtIuslTaD9gpLulZuPS9gDKvukSolJRR47y/iA+zbiFqNIUT5diw68Zhfj otsgeelasQO9FY4aXpArUqeNKqC0dWen/OzzUZZBp6mBA8Ed45EJwGp+X2j1fHBHLVy6 u7k+1e04kozooQDQZy7aFGb4e7yxLQa/9x2a6Mb2xBevZt10HZedDWhWbuoV6cPK8LCK sBlV8twR8jMPevCKjWp89g0KkIYZAZhhB8fKZd+zVWZDm4oXJwR+W/AqNBhmXtGnYspx s/Ig== X-Gm-Message-State: AG10YOS5rDs3khpKpe3ljs8A42f4pWH01MvlJC4Wpp1vhtlfJ9h4H3Q7BS5giMKheylJEQ== X-Received: by 10.28.51.17 with SMTP id z17mr1139120wmz.26.1454969303161; Mon, 08 Feb 2016 14:08:23 -0800 (PST) Received: from disaster-area.hh.sledj.net ([2a01:348:1a2:1:ea39:35ff:fe2c:a227]) by smtp.gmail.com with ESMTPSA id w8sm31667847wjx.21.2016.02.08.14.08.21 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 08 Feb 2016 14:08:21 -0800 (PST) Received: from localhost (disaster-area.hh.sledj.net [local]) by disaster-area.hh.sledj.net (OpenSMTPD) with ESMTPA id ae2fbd22; Mon, 8 Feb 2016 22:08:21 +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: Mon, 08 Feb 2016 22:08:21 +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: Mon, 08 Feb 2016 22:08:27 -0000 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.