From: Theodore Tso <tytso@mit.edu>
To: Jeff King <peff@peff.net>
Cc: Miklos Vajna <vmiklos@frugalware.org>,
Johannes Schindelin <Johannes.Schindelin@gmx.de>,
Alexander Gladysh <agladysh@gmail.com>,
git@vger.kernel.org
Subject: Re: [Q] Encrypted GIT?
Date: Thu, 13 Mar 2008 12:12:01 -0400 [thread overview]
Message-ID: <20080313161201.GA31653@mit.edu> (raw)
In-Reply-To: <20080313155322.GA30847@coredump.intra.peff.net>
On Thu, Mar 13, 2008 at 11:53:22AM -0400, Jeff King wrote:
> - encrypting whole packfiles is a bit better for transport. The
> key-holding repo does the deltas and just treats the remote repo as
> dumb storage (it can't be smart, since that would involve looking at
> the data). Storage overhead is minimal if packfiles are a reasonable
> size.
>
> So I think the last makes the most sense, where your local repo is
> totally unprotected, but you efficiently push git objects to a remote
> untrusted repo.
If the main goal is primarily backup of your repository to an
untrusted remote server, yes, that makes perfect sense.
If you assume multiple trusted developers would actually be
*operating* on an encrypted repo, the life gets much harder, as you've
pointed out.
> - encrypting before git sees content sucks, because you are either
> sacrificing security (content X always encrypts to Y) or system
> stability (git doesn't know that Y and Y' are really the same thing)
It's not clear that "content X always encrypts to Y" is a fatal flaw,
by the way. Yes, it leaks a bit of information, but in a source code
management situation, it may not matter. If you do absolutely care,
tough, it might be that the simplest solution is to store the entire
repository and working tree under cryptofs. After all, what's the
point of encrypting the local repo if the checked-out working tree is
unprotected for all to see? :-)
- Ted
next prev parent reply other threads:[~2008-03-13 16:13 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-03-13 8:48 [Q] Encrypted GIT? Alexander Gladysh
2008-03-13 11:47 ` Miklos Vajna
2008-03-13 11:55 ` Johannes Schindelin
2008-03-13 12:16 ` Miklos Vajna
2008-03-13 12:58 ` Theodore Tso
2008-03-13 13:27 ` Alexander Gladysh
2008-03-13 15:21 ` Johannes Schindelin
2008-03-13 16:00 ` Jeff King
2008-03-13 15:53 ` Jeff King
2008-03-13 16:01 ` Jeff King
2008-03-13 16:12 ` Theodore Tso [this message]
2008-03-13 16:19 ` Jeff King
2008-03-13 17:43 ` David Brown
2008-03-13 16:10 ` Thomas Harning
2008-03-13 18:36 ` Luke Lu
2008-03-13 19:15 ` Thomas Harning
2008-03-13 20:06 ` Luke Lu
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=20080313161201.GA31653@mit.edu \
--to=tytso@mit.edu \
--cc=Johannes.Schindelin@gmx.de \
--cc=agladysh@gmail.com \
--cc=git@vger.kernel.org \
--cc=peff@peff.net \
--cc=vmiklos@frugalware.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).