Answer the question
In order to leave comments, you need to log in
How to protect a git repository from being compromised?
How to prevent a leak if the server on which the git repository is compromised? Does git support encryption on the server?
Answer the question
In order to leave comments, you need to log in
like git does not even support any rights-authorization by itself.
That is unnecessary.
encryption is supported by external means. the same OS.
You can compromise a server in different ways.
If you received root remotely on the server, then nothing will help you get everything that is hosted on the server from the server.
And such issues need to be resolved not at the level of application software (which GIT belongs to), but at the level of protecting the server itself from threats. In other words, you do not need to think about encryption in the git, but about how to protect the server from being compromised.
How to prevent leakage
git-secret.io or https://www.agwa.name/projects/git-crypt/ to help you
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question