← Back to issue list

Allow disabling file-based keyring fallback

View original Github issue

Metadata

Project
snapcraft
Number
#4991
Type
issue
State
open
Author
mr-cal
Labels
Status: Triaged Type: Enhancement
Created
2024-08-20 15:08:44+00:00
Updated
2026-01-28 18:38:49+00:00
Closed

Current evaluation

No evaluation has been recorded for this issue yet.

Issue body

### 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`](https://snapcraft.io/install/ubuntu-image/ubuntu) 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.

Evaluation history

No evaluation history available.