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

Allow disabling file-based keyring fallback #4991

Open
mr-cal opened this issue Aug 20, 2024 · 1 comment
Open

Allow disabling file-based keyring fallback #4991

mr-cal opened this issue Aug 20, 2024 · 1 comment
Labels
enhancement New features or optimizations triaged

Comments

@mr-cal
Copy link
Collaborator

mr-cal commented Aug 20, 2024

What needs to get done

  • Add an environment variable SNAPCRAFT_DISABLE_FILE_BASED_KEYRING.
  • Document how to disable the file-based keyring backend.

Why it needs to get done

Tools like ubuntu-image depend on keys created by snapcraft. If snapcraft uses a file-based backend, then other tools will have no access to those keys in the system keyring.

The user experience is confusing, because snapcraft list-keys will show keys that aren't accessible from the system keyring.

@mr-cal mr-cal added enhancement New features or optimizations triaged labels Aug 20, 2024
Copy link

Thank you for reporting us your feedback!

The internal ticket has been created: https://warthogs.atlassian.net/browse/CRAFT-3272.

This message was autogenerated

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New features or optimizations triaged
Projects
None yet
Development

No branches or pull requests

1 participant