Re: [gentoo-portage-dev] [PATCH v2] [checksum] Disable pygcrypt backend due to breakage
On Tue, 5 Dec 2017 18:08:47 +0100 Michał Górnywrote: > Closes: https://bugs.gentoo.org/615620 > --- > pym/portage/checksum.py | 6 +- > 1 file changed, 5 insertions(+), 1 deletion(-) > > diff --git a/pym/portage/checksum.py b/pym/portage/checksum.py > index 5424ce56b..9e7bffea9 100644 > --- a/pym/portage/checksum.py > +++ b/pym/portage/checksum.py > @@ -150,7 +150,11 @@ if "SHA3_256" not in hashfunc_map or "SHA3_512" > not in hashfunc_map: # (GnuPG). > gcrypt_algos = frozenset(('RMD160', 'WHIRLPOOL', 'SHA3_256', > 'SHA3_512', 'STREEBOG256', 'STREEBOG512')) > -if gcrypt_algos.difference(hashfunc_map): > +# Note: currently disabled due to resource exhaustion bugs in > pygcrypt. +# Please do not reenable until upstream has a fix. > +# https://bugs.gentoo.org/615620 > +if False: > +#if gcrypt_algos.difference(hashfunc_map): > try: > import binascii > import pygcrypt.hashcontext looks good thanks, merge please -- Brian Dolbec
[gentoo-portage-dev] [PATCH v2] [checksum] Disable pygcrypt backend due to breakage
Closes: https://bugs.gentoo.org/615620 --- pym/portage/checksum.py | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/pym/portage/checksum.py b/pym/portage/checksum.py index 5424ce56b..9e7bffea9 100644 --- a/pym/portage/checksum.py +++ b/pym/portage/checksum.py @@ -150,7 +150,11 @@ if "SHA3_256" not in hashfunc_map or "SHA3_512" not in hashfunc_map: # (GnuPG). gcrypt_algos = frozenset(('RMD160', 'WHIRLPOOL', 'SHA3_256', 'SHA3_512', 'STREEBOG256', 'STREEBOG512')) -if gcrypt_algos.difference(hashfunc_map): +# Note: currently disabled due to resource exhaustion bugs in pygcrypt. +# Please do not reenable until upstream has a fix. +# https://bugs.gentoo.org/615620 +if False: +#if gcrypt_algos.difference(hashfunc_map): try: import binascii import pygcrypt.hashcontext -- 2.15.1