LWN.net Logo

Advertisement

Advanced thin client solution for Linux, based on Open Source. Mix Windows and Linux, with hardware accelerated OpenGL!

Advertise here

Trust and mirrors

Trust and mirrors

Posted Jul 17, 2008 3:59 UTC (Thu) by IkeTo (subscriber, #2122)
Parent article: Trust and mirrors

Hm... if the worry is simply that some mirrors never updates, distributions can simply have a
canonical address (like "last updated") and have everybody contact it to know what is the
current version of the canonical server.  When one do an update, it checks whether the mirror
is too old, and if so, warns the user.  "Endless" data can also be easily dealt with: the
distribution can organize to accompany each transfer with a leading fixed-length, signed
fields that contains the expected length of the package.

So essentially, if cryptography didn't solve your problem, just use more of it.


(Log in to post comments)

Trust and mirrors

Posted Jul 17, 2008 8:44 UTC (Thu) by ttonino (subscriber, #4073) [Link]

Yup. Just check the SHA1 of the metadata to a version at a trusted location.

Or figure out an incremental metadata format (append changes and append new signature), which
would make it possible to push an update out every day or even every hour. The client would
then refuse metadata with a time stamp that is too old. The possibility of incremental updates
makes these 'time stamp updates' cheap in bandwidth.

Copyright © 2009, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds