* [gentoo-portage-dev] [PATCH] switch to whirlpool for manifest funcs
@ 2014-01-05 19:35 99% Mike Frysinger
0 siblings, 0 replies; 1+ results
From: Mike Frysinger @ 2014-01-05 19:35 UTC (permalink / raw
To: gentoo-portage-dev
We've had these hash functions in stable portage for a while now, so
switch to using whirlpool by default as planned.
---
pym/portage/const.py | 12 +++++++-----
1 file changed, 7 insertions(+), 5 deletions(-)
diff --git a/pym/portage/const.py b/pym/portage/const.py
index 1785bff..c44f4a0 100644
--- a/pym/portage/const.py
+++ b/pym/portage/const.py
@@ -204,17 +204,19 @@ MANIFEST1_REQUIRED_HASH = "MD5"
# Past events:
#
-# 20120704 - After WHIRLPOOL is supported in stable portage:
+# After WHIRLPOOL is supported in stable portage:
# - Set manifest-hashes in gentoo-x86/metadata/layout.conf as follows:
# manifest-hashes = SHA256 SHA512 WHIRLPOOL
# - Add SHA512 and WHIRLPOOL to MANIFEST2_HASH_DEFAULTS.
# - Remove SHA1 and RMD160 from MANIFEST2_HASH_*.
#
-# Future events:
-#
# After WHIRLPOOL is supported in stable portage for at least 1 year:
# - Change MANIFEST2_REQUIRED_HASH to WHIRLPOOL.
# - Remove SHA256 from MANIFEST2_HASH_*.
+#
+# Future events:
+#
+# After WHIRLPOOL is supported in stable portage for at least 1 year:
# - Set manifest-hashes in gentoo-x86/metadata/layout.conf as follows:
# manifest-hashes = SHA512 WHIRLPOOL
#
@@ -229,8 +231,8 @@ MANIFEST1_REQUIRED_HASH = "MD5"
# - Remove redundant settings from gentoo-x86/metadata/layout.conf.
MANIFEST2_HASH_FUNCTIONS = ("SHA256", "SHA512", "WHIRLPOOL")
-MANIFEST2_HASH_DEFAULTS = frozenset(["SHA256", "SHA512", "WHIRLPOOL"])
-MANIFEST2_REQUIRED_HASH = "SHA256"
+MANIFEST2_HASH_DEFAULTS = frozenset(["SHA512", "WHIRLPOOL"])
+MANIFEST2_REQUIRED_HASH = "WHIRLPOOL"
MANIFEST2_IDENTIFIERS = ("AUX", "MISC", "DIST", "EBUILD")
--
1.8.4.3
^ permalink raw reply related [relevance 99%]
Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2014-01-05 19:35 99% [gentoo-portage-dev] [PATCH] switch to whirlpool for manifest funcs Mike Frysinger
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox