git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Microsoft Smart App Control - Git - git-bash.exe File Unsigned
       [not found] ` <SJ1PR21MB3699CA030DE035CA42582AF5E3CAA@SJ1PR21MB3699.namprd21.prod.outlook.com>
@ 2023-10-05 20:41   ` Rolland Swing (Insight Global LLC)
  2023-10-07  1:07     ` brian m. carlson
  0 siblings, 1 reply; 3+ messages in thread
From: Rolland Swing (Insight Global LLC) @ 2023-10-05 20:41 UTC (permalink / raw)
  To: git; +Cc: Anthony Chuang

Hi Git Team,

We're part of the Microsoft team that owns Smart App Control (https://learn.microsoft.com/en-us/windows/apps/develop/smart-app-control/overview), which requires applications to sign all of their executable files (exe, dll, msi, tmp, and a few other file formats).
 
We found during internal testing and/or from user feedback that your app, git-bash.exe, is not correctly signed. 

Block Event:   FileName: \Device\HarddiskVolume7\Program Files\Git\git-bash.exe
  Calling Process: \Device\HarddiskVolume7\Windows\explorer.exe
  Sha256 Hash: 42F2E685686FB6356A195709AF912C7B9D424466BD7C6D69258AADA5E80AC3C2 

Signing your app is in your best interest, as it positively identifies you as the developer of your application to your customers installing and running your apps, and they can rest assured that your app hasn't been tampered with. For the purposes of Smart App Control, all app binaries including .exe, .dll, .tmp files, and uninstallers all need to be signed.

For more information on code signing, please refer to: https://learn.microsoft.com/en-us/windows/apps/develop/smart-app-control/code-signing-for-smart-app-control
 
Please confirm if the unsigned file(s) will be signed in this or a future build, or if there is no intent to rectify the unsigned executable file(s). 

Thanks,

Rolland Swing | Azure E&P Program Manager
Enterprise & Security - Platform Integrity Team
mailto:v-roswing@microsoft.com



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Microsoft Smart App Control - Git - git-bash.exe File Unsigned
  2023-10-05 20:41   ` Microsoft Smart App Control - Git - git-bash.exe File Unsigned Rolland Swing (Insight Global LLC)
@ 2023-10-07  1:07     ` brian m. carlson
  2023-10-09 17:21       ` [EXTERNAL] " Rolland Swing (Insight Global LLC)
  0 siblings, 1 reply; 3+ messages in thread
From: brian m. carlson @ 2023-10-07  1:07 UTC (permalink / raw)
  To: Rolland Swing (Insight Global LLC); +Cc: git, Anthony Chuang

[-- Attachment #1: Type: text/plain, Size: 1785 bytes --]

On 2023-10-05 at 20:41:39, Rolland Swing (Insight Global LLC) wrote:
> Hi Git Team,

Hey,

> We're part of the Microsoft team that owns Smart App Control (https://learn.microsoft.com/en-us/windows/apps/develop/smart-app-control/overview), which requires applications to sign all of their executable files (exe, dll, msi, tmp, and a few other file formats).
>  
> We found during internal testing and/or from user feedback that your app, git-bash.exe, is not correctly signed. 
> 
> Block Event:   FileName: \Device\HarddiskVolume7\Program Files\Git\git-bash.exe
>   Calling Process: \Device\HarddiskVolume7\Windows\explorer.exe
>   Sha256 Hash: 42F2E685686FB6356A195709AF912C7B9D424466BD7C6D69258AADA5E80AC3C2 

The Git project doesn't distribute any binaries at all.  We distribute
only source code.  Many distributors compile these to produce binaries.

The project you are probably thinking of is Git for Windows, which,
while related, is a separate project.  They do indeed distribute
binaries, and this looks like a binary that's theirs.  If you'd like to
contact them, you can use their issue tracker
(https://github.com/git-for-windows/git/issues) to inquire.

However, I will note that a cursory search there found
https://github.com/git-for-windows/git/issues/798, where the maintainer
points out that there are over 400 exe files and 250 dll files, which
would make signing them all excessively burdensome.  I expect the
upcoming requirements for HSM-backed keys for Windows code signing may
make that even slower and more burdensome.  That being said, perhaps
with automation, the maintainer may feel differently than they did in
2016, so it might be worth asking again.
-- 
brian m. carlson (he/him or they/them)
Toronto, Ontario, CA

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 263 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* RE: [EXTERNAL] Re: Microsoft Smart App Control - Git - git-bash.exe File Unsigned
  2023-10-07  1:07     ` brian m. carlson
@ 2023-10-09 17:21       ` Rolland Swing (Insight Global LLC)
  0 siblings, 0 replies; 3+ messages in thread
From: Rolland Swing (Insight Global LLC) @ 2023-10-09 17:21 UTC (permalink / raw)
  To: brian m. carlson; +Cc: git, Anthony Chuang

Thanks Brian - I'll reach out to them via their issue tracker.

Thanks,

Rolland

-----Original Message-----
From: brian m. carlson <sandals@crustytoothpaste.net> 
Sent: Friday, October 6, 2023 6:08 PM
To: Rolland Swing (Insight Global LLC) <v-roswing@microsoft.com>
Cc: git@vger.kernel.org; Anthony Chuang <anchuang@microsoft.com>
Subject: [EXTERNAL] Re: Microsoft Smart App Control - Git - git-bash.exe File Unsigned

On 2023-10-05 at 20:41:39, Rolland Swing (Insight Global LLC) wrote:
> Hi Git Team,

Hey,

> We're part of the Microsoft team that owns Smart App Control (https://learn.microsoft.com/en-us/windows/apps/develop/smart-app-control/overview), which requires applications to sign all of their executable files (exe, dll, msi, tmp, and a few other file formats).
>  
> We found during internal testing and/or from user feedback that your app, git-bash.exe, is not correctly signed. 
> 
> Block Event:   FileName: \Device\HarddiskVolume7\Program 
> Files\Git\git-bash.exe
>   Calling Process: \Device\HarddiskVolume7\Windows\explorer.exe
>   Sha256 Hash: 
> 42F2E685686FB6356A195709AF912C7B9D424466BD7C6D69258AADA5E80AC3C2

The Git project doesn't distribute any binaries at all.  We distribute only source code.  Many distributors compile these to produce binaries.

The project you are probably thinking of is Git for Windows, which, while related, is a separate project.  They do indeed distribute binaries, and this looks like a binary that's theirs.  If you'd like to contact them, you can use their issue tracker
(https://github.com/git-for-windows/git/issues) to inquire.

However, I will note that a cursory search there found https://github.com/git-for-windows/git/issues/798, where the maintainer points out that there are over 400 exe files and 250 dll files, which would make signing them all excessively burdensome.  I expect the upcoming requirements for HSM-backed keys for Windows code signing may make that even slower and more burdensome.  That being said, perhaps with automation, the maintainer may feel differently than they did in 2016, so it might be worth asking again.
--
brian m. carlson (he/him or they/them)
Toronto, Ontario, CA

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-10-09 17:22 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <SJ1PR21MB36990080CCBC0BB415261D82E3CAA@SJ1PR21MB3699.namprd21.prod.outlook.com>
     [not found] ` <SJ1PR21MB3699CA030DE035CA42582AF5E3CAA@SJ1PR21MB3699.namprd21.prod.outlook.com>
2023-10-05 20:41   ` Microsoft Smart App Control - Git - git-bash.exe File Unsigned Rolland Swing (Insight Global LLC)
2023-10-07  1:07     ` brian m. carlson
2023-10-09 17:21       ` [EXTERNAL] " Rolland Swing (Insight Global LLC)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).