Is there an encrypted version control system?

前端 未结 13 1502
暗喜
暗喜 2020-12-13 00:24

I am looking for an encrypted version control system . Basically I would like to

  • Have all files encrypted locally before sending to the ser

13条回答
  •  萌比男神i
    2020-12-13 00:28

    Variant A

    Use a distributed VCS and transport changes direct between different clients over encrypted links. In this scenario is no attackable central server.

    For example with mercurial you can use the internal web server, and connect the clients via VPN. Or you can bundle the change sets and distribute them with encrypted mails.

    Variant B

    You can export an encrypted hard drive partition over the network and mount it on the client side, and run the VCS on the client side. But this approach has lot's of problems, like:

    • possible data loss when two different clients try to access the VCS at the same time
    • the link itself must be secured against fraudulent write access (when the partition is shared via NFS it is very likely to end with a configuration where anyone can write to the shared partition, so even when there is no way for others to read the content, there is easily a hole to destroy the content)

    There might be also other problems with variant B, so forget variant B.

    Variant C

    Like @Commodore Jaeger wrote, use a VCS on top of an encryption-aware network file system like AFS.

提交回复
热议问题