Recent Git security releases break git clone on repositories using LFS

servoz's Avatar

servoz

07 Jun, 2024 10:55 AM

On our latest appveyor build (tested this morning, 4 days ago everything was working fine), the git clone is currently failing for windows (and only for windows, everything seems to be fine for linux and macos).
This seems to be due to a recent git security update that is not yet supported. What do you recommend to fix this issue?

  1. Support Staff 1 Posted by Owen McDonnell on 07 Jun, 2024 02:44 PM

    Owen McDonnell's Avatar

    We deployed new images with a version of git that caused that error, not having a clear idea of when a newer version would be available.
    You can fix it by adding the following to you environment variables though.

    environment:
      GIT_CLONE_PROTECTION_ACTIVE: false
    
  2. 2 Posted by servoz on 12 Jun, 2024 05:25 PM

    servoz's Avatar

    Thank you very much, your fix is effective! !!
    Sincerely
    Eric

  3. servoz closed this discussion on 12 Jun, 2024 06:46 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac