repository encryption

Benoit Boissinot benoit.boissinot at ens-lyon.org
Tue Oct 13 15:57:17 CDT 2009


On Tue, Oct 13, 2009 at 09:59:13AM -0700, Nicholas Tung wrote:
> Hi all,
> 
>     Is there a way to encrypt repositories? I have used a hook script to
> 7zip files with a password, but this definitely won't work with larger
> repositories, since encryption breaks diffs and compression. I happen to
> have ssh access to a server that's not mine, so this feature would be very
> useful.

I see what you want. The problem is that if you encrypt (even if that
was done inside mercurial with an extension) you would lose all the
delta compression on the wire (because the remote server obviously needs the
key to un-delta it).

Would rsync'ing the .hg encrypted work?

regards,

Benoit


-- 
:wq


More information about the Mercurial mailing list