github nesquena/hermes-webui v0.50.159
v0.50.159 — provider key management from Settings

latest releases: v0.50.164, v0.50.163, v0.50.162...
14 hours ago

Added

  • Provider key management in Settings — new "Providers" tab lets users add, update, or remove API keys for direct-API providers (Anthropic, OpenAI, Google, DeepSeek, xAI, Mistral, MiniMax, Z.AI, Kimi, Ollama, Ollama Cloud, OpenCode Zen/Go) without editing .env files manually. OAuth providers (Copilot, Nous, OpenAI Codex) are shown as read-only. Keys are stored in ~/.hermes/.env and take effect immediately. Panel is fully localised across all 6 locales. (PR #867 by @bergeouss, closes #586)

Security

  • Provider write endpoints require authentication or a local/private-network client — same gate as the onboarding setup endpoint
  • New .env files are created at 0600 from the first byte via os.open; pre-existing files are tightened to 0600 on every write
  • _ENV_LOCK now covers the full load → modify → write cycle, preventing a TOCTOU race between concurrent POST requests

Six review-round fixes total applied before merge (B1 auth gate, B2 false-positive key detection, R1 file mode, R2 lock scope, XSS esc(), i18n coverage).

What's Changed

Full Changelog: v0.50.158...v0.50.159

Don't miss a new hermes-webui release

NewReleases is sending notifications on new releases.