Skip to content

feat(settings): add edgee settings profile for the e2ee debug-log passphrase#155

Open
KokaKiwi wants to merge 2 commits into
mainfrom
feat/debug-logs-e2ee
Open

feat(settings): add edgee settings profile for the e2ee debug-log passphrase#155
KokaKiwi wants to merge 2 commits into
mainfrom
feat/debug-logs-e2ee

Conversation

@KokaKiwi

Copy link
Copy Markdown
Member

Checklist

  • I have read the Contributor Guide
  • I have read and agree to the Code of Conduct
  • I have added a description of my changes and why I'd like them included in the section below

Description of Changes

Adds an edgee settings profile command so the E2EE debug-log passphrase can be set from the CLI itself, rather than only via an env var or by hand-editing credentials.toml.

  • Before: the passphrase could only be configured through EDGEE_DEBUG_LOG_E2EE_PASSPHRASE or a manual edit to the debug_log_e2ee_passphrase field in credentials.toml
  • After: edgee settings profile → "Debug-log encryption passphrase" shows whether one is configured (and whether the env var is currently shadowing it), then lets you set (double-entry, validated via DebugLogKeypair::derive before persisting so a bad passphrase never gets written) or clear it
  • Structure: settings.rs is split into a directory module — settings/agent.rs now holds the existing per-agent compression/routing wizard unchanged, settings/profile.rs holds the new profile-wide flow, settings/mod.rs is a thin dispatcher between them

    Note: replacing an existing passphrase is confirmation-gated — previously uploaded debug logs stay encrypted to the old key and become unreadable once it's replaced

Related Issues

Related to EDGEE-1547

@KokaKiwi
KokaKiwi requested a review from a team as a code owner July 24, 2026 12:56
Comment thread crates/cli/src/commands/settings/mod.rs Outdated
pub mod profile;

/// Coding agents whose keys can be configured. Order is reused for the interactive picker.
const PROVIDERS: &[&str] = &["claude", "codebuddy", "codex", "opencode", "crush"];

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

missing cursor (no fallback/reroute), copilot in vscode

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The agents weren't there before, so didn't change that
But I will add them anyway

@CLEMENTINATOR CLEMENTINATOR left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

missing 2 agents but otherwise good

@KokaKiwi
KokaKiwi requested a review from CLEMENTINATOR July 24, 2026 14:31
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.

2 participants