Re: API for SHA-256 fingerprints

Jeremy Stanley <[email protected]>
Newsgroups gmane.comp.python.distutils.devel
Message-ID <[email protected]>
On 2019-02-12 13:37:20 -0500 (-0500), Wes Turner wrote:
> MD5 is no longer suitable for verifying package integrity.
> 
> https://en.wikipedia.org/wiki/MD5#Security
> 
> > The security of the MD5 hash function is severely compromised. A
> > collision attack exists [...] there is also a chosen-prefix
> > collision attack
[...]

The difference between collision (or chosen-prefix collision) and
preimage (or second preimage) attacks is still very relevant. With
MD5 you can't trust that someone who provided you with an input and
a hash of that input hasn't carefully crafted that input so that
there is also a second input which results in the same hash. Or in
package terms, you can't trust that the package you've received
wasn't part of a contrived scheme on the part of someone you've
already decided to trust. You can still rest assured (for now
anyway) that the package you receive is the same one the person or
system providing the MD5 checksum intended for you to receive.

But because trying to explain this nuance to people is considerably
harder than just saying "MD5 bad" it's simply not worth trying to
have the discussion most of the time, and so easier instead to
replace it with a more modern alternative and move on with your
life.
-- 
Jeremy Stanley

--
Distutils-SIG mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/distutils-sig.python.org/
Message archived at https://mail.python.org/archives/list/[email protected]/message/FXHHQGKMR6UHYDCBAXJTPFPFY52YVKQ5/
signature.asc (application/pgp-signature, 963 B)
-----BEGIN PGP SIGNATURE-----

iQKTBAABCgB9FiEEl65Jb8At7J/DU7LnSPmWEUNJWCkFAlxjLElfFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDk3
QUU0OTZGQzAyREVDOUZDMzUzQjJFNzQ4Rjk5NjExNDM0OTU4MjkACgkQSPmWEUNJ
WCnzIA/9F2LPvuPIhFsNhOhTTxZZyGThUlFVq2BbwqQ414VU1MRLVQRUeQ1lEMS2
K9azpo4//3e6VPQFzKmW3zyS8mCV2Or8RioMGCeI1ns4WszgbpMV8X4X/fCEAneY
FXUWw2Z7hIu94KB9x3nN9cZuNJdvDMEnginb8VCdT54ZBUDbmSck1J8erzPnKE4r
tK4vKD6atWTQPSt4qWThwJocVhUD8ufiFojN+zsRUf7fIEf+CXE/qJXfBglqg1EV
EdUAkfbSyeDsZoV0pK2l8IWpad+PzDb4t5NAnVIzvSe1xBZbZuLaJJZ8gKmCpdKU
f8CeseGmUbf93Eoq9vcOzs3QV3cJfxFXzYt54BZkshg4snFOP3F/jgY9n3DtevPI
rubqUxJSXjGSFrtjtIHdxnRSLke9/yGAfsVjavhn48YPefoAj3n9MVlxM0AFkSEO
E82o2CfwqsalmUQiiJgyVFzRqcEQ/RAc3llrSQEjw2mEWop3IVpGKfHmSGKi6VMt
Mx5HycfwuNqst3ZUFqlqq5btm9J6O4nmwJ+dUEqgSymErxTskWt5bOWAMxdE4ekb
fgJYD6oMbqrbnYpSKN7HzwMb6WzE4iq/4Gj0s/8Qm3V6uGEd678ENR0CLt9/F+lX
f5hDVjTK2342X5OlK4c8gGl1sCm7JYVthEJ8yWvznYJM4RdpNsk=
=e7gD
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.