info-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: encrypted files?


From: Jim Hyslop
Subject: Re: encrypted files?
Date: Tue, 10 Apr 2007 16:33:09 -0400
User-agent: Mozilla Thunderbird 1.0.6 (Windows/20050716)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Mike wrote:
> Is there a way to either have cvs store files encrypted or to store and
> diff already encrypted files?

Storing an encrypted file is trivial: just check it in (and make sure
it's flagged as binary).

You could write a script that would encrypt the file as it was being
checked in. However, it would be pretty much impossible for CVS to diff
an already-encrypted file, in a way that is secure enough to make the
exercise worthwhile.

In order to figure out the diff, CVS would have to decrypt the original
version, compare the new version, then encrypt the delta and store the
encrypted delta. So now part of the problem becomes: how do you manage
the encryption keys for this? Also, how do you handle files that have
been encrypted with expired or compromised keys?

What is the problem you are trying to solve? Maybe we can suggest an
alternative.

- --
Jim Hyslop
Dreampossible: Better software. Simply.     http://www.dreampossible.ca
                 Consulting * Mentoring * Training in
    C/C++ * OOD * SW Development & Practices * Version Management
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFGG/RuLdDyDwyJw+MRAs55AJ45sAtje8NYquhSa+Dx3qkiQlDN1QCgruby
pk5Vc44PTAtqYIs9Gvy+qcc=
=y02z
-----END PGP SIGNATURE-----




reply via email to

[Prev in Thread] Current Thread [Next in Thread]