phasehq / console

Application secrets and configuration management for developers.
https://phase.dev
Other
435 stars 23 forks source link

Improve secret input masking #266

Open rohan-chaturvedi opened 3 months ago

rohan-chaturvedi commented 3 months ago

Is your feature request related to a problem?

Currently, input masking is handled by the browser by leveraging the html input type="password" attribute. Which this handles masking well, it introduces a few problems

Suggested approach

Use a password font such as this one to mask inputs.

Describe alternatives you've considered

Manually replacing masked characters with * or symbols. While this masks characters, it creates several other issues such as managing the value vs displayValue of inputs, removing the ability to manually copy values, etc

Additional context

Alternative approaches are welcome

ayan-joshi commented 2 months ago

I would like to work on this issue under FOSS HACK @rohan-chaturvedi

nimish-ks commented 2 months ago

@ayan-joshi all yours!