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

Failed to verify signature #2209

Open
1 of 3 tasks
nikhithabyreddy opened this issue Jan 15, 2025 · 2 comments
Open
1 of 3 tasks

Failed to verify signature #2209

nikhithabyreddy opened this issue Jan 15, 2025 · 2 comments
Labels

Comments

@nikhithabyreddy
Copy link

Summary

We have a in house plugin created to check for tags in resources so that is being installed as part of tflint init while performing the tflint --init we are getting the below error
14:28:05 signature.go:135: [DEBUG] Failed to verify signature: failed to verify log inclusion: not enough verified log entries from transparency log: 0 < 1
Failed to install a plugin; Failed to check checksums.txt signature: failed to verify log inclusion: not enough verified log entries from transparency log: 0 < 1

Command

tflint --init

Terraform Configuration

terraform {
  required_version = "1.9.3"

TFLint Configuration

plugin "xxxx" {
  enabled = true
  version = "0.1.0"
  source  = "github.com/xxxx/tflint-ruleset-xxxx"
}

Output

14:28:05 signature.go:135: [DEBUG] Failed to verify signature: failed to verify log inclusion: not enough verified log entries from transparency log: 0 < 1
Failed to install a plugin; Failed to check checksums.txt signature: failed to verify log inclusion: not enough verified log entries from transparency log: 0 < 1

TFLint Version

0.55.0

Terraform Version

1.9.3

Operating System

  • Linux
  • macOS
  • Windows
@wata727
Copy link
Member

wata727 commented Jan 15, 2025

Thank you for reporting this. This is due to plugin keyless verification introduced in v0.55.
From the error, it looks like the transparency logs aren't included in the artifact attestation, but I'm not sure what cases that would happen.

Can you share the artifact attestation of the plugin you have installed?
You can see them in https://github.com/xxxx/tflint-ruleset-xxxx/attestations

@nikhithabyreddy
Copy link
Author

@wata727 Here is the artifact attestation
attestation-sigstore (2).json

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

2 participants