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

[BUG] apt: Repos keys must be readable by non-root user #467

Open
1 task
cpuguy83 opened this issue Dec 9, 2024 · 0 comments
Open
1 task

[BUG] apt: Repos keys must be readable by non-root user #467

cpuguy83 opened this issue Dec 9, 2024 · 0 comments
Assignees

Comments

@cpuguy83
Copy link
Member

cpuguy83 commented Dec 9, 2024

Expected Behavior

Specifying a repo key should not require explicitly setting permissions on the key file(s).

Actual Behavior

Keys must have the correct permissions already set (or defined in the source type).

Steps To Reproduce

extra_repos:
  - keys:
      msft.asc:
        http:
          url: https://packages.microsoft.com/keys/microsoft.asc

Building a spec with the above extra_repos on any apt-based distro will error with an unrelated error due to apt not being able to read the key.

Are you willing to submit PRs to contribute to this bug fix?

  • Yes, I am willing to implement it.
@cpuguy83 cpuguy83 added the bug Something isn't working label Dec 9, 2024
@adamperlin adamperlin self-assigned this Dec 10, 2024
@cpuguy83 cpuguy83 removed the bug Something isn't working label Dec 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants