Repository navigation
[Feature]: Store type: password extension preferences in the Keychain
#1911
Unanswered
n0nick
asked this question in
Feature Requests, Ideas
Replies: 2 comments
|
Storing A clean way to keep the extension API ergonomic:
|
0 replies
|
i am no longer working on raycast extensions right now. i am working on tinycast native extension engine. and raycast extension will be in a separate repo to maintain in the future. i have stated that in #1888 here that raycast extension compatibility is paused for now. if this is really important you can have it in your own fork for now. later u can open pr |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Extension preferences declared
"type": "password"are saved as plain strings in~/Library/Application Support/com.tinycast.app/extension-data/<extension>.json.The GitHub extension declares
personalAccessTokenastype: password. After entering one it sits verbatim atpreferences.personalAccessToken.string._0. The directory was 0755 and the file 0644.Extensions get
fs, so any installed extension can read every other extension's secrets — a GitHub PAT withreposcope, a Slack user token. Raycast keeps the same preferences in an encrypted store, and the backup docs say extension sign-ins live in the Keychain, which reads as though password preferences do too.OAuth isn't an alternative for everyone: orgs that gate third-party OAuth app approval can't complete the flow, so a token in a password preference is the only option there.
Proposal: route
type: passwordpreferences to the Keychain, and tighten the mode onextension-data.Tinycast 0.12.11 (stable), macOS 26.2.
All reactions