restic/changelog/unreleased
Peter Schultz 5715517e29 Fix reading password from stdin
Reading the password from non-terminal stdin used io.ReadFull with a
byte slice of length 1000.

We are now using a Scanner to read one line of input, independent of its
length.

Additionally, if stdin is not a terminal, the password is read only
once instead of twice (in an effort to detect typos).

Fixes #2203

Signed-off-by: Peter Schultz <peter.schultz@classmarkets.com>
2019-04-15 10:05:49 +02:00
..
issue-1895 Add changelog file for insensitive includes & excludes 2018-11-25 13:32:16 +01:00
issue-1937 Add changelog file for #1944 2019-02-10 12:31:18 +01:00
issue-2135 Add docs, changelog file 2019-01-06 14:52:20 +01:00
issue-2155 Swift: introduce application credential auth support 2019-02-14 14:19:05 +01:00
issue-2181 Add changelog file 2019-02-23 11:16:08 +01:00
issue-2203 Fix reading password from stdin 2019-04-15 10:05:49 +02:00
pull-2139 Add changelog for #2139 2019-02-10 12:35:41 +01:00
pull-2205 Add pull-2205 to changelog 2019-03-10 21:37:01 +01:00