forked from TrueCloudLab/restic
5715517e29
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> |
||
---|---|---|
.. | ||
issue-1895 | ||
issue-1937 | ||
issue-2135 | ||
issue-2155 | ||
issue-2181 | ||
issue-2203 | ||
pull-2139 | ||
pull-2205 |