Skip to contentSkip to conversation

Encrypting the repository

FR Aaron Digulla 5 participants 8 messages Jun 15, 2016

lore
Share & tools
lore
#0 lore raw

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,

Signature · 1 line
Aaron "Optimizer" Digulla
#1 lore raw

Le vendredi 10 avril 2009, vous avez écrit :

Quoted 3 lines

Hello,

I need a way to safely synchronize data between several places using an

unsafe

Quoted 1 line

storage (USB stick, Internet drive). So my question is: How much work would

it

Quoted 4 lines

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

Quoted 4 lines

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?

Signature · 8 lines
Francis Galiegue
ONE2TEAM
Ingénieur système
Mob : +33 (0) 683 877 875
Tel : +33 (0) 178 945 552
[email protected]
40 avenue Raymond Poincaré
75116 Paris
#2 lore raw
Quoted 11 lines · Francis Galiegue

Le vendredi 10 avril 2009, vous avez écrit :

Quoted 3 lines

Hello,

I need a way to safely synchronize data between several places using an

unsafe

Quoted 1 line

storage (USB stick, Internet drive). So my question is: How much work would

it

Quoted 4 lines

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

Quoted 7 lines

at a

Quoted 4 lines

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.

Quoted 1 line

Also, what are the target systems?

Linux and Windows.

Regards,

Signature · 4 lines
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/
#3 lore raw
In reply to Aaron Digulla
Quoted 3 lines · Aaron Digulla

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

#4 lore raw
In reply to Aaron Digulla

Heya,

Quoted 3 lines · Aaron Digulla

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/

Signature · 3 lines
Cheers,

Sverre Rabbelier
#5 lore raw
Quoted 7 lines · Sverre Rabbelier
Quoted 3 lines

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,

Signature · 4 lines
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/
#6 lore raw
Quoted 8 lines · Aaron Digulla
Quoted 6 lines · Sverre Rabbelier
Quoted 5 lines

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?

Quoted 7 lines
Quoted 3 lines

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

#7 lore raw
In reply to Aaron Digulla

Heya,

Quoted 3 lines · Aaron Digulla

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.

Signature · 3 lines
Cheers,

Sverre Rabbelier