git-proxy icon indicating copy to clipboard operation
git-proxy copied to clipboard

Support secure interactions with private repositories 🔒

Open JamieSlome opened this issue 1 year ago • 3 comments

GitProxy is able to generate server-side diffs for public repositories without having to authorise with the upstream repository. This is because the nature of open source is to allow the cloning of public repositories directly without assignment of permissions.

To support private repositories that require a layer of authorisation, to generate a server side diff on behalf of the developer we have to consider how to safely and securely connect to the upstream and protected codebase without compromising the security of the developer's credentials or personal access token.

JamieSlome avatar May 10 '24 10:05 JamieSlome

Hi Jamie, I would like to work on this and I have a couple of queries about it. Is server-side diff, the diff we see in the dashboard when we push a commit?

gonuguntlakavya avatar Nov 02 '24 05:11 gonuguntlakavya

Yes, the diff in the dashboard is the diff that is generated on the server.

JamieSlome avatar Nov 02 '24 11:11 JamieSlome

I tried pushing to a private repository and I'm able to see the diff in dashboard. Git credential manager did ask me for the credentials the first time, is this not the intended behavior?

gonuguntlakavya avatar Nov 02 '24 11:11 gonuguntlakavya