From 14203d8f7578a75aa5c8bfa44aecb6673dcc3801 Mon Sep 17 00:00:00 2001 From: David Edmondson Date: Mon, 8 Feb 2016 21:44:13 +0000 Subject: [PATCH] Re: [Gaudenz Steinlin] Bug#810784: should match email adress case insensitive when sending encrypted mail --- 51/faf522b006b626925a40f1843bcabc57362082 | 94 +++++++++++++++++++++++ 1 file changed, 94 insertions(+) create mode 100644 51/faf522b006b626925a40f1843bcabc57362082 diff --git a/51/faf522b006b626925a40f1843bcabc57362082 b/51/faf522b006b626925a40f1843bcabc57362082 new file mode 100644 index 000000000..611265af7 --- /dev/null +++ b/51/faf522b006b626925a40f1843bcabc57362082 @@ -0,0 +1,94 @@ +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 B01326DE0AC2 + for ; Mon, 8 Feb 2016 13:44:20 -0800 (PST) +X-Virus-Scanned: Debian amavisd-new at cworth.org +X-Spam-Flag: NO +X-Spam-Score: -0.025 +X-Spam-Level: +X-Spam-Status: No, score=-0.025 tagged_above=-999 required=5 tests=[AWL=0.042, + 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 UQL_m2leKEnv for ; + Mon, 8 Feb 2016 13:44:18 -0800 (PST) +Received: from mail-wm0-f42.google.com (mail-wm0-f42.google.com + [74.125.82.42]) by arlo.cworth.org (Postfix) with ESMTPS id D50A16DE02CE for + ; Mon, 8 Feb 2016 13:44:17 -0800 (PST) +Received: by mail-wm0-f42.google.com with SMTP id c200so35320577wme.0 + for ; Mon, 08 Feb 2016 13:44:17 -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=XNZmCDmZdQ90PkKCT9C8Iy4X+sHxU0EAtamrFnSytjY=; + b=YZY3Vpd79BHjLrRUgxTgbLQzEktaeQfJjrXqYyGtK6gLrTdWb8IzIb0ve0tzpEGVre + GmAYyLocYzToxS39ltkH/xG+2rWb6RTqR+vodWGeJBOEy2GroIbPacrGi1OCJABkpCKM + Ztl1iVcwQCtPVOReNUtEiyio8Pds4KTR7qc0aa5mjRVLxatb5t2r3GrFTG0ZstJv6wld + z81RwD0j2u/jSn8r1IvQcl4aSsS+RAu5ZeVIIoJCDlvV812V/nENk8EEKNRPA6Ll2ume + Tcrx3MMXzK66pdV4YzsTzo0ZWMegFQPuFWsrMB36qmS+15YsmpNkHTtFPZucvFRRyDGC + IlTA== +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=XNZmCDmZdQ90PkKCT9C8Iy4X+sHxU0EAtamrFnSytjY=; + b=Oa403AfmlklACYa+rWUHXFzwltO4Rc/lbFdOcbsNuv0AdTD1wfYnJsxyeLz++LpagA + ZR/LQ7sRYkDgRjG9KT43Tsjz7grhm1ZizLoD33iqdF7RbUFtAzImqtCC0TQEU78XGfX2 + o2UE3F7bdXs4+c838HMo13vGpp0Jjy+ah2jjNgAlvV0rH/4dHEOJHGjpWCccGu02QihF + Q50Dqgl+djpdHdeOBudk35mDxLMdrXdiXkypk3vOaFL3NEl6r1LekNtPnjbIRFqS9VGw + S8fpxuY5QlhN3QRFORlmYf75FOmA/9mshRa1difpgkiICB5OqAF9C5oQURJjOLCodc3k + j61g== +X-Gm-Message-State: + AG10YOSW9tVIu2BJfBOyx4Wdu0xZjyi26LB7e6CCPSSSYiWA3M5lcbUQpjlMABLflxiIoA== +X-Received: by 10.194.250.39 with SMTP id yz7mr33565509wjc.92.1454967855903; + Mon, 08 Feb 2016 13:44:15 -0800 (PST) +Received: from disaster-area.hh.sledj.net + ([2a01:348:1a2:1:ea39:35ff:fe2c:a227]) + by smtp.gmail.com with ESMTPSA id x186sm14399398wmg.19.2016.02.08.13.44.14 + (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); + Mon, 08 Feb 2016 13:44:14 -0800 (PST) +Received: from localhost (disaster-area.hh.sledj.net [local]) + by disaster-area.hh.sledj.net (OpenSMTPD) with ESMTPA id d172dd3e; + Mon, 8 Feb 2016 21:44:13 +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: <874mee7k88.fsf@alice.fifthhorseman.net> +References: <87egdm4ujh.fsf@tesseract.cs.unb.ca> + <874mee7k88.fsf@alice.fifthhorseman.net> +From: David Edmondson +Date: Mon, 08 Feb 2016 21:44:13 +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 21:44:20 -0000 + +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. -- 2.26.2