hashicorp / hashicorp/hc-install

Allow specifying custom checksum verification logic

Open
#72 2 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Go
Stars
62
Forks
27
Avg merge
2d 5h
Merged PRs (30d)
4

Description

I am using hc-install and terraform-exec and am pleased to see that terraform binary hashes are signed and the signature is checked when downloading terraform binaries.
For supply chain security, I would like to be able to pin expected hashes for terraform binaries (similar to [terraform providers lock](https://developer.hashicorp.com/terraform/cli/commands/providers/lock) and the [dependency lock file](https://developer.hashicorp.com/terraform/language/files/dependency-lock)).

Contributor guide

Open the contributing guide

Research direction

Start by reading hc-install's existing Terraform binary download, signature, and checksum verification flow. Define how callers would provide expected hashes and verify that downloads are rejected when they do not match the configured values; add coverage for the custom verification behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
security
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.