mirror of
https://github.com/release-engineering/dist-git.git
synced 2025-02-23 15:02:54 +00:00
disable md5 by default
This commit is contained in:
parent
30cb11bd0b
commit
ba87b8ba32
1 changed files with 1 additions and 2 deletions
|
@ -194,8 +194,7 @@ def main():
|
|||
print 'Missing'
|
||||
|
||||
sys.exit(0)
|
||||
# TODO: At a later date, the default should be moved to True
|
||||
elif hash_type == "md5" and config['dist-git'].getboolean('nomd5', fallback=False):
|
||||
elif hash_type == "md5" and config['dist-git'].getboolean('nomd5', fallback=True):
|
||||
send_error('Uploads with md5 are no longer allowed.',
|
||||
status='406 Not Acceptable')
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue