newrelic / terraform-provider-newrelic

Terraform provider for New Relic
https://registry.terraform.io/providers/newrelic/newrelic/latest/docs
Mozilla Public License 2.0
200 stars 244 forks source link

OpenTofu registry is missing GPG keys for this provider #2687

Closed pascal-hofmann closed 3 weeks ago

pascal-hofmann commented 3 weeks ago

I noticed the public GPG key of this provider is missing in the OpenTofu module registry.

Note: For security reasons, it has to be submitted by the provider author for the OpenTofu registry to accept it.

You can follow this link to submit it: Submit new Provider Signing Key

If you don't have access to the public key anymore, it can be extracted from the terraform registry:

curl 'https://registry.terraform.io/v1/providers/newrelic/newrelic/3.38.0/download/linux/amd64' | jq --raw-output '.signing_keys | .gpg_public_keys | .[0] | .ascii_armor'

I attached the key for reference: newrelic_registry_key.pub.txt

Background

Terraform OpenTofu Version

$ tofu --version
OpenTofu v1.7.1
on darwin_amd64

Expected Behavior

Provider is downloaded and verified.

Actual Behavior

Signature validation was skipped:

- Installed newrelic/newrelic v3.38.0. Signature validation was skipped due to the registry not containing GPG keys for this provider

Steps to Reproduce

pranav-new-relic commented 3 weeks ago

Thanks for bringing this to our notice, @pascal-hofmann. I've just created https://github.com/opentofu/registry/issues/646 / https://github.com/opentofu/registry/issues/647 with OpenTofu's Registry.

pranav-new-relic commented 3 weeks ago

PR https://github.com/opentofu/registry/pull/647 merged, so this should be good to go now. Thank you so much for bringing this to our notice, @pascal-hofmann.