Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S262508AbVDYDmQ (ORCPT ); Sun, 24 Apr 2005 23:42:16 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S262509AbVDYDmQ (ORCPT ); Sun, 24 Apr 2005 23:42:16 -0400 Received: from hibernia.jakma.org ([212.17.55.49]:10368 "EHLO hibernia.jakma.org") by vger.kernel.org with ESMTP id S262508AbVDYDmJ (ORCPT ); Sun, 24 Apr 2005 23:42:09 -0400 Date: Mon, 25 Apr 2005 04:40:26 +0100 (IST) From: Paul Jakma X-X-Sender: paul@sheen.jakma.org To: "David A. Wheeler" cc: Linus Torvalds , Sean , Thomas Glanzmann , David Woodhouse , Jan Dittmer , Greg KH , Kernel Mailing List , Git Mailing List Subject: Re: Git-commits mailing list feed. In-Reply-To: Message-ID: References: <200504210422.j3L4Mo8L021495@hera.kernel.org> <42674724.90005@ppp0.net> <20050422002922.GB6829@kroah.com> <426A4669.7080500@ppp0.net> <1114266083.3419.40.camel@localhost.localdomain> <426A5BFC.1020507@ppp0.net> <1114266907.3419.43.camel@localhost.localdomain> <20050423175422.GA7100@cip.informatik.uni-erlangen.de> <2911.10.10.10.24.1114279589.squirrel@linux1> <426C4168.6030008@dwheeler.com> <426C5F43.8010705@dwheeler.com> Mail-Followup-To: paul@hibernia.jakma.org X-NSA: arafat al aqsar jihad musharef jet-A1 avgas ammonium qran inshallah allah al-akbar martyr iraq saddam hammas hisballah rabin ayatollah korea vietnam revolt mustard gas british airways washington MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1567 Lines: 38 On Mon, 25 Apr 2005, Paul Jakma wrote: > You dont even need it, see my other mail. If: > > - the signature is an object and added after the commit object > > - tools know that signatures are 'proxies of' or precursors to the > objects they are signing (which makes sense, a signature by > definition refers to something else) > > - the signature object refers to the object it is signing (eg a > 'Signing ' header) > > Then head can simply be the signature object and tools can find the > commit by following the 'Signing' field of the signature (they dont > even need to check the signature is valid). No index lookup needed. > You only need the index for historical verification really, and you can > always generate an index if needs be. (and have the tools maintain it). Uh, I have no idea whether verifying a signature of a commit object is sufficient, ie equivalent to signing each file. commit refers to tree objects, which I presume lists the SHA-1 object IDs of files, but IIRC Linus already described why a signature of the commit object should not be used to trust the rest of commit.. (i'll have to find his mail). If so, an index is required. regards, -- Paul Jakma paul@clubi.ie paul@jakma.org Key ID: 64A2FF6A Fortune: Old programmers never die, they just hit account block limit. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/