Skip to content

Mask sensitive data (serials, IPs) in daemon log output — show only last few characters #11

Description

@ba6ul

Right now the daemon logs full USB serials and IP addresses in plain text ([+] Pixel 8a (4C231FDJ9A7K18) connected via USB, 192.168.1.137:5555, etc.). Consider masking these — e.g. ***7K18, ..1.137 — showing just enough to distinguish devices in a session without printing the full identifier, especially since logs get pasted into bug reports/issues.

Touches every log line across bin/daemon.dart, handoff.dart, and wireless.dart that prints a serial or IP — mechanical but not small. Low priority / later fix, no design decided yet (how much to mask, whether IPC event payloads should mask too or just terminal output).

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingenhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions