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 1RAFJk-00089x-8N for garchives@archives.gentoo.org; Sun, 02 Oct 2011 06:14:28 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9951821C0E5; Sun, 2 Oct 2011 06:14:18 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id CC46921C06B for ; Sun, 2 Oct 2011 06:14:09 +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 B93C61B4011 for ; Sun, 2 Oct 2011 06:14:07 +0000 (UTC) Message-ID: <4E88012D.8030608@gentoo.org> Date: Sat, 01 Oct 2011 23:14:05 -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> <4E87EB2D.6070809@gentoo.org> In-Reply-To: <4E87EB2D.6070809@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: cd2b451a2ca9774ee72434bdebb69517 On 10/01/2011 09:40 PM, Zac Medico wrote: > 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. I've applied the whole series, except for 5/5: http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=f27473d04e6dee44983d1e5ac32ea9d4d375b5a2 http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=f3b05d6eed63e19cdfa7f645cf0190ee8019dd90 http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=8ac29097395f24ad331602d8e87fdf105ebd972b http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=faf87ba9877e3b5a7866c6649f956f15950e789a -- Thanks, Zac