-
-
Notifications
You must be signed in to change notification settings - Fork 89
Added warning about credentials in debug info #1457
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Signed-off-by: Arnau Mora <arnyminerz@proton.me>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR adds a warning message to the debug information screen, alerting users that log messages may contain credentials.
- Adds new string resources for a credentials warning.
- Introduces a new CardWithImage in the DebugInfoScreen to display the warning, using a password icon.
Reviewed Changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.
File | Description |
---|---|
app/src/main/res/values/strings.xml | Added new string resources for the credentials warning message. |
app/src/main/kotlin/at/bitfire/davdroid/ui/DebugInfoScreen.kt | Inserts a new CardWithImage to show the credentials warning within the debug info screen. |
Signed-off-by: Arnau Mora <arnyminerz@proton.me>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me. Not entirely sure if we should change the icon ... but I think it's fine like this.
Signed-off-by: Arnau Mora <arnyminerz@proton.me>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The privacy tip icon is probably what should be used here 👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have replaced the "alert" by "notice" to make it less negative/alarming
Purpose
Logs may contain confidential information like passwords or Base64 encoded credentials, people may not know it.
Short description
Added a warning message in the debug information screen to let the user know that log messages can contain credentials, and that they should be really careful while sharing.
Screenshot
Checklist