Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion DevProxy.Abstractions/Proxy/IRootCertificateTrust.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ namespace DevProxy.Abstractions.Proxy;
/// This is the engine-host boundary for certificate trust: a proxy engine (e.g. the
/// Kestrel engine) owns minting/persisting its root but cannot reference the host's
/// platform trust helpers, so it calls this abstraction. The host supplies the
/// implementation (mac keychain, Windows root store, first-run prompt). Implementations
/// implementation (mac keychain, Windows root store, Linux system store, first-run prompt). Implementations
/// are expected to be idempotent and to honor the user's trust/first-run configuration.
/// </para>
/// </summary>
Expand Down
6 changes: 4 additions & 2 deletions DevProxy.Abstractions/Proxy/RootTrustPolicy.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,17 @@ public enum RootTrustAction
/// <summary>Install the root into the Windows CurrentUser root store.</summary>
TrustWindowsStore,

/// <summary>Trust can't be automated on Linux; tell the user to trust manually.</summary>
/// <summary>
/// Linux trust needs sudo, so it's opt-in via <c>cert ensure</c>; tell the user to run it.
/// </summary>
ManualLinux,
}

/// <summary>
/// Pure decision table for OS-trust installation, factored out of the platform I/O so it
/// can be exhaustively unit-tested. Mirrors today's behavior: Windows installs into the
/// user root store whenever cert install is enabled; macOS trusts via the keychain only on
/// first run (and only if the user doesn't decline); Linux is manual.
/// first run (and only if the user doesn't decline); Linux is opt-in via <c>cert ensure</c>.
///
/// <code>
/// installCert == false ─────────────────────► Skip
Expand Down
Loading
Loading