-
Notifications
You must be signed in to change notification settings - Fork 56
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
error checking │ signature: openpgp: key expired #150
Comments
Hi @marcispauls. Thanks for reporting this. This appears to only be an issue with the latest version of the terraform CLI (1.6.0). Can you confirm that the provider works with older versions of the toolchain? |
Yes, same issue for us, works with 1.5.x, does not work with 1.6.0.
|
yes, checked with 1.5.x works, but its huge challange to downgrade from latest 1.6 |
Same error here
|
same error in terraform version 1.5.X using Atlantis. |
@sharondescalo, It actually failed with I used 1.5.x too. But I fixed mine by downgrading to 1.4.4 that is what fixed it. If you are using the Github Action. You can specify the version like this
|
That is interesting @sharondescalo. We're not able to reproduce this issue on the 1.5.x branch of the CLI - not using GitHub Actions. $ ./terraform -version
Terraform v1.5.7
on linux_amd64
+ provider registry.terraform.io/statuscakedev/statuscake v2.2.0
Your version of Terraform is out of date! The latest version
is 1.6.0. You can update by downloading from https://www.terraform.io/downloads.html
$ ./terraform init
Initializing the backend...
Initializing provider plugins...
- Finding statuscakedev/statuscake versions matching "~> 2.2.0"...
- Installing statuscakedev/statuscake v2.2.0...
- Installed statuscakedev/statuscake v2.2.0 (signed by a HashiCorp partner, key ID 4E916C2959C4EAA9)
Partner and community providers are signed by their developers.
If you'd like to know more about provider signing, you can read about it here:
https://www.terraform.io/docs/cli/plugins/signing.html
Terraform has created a lock file .terraform.lock.hcl to record the provider
selections it made above. Include this file in your version control repository
so that Terraform can guarantee to make the same selections by default when
you run "terraform init" in the future.
Terraform has been successfully initialized!
You may now begin working with Terraform. Try running "terraform plan" to see
any changes that are required for your infrastructure. All Terraform commands
should now work.
If you ever set or change modules or backend configuration for Terraform,
rerun this command to reinitialize your working directory. If you forget, other
commands will detect it and remind you to do so if necessary. whereas using the latest version 1.6 we can reproduce the error $ ./terraform -version
Terraform v1.6.0
on linux_amd64
+ provider registry.terraform.io/statuscakedev/statuscake v2.2.0
$ ./terraform init
Initializing the backend...
Initializing provider plugins...
- Finding statuscakedev/statuscake versions matching "~> 2.2.0"...
- Installing statuscakedev/statuscake v2.2.0...
╷
│ Error: Failed to install provider
│
│ Error while installing statuscakedev/statuscake v2.2.0: error checking signature: openpgp: key expired
╵ We've filed an issue with HasiCorp. Hopefully they have some more insight. As far as we are to believe the provider should not have broke between Terraform versions. |
That looks to be a different issue. There is no version |
@tomasbasham Sorry, it was typo. I used |
issue fixed with terraform$ATLANTIS_TERRAFORM_VERSION init |
Just to be clear for newcomers, the issue is not fixed:
|
Version 2.2.1 of the provider has been released using a different signing key. From what I can tell Terraform 1.6 is working with this new version, as is the latest version in the 1.5.x branch. |
Thanks for the link btw @Zeneixe. It was really helpful |
Fix confirmed for us, thanks! |
Describe the bug
When i try to use provider i got:
Additional context
The text was updated successfully, but these errors were encountered: