No log keeps a password or a secret: the log file, the run log, or the remote history
Passwords, channel secrets, pairing PINs, and private keys reached the DEBUG log and the runs table in plain text: every chat run stored its channel secret inside the Conversation repr, and --password, --secret, channel links, and config set device_pin were stored as typed. meshterm.core.secrets now hides each one as <secret> by its shape (a secret-named key, record, set operation, or dataclass field; bytes; a Secret; a remote `password`/`set guest.password` command; name=value in text), and by value for each secret MeshTerm has read or sent. Both log handlers and the runs table go through it, always. The remote CLI history keeps `password ` without its value. Schema v20 hides the secrets that older versions stored. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
1 parent
9e579424b4
commit
1d983013d7
13 files changed
+896
-60
No files matched your search
@@ -281,6 +281,8 @@ and in quoted text.
|
||||
| save | Do an explicit save: the user's Save, or the device's save command | |
|
||||
| record | One stored data item | |
|
||||
| delete | Remove stored data permanently | purge (except the Purge feature) |
|
||||
| secret | A value that unlocks something: a password, a channel secret, a pairing PIN, a private key. No log keeps one: it is hidden as `<secret>` | credential (except in a name) |
|
||||
| hide (a secret) | Replace a secret with `<secret>` in a log or in the run log | redact, scrub |
|
||||
| personal detail | A value that identifies the user or the equipment of the user, but is not a secret: the account name in a home folder, the address of a radio, the address of a host | PII, private data |
|
||||
| mask | Replace most characters of a personal detail, and keep its first and last characters: `j*********u`, `DA:xx:xx:xx:7C:7C` | redact, scrub, obfuscate |
|
||||
| anonymize | Mask each personal detail in a text: the `anonymize` preference does it to the log and the diagnostics | |
|
||||
|
||||
Reference in new issue
Block a user