git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [FR] Encrypting the repository

From
Nicolas Pitre <nico@cam.org>
Date
Apr 11, 2009, 02:03 UTC
Message-ID
<alpine.LFD.2.00.0904102159000.6741@xanadu.home>
In-Reply-To
<49DF294E.7010407@hepe.com>
On Fri, 10 Apr 2009, Aaron Digulla wrote:
Show 15 quoted lines
> Sverre Rabbelier wrote:
> 
> > > I need a way to safely synchronize data between several places using an
> > > unsafe
> > > storage (USB stick, Internet drive). So my question is: How much work
> > > would it
> > > be to patch GIT to encrypt all files in the repository using AES-256?
> > 
> > Encrypt the entire drive flash drive [0], and then use git like
> > normal, 0 changes required ;). You can also create an encrypted file,
> > and then use git like normal, also 0 changes required!
> 
> How do I encrypt an Internet drive (like Dropbox)? Also, if possible, I'd like
> not to have to install any software on the local computer (well, besides git,
> obviously).

You can create git bundles, which is a way to synchronize repositories without using a direct network connection. A bundle is simply a single file with the needed data to perform repository updates.

So you could use bundles, and encrypt them with the encryption tool of your choice before storing them on a USB stick for example.

Nicolas
Previous: Sverre Rabbelier
Message 8 of 8 in “[FR] Encrypting the repository”
  1. Aaron DigullaApr 10, 2009
  2. Francis GaliegueApr 10, 2009
  3. Aaron DigullaApr 10, 2009
  4. Geoffrey LeeApr 10, 2009
  5. Sverre RabbelierApr 10, 2009
  6. Aaron DigullaApr 10, 2009
  7. Sverre RabbelierApr 10, 2009
  8. Nicolas PitreApr 11, 2009

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.