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

Issues with ciscodevnet/intersight provider key #1160

Open
oborys opened this issue Oct 16, 2024 · 1 comment
Open

Issues with ciscodevnet/intersight provider key #1160

oborys opened this issue Oct 16, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@oborys
Copy link

oborys commented Oct 16, 2024

Thank you for reporting an issue.

Issues with provider, related provider key was added #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
}
@oborys oborys added the bug Something isn't working label Oct 16, 2024
@cam72cam
Copy link
Member

@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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants