Skip to content

Redact some sensitive headers in logcat - #4156

Merged
AntsyLich merged 2 commits into
mihonapp:mainfrom
MajorTanya:redact-logcat
Oct 20, 2026
Merged

AntsyLich merged 2 commits into
mihonapp:mainfrom
MajorTanya:redact-logcat

Conversation

@MajorTanya

@MajorTanya MajorTanya commented Oct 20, 2026 •

Copy link
Copy Markdown
Member

Uses OkHttp's own provided method to do so, which replaces the header value with "██". For example:

2026-10-20 22:02:27.662 +0530 18473 18505 I OkHttp  : Authorization: ██

There may be others but these are the ones I was immediately aware of.

Made it an advanced setting:

image

@AntsyLich
AntsyLich enabled auto-merge (squash) October 20, 2026 17:36
@AntsyLich
AntsyLich disabled auto-merge October 20, 2026 17:37
@AntsyLich
AntsyLich merged commit 0864ce0 into mihonapp:main Oct 20, 2026
1 check passed
@MajorTanya
MajorTanya deleted the redact-logcat branch October 20, 2026 18:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants