Open balupton opened 1 month ago
In addition, could do some hotkey combination such as a SIG* in which it cancels the silent read and uses a prefilled read with the entered characters now visible.
Perhaps a --conceal flag makes sense for this, in which a --secret flag enables both password and conceal.
Will also need a --confirm-repeat flag, as sometimes we don't care for the confirm, as an external program validates.
Currently if one uses
ask --password
it just prevents it from being outputted after being entered, howeverread
(at least on macos) supports--silent
which obfuscates what is entered with dots.... If Dorothy were to changeask
to use this mode, thenask
will need to verify the characters were entered with an additional confirm prompt. This may be a few days of work, which currently has no requirement in Dorothy currently. If someone needs this, post below.