Add Claude access setup, onedir build and native packages
- scripts/setup_claude_access.py: narrow envbao-claude policy/token and an exec_only claude.toml; optional merge of Claude Code settings - [security] exec_only refuses plain export mode and --no-redact - PyInstaller onedir build (~0.06s start-up vs ~1.4s onefile) - macOS .pkg, Debian/Ubuntu/Raspberry Pi OS .deb (pure-Python builder), tarball + scripts/install.sh; release pipeline updated - docs: claude-access, install matrix, releasing, usage, security Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
08bacbc5a8
commit
952fa2ce63
22 files changed
+1110
-44
No files matched your search
+7
-1
@@ -31,12 +31,18 @@ variables are exported (any child process inherits them).
|
||||
syslog for WARNING and above. Events: permission violations, auth failures, per-query outcome,
|
||||
overrides, refused variables, count of exported variables.
|
||||
|
||||
8. **`exec` mode** - `envbao exec` injects only the requested groups into one child process and masks
|
||||
their values (raw, JSON, URL-encoded) in its output; with `[security] exec_only = true` plain
|
||||
export mode and `--no-redact` are refused. Masking is defence in depth, not a sandbox (see
|
||||
[claude-access.md](claude-access.md)).
|
||||
|
||||
## Recommendations
|
||||
|
||||
- Use a token with a narrow read-only policy and a TTL; renew it periodically.
|
||||
- Prefer `token_file` if you want to rotate the token without editing the config.
|
||||
- Keep `~/.envbao` out of backups/sync tools that change permissions.
|
||||
- Verify release binaries against `SHA256SUMS`.
|
||||
- Verify release packages against `SHA256SUMS`.
|
||||
- Do not keep a root/admin `BAO_TOKEN` exported in your shell profile.
|
||||
|
||||
## Reporting a vulnerability
|
||||
|
||||
|
||||
Reference in new issue
Block a user