Skip to content

Change encrypted provider to require an OS keyring #616

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

Open
dmjb opened this issue Jun 3, 2025 · 0 comments
Open

Change encrypted provider to require an OS keyring #616

dmjb opened this issue Jun 3, 2025 · 0 comments

Comments

@dmjb
Copy link
Member

dmjb commented Jun 3, 2025

The encrypted provider attempts to insert its decryption password into the os keyring using the zalando/go-keyring library. If no keyring is available, the CLI will prompt the user to enter the decryption password each time the tool is used. This was a helpful behaviour for the CLI, but we cannot prompt a user to enter a password for the API/UI workflow.

There are a number of potential ways to approach this, but the most simple one is to make the OS keyring a hard requirement for the encrypted provider. This should be enforced at the secret provider setup time (see previous ticket) - check to see if a keyring is available, and if not, then we should error out and display a message telling the user that the keyring is not available.

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

1 participant