-
-
Notifications
You must be signed in to change notification settings - Fork 521
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
Customise text prompt for secrets #943
Comments
I would like to take a stab at this one if possible. I am thinking.... I would add a Looks like I would need to touch these locations in code. |
Consider whether it's The alternative is to allow the NUL char - |
I would say |
Began working on this. Question. The following occurs on line 129 and 210 of TextPrompt.cs
Actually, why not just make a private method that will "Mask" any string passed to it with the Mask character defined... Not sure if that's the proper way to resolve? Then I came to wonder if the string should actually be as long as the default value. So if default value is 5 characters, then the mask of the default value should be 5 characters. Let me know your thoughts! |
You can start reviewing what I put together if you like. |
This has been merged in :) @patriksvensson do we close this? |
Yes, we should 😁 |
Closed via #970 |
Thanks guys 👍 |
Is your feature request related to a problem? Please describe.
The text prompt for secrets echoes asterisks (***) to the console.
This is acceptable. But it feels weird on unixy systems, where the traditional secret prompt (
sudo
) echoes nothing.Describe the solution you'd like
It would be nice to be able to customise the masking character. I would set it to
null
, so nothing is echoed to the console.Describe alternatives you've considered
/
Additional context
/
The text was updated successfully, but these errors were encountered: