git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [FR] Encrypting the repository
@ 2009-04-10  8:49 Aaron Digulla
  2009-04-10  9:14 ` Francis Galiegue
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Aaron Digulla @ 2009-04-10  8:49 UTC (permalink / raw)
  To: git

Hello,

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?

I'm aware that this leaves an issue unresolved (where should I store the
password so that GIT doesn't have to ask for it all the time?) but one step at a
time, please :)

Regards,

-- 
Aaron "Optimizer" Digulla

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [FR] Encrypting the repository
  2009-04-10  8:49 [FR] Encrypting the repository Aaron Digulla
@ 2009-04-10  9:14 ` Francis Galiegue
  2009-04-10 11:09   ` Aaron Digulla
  2009-04-10 10:18 ` Geoffrey Lee
  2009-04-10 10:30 ` Sverre Rabbelier
  2 siblings, 1 reply; 8+ messages in thread
From: Francis Galiegue @ 2009-04-10  9:14 UTC (permalink / raw)
  To: Aaron Digulla; +Cc: git

Le vendredi 10 avril 2009, vous avez écrit :
> Hello,
> 
> 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?
> 
> I'm aware that this leaves an issue unresolved (where should I store the
> password so that GIT doesn't have to ask for it all the time?) but one step 
at a
> time, please :)
> 
> Regards,
> 

Why don't you just create an archive and encrypt that archive, instead of 
encrypting every file?

Also, what are the target systems?

-- 
Francis Galiegue
ONE2TEAM
Ingénieur système
Mob : +33 (0) 683 877 875
Tel : +33 (0) 178 945 552
fge@one2team.com
40 avenue Raymond Poincaré
75116 Paris

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [FR] Encrypting the repository
  2009-04-10  8:49 [FR] Encrypting the repository Aaron Digulla
  2009-04-10  9:14 ` Francis Galiegue
@ 2009-04-10 10:18 ` Geoffrey Lee
  2009-04-10 10:30 ` Sverre Rabbelier
  2 siblings, 0 replies; 8+ messages in thread
From: Geoffrey Lee @ 2009-04-10 10:18 UTC (permalink / raw)
  To: git

On Fri, Apr 10, 2009 at 1:49 AM, Aaron Digulla <digulla@hepe.com> 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?

Why in the world would you want to modify Git to do that? Just use an
existing encryption solution. If you need to use a USB drive, then use
disk encryption. If you need to do it online, then use SSH.
http://www.dmoz.org/Computers/Security/Products_and_Tools/Cryptography/

-Geoffrey Lee

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [FR] Encrypting the repository
  2009-04-10  8:49 [FR] Encrypting the repository Aaron Digulla
  2009-04-10  9:14 ` Francis Galiegue
  2009-04-10 10:18 ` Geoffrey Lee
@ 2009-04-10 10:30 ` Sverre Rabbelier
  2009-04-10 11:11   ` Aaron Digulla
  2 siblings, 1 reply; 8+ messages in thread
From: Sverre Rabbelier @ 2009-04-10 10:30 UTC (permalink / raw)
  To: Aaron Digulla; +Cc: git

Heya,

On Fri, Apr 10, 2009 at 10:49, Aaron Digulla <digulla@hepe.com> 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!

[0] http://www.truecrypt.org/

-- 
Cheers,

Sverre Rabbelier

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [FR] Encrypting the repository
  2009-04-10  9:14 ` Francis Galiegue
@ 2009-04-10 11:09   ` Aaron Digulla
  0 siblings, 0 replies; 8+ messages in thread
From: Aaron Digulla @ 2009-04-10 11:09 UTC (permalink / raw)
  To: Francis Galiegue; +Cc: git

Francis Galiegue wrote:
> Le vendredi 10 avril 2009, vous avez écrit :
>> Hello,
>>
>> 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?
>>
>> I'm aware that this leaves an issue unresolved (where should I store the
>> password so that GIT doesn't have to ask for it all the time?) but one step 
> at a
>> time, please :)
>>
>> Regards,
>>
> 
> Why don't you just create an archive and encrypt that archive, instead of 
> encrypting every file?

Because I don't want to loose the change history.

> Also, what are the target systems?

Linux and Windows.

Regards,

-- 
Aaron "Optimizer" Digulla a.k.a. Philmann Dark
"It's not the universe that's limited, it's our imagination.
Follow me and I'll show you something beyond the limits."
http://www.pdark.de/                 http://blog.pdark.de/

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [FR] Encrypting the repository
  2009-04-10 10:30 ` Sverre Rabbelier
@ 2009-04-10 11:11   ` Aaron Digulla
  2009-04-10 11:17     ` Sverre Rabbelier
  2009-04-11  2:03     ` Nicolas Pitre
  0 siblings, 2 replies; 8+ messages in thread
From: Aaron Digulla @ 2009-04-10 11:11 UTC (permalink / raw)
  To: Sverre Rabbelier; +Cc: git

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).

Regards,

-- 
Aaron "Optimizer" Digulla a.k.a. Philmann Dark
"It's not the universe that's limited, it's our imagination.
Follow me and I'll show you something beyond the limits."
http://www.pdark.de/                 http://blog.pdark.de/

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [FR] Encrypting the repository
  2009-04-10 11:11   ` Aaron Digulla
@ 2009-04-10 11:17     ` Sverre Rabbelier
  2009-04-11  2:03     ` Nicolas Pitre
  1 sibling, 0 replies; 8+ messages in thread
From: Sverre Rabbelier @ 2009-04-10 11:17 UTC (permalink / raw)
  To: Aaron Digulla; +Cc: git

Heya,

On Fri, Apr 10, 2009 at 13:11, Aaron Digulla <digulla@hepe.com> wrote:
> 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).

As long as dropbox allows you to store a file (the file that is
encrypted by TrueCrypt) there is no additional work needed. Obviously
though you will need to install TrueCrypt, under windows there is an
option to create a "traveler disk" (which can be used from the target
(flash) drive without installing additional software IIRC), but I do
not know if it is available for Linux or OSX.

-- 
Cheers,

Sverre Rabbelier

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [FR] Encrypting the repository
  2009-04-10 11:11   ` Aaron Digulla
  2009-04-10 11:17     ` Sverre Rabbelier
@ 2009-04-11  2:03     ` Nicolas Pitre
  1 sibling, 0 replies; 8+ messages in thread
From: Nicolas Pitre @ 2009-04-11  2:03 UTC (permalink / raw)
  To: Aaron Digulla; +Cc: Sverre Rabbelier, git

On Fri, 10 Apr 2009, Aaron Digulla wrote:

> 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

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2009-04-11  2:06 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-04-10  8:49 [FR] Encrypting the repository Aaron Digulla
2009-04-10  9:14 ` Francis Galiegue
2009-04-10 11:09   ` Aaron Digulla
2009-04-10 10:18 ` Geoffrey Lee
2009-04-10 10:30 ` Sverre Rabbelier
2009-04-10 11:11   ` Aaron Digulla
2009-04-10 11:17     ` Sverre Rabbelier
2009-04-11  2:03     ` Nicolas Pitre

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).