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 load keyring #3565

Open
JRial95 opened this issue Mar 11, 2025 · 3 comments
Open

Failed to load keyring #3565

JRial95 opened this issue Mar 11, 2025 · 3 comments

Comments

@JRial95
Copy link

JRial95 commented Mar 11, 2025

Environment

Device and OS: Microsoft Windows 10 Enterprise
App version: v0.49.0
Kubernetes distro being used: -
Other: -

Steps to reproduce

  1. Create ZarfPackageConfig with a component that use a local helm chart. This local helm chart have a dependency (in my case cloudnative-pg).
  2. Run the command to list images: zarf dev find-images

Expected result

The images are correctly listed.

Actual Result

Zarf complains about the GPG keyring.

Visual Proof (screenshots, videos, text, etc)

Console logs:

λ zarf dev find-images ./ai-package
2025-03-11 11:16:30 INF using config file location=C:\Users\jrial95\Sources\ai-deployment\zarf-config.toml
2025-03-11 11:16:30 INF using build directory path=./ai-package
2025-03-11 11:16:30 INF processing local helm chart name=ai-platform version=0.1.0 path=components\ai-platform\helm-chart
2025-03-11 11:16:40 ERR unable to find images: unable to package the chart ai-platform: unable to package the "ai-platform" chart: unable to build dependencies for the chart: could not download https://github.com/cloudnative-pg/charts/releases/download/cloudnative-pg-v0.23.1/cloudnative-pg-0.23.1.tgz: failed to load keyring: open C:\Users\202837\.gnupg\pubring.gpg: The system cannot find the file specified.

Severity/Priority

Medium

Additional Context

None

@brandtkeller
Copy link
Contributor

Hey @JRial95 - appreciate the issue.

Are you able to build this package as-is with zarf package create? I am curious if there is any difference in behaviors here.

Do you happen to have an example for reproducing this? I can attempt to build one based on that output but It would be incredibly valuable if you have a sanitized example.

@github-project-automation github-project-automation bot moved this to Triage in Zarf Mar 11, 2025
@brandtkeller brandtkeller moved this from Triage to Backlog in Zarf Mar 11, 2025
@JRial95
Copy link
Author

JRial95 commented Mar 11, 2025

The zarf package create command produces the same behavior.

I have created a repository with the minimal code needed to reproduce this issue: JRial95/zarf-issue-3565.

@Ansible-man
Copy link
Contributor

Ansible-man commented Mar 12, 2025

@JRial95 Let me know if you are able to get cnpg operator and a cluster installed with zarf. We were having problems with it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Backlog
Development

No branches or pull requests

3 participants