Ask HN: How to encrypt cloud-stored Git repos that contain sensitive data?
Given git repositories that contain sensitive data, how would you store them in the cloud, so that this is secured (e.g encrypted)?
By secure I mean: the cloud provider (or an attacker who could gain access to the repositories through the cloud provider) can’t see the names and contents of the files. Commit messages, branches and author names could be visible, but would be better if they can also be stored securely. I understand that a web interface is unusable, nor is it needed in our case.
Are there some other source code management systems (with cloud hosting offers) that have better support for storing such sensitive data security, and can do it in an easier / less cumbersome manner than git does?
I understand that this is just one piece in the security chain, would appreciate if we could keep this on-topic instead of making a broader security discussion out of it. Thank you!
By secure I mean: the cloud provider (or an attacker who could gain access to the repositories through the cloud provider) can’t see the names and contents of the files. Commit messages, branches and author names could be visible, but would be better if they can also be stored securely. I understand that a web interface is unusable, nor is it needed in our case.
Are there some other source code management systems (with cloud hosting offers) that have better support for storing such sensitive data security, and can do it in an easier / less cumbersome manner than git does?
I understand that this is just one piece in the security chain, would appreciate if we could keep this on-topic instead of making a broader security discussion out of it. Thank you!