Skip to content
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

Allow treating config fields as sensitive #1676

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Aareksio
Copy link
Member

Description

Add sensitive prop to field schema definition. Setting this prop to true should make inputs of type String mask the value to prevent leaking (eg. via screenshots or screenshare). The value is unmasked when user focuses the input to allow for easy editing / copying.

Resolves #1674, hopefully

Screenshots

N/A, didn't test

Additional information

Did not test the change, please test it before merging. Especially the masking / unmasking part. I believe browsers emit focus and blur in all scenarios.

Checklist

  • My pull request is not a duplicate
  • I added a descriptive title to this pull request
  • I added a concise description or a self-explanatory screenshot to this pull request
  • My code follows the code style of this project
  • I have performed a self-review of my own code

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.

Hide the LicenseID
1 participant