Skip to content

Conversation

mjcheetham and others added 7 commits June 16, 2025 11:58
Suppress the CodeQL alert about the code tha respects Git's https.sslVerify
setting. This is a feature of Git that is mirrored in VFS for Git's
behaviour.

Signed-off-by: Matthew John Cheetham <mjcheetham@outlook.com>
The GVFS protocol includes an index file along with pack file in the prefetch
workflow (primarily used on a new clone to fetch all commits and trees).

Currently, GVFS blindly accepts that index file.

This pull request changes GVFS prefetch to discard the index sent by the
server and always create an index locally. This provides improved security
and verification of the pack file, at the expense of performance for the first
clone of a repository on a new drive.
GitAuthentication.cs: suppress CodeQL alert about cert validation
Distrust received pack indexes (behind config flag, with perf fixes)
@mjcheetham mjcheetham requested a review from dscho June 24, 2025 09:08
@mjcheetham mjcheetham merged commit 45fc82a into releases/shipped Jun 24, 2025
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants