Documentation
¶
Overview ¶
Package redact hides personal data in command output, on the machine, before any of it is sent.
The reason it exists: a fix reports the real output of the real commands it ran, and those commands print a customer's SSH configuration and everything their server believes. That output carries account names, public keys and addresses. Sending it raw would mean the honesty of the report is paid for with somebody's data.
Masking happens here rather than in the cloud, so the data never leaves the machine at all. There is nothing to delete afterwards and nothing to leak: we were never sent it.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Name ¶
Name hides one account name, keeping its length.
The length stays because a report is read by somebody who knows their own server: seeing that two different accounts appear, and that one is longer, is the difference between a readable report and a wall of stars. A name is not a secret in the way a key is; it is personal data, and covering it is enough.
Types ¶
This section is empty.