Changeset f79eaf3 in rtems-source-builder


Ignore:
Timestamp:
Oct 12, 2017, 2:45:54 AM (21 months ago)
Author:
Chris Johns <chrisj@…>
Branches:
master
Children:
d94bd01
Parents:
7b68249
git-author:
Chris Johns <chrisj@…> (10/12/17 02:45:54)
git-committer:
Chris Johns <chrisj@…> (10/12/17 02:48:52)
Message:

sb: Remove MD5 and SHA1 as they not secure.

Updates #2536.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • source-builder/sb/download.py

    r7b68249 rf79eaf3  
    9191        if hash[0] not in hashlib_algorithms:
    9292            raise error.general('invalid hash algorithm for %s: %s' % (file_, hash[0]))
     93        if hash[0] in ['md5', 'sha1']:
     94            raise error.general('hash: %s: insecure: %s' % (file_, hash[0]))
    9395        hasher = None
    9496        _in = None
Note: See TracChangeset for help on using the changeset viewer.