diff options
author | Stephen Gallagher <sgallagh@redhat.com> | 2011-03-24 10:57:08 -0400 |
---|---|---|
committer | Stephen Gallagher <sgallagh@redhat.com> | 2011-03-24 14:13:44 -0400 |
commit | 764bda08267d867a30ceb07d398dc30be1f4b699 (patch) | |
tree | 533b9011af44ab500169e6d8f27df0d323fd1ca6 /src/util/usertools.c | |
parent | 675f529e1a0ada1b1a400a59465560ab88a6e24c (diff) | |
download | sssd-764bda08267d867a30ceb07d398dc30be1f4b699.tar.gz sssd-764bda08267d867a30ceb07d398dc30be1f4b699.tar.bz2 sssd-764bda08267d867a30ceb07d398dc30be1f4b699.zip |
sss_obfuscate: abort on ctrl+c
There is a python bug (http://bugs.python.org/issue11236) where
getpass.getpass() does not throw KeyboardInterrupt on ctrl+c. This
workaround is the closest we can get: if we detect the control
character in the string that we read, we'll cancel.
Diffstat (limited to 'src/util/usertools.c')
0 files changed, 0 insertions, 0 deletions