From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id D1C60139694 for ; Thu, 15 Jun 2017 17:15:29 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0F7DE21C0E1; Thu, 15 Jun 2017 17:15:28 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id E212D21C0E1 for ; Thu, 15 Jun 2017 17:15:27 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id B0424341738 for ; Thu, 15 Jun 2017 17:15:26 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 2550D4EBE for ; Thu, 15 Jun 2017 17:15:25 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1497546905.e6abcc0b7cbdca481862a5c7cca946c01c471ffb.mgorny@gentoo> Subject: [gentoo-commits] proj/portage:master commit in: pym/portage/ X-VCS-Repository: proj/portage X-VCS-Files: pym/portage/const.py X-VCS-Directories: pym/portage/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: e6abcc0b7cbdca481862a5c7cca946c01c471ffb X-VCS-Branch: master Date: Thu, 15 Jun 2017 17:15:25 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 07cb185f-602e-445d-a781-ba2a4f4f137f X-Archives-Hash: 23438da4bf2be4626dcc3bb3f49ff14e commit: e6abcc0b7cbdca481862a5c7cca946c01c471ffb Author: Michał Górny gentoo org> AuthorDate: Thu Jun 15 07:27:47 2017 +0000 Commit: Michał Górny gentoo org> CommitDate: Thu Jun 15 17:15:05 2017 +0000 URL: https://gitweb.gentoo.org/proj/portage.git/commit/?id=e6abcc0b const: Change the MANIFEST2_REQUIRED_HASH to SHA512 Following the plan established in GLEP 59, we're long overdue deprecating SHA256. Since we have finally got rid of the last packages lacking SHA512 checksums, we can proceed with that. In order to prepare for it, however, we need to change the required hash to SHA512 and make sure developers install the new Portage & repoman versions first. Of course, a better course of action would be to kill MANIFEST2_REQUIRED_HASH entirely and make Portage capable of dealing with any hash set. However, that's a larger piece of work and it would delay the immediate goal. Reviewed-by: Zac Medico gentoo.org> pym/portage/const.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pym/portage/const.py b/pym/portage/const.py index 052d4ca2f..cbd2b6042 100644 --- a/pym/portage/const.py +++ b/pym/portage/const.py @@ -234,7 +234,7 @@ MANIFEST2_HASH_FUNCTIONS = ("SHA256", "SHA512", "WHIRLPOOL", "BLAKE2B", "BLAKE2S", "SHA3_256", "SHA3_512", "STREEBOG256", "STREEBOG512") MANIFEST2_HASH_DEFAULTS = frozenset(["SHA256", "SHA512", "WHIRLPOOL"]) -MANIFEST2_REQUIRED_HASH = "SHA256" +MANIFEST2_REQUIRED_HASH = "SHA512" MANIFEST2_IDENTIFIERS = ("AUX", "MISC", "DIST", "EBUILD")