opentofu / registry

The all-new opentofu.org registry!
https://search.opentofu.org
Apache License 2.0
320 stars 36 forks source link

Issues with ciscodevnet/intersight provider key #1160

Open oborys opened 2 hours ago

oborys commented 2 hours ago

Thank you for reporting an issue.

Issues with provider, related provider key was added https://github.com/opentofu/registry/issues/1149 the same public key in the terraform registry and "Terraform has been successfully initialized!"

Error

tofu init

Initializing the backend...

Initializing provider plugins...
- Finding ciscodevnet/intersight versions matching "1.0.57"...
- Installing ciscodevnet/intersight v1.0.57...
╷
│ Error: Failed to install provider
│ 
│ Error while installing ciscodevnet/intersight v1.0.57: the provider is not signed with a valid signing key; please contact the provider author (authentication signature from
│ unknown issuer)

OpenTofu Version

OpenTofu v1.8.2
on darwin_arm64

OpenTofu Configuration Files

terraform {
  required_providers {
    intersight = {
      source = "CiscoDevNet/intersight"
      version = "1.0.57"
    }
  }
}

provider "intersight" {
  # Configuration options
}
cam72cam commented 2 hours ago

@oborys are you sure you submitted the correct key?

If you run TF_LOG=debug ./terraform init, it shows that terraform is using the key present in https://registry.terraform.io/v1/providers/ciscodevnet/intersight/1.0.57/download/linux/amd64.

If I do the same with OpenTofu, I get https://registry.opentofu.org/v1/providers/ciscodevnet/intersight/1.0.57/download/linux/amd64

The OpenTofu payload contains the jn17WFRT key string you submitted, terraform does not.