Clipboard support in reveal only implements pbcopy (macOS) and xclip/xsel (Linux). Windows users get an error.
Location
phantom-cli/src/commands/reveal.rs:81-116
Fix
Two options:
Option A (minimal): Add a #[cfg(windows)] branch shelling out to clip.exe (present on all Windows 10+ installs), piping the secret via stdin.
Option B (recommended): Replace all three platform branches with the arboard crate — pure Rust, cross-platform, also makes #8 (shell-free clipboard auto-clear) trivial.
Severity
Functional gap — compiles, feature unavailable on Windows.
Tracker: #1
Clipboard support in
revealonly implementspbcopy(macOS) andxclip/xsel(Linux). Windows users get an error.Location
phantom-cli/src/commands/reveal.rs:81-116Fix
Two options:
Option A (minimal): Add a
#[cfg(windows)]branch shelling out toclip.exe(present on all Windows 10+ installs), piping the secret via stdin.Option B (recommended): Replace all three platform branches with the
arboardcrate — pure Rust, cross-platform, also makes #8 (shell-free clipboard auto-clear) trivial.Severity
Functional gap — compiles, feature unavailable on Windows.
Tracker: #1