Skip to content

Desktop setup: the AI provider key fields don't say where the key is kept #2066

Open

Description

@Laptopmini

In Desktop setup's "Connect your AI" step for OpenBot (Self-Contained) (checked on main ed6d86d, after v1.2.0-rc.3), the API key fields don't say anything about where the key goes once you enter it. That covers the OpenAI and Anthropic "API key" fields, "API key, if the endpoint needs one" for any OpenAI-compatible endpoint, and the preset endpoints (Gemini, xAI, Unbiased AI, TrustedRouter). People know what the key is for. What they don't know is whether it stays on their computer, so pasting a paid API key into it means trusting it blind.

One place already says it: the Unbiased AI sign-in reads "OpenBot receives an API key for Pareto and keeps it on this computer." The key forms could say the same thing, e.g. a footnote under the key field:

OpenBot keeps this key on this computer.

From desktop/src-tauri/src/vault.rs that's true on every platform: the key never goes in .env or on a command line, it's an owner-only file under the installation folder on macOS and Linux, and it's encrypted to the signed-in user with DPAPI on Windows. I'd stop at "on this computer" rather than "only your account can read it", because local Intelligence setup also hands the key to the CLI, which stores it as a secret in the local cluster.

The app's own "Connect your AI" (OpenBot Cloud onboarding and Settings, #1997) doesn't say where a pasted key is kept either. There the key goes to OpenBot's server, so the sentence would be different, and you'd know better than I do what's true to say.

Separately, and only if you think it's worth it: on macOS the Keychain would be the place people expect a key to be kept, rather than a file.

I'm happy to open a PR for the Desktop footnote (ProviderPicker.tsx, a test, a CHANGELOG line) if the wording works for you.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions