Skip to content

Conversation

@kevcube
Copy link

@kevcube kevcube commented Aug 8, 2025

Stores sensitive information in keychain. Tested on macOS only.

updated to use new bun.secrets API

replaces get() set() all() delete() functions in auth to use keychain instead of file.

pros:

  • increases security

cons:

  • removes text-editability of API keys
  • breaking change to UX, requiring either automatic migrations of secrets into keychain, or users must re-auth to everything.

@kevcube
Copy link
Author

kevcube commented Aug 8, 2025

this was oneshotted with opencode and gpt-5. if any changes are desired lmk

@kevcube
Copy link
Author

kevcube commented Sep 6, 2025

@thdxr looking for review here. I have a patch ready to perform automatic migration-into-keychain every time a user accesses a secret.

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.

2 participants