Skip to content

Bump hc-install to v0.9.4 to fix expired PGP key#11703

Merged
lakshmimsft merged 3 commits intomainfrom
fix/hc-install-key-expiry
Apr 20, 2026
Merged

Bump hc-install to v0.9.4 to fix expired PGP key#11703
lakshmimsft merged 3 commits intomainfrom
fix/hc-install-key-expiry

Conversation

@lakshmimsft
Copy link
Copy Markdown
Contributor

@lakshmimsft lakshmimsft commented Apr 20, 2026

The HashiCorp PGP signing key embedded in hc-install v0.9.3 expired on 2026-04-18, causing Terraform binary downloads to fail with:
failed to install Terraform to global location: unable to verify checksums signature: openpgp: key expired

This breaks Terraform recipe functional tests which downloads Terraform at runtime.

Upstream issue: hashicorp/hc-install#370

Description

Bumps github.com/hashicorp/hc-install from v0.9.3 to v0.9.4 to fix Terraform installation failures caused by an expired PGP signing key.

Other dependencies updated in this PR are transitive dependencies of hc-install

  • github.com/ProtonMail/go-crypto v1.3.0 → v1.4.1 (crypto library used by hc-install for PGP verification — directly relevant to the fix)
  • github.com/go-git/go-git/v5 v5.17.2 → v5.18.0 (git library used by hc-install)
  • github.com/hashicorp/go-version v1.8.0 → v1.9.0 (version parsing)
  • golang.org/x/mod v0.34.0 → v0.35.0 (Go module support)

Additionally skipped a unrelated flaky test so CI tests pass cleanly. This will be addressed with #11708

Type of change

  • This pull request is a minor refactor, code cleanup, test improvement, or other maintenance task and doesn't change the functionality of Radius (issue link optional).

Fixes: #11705

Contributor checklist

Please verify that the PR meets the following requirements, where applicable:

  • An overview of proposed schema changes is included in a linked GitHub issue.
    • Yes
    • Not applicable
  • A design document PR is created in the design-notes repository, if new APIs are being introduced.
    • Yes
    • Not applicable
  • The design document has been reviewed and approved by Radius maintainers/approvers.
    • Yes
    • Not applicable
  • A PR for the samples repository is created, if existing samples are affected by the changes in this PR.
    • Yes
    • Not applicable
  • A PR for the documentation repository is created, if the changes in this PR affect the documentation or any user facing updates are made.
    • Yes
    • Not applicable
  • A PR for the recipes repository is created, if existing recipes are affected by the changes in this PR.
    • Yes
    • Not applicable

The HashiCorp PGP signing key embedded in hc-install v0.9.3 expired on
2026-04-18, causing Terraform binary downloads to fail with:
'openpgp: key expired'

See: hashicorp/hc-install#370

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Signed-off-by: lakshmimsft <ljavadekar@microsoft.com>
@github-actions
Copy link
Copy Markdown

github-actions bot commented Apr 20, 2026

Unit Tests

    2 files  ±0    415 suites  ±0   6m 38s ⏱️ -9s
4 872 tests ±0  4 870 ✅ ±0  2 💤 ±0  0 ❌ ±0 
5 774 runs  ±0  5 772 ✅ ±0  2 💤 ±0  0 ❌ ±0 

Results for commit 506b456. ± Comparison against base commit b42059a.

♻️ This comment has been updated with latest results.

@codecov
Copy link
Copy Markdown

codecov bot commented Apr 20, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 51.39%. Comparing base (b42059a) to head (506b456).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #11703      +/-   ##
==========================================
+ Coverage   51.38%   51.39%   +0.01%     
==========================================
  Files         699      699              
  Lines       44111    44111              
==========================================
+ Hits        22665    22671       +6     
+ Misses      19278    19275       -3     
+ Partials     2168     2165       -3     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Signed-off-by: lakshmimsft <ljavadekar@microsoft.com>
Signed-off-by: lakshmimsft <ljavadekar@microsoft.com>
@radius-functional-tests
Copy link
Copy Markdown

radius-functional-tests bot commented Apr 20, 2026

Radius functional test overview

🔍 Go to test action run

Click here to see the test run details
Name Value
Repository radius-project/radius
Commit ref 506b456
Unique ID funcab7d27a835
Image tag pr-funcab7d27a835
  • gotestsum 1.13.0
  • KinD: v0.29.0
  • Dapr: 1.14.4
  • Azure KeyVault CSI driver: 1.4.2
  • Azure Workload identity webhook: 1.3.0
  • Bicep recipe location ghcr.io/radius-project/dev/test/testrecipes/test-bicep-recipes/<name>:pr-funcab7d27a835
  • Terraform recipe location http://tf-module-server.radius-test-tf-module-server.svc.cluster.local/<name>.zip (in cluster)
  • applications-rp test image location: ghcr.io/radius-project/dev/applications-rp:pr-funcab7d27a835
  • dynamic-rp test image location: ghcr.io/radius-project/dev/dynamic-rp:pr-funcab7d27a835
  • controller test image location: ghcr.io/radius-project/dev/controller:pr-funcab7d27a835
  • ucp test image location: ghcr.io/radius-project/dev/ucpd:pr-funcab7d27a835
  • deployment-engine test image location: ghcr.io/radius-project/deployment-engine:latest

Test Status

⌛ Building Radius and pushing container images for functional tests...
✅ Container images build succeeded
⌛ Publishing Bicep Recipes for functional tests...
✅ Recipe publishing succeeded
⌛ Starting corerp-cloud functional tests...
⌛ Starting ucp-cloud functional tests...
✅ ucp-cloud functional tests succeeded
✅ corerp-cloud functional tests succeeded

@lakshmimsft lakshmimsft marked this pull request as ready for review April 20, 2026 21:47
@lakshmimsft lakshmimsft requested a review from a team as a code owner April 20, 2026 21:47
Copilot AI review requested due to automatic review settings April 20, 2026 21:47
@lakshmimsft lakshmimsft requested review from a team as code owners April 20, 2026 21:47
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates Terraform installation dependencies to avoid failures caused by an expired HashiCorp PGP key in hc-install, and temporarily disables a flaky Azure functional test to keep CI green.

Changes:

  • Bump github.com/hashicorp/hc-install from v0.9.3 to v0.9.4 (and regenerate go.sum) to fix Terraform download/signature verification failures.
  • Temporarily skip Test_ACI due to transient Azure ManagedServiceIdentityNotFound failures.
  • Update additional Go module versions pulled in by the module update/tidy process.

Reviewed changes

Copilot reviewed 2 out of 3 changed files in this pull request and generated 3 comments.

File Description
test/functional-portable/corerp/cloud/resources/aci_test.go Skips the flaky ACI functional test.
go.mod Bumps hc-install (and also updates other module versions).
go.sum Regenerated checksums for updated module versions.

Comment thread test/functional-portable/corerp/cloud/resources/aci_test.go
Comment thread go.mod
Comment thread go.mod
Copy link
Copy Markdown
Contributor

@willdavsmith willdavsmith left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same questions as copilot, otherwise approved. thanks for fixing

@lakshmimsft lakshmimsft merged commit 7b65978 into main Apr 20, 2026
72 checks passed
@lakshmimsft lakshmimsft deleted the fix/hc-install-key-expiry branch April 20, 2026 22:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Tests using Terraform recipes fails: HashiCorp PGP signing key expired in hc-install v0.9.3

4 participants