commit | 30ee666f8d2cde1509273232af3bd84138046774 | [log] [tgz] |
---|---|---|
author | Suharsh Sivakumar <suharshs@google.com> | Wed Oct 29 18:10:07 2014 -0700 |
committer | Suharsh Sivakumar <suharshs@google.com> | Wed Oct 29 18:10:12 2014 -0700 |
tree | 1918a5063842c9fe505997746b21e08f41b363d1 | |
parent | 12937a29f98eac2b4cb280c1f73905a700534872 [diff] |
veyron/security/agent: Switch to ssh terminal for password input. * This prevents the password from being stored in memory in a string until the GC comes, since terminal.ReadPassword returns []byte. * terminal.ReadPassword does not have signal handling so had to add that to turn echo back on in terminal if termination signal is received. Change-Id: I560160a0c291de6f525f17a459cefe69c4d705c1