aboutsummaryrefslogtreecommitdiff
path: root/metadata/metadata.proto
diff options
context:
space:
mode:
authorEric Biggers <ebiggers@google.com>2020-11-07 20:30:51 -0800
committerEric Biggers <ebiggers3@gmail.com>2020-11-07 20:46:57 -0800
commit7381e5937209178fa94694888d6a721ab0d5a124 (patch)
tree5b52c381b7506639a60edbc3bd9b8eb7e9fd785b /metadata/metadata.proto
parent4d37d7eaedae964cf72e82ec959a2482916faa1b (diff)
cmd/fscrypt: fix race condition in getPassphraseKey()
Set the terminal to raw mode *before* printing the prompt. Otherwise the user (or the automated test) might enter the passphrase before the terminal gets put into raw mode. This is needed for some of the CLI tests to pass reliably in Travis CI.
Diffstat (limited to 'metadata/metadata.proto')
0 files changed, 0 insertions, 0 deletions