Files
crypto/ssh
Yasuhiro Matsumoto b080dc9a8c ssh/terminal: handle non-ASCII characters when reading passwords
ReadPassword uses Windows ReadFile to read from console handle.
But ReadFile does not split input into UTF-8 characters, so ReadFile
only works when input is ASCII. Use os.File instead of Windows
ReadFile, because os.File reads console and parses it into UTF-8.

Fixes golang/go#22828

Change-Id: Ifeed3e8048b51f46706c28d4154a3e4b10111a3e
Reviewed-on: https://go-review.googlesource.com/79335
Reviewed-by: Alex Brainman <alex.brainman@gmail.com>
Run-TryBot: Alex Brainman <alex.brainman@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
2017-11-24 09:08:02 +00:00
..
2017-09-15 13:46:28 +00:00
2017-11-13 21:34:09 +00:00
2014-04-09 13:57:52 -07:00
2017-11-13 21:34:09 +00:00
2017-11-13 21:34:09 +00:00
2017-11-13 21:34:09 +00:00
2017-11-13 21:34:09 +00:00
2017-06-19 20:42:22 +00:00
2017-09-12 12:23:26 +00:00
2017-11-13 21:34:09 +00:00
2017-11-13 21:34:09 +00:00
2014-04-09 13:57:52 -07:00
2016-07-06 16:40:51 +00:00