You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Improve credential lifecycle and log hygiene (#1054)
Keep credentials out of the extension logs, make logout trustworthy, and
disclose what a support bundle collects before creating one.
- Stop logging shell command lines and output; header command parse
errors reference the offending line by number only.
- Redact sensitive HTTP headers case-insensitively (authorization,
cookies, API keys, and any header produced by `coder.headerCommand`)
and OAuth credential fields in request and response bodies, including
serialized ones on error paths. Bound the size of log lines.
- Revoke OAuth tokens at the server during logout, before local state is
cleared.
- Warn with retry guidance when some stored credentials cannot be
removed during logout, instead of showing a success message.
- Delete legacy file-based credentials after migrating them to secret
storage, instead of leaving plaintext copies behind.
- Show a confirmation dialog disclosing what a support bundle collects
before gathering anything.
0 commit comments