1 |
On Tue, 5 Dec 2017 18:08:47 +0100 |
2 |
Michał Górny <mgorny@g.o> wrote: |
3 |
|
4 |
> Closes: https://bugs.gentoo.org/615620 |
5 |
> --- |
6 |
> pym/portage/checksum.py | 6 +++++- |
7 |
> 1 file changed, 5 insertions(+), 1 deletion(-) |
8 |
> |
9 |
> diff --git a/pym/portage/checksum.py b/pym/portage/checksum.py |
10 |
> index 5424ce56b..9e7bffea9 100644 |
11 |
> --- a/pym/portage/checksum.py |
12 |
> +++ b/pym/portage/checksum.py |
13 |
> @@ -150,7 +150,11 @@ if "SHA3_256" not in hashfunc_map or "SHA3_512" |
14 |
> not in hashfunc_map: # (GnuPG). |
15 |
> gcrypt_algos = frozenset(('RMD160', 'WHIRLPOOL', 'SHA3_256', |
16 |
> 'SHA3_512', 'STREEBOG256', 'STREEBOG512')) |
17 |
> -if gcrypt_algos.difference(hashfunc_map): |
18 |
> +# Note: currently disabled due to resource exhaustion bugs in |
19 |
> pygcrypt. +# Please do not reenable until upstream has a fix. |
20 |
> +# https://bugs.gentoo.org/615620 |
21 |
> +if False: |
22 |
> +#if gcrypt_algos.difference(hashfunc_map): |
23 |
> try: |
24 |
> import binascii |
25 |
> import pygcrypt.hashcontext |
26 |
|
27 |
looks good thanks, merge please |
28 |
|
29 |
-- |
30 |
Brian Dolbec <dolsen> |