Hello, I was able to get the os-git-backup backup working on my self-hosted Gitea server. However, I realize now that using this tool causes you to commit all the private keys in your config.xml to the repo. This is a privately hosted Gitea server, so the security concern is somewhat mitigated, but I still don't like the idea of having keys out there that I will easily forget about. I think a warning about this happening might be worth including. I didn't consider it while I was setting it up.
Is there any way to mitigate this risk while using this tool?
Considering that the configuration file is highly structured and consistent would it be feasible to implement an option that parses and redacts/removes sensitive XML tags prior to the commit?
There is a way to clean files using .gitattributes however I don't have experience using it.
https://git-scm.com/book/ms/v2/Customizing-Git-Git-Attributes#filters_b (https://git-scm.com/book/ms/v2/Customizing-Git-Git-Attributes#filters_b)