<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"><channel><title>Creeva's World 2.0 - Latest Comments in Why I Hate MD5 or: How I Learned to Start Worrying and Hate the Misconceptions | Creeva's World 2.0</title><link>http://creevasworld20.disqus.com/</link><description></description><language>en</language><lastBuildDate>Mon, 05 Jan 2009 20:02:12 -0000</lastBuildDate><item><title>Re: Why I Hate MD5 or: How I Learned to Start Worrying and Hate the Misconceptions | Creeva's World 2.0</title><link>http://creeva.com/2008/01/24/why-i-hate-md5-or-how-i-learned-to-start-worrying-and-hate-the-misconceptions/#comment-4923024</link><description>I was just pointing out the fallacy where some people take with MD5 - I'm well aware these days not to trust it too much  .  It has it's flaws and I know it is difficult to spoof - but MD5 collisions caused the new SSL vulnerability issue because people put trust in it and didn't think md5 collisions would be an issue at.  It was considered good enough - if you find something you consider a problem raise awareness - in security "good enough" is never good enough - the bad guys always work past it.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">creeva</dc:creator><pubDate>Mon, 05 Jan 2009 20:02:12 -0000</pubDate></item><item><title>Re: Why I Hate MD5 or: How I Learned to Start Worrying and Hate the Misconceptions | Creeva's World 2.0</title><link>http://creeva.com/2008/01/24/why-i-hate-md5-or-how-i-learned-to-start-worrying-and-hate-the-misconceptions/#comment-4923035</link><description>btw the script I ended up writing with md5 did use some file metadata so yes you are write and it does take less then 2 minutes.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">creeva</dc:creator><pubDate>Mon, 05 Jan 2009 20:01:33 -0000</pubDate></item><item><title>Re: Why I Hate MD5 or: How I Learned to Start Worrying and Hate the Misconceptions | Creeva's World 2.0</title><link>http://creeva.com/2008/01/24/why-i-hate-md5-or-how-i-learned-to-start-worrying-and-hate-the-misconceptions/#comment-4921696</link><description>It takes, say, 2 minutes to write a program which actually uses file metadata (name, creation and modification date, or even inode data [position on the disk]) for generating hashes, be it md5 (which in fact harder to spoof than you suggest) or some other algos (sha2 comes to mind). Takes half an hour if you want it a bit faster. :-)&lt;br&gt;&lt;br&gt;But your problem is that you fail to know the goal of the method you use: it's for detecting changes in the files (or, actually, the falsification of the data) and not to have a hash unique to the (actually any random) file. Downloaders aren't intersted whether the file is called "kernel-latest.tar.bz2" or "linux-2.6.31rc2.tar.bz2" as long as it's the same.&lt;br&gt;&lt;br&gt;Actual security tools (like tripwire, integrit, etc) use file metadata hashing as well, so they detect not just data or filename change, but moving the file or having it changed by any unknown means (which changes, say, inode numbers).&lt;br&gt;&lt;br&gt;Use tools what they're for. Don't try to screw in a screw with a sledgehammer. ;-)</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">grin</dc:creator><pubDate>Mon, 05 Jan 2009 19:09:46 -0000</pubDate></item><item><title>Re: Why I Hate MD5 or: How I Learned to Start Worrying and Hate the Misconceptions | Creeva's World 2.0</title><link>http://creeva.com/2008/01/24/why-i-hate-md5-or-how-i-learned-to-start-worrying-and-hate-the-misconceptions/#comment-2184032</link><description>Well there was alot of people ignorant like me - so i thought the misconception title was best.   But yes i hate the fact it ignores the file name</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">creeva</dc:creator><pubDate>Sat, 06 Sep 2008 12:55:57 -0000</pubDate></item><item><title>Re: Why I Hate MD5 or: How I Learned to Start Worrying and Hate the Misconceptions | Creeva's World 2.0</title><link>http://creeva.com/2008/01/24/why-i-hate-md5-or-how-i-learned-to-start-worrying-and-hate-the-misconceptions/#comment-2141207</link><description>there is a difference between md5 and the common practice to use only the contents of a file as input. i guess this is because the tool md5sum takes a filename as argument, which is like a shortcut of  "cat file | md5sum". you could echo the filename and its contents and pipe it into md5sum, you would have it.&lt;br&gt;&lt;br&gt;so the better title would be "why i hate the practice of only using file-contents as input for md5 hashes and not taking the filename itself into account"</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">fung-li</dc:creator><pubDate>Fri, 05 Sep 2008 06:05:29 -0000</pubDate></item></channel></rss>