﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
31234	Increase entropy for 1.11's make_msgid() randint component	Brad	nobody	"Django 1.11 copies CPython's make_msgid (https://github.com/django/django/blob/stable/1.11.x/django/core/mail/message.py)

However, it is missing a recent change that increases the number of bits used in the random integer part of the identifier to avoid a hash collision.

Ref:

- https://bugs.python.org/issue6598
- https://github.com/python/cpython/commit/ae760c0a2ccd5557bfd915c947dfbcd3ed64fd60#diff-9150fb3cb06040b8e09b07aeae5de8c3
- https://hg.python.org/cpython/rev/933addbc7041

The 1.11 implementation of make_msgid() could be updated to reflect this upstream change.

Note that this does not affect Django 2.x or 3.x because they use email.utils directly."	Bug	closed	Core (Mail)	1.11	Normal	wontfix			Unreviewed	0	0	0	0	0	0
