search for: c1a6ec0a

Displaying 2 results from an estimated 2 matches for "c1a6ec0a".

2020 Jun 01
0
[PATCH nbdkit 3/3] todo: Suggest password=-tty as future enhancement.
password=+/dev/tty works already, but it does not print a ?password: ? prompt or suppress echo. --- TODO | 3 +++ 1 file changed, 3 insertions(+) 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 + Sugg...
2020 Jun 01
7
server: Fix reading passwords interactively.
https://bugzilla.redhat.com/show_bug.cgi?id=1842440 Patches 1 and 2 address fairly obvious bugs in how we handle reading passwords from stdin. There are other ways we may consider fixing these bugs: - Should password=- always open /dev/tty and ignore stdin entirely? - Should we make password=-0/-1/-2 work by skipping the close? Or perhaps reopen the file descriptors on /dev/null after