From: Austin Clements Date: Mon, 25 Nov 2013 03:10:11 +0000 (+1900) Subject: Re: [PATCH 2/2] NEWS: News for big endian sha1 bug fix. X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=2c3e4d5b7d820be8136468ba6e56bffd0efd5e85;p=notmuch-archives.git Re: [PATCH 2/2] NEWS: News for big endian sha1 bug fix. --- diff --git a/52/5f48e23a54b1861c4417add87882c0dcd93e14 b/52/5f48e23a54b1861c4417add87882c0dcd93e14 new file mode 100644 index 000000000..0f436ce94 --- /dev/null +++ b/52/5f48e23a54b1861c4417add87882c0dcd93e14 @@ -0,0 +1,117 @@ +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 1A0F5431FDA + for ; Sun, 24 Nov 2013 19:10:25 -0800 (PST) +X-Virus-Scanned: Debian amavisd-new at olra.theworths.org +X-Spam-Flag: NO +X-Spam-Score: -0.7 +X-Spam-Level: +X-Spam-Status: No, score=-0.7 tagged_above=-999 required=5 + tests=[RCVD_IN_DNSWL_LOW=-0.7] 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 EhLeelD87BgV for ; + Sun, 24 Nov 2013 19:10:17 -0800 (PST) +Received: from dmz-mailsec-scanner-8.mit.edu (dmz-mailsec-scanner-8.mit.edu + [18.7.68.37]) + (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) + (No client certificate requested) + by olra.theworths.org (Postfix) with ESMTPS id 4DBFA431FAE + for ; Sun, 24 Nov 2013 19:10:17 -0800 (PST) +X-AuditID: 12074425-b7fd96d000000c39-f6-5292bf974a82 +Received: from mailhub-auth-2.mit.edu ( [18.7.62.36]) + (using TLS with cipher AES256-SHA (256/256 bits)) + (Client did not present a certificate) + by dmz-mailsec-scanner-8.mit.edu (Symantec Messaging Gateway) with SMTP + id DA.0B.03129.79FB2925; Sun, 24 Nov 2013 22:10:15 -0500 (EST) +Received: from outgoing.mit.edu (outgoing-auth-1.mit.edu [18.9.28.11]) + by mailhub-auth-2.mit.edu (8.13.8/8.9.2) with ESMTP id rAP3ADJj003182; + Sun, 24 Nov 2013 22:10:14 -0500 +Received: from awakening.csail.mit.edu (awakening.csail.mit.edu [18.26.4.91]) + (authenticated bits=0) + (User authenticated as amdragon@ATHENA.MIT.EDU) + by outgoing.mit.edu (8.13.8/8.12.4) with ESMTP id rAP3ABpT022929 + (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT); + Sun, 24 Nov 2013 22:10:12 -0500 +Received: from amthrax by awakening.csail.mit.edu with local (Exim 4.80) + (envelope-from ) + id 1VkmYt-0000It-6y; Sun, 24 Nov 2013 22:10:11 -0500 +Date: Sun, 24 Nov 2013 22:10:11 -0500 +From: Austin Clements +To: david@tethera.net +Subject: Re: [PATCH 2/2] NEWS: News for big endian sha1 bug fix. +Message-ID: <20131125031010.GK13399@mit.edu> +References: + <1385328583-24602-1-git-send-email-david@tethera.net> + <1385328583-24602-2-git-send-email-david@tethera.net> +MIME-Version: 1.0 +Content-Type: text/plain; charset=us-ascii +Content-Disposition: inline +In-Reply-To: <1385328583-24602-2-git-send-email-david@tethera.net> +User-Agent: Mutt/1.5.21 (2010-09-15) +X-Brightmail-Tracker: + H4sIAAAAAAAAA+NgFmpmleLIzCtJLcpLzFFi42IRYrdT0Z2+f1KQwde1vBY3WrsZLa7fnMns + wOTxbNUtZo8th94zBzBFcdmkpOZklqUW6dslcGXMvjyLvWAhV8WvucdZGxgXcnQxcnBICJhI + /GkV6WLkBDLFJC7cW8/WxcjFISQwm0liwebrUM5GRomld5tZIJzTTBJ7l85nhnCWMErMvbqD + BaSfRUBV4tiJRjYQm01AQ2Lb/uWMILaIgKjE6U2TWEFsZgFpiW+/m5lAbGEBB4lpD6cxgpzB + K6AjcXsrI8TM+YwS65YcYwep4RUQlDg58wkLRK+WxI1/L5lA6kHmLP/HARLmFHCS+L/rOFi5 + qICKxJST29gmMArNQtI9C0n3LITuBYzMqxhlU3KrdHMTM3OKU5N1i5MT8/JSi3Qt9HIzS/RS + U0o3MYLD2kV1B+OEQ0qHGAU4GJV4eCdUTwoSYk0sK67MPcQoycGkJMqbtQ8oxJeUn1KZkVic + EV9UmpNafIhRgoNZSYR3Tx1QjjclsbIqtSgfJiXNwaIkznuLwz5ISCA9sSQ1OzW1ILUIJivD + waEkwbsZZKhgUWp6akVaZk4JQpqJgxNkOA/Q8EkgNbzFBYm5xZnpEPlTjIpS4rzP9wAlBEAS + GaV5cL2wtPOKURzoFWHeQyDtPMCUBdf9CmgwE9DgZZ5gg0sSEVJSDYwnZ1ddWbL576mg5NIK + hkVZx2t5z3t8039rmH7MNbku/+x5JdHqM/nvDG/65MpX9d78ZT8pTVZlgoB/+oJP4evV5FSM + gyKlmrlZFlx0DmK4+rWhfnO3ZUVj/dH7Z1c08Icxcq6JMV0284bnbPMVZ7mFD3yVOLnE/euf + 5p8bl3sWBx17Ztu19bgSS3FGoqEWc1FxIgAU+ARgFgMAAA== +Cc: notmuch@notmuchmail.org +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, 25 Nov 2013 03:10:25 -0000 + +Quoth david@tethera.net on Nov 24 at 5:29 pm: +> From: David Bremner +> +> We could give more details about how to migrate tags, but I'm not sure +> that it's a practical problem, or just a theoretical one. +> --- +> NEWS | 14 +++++++++++++- +> 1 file changed, 13 insertions(+), 1 deletion(-) +> +> diff --git a/NEWS b/NEWS +> index 3383ecf..31c6284 100644 +> --- a/NEWS +> +++ b/NEWS +> @@ -1,6 +1,18 @@ +> -Notmuch 0.17~rc1 (2013-11-20) +> +Notmuch 0.17~rc2 (2013-xx-yy) +> ============================= +> +> +Incompatible change in SHA1 computation +> +--------------------------------------- +> + +> +Previously on big endian architectures like sparc and powerpc the +> +computation of SHA1 hashes was incorrect. This meant that messages +> +with overlong or missing message-ids were given different computed +> +message-ids than on more common little endian architectures like i386 +> +and amd64. If you use notmuch on a big endian architecture, you are +> +strongly advised to make a backup of your tags using `notmuch dump` +> +before this upgrade. It should be possible to migrate the tags using a +> +script. +> + + +Should this mention how to find such messages? Something like + + notmuch dump | + awk '/^notmuch-sha1-[0-9a-f]{40} / {system("notmuch search id:" $1)}'