git-scm.com icon indicating copy to clipboard operation
git-scm.com copied to clipboard

Invalid signature of git 2.7.0 for windows

Open grigy opened this issue 10 years ago • 13 comments

The signature of (2.7.0) 64-bit version of Git for Windows is not valid (reported by Windows). Just downloaded from the git-scm.com.

grigy avatar Jan 15 '16 00:01 grigy

I see this too, running Windows 10 build 10586. Launching the installer from File Explorer brings up the SmartScreen dialog: "Windows SmartScreen prevented an unrecognized app from starting, Running this app might put your PC at risk." This often occurs for less-popular or brand new file downloads so I'm not too surprised here.

However, Microsoft Edge gives a more ominous "The signature for this file is corrupt or invalid" message.

13thsymphony avatar Jan 19 '16 18:01 13thsymphony

Same issue here.

yogsodoth avatar Jan 22 '16 06:01 yogsodoth

If I do run anyway, it says this. I guess it's signed but maybe something else is missing?

screen shot 2016-01-25 at 2 39 21 pm

I think that "publisher" is @dscho

nelsonjchen avatar Jan 25 '16 22:01 nelsonjchen

Duplicate of https://github.com/git-for-windows/git/issues/592. And thanks for telling me to spend multiple hundred dollars to satisfy your needs (that's how much a SHA-2 certificate costs, thankyouverymuch).

dscho avatar Jan 26 '16 09:01 dscho

What? No, I'm just not sure what's happening here. I thought something might have gone wrong during the signing process. A missing flag or option or something.

That sucks. I wasn't aware the SHA-2 thing has finally come into effect.

It is kind of funny though. Doesn't some form of this installer come with the Visual Studio installer?

nelsonjchen avatar Jan 26 '16 10:01 nelsonjchen

@nelsonjchen You are not sure what's happening here? I just told you. That ticket I linked to mentions that I sign the installers using my free-for-Open-Source SHA-1 certificate, and that Edge and Internet Explorer started not recognizing those signatures (due to SHA-1 being considered too weak now) on January 1st, 2016. Dunno how that is not clear from reading that ticket...

dscho avatar Jan 26 '16 14:01 dscho

@dscho When I posted that screenshot, I wasn't sure what was happening. I thought something went wrong during the signing process. I found this thread by Googling exactly what I saw from Edge. I didn't mean it as a request or command or anything like that to sign it with a SHA-2 certificate or anything. I was not aware that it was related to that issue.

It was just a friendly nudge to say hello, hey, something is wrong here, are you aware? I'm sorry if my comment came off wrong.

nelsonjchen avatar Jan 26 '16 16:01 nelsonjchen

I face the same issue.. Any resolution for the issue?

anilkondaveeti avatar Jan 31 '16 15:01 anilkondaveeti

Resolution, no. You can purchase a SHA-2 certificate for the maintainers.

Workaround, yes. Just ignore the warning.

13thsymphony avatar Feb 01 '16 01:02 13thsymphony

Why are you discussing this on the wrong bug tracker?

This is a Git for Windows issue: https://github.com/git-for-windows/git/issues/592

The good people at GitHub who run the git-scm.com website have no power to fix this, so this here ticket should be closed to encourage users to head over to the correct bug tracker.

dscho avatar Feb 01 '16 06:02 dscho

This was never a bug in git-scm.com and therefore this ticket should have been closed long ago, referring to git-for-windows/git#592 instead. Sadly, this never happened.

Maybe at least now somebody with the power can close this ticket? Git 2.7.0(2) is dual-signed and therefore addresses this.

dscho avatar Feb 04 '16 08:02 dscho

@grigy could you please close https://github.com/git/git-scm.com/issues/667, too?

dscho avatar Feb 08 '16 19:02 dscho

I don't have rights to close it. It's opened by @jprichey.

grigy avatar Feb 09 '16 03:02 grigy