1 |
On 01/13/2018 12:50 AM, Michał Górny wrote: |
2 |
> Switch the Portage defaults to the new Gentoo hash set. We're already |
3 |
> far past the initial testing and I have been approached by a few people |
4 |
> who were surprised that Portage does not use new hashes for overlays. |
5 |
> Switching the defaults will remove the need for custom hashes |
6 |
> in layout.conf. |
7 |
> --- |
8 |
> pym/portage/const.py | 4 ++-- |
9 |
> 1 file changed, 2 insertions(+), 2 deletions(-) |
10 |
> |
11 |
> diff --git a/pym/portage/const.py b/pym/portage/const.py |
12 |
> index ec877b841..e5fa4b67c 100644 |
13 |
> --- a/pym/portage/const.py |
14 |
> +++ b/pym/portage/const.py |
15 |
> @@ -206,8 +206,8 @@ EAPI = 6 |
16 |
> |
17 |
> HASHING_BLOCKSIZE = 32768 |
18 |
> |
19 |
> -MANIFEST2_HASH_DEFAULTS = frozenset(["SHA256", "SHA512", "WHIRLPOOL"]) |
20 |
> -MANIFEST2_HASH_DEFAULT = "SHA512" |
21 |
> +MANIFEST2_HASH_DEFAULTS = frozenset(["BLAKE2B", "SHA512"]) |
22 |
> +MANIFEST2_HASH_DEFAULT = "BLAKE2B" |
23 |
> |
24 |
> MANIFEST2_IDENTIFIERS = ("AUX", "MISC", "DIST", "EBUILD") |
25 |
> |
26 |
> |
27 |
For repos where layout.conf doesn't set "manifest-required-hashes = |
28 |
SHA512", repoman is suddenly going to force all DIST files to be fetched |
29 |
in order to generate the missing BLAKE2B entries. Is that intended? |
30 |
-- |
31 |
Thanks, |
32 |
Zac |