Is there an encrypted version control system?

前端 未结 13 1496
暗喜
暗喜 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条回答
  •  执笔经年
    2020-12-13 00:28

    Similar to some comments above, a useful workaround may be to encrypt&zip the whole repository locally and synchronize it with the remote box. E.g. when using git, the whole repository is stored in directory '.git' within the project dir.

    • zip/encrypt the whole project dir
    • upload it to a server (unsure if handling .git alone is sufficient)
    • before you continue working on the project download this archive
    • decrypt/unpack and sync with git (locally)

    This can be done with a simple shell line script more comfortable.

    pro: You can use whatever encryption is appropriate as well as every VCS which supports local repositories.

    cons: lacks obviously some VCS features when several people want to upload their code base (the merge situation) - although, perhaps, this could be fixed by avoiding overwrite remotely and merging locally (which introduces locking, this is where the nightmare starts)

    Nevertheless, this solution is a hack, not a proper solution.

提交回复
热议问题