diff options
author | Mattias Andrée <maandree@operamail.com> | 2013-11-03 07:23:21 +0100 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2013-11-03 07:23:21 +0100 |
commit | e275a3418a290576210270b291bbca4e2fc53e3b (patch) | |
tree | e6a4129ff9cebfc33237b4adadd83427a3c83dd5 /src/cerberus.c | |
parent | missed staging (diff) | |
download | libpassphrase-e275a3418a290576210270b291bbca4e2fc53e3b.tar.gz libpassphrase-e275a3418a290576210270b291bbca4e2fc53e3b.tar.bz2 libpassphrase-e275a3418a290576210270b291bbca4e2fc53e3b.tar.xz |
secure the tty
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
-rw-r--r-- | src/cerberus.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/cerberus.c b/src/cerberus.c index 5b69a81..76a2f74 100644 --- a/src/cerberus.c +++ b/src/cerberus.c @@ -125,6 +125,10 @@ int main(int argc, char** argv) alarm(TIMEOUT_SECONDS); + /* Make sure nopony is spying */ + secure_tty(); + + /* Get the passphrase, if -f has not been used */ if (skip_auth == 0) { |