Skip to content
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

Properly sign the Windows executable #36401

Open
Tbohunek opened this issue Jan 27, 2025 · 1 comment
Open

Properly sign the Windows executable #36401

Tbohunek opened this issue Jan 27, 2025 · 1 comment
Labels
bug new new issue not yet triaged upstream

Comments

@Tbohunek
Copy link

Terraform Version

Terraform v1.10.4
on windows_amd64

Terraform Configuration Files

n/a

Debug Output

n/a

Expected Behavior

Terraform runs

Actual Behavior

Program terraform.exe failed to run: This program is blocked by group policy.

Steps to Reproduce

terraform -version

Additional Context

Our company recently switched to AppLocker, and the IT team say Terraform executable isn't signed properly.
They showed me the AppLocker rule for the Publisher string, everything looks good, but doesn't work.
They tell me it's because the other details in the file are empty:

Image

For now the only thing that works is file hashes, which only work till next version. :)

References

Same problem with azurerm and azuread providers
hashicorp/terraform-provider-azurerm#26369

Generative AI / LLM assisted development?

No response

@Tbohunek Tbohunek added bug new new issue not yet triaged labels Jan 27, 2025
@crw
Copy link
Contributor

crw commented Jan 28, 2025

Hi @Tbohunek, the artifact builds are handled by a build system within HashiCorp, which the core team does not have direct access to influence. I did a little digging and I think I found the correct tool to file this bug. I created an upstream issue which will only be visible to employees of HashiCorp: https://github.com/hashicorp/signore/issues/250. Thanks!

@crw crw added the upstream label Jan 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug new new issue not yet triaged upstream
Projects
None yet
Development

No branches or pull requests

2 participants