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 · 5 comments
Open

Issues with ciscodevnet/intersight provider key #1160

oborys opened this issue Oct 16, 2024 · 5 comments
Assignees
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.

@cam72cam
Copy link
Member

@oborys any updates on this?

@oborys
Copy link
Author

oborys commented Oct 21, 2024

@cam72cam private key and passphrase were updated. Do we need to trigger a new release to update Publick key verification results?

@cam72cam
Copy link
Member

We will need both the original key and updated key in the registry as they will need to work for all previous releases.

@abstractionfactory abstractionfactory self-assigned this Oct 23, 2024
@abstractionfactory
Copy link
Contributor

Hey @oborys to short-circuit this, I'm happy to jump on a call with you and get this sorted out. Ping me on the OpenTofu Slack if that's an option for you.

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

3 participants