Skip to content

Add support to store passwords and tokens in the OS Keyring#5

Draft
notthatjesus wants to merge 10 commits intossp-data:mainfrom
notthatjesus:feature/keyring
Draft

Add support to store passwords and tokens in the OS Keyring#5
notthatjesus wants to merge 10 commits intossp-data:mainfrom
notthatjesus:feature/keyring

Conversation

@notthatjesus
Copy link
Copy Markdown
Contributor

Overview

This PR adds support to use OS default keyring instead of storing the passwords and tokens in files. The implementation is done with backwards compatibility as well as adding a migration path to move current passwords to the keyring.

Changes

  • Adds a new package to manage the keyring to add/modify/delete entries
  • Refactoring of both Oauth2 package and the model to support using the keyring
  • Adds a new UI prompt to add/update passwords
  • Adds commands to set and migrate passwords/tokens
  • Updated configuration to use the keyring by default, fallback to file storage
  • Updated documentation
  • Added go-keyring as direct dependency

@notthatjesus
Copy link
Copy Markdown
Contributor Author

This PR includes as well the update to the benchmark adding support for oauth accounts (#4) because I branched from that one.

@notthatjesus notthatjesus marked this pull request as draft April 7, 2026 08:02
@notthatjesus
Copy link
Copy Markdown
Contributor Author

Moving it back to draft to simplify the changes

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

Successfully merging this pull request may close these issues.

1 participant