git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Richard Purdie <rpurdie@rpsys.net>
To: git@vger.kernel.org
Subject: Tracability in git commits
Date: Tue, 29 Apr 2008 13:55:39 +0100	[thread overview]
Message-ID: <1209473739.5642.31.camel@dax.rpnet.com> (raw)

Hi,

I've been wondering about whether its possible to provide some degree of
traceability of commits to a shared git repository. The potential
nightmare scenario is one developer making a commit pretending to be
someone else.

Assuming a shared server using something like gitosis each set of
commits is made under a certain ssh ID and what I'd like is to be able
to validate that against the commits so we could tell that commits A-D
were made by ID Z.

I see a repository as a linear progression of commits and merges.

The simplest security check would check each commit/merge on this linear
progression and make sure it matches the ssh ID. The problem is where
someone merges in some external tree, someone else pulls it and pushes
it, only fast forward merges are made and the ssh 'ID' no longer matches
the ID of the merge which is in the linear path.

Someone mentioned some patches that are on the mailing list atm and the
idea of never allowing fast forward merges. Would the "never" policy of
fast forward merges solve this problem? Is there a simpler way to
address this or are there problems I'm not seeing?

Regards,

Richard

             reply	other threads:[~2008-04-29 13:31 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-04-29 12:55 Richard Purdie [this message]
2008-04-29 16:08 ` Tracability in git commits Johannes Schindelin
2008-04-29 21:34 ` Junio C Hamano
2008-04-29 21:56   ` Richard Purdie
2008-04-30  2:51     ` Shawn O. Pearce
2008-04-30 17:33   ` Ping Yin
2008-04-30 19:46     ` Miklos Vajna
2008-05-01  0:28       ` Shawn O. Pearce
2008-05-01  5:09         ` Ping Yin
2008-04-30 10:06 ` Jakub Narebski
2008-04-30 10:32   ` Richard Purdie
2008-05-01  1:26     ` Martin Langhoff
2008-05-01  7:34       ` Martin Langhoff
2008-05-01 19:03         ` Junio C Hamano
2008-05-01 22:21           ` Martin Langhoff

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1209473739.5642.31.camel@dax.rpnet.com \
    --to=rpurdie@rpsys.net \
    --cc=git@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).