-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Missing code signing for esbuild.exe binary #1561
Comments
I understand the request. However, I think this might not be something that I end up doing. It looks like it both costs money and requires a Windows machine, and I both don't want to spend my money on this and I don't have a Windows machine. One potential way to work around your IT department's restrictive rules is to use the esbuild-wasm package instead of the esbuild package. I assume that this will bypass their restrictions and will let you run unsigned code on your machine. |
Thank you for the reply. I absolutely understand your position, I would love myself to have an option not to deal with Windows environment :) In our company @IgorMinar @alxhub is this issue something that could be addressed from Angular? Would it be possible to provide an option to switch to |
@minijus please file an issue against @angular/angular-cli. Maybe we could prefer esbuild-wasm over esbuild if it's installed in your project. File an issue describing the problem and suggesting esbuild-wasm as a potential solution and we'll take a look. Thanks. |
@evanw would it be possible to introduce option to set custom mirror URL for binaries? Having it would allow us to intercept the request for binary package and add code signing. |
It's not documented or well-tested but there is the |
I'm closing this issue because I don't plan on working on this. |
In some organizations Windows are configured with restricted profiles where only known executables are allowed to be run. There are couple of ways to identify executable to be allowed to run: (1) hash of the binary, (2) or details from code signature, such as name and actual public key.
Allowing executables to be run by binary hash is a headache in terms of managing updates, since every version update requires to manually extract executable, hash and finally create new exception rule. Thus, having code signature on extubate is very much preferred, it allows to create an exception rule that allows to run any version of the binary as long as it is signed by trusted publisher.
Issue #1151, I believe, is exactly how blocked execution of
esbuild.exe
looks like today. I am getting the same error on my corporate machine, where I know that execution is blocked.For some more context, similar issue in Cypress that was addressed some time ago: cypress-io/cypress#2543
The text was updated successfully, but these errors were encountered: