[Yum-devel] [PATCH] Add sha384 to avabile_checksums.

James Antill james at fedoraproject.org
Tue Sep 14 12:42:05 UTC 2010


On Mon, 2010-09-13 at 23:04 -0400, seth vidal wrote:
> On Mon, 2010-09-13 at 10:51 -0400, James Antill wrote:
> > ---
> >  yum/misc.py |    2 +-
> >  1 files changed, 1 insertions(+), 1 deletions(-)
> > 
> > diff --git a/yum/misc.py b/yum/misc.py
> > index 0f80d7d..7e2d745 100644
> > --- a/yum/misc.py
> > +++ b/yum/misc.py
> > @@ -35,7 +35,7 @@ except ImportError:
> >      gpgme = None
> >  try:
> >      import hashlib
> > -    _available_checksums = set(['md5', 'sha1', 'sha256', 'sha512'])
> > +    _available_checksums = set(['md5', 'sha1', 'sha256', 'sha384', 'sha512'])
> >      _default_checksums = ['sha256']
> >  except ImportError:
> >      # Python-2.4.z ... gah!
> 
> umm - ok?
> 
> ACK
> 
> is this used anywhere?

 Gah, I thought I'd put it in the summary. I added it due to:

[Bug 633270] yum cannot handle channel with sha384 checksum



More information about the Yum-devel mailing list