From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1RADqv-0000gw-Vs for garchives@archives.gentoo.org; Sun, 02 Oct 2011 04:40:38 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 69B0021C062; Sun, 2 Oct 2011 04:40:26 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 8693121C042 for ; Sun, 2 Oct 2011 04:40:16 +0000 (UTC) Received: from [192.168.26.4] (ip98-164-193-252.oc.oc.cox.net [98.164.193.252]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: zmedico) by smtp.gentoo.org (Postfix) with ESMTPSA id 25CF91B401F for ; Sun, 2 Oct 2011 04:40:15 +0000 (UTC) Message-ID: <4E87EB2D.6070809@gentoo.org> Date: Sat, 01 Oct 2011 21:40:13 -0700 From: Zac Medico User-Agent: Mozilla/5.0 (X11; Linux i686 on x86_64; rv:7.0.1) Gecko/20111001 Thunderbird/7.0.1 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-portage-dev@lists.gentoo.org Reply-to: gentoo-portage-dev@lists.gentoo.org MIME-Version: 1.0 To: gentoo-portage-dev@lists.gentoo.org Subject: Re: [gentoo-portage-dev] [GLEP59v2 5/5] GLEP59: Change live Manifest2 hashes to SHA256, SHA512, WHIRLPOOL References: <1317454855-2794-1-git-send-email-robbat2@gentoo.org> <1317454855-2794-6-git-send-email-robbat2@gentoo.org> In-Reply-To: <1317454855-2794-6-git-send-email-robbat2@gentoo.org> X-Enigmail-Version: 1.4a1pre Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Archives-Salt: X-Archives-Hash: c348b19bf52b8ecebb25a2d19c3a4e30 On 10/01/2011 12:40 AM, Robin H. Johnson wrote: > diff --git a/pym/portage/const.py b/pym/portage/const.py > index 8b5f4ac..a42ebe8 100644 > --- a/pym/portage/const.py > +++ b/pym/portage/const.py > @@ -109,10 +109,12 @@ EAPI = 4 > > HASHING_BLOCKSIZE = 32768 > MANIFEST1_HASH_FUNCTIONS = ("MD5", "SHA256", "RMD160") > -MANIFEST2_HASH_FUNCTIONS = ("SHA1", "SHA256", "RMD160") > +MANIFEST2_HASH_FUNCTIONS = ("SHA256", "SHA512", "WHIRLPOOL") > +# FUTURE: Add SHA-3 when available; remove SHA256 after 2012/10/01 > > MANIFEST1_REQUIRED_HASH = "MD5" > -MANIFEST2_REQUIRED_HASH = "SHA1" > +MANIFEST2_REQUIRED_HASH = "SHA256" > +# FUTURE: Change to WHIRLPOOL after 2012/10/01 > > MANIFEST2_IDENTIFIERS = ("AUX", "MISC", "DIST", "EBUILD") > # =========================================================================== If we control these hashes via metadata/layout.conf, then we can toggle it atomically for all commiters. Otherwise, we'll have an annoying period of time where different committers are committing different sets of hashes, depending on their portage version. -- Thanks, Zac