Re: [Libguestfs] [PATCH nbdkit 3/3] todo: Suggest password=-tty as future enhancement.

Eric Blake
2020-06-01T17:20:40Z

On 6/1/20 5:31 AM, Richard W.M. Jones wrote:
> password=+/dev/tty works already, but it does not print a “password: ”
> prompt or suppress echo.
> ---
>   TODO | 3 +++
>   1 file changed, 3 insertions(+)

ACK.

>
> diff --git a/TODO b/TODO
> index 02627069..c1a6ec0a 100644
> --- a/TODO
> +++ b/TODO
> @@ -103,6 +103,9 @@ General ideas for improvements
>       realloc is suspect)
>     - add more iterators, map function, etc, as required.
>
> +* Add password=-tty to mean read a password interactively from /dev/tty.
> +  This is slightly different from password=+/dev/tty
> +
>   Suggestions for plugins
>   -----------------------
>
>

--
Eric Blake, Principal Software Engineer
Red Hat, Inc.           +1-919-301-3226
Virtualization:  qemu.org | libvirt.org