1 |
On czw, 2017-06-15 at 09:49 -0700, Zac Medico wrote: |
2 |
> On Thu, Jun 15, 2017 at 12:42 AM, Michał Górny <mgorny@g.o> wrote: |
3 |
> > |
4 |
> > Following the plan established in GLEP 59, we're long overdue |
5 |
> > deprecating SHA256. Since we have finally got rid of the last packages |
6 |
> > lacking SHA512 checksums, we can proceed with that. In order to prepare |
7 |
> > for it, however, we need to change the required hash to SHA512 and make |
8 |
> > sure developers install the new Portage & repoman versions first. |
9 |
> > |
10 |
> > Of course, a better course of action would be to kill |
11 |
> > MANIFEST2_REQUIRED_HASH entirely and make Portage capable of dealing |
12 |
> > with any hash set. However, that's a larger piece of work and it would |
13 |
> > delay the immediate goal. |
14 |
> > --- |
15 |
> > pym/portage/const.py | 2 +- |
16 |
> > 1 file changed, 1 insertion(+), 1 deletion(-) |
17 |
> > |
18 |
> > diff --git a/pym/portage/const.py b/pym/portage/const.py |
19 |
> > index 052d4ca2f..cbd2b6042 100644 |
20 |
> > --- a/pym/portage/const.py |
21 |
> > +++ b/pym/portage/const.py |
22 |
> > @@ -234,7 +234,7 @@ MANIFEST2_HASH_FUNCTIONS = ("SHA256", "SHA512", "WHIRLPOOL", |
23 |
> > "BLAKE2B", "BLAKE2S", "SHA3_256", "SHA3_512", |
24 |
> > "STREEBOG256", "STREEBOG512") |
25 |
> > MANIFEST2_HASH_DEFAULTS = frozenset(["SHA256", "SHA512", "WHIRLPOOL"]) |
26 |
> > -MANIFEST2_REQUIRED_HASH = "SHA256" |
27 |
> > +MANIFEST2_REQUIRED_HASH = "SHA512" |
28 |
> > |
29 |
> > MANIFEST2_IDENTIFIERS = ("AUX", "MISC", "DIST", "EBUILD") |
30 |
> > |
31 |
> > -- |
32 |
> > 2.13.1 |
33 |
> > |
34 |
> > |
35 |
> |
36 |
> |
37 |
> Looks good. |
38 |
|
39 |
Pushed, thanks. |
40 |
|
41 |
-- |
42 |
Best regards, |
43 |
Michał Górny |