This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author christian.heimes
Recipients Arfrever, PaulMcMillan, alex, barry, benjamin.peterson, christian.heimes, dmalcolm, georg.brandl, gvanrossum, pitrou, vstinner
Date 2012-01-04.00:38:28
SpamBayes Score 6.530207e-09
Marked as misclassified No
Message-id <1325637509.62.0.233651420659.issue13703@psf.upfronthosting.co.za>
In-reply-to
Content
Victor, please ignore my code related to hash randomization for now. I've deliberately not linked my branch to this bug report. I'm well aware that it's not secure and that it's pretty easy to reverse engineer the seed from a hash of a short string. The code is a proof of concept to detect failing tests and other issues.

I'm in private contact with Paul and we are working together. He has done extended research and I'll gladly follow his expertise. I've already discussed the issue with small strings, but I can't recall if it was a private mail to Paul or a public one to the dev list.

Paul:
I still think that you should special case short strings (five or few chars sound good). An attacker can't do much harm with one to five char strings but such short strings may make it too easy to calculate the seed.

16kb of seed is still a lot. Most CPUs have about 16 to 32, maybe 64kb L1 cache for data. 1024 to 4096 bytes should increase cache locality and reduce speed impacts.

PS: I'm going to reply to your last mail tomorrow.
History
Date User Action Args
2012-01-04 00:38:29christian.heimessetrecipients: + christian.heimes, gvanrossum, barry, georg.brandl, pitrou, vstinner, benjamin.peterson, Arfrever, alex, dmalcolm, PaulMcMillan
2012-01-04 00:38:29christian.heimessetmessageid: <1325637509.62.0.233651420659.issue13703@psf.upfronthosting.co.za>
2012-01-04 00:38:29christian.heimeslinkissue13703 messages
2012-01-04 00:38:28christian.heimescreate