mirror of
https://github.com/release-engineering/dist-git.git
synced 2025-02-23 23:12:55 +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'
|
print 'Missing'
|
||||||
|
|
||||||
sys.exit(0)
|
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=True):
|
||||||
elif hash_type == "md5" and config['dist-git'].getboolean('nomd5', fallback=False):
|
|
||||||
send_error('Uploads with md5 are no longer allowed.',
|
send_error('Uploads with md5 are no longer allowed.',
|
||||||
status='406 Not Acceptable')
|
status='406 Not Acceptable')
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue