LWN: Comments on "Google Summer of Code: Mozilla Projects" https://lwn.net/Articles/246196/ This is a special feed containing comments posted to the individual LWN article titled "Google Summer of Code: Mozilla Projects". en-us Wed, 05 Nov 2025 19:51:17 +0000 Wed, 05 Nov 2025 19:51:17 +0000 https://www.rssboard.org/rss-specification lwn@lwn.net Google Summer of Code: Mozilla Projects https://lwn.net/Articles/252038/ https://lwn.net/Articles/252038/ swiftone <i>I doubt sending the md5 alongside the file will make it really secure in case of trojaned file.</i> <p> Correct. This would be of value when the source of the link is not the same as the source of the file. <p> LWN, for example, could post links to packages on ibiblio. On download, the files from one source (ibiblio) would be checked to match the hash from another (LWN). <p> At that point the system is as trusted as the source of the link, which can have errors, but may be more secure than the current system (where the hash is rarely verified). Fri, 28 Sep 2007 13:40:26 +0000 jpeg2000 https://lwn.net/Articles/247380/ https://lwn.net/Articles/247380/ roelofs <FONT COLOR="#008844"><I>There are probably *already* other formats better than jpeg2000, not including any developments in the next 13 years...</I></FONT> <P> Hell, in my experience, <I>regular</I> JPEG is better than JPEG-2000, both quality-wise and size-wise, and what I found online (real users, not researchers or graphics-tools vendors) completely agreed with that assessment. <P> Of course, it could be that the encoders for images in question just sucked massively, but it seems odd that all of them should be so bad--particularly when they're being held up as examples of JPEG-2000's quality. If you <I>like</I> grass that looks like split-pea soup, OK, maybe JP2K is just what you're looking for...but I prefer to see the blades. <P> I'd love to hear about exceptions, preferably involving publicly available images (the JPEG-2000 and lossless versions, at a minimum; I can create my own JPEG-1991 [or whatever] images at arbitrary quality settings). <P> Greg Thu, 30 Aug 2007 04:39:24 +0000 Google Summer of Code: Mozilla Projects https://lwn.net/Articles/247042/ https://lwn.net/Articles/247042/ Wummel &gt; Perhaps the checksum should be sent along as a HTTP Response Header, <br><br> There is the <a href="http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.19">ETag HTTP header</a> defined. Though it seems the Etag value only gets used for cache validation, and not for content verification. Tue, 28 Aug 2007 09:40:07 +0000 Link Fingerprints https://lwn.net/Articles/246894/ https://lwn.net/Articles/246894/ bronson Because that's not backward compatible. A browser that doesn't know how to check the hash won't be able to open the link.<br> Sun, 26 Aug 2007 22:50:23 +0000 Link Fingerprints https://lwn.net/Articles/246881/ https://lwn.net/Articles/246881/ JohnNilsson Why not just add a new scheme type for hash based data identifires<br> <p> hash:[&lt;hashtype&gt;:]&lt;hashcode&gt;[@&lt;uri&gt;]<br> <p> where @&lt;uri&gt; identifies a way to fetch the resource. If it is omitted the client could instead query any DHT.<br> Sun, 26 Aug 2007 18:43:51 +0000 jpeg2000 https://lwn.net/Articles/246857/ https://lwn.net/Articles/246857/ riddochc ...Assuming someone won't come up with something better and patent-free in the meantime. There are probably *already* other formats better than jpeg2000, not including any developments in the next 13 years...<br> <p> Sun, 26 Aug 2007 00:31:29 +0000 Link Fingerprints https://lwn.net/Articles/246712/ https://lwn.net/Articles/246712/ rfunk Hmm, I don't like putting it in the query string, since that's considered reserved <br> for processing by the server. The other two are explicitly for client-side <br> processing.<br> Fri, 24 Aug 2007 16:47:52 +0000 Link Fingerprints https://lwn.net/Articles/246710/ https://lwn.net/Articles/246710/ bronson I agree 100%. IMO, best would be, as you say, to pass the hash in a separate attribute. Second best would be to put it in the query (http://mirror.com/file?sha256=abc123). But, changing the meaning of the fragment? That's just silly! <p> Let's say I want to send someone to a specific section, sec2, in a page on a remote site. Let's say further that I need to verify that the page is *exactly* what I was expecting. <p> &lt;a href="http://mirror.com/a.html#sec2" hash="sha256:abc123"> -- attribute works<br> &lt;a href="http://mirror.com/a.html?hash=sha256:abc123#sec2"> -- query works<br> &lt;a href="http://mirror.com/a.html#sec2hash=sha256:abc123"> -- fragment fails! <p> Let's hope they give this some more thought... Fri, 24 Aug 2007 16:33:56 +0000 Link Fingerprints https://lwn.net/Articles/246691/ https://lwn.net/Articles/246691/ rfunk I wonder if the link fingerprints concept might get a better reception if the hash <br> information were moved to another attribute of the HTML &lt;a&gt; tag.<br> So instead of this:<br> &lt;a href="<a href="http://mirror.com/file#hash">http://mirror.com/file#hash</a>(sha256:abc123)"&gt;<br> we'd write this:<br> &lt;a href="<a href="http://mirror.com/file">http://mirror.com/file</a>" hash="sha256:abc123"&gt;<br> <p> It would lose some of the functionality (harder to pass around links with intrinsic <br> hash information, but would still be useful.<br> Fri, 24 Aug 2007 13:26:41 +0000 jpeg2000 https://lwn.net/Articles/246662/ https://lwn.net/Articles/246662/ eru <i>I think jpeg2000 is DOA forever.</i> <p> Since the lifetime of patents is just 20 years, it might see some use after 2020... Fri, 24 Aug 2007 07:59:59 +0000 Google Summer of Code: Mozilla Projects https://lwn.net/Articles/246614/ https://lwn.net/Articles/246614/ bronson Nobody's using jpeg2000 because it's full of patent landmines. Nobody wants to be the first to get sued. Since the quality isn't THAT much better anyway, there's really no good reason to change.<br> <p> Standards writers, let jpeg2000 be a lesson! If you don't spend enough time worrying about patents, all your work might be for naught.<br> <p> Personally, I think jpeg2000 is DOA forever. I look forward to when png2000 gets developed though!<br> Thu, 23 Aug 2007 21:59:58 +0000 Google Summer of Code: Mozilla Projects https://lwn.net/Articles/246539/ https://lwn.net/Articles/246539/ zooko <p>The idea of a link fingerprint (this is the first that I've heard of it), is an example of a <i>self-authenticating identifier</i>. I wrote an essay which made a lot of people aware of this concept: <p><a href="https://zooko.com/distnames.html">https://zooko.com/distnames.html</a> <p>Other examples are Freenet's content-hash-keys (CHKs), which are equivalent to link fingerprints, and Freenet's sub-space keys (SSKs), which are more flexible in that they allow the file being identified to change without changing the identifier. David Maziere's research on "the self-certifying file system" contained an equivalent to SSKs. Mark S. Miller's research on Pet Names was what inspired my "distnames" essay in the first place, and it contains the most complete proposal for making identifiers both secure and user-friendly: <p><a href="http://www.skyhunter.com/marcs/petnames/IntroPetNames.html">http://www.skyhunter.com/marcs/petnames/IntroPetNames.html</a> <p>Phil Zimmermann's <cite>Zfone</cite> secure phone includes a similar technique (due to my suggestion), called "Sticky Note Security". <p>My current free-software project, <a href="http://allmydata.org">http://allmydata.org</a>, contains equivalents to both CHKs and SSKs. <p>I'm very glad to hear about this project in Mozilla. The idea of using CHKs to denote immutable contents is long overdue -- we should have done this at the beginning of the web. Furthermore, the idea of using SSKs to denote mutable contents may be coming due, too. <p>--Zooko Thu, 23 Aug 2007 15:28:30 +0000 Google Summer of Code: Mozilla Projects https://lwn.net/Articles/246533/ https://lwn.net/Articles/246533/ xav I doubt sending the md5 alongside the file will make it really secure in<br> case of trojaned file. A non-stupid cracker would modify the md5 as well a<br> the file (or, this would be done automatically if computed on-the-fly by<br> apache).<br> The advantage of md5 embedded in the webpage is that modifying the ISO and<br> modifying the HTML accordingly is hard.<br> Thu, 23 Aug 2007 15:12:04 +0000 Google Summer of Code: Mozilla Projects https://lwn.net/Articles/246529/ https://lwn.net/Articles/246529/ jengelh <font class="QuotedText">&gt;Edward Lee's "Link Fingerprints" (mentored by Gervase Markham)</font><br> <p> Perhaps the checksum should be sent along as a HTTP Response Header, though of course sourced from a static file, so as to not make Apache recalculate it every time.<br> Thu, 23 Aug 2007 14:46:08 +0000