MD5 Already broken 3 places See details
Broken hash function
`hashlib.md5()` or `hashlib.sha1()`. Both have practical collisions. Where the call is annotated `usedforsecurity=False` the finding is recorded as inventory instead.
This is already unsafe today, with no quantum computer involved. Practical chosen-prefix collisions exist; MD5 has no remaining security as a digest.
What to do. SHA-256, or SHA-384 for long-lived signatures.
-
certbot/src/certbot/_internal/account.py:70
hasher = hashlib.md5() -
certbot/src/certbot/_internal/account.py:75
hasher = hashlib.new('md5', **cast(Mapping[str, Any], {"usedforsecurity": False})) -
certbot/src/certbot/_internal/account.py:82
self.id = hasher.hexdigest()