Skip to content

Agent sign-in: per-machine config file (on/off and all sites only) - #45

Merged
MehdiMamas merged 4 commits into
mainfrom
config-file
Nov 16, 2026
Merged

MehdiMamas merged 4 commits into
mainfrom
config-file

Conversation

@MehdiMamas

Copy link
Copy Markdown
Owner

Refs #41

A per-machine config.json in the helper's app folder turns on Agent sign-in and 'Allow all sites' without clicking in Options. It holds only two booleans (agentSignIn, allowAll), never a site list, so it cannot bypass the sender-site check.

  • Helper: read_config() and a getConfig reply; tests in native/test-host.py.
  • Extension: applyFileConfig (pure, tested); config is accepted only from the native port; one startup probe (5 s, no retries) when the agent is off; Options off switch wins (agentOffByUser); Options shows 'Set by this computer's Keytray config file.'
  • Installers: --enable / --allow-all (-Enable / -AllowAll); no flag never touches the file; uninstall keeps it.
  • Docs: README and docs/agent-protocol.md (any program running as the same user can write the file).

@MehdiMamas
MehdiMamas merged commit dd56ff0 into main Nov 16, 2026
3 checks passed
@MehdiMamas
MehdiMamas deleted the config-file branch November 16, 2026 08:48
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