-
Notifications
You must be signed in to change notification settings - Fork 37
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
feature request: a method to transform input strings #8
Comments
There are two parts to this. First is to transform it according to your example. Second is if you want it to be echoed as **** when typing. |
i think plaintext for passwords is fine - the idea of obscuring them is
dying
dave c
…On Thu, May 24, 2018 at 6:09 PM Olof Hagsand ***@***.***> wrote:
There are two parts to this. First is to transform it according to your
example. Second is if you want it to be echoed as **** when typing.
(1) without (2) would echo the cleartext to the terminal when you type it,
but would save it transformed. That is easier than (1)+(2), because (2)
requires catching characters on the fly and keeping track of what can be
echoed and what can not in getline.
That seems tricky.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#8 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AA99y_niBln5XQ7BEu0PzL8YsRDYqq71ks5t14PhgaJpZM4TY9xP>
.
--
Kailua, Hawaiʻi
US +1 (808) 728-3050
UK +44 (020) 3286 2808
|
thank you!
cheers,
dave c
…On Wed, May 30, 2018 at 9:49 AM Olof Hagsand ***@***.***> wrote:
Closed #8 <#8>.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#8 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AA99y7p7Gb0FkYi2umsglrx6OwXKX4Vhks5t3vfegaJpZM4TY9xP>
.
--
Kailua, Hawaiʻi
US +1 (808) 728-3050
UK +44 (020) 3286 2808
|
It would be helpful if there was the ability to transform or input strings - for example if I enter a password and I want to hash it before passing it down to lower levels. Ideally, the transform
function would be user definable.
A possible syntax would be an extension of the string type in the clispec file:
<var:string transform:userTransformFunction()>
The text was updated successfully, but these errors were encountered: