[Distutils] Proposal: drop md5 for sha256

Daniel Holth dholth at gmail.com
Tue Jul 3 03:16:19 CEST 2012


I would like to amend the spec. The hash column of RECORD should be

'sha256:' + urlsafe_b64encode(hashlib.sha256(data))

instead of the hopelessly obsolete md5. With a secure hash function,
you can digitally sign RECORD.

It would also make sense to allow RECORD to be omitted from RECORD.


More information about the Distutils-SIG mailing list