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:14:02 -0400 |
commit | 6718eb8bc04df52cd475c7659831d9f549b9cf2e (patch) | |
tree | 374ab7ec0b09e62d4f43bcd8494d88a946da3fe8 /src/providers/fail_over.h | |
parent | 7c4d48633bc3bee025a996df888f998317651ec1 (diff) | |
download | sssd-6718eb8bc04df52cd475c7659831d9f549b9cf2e.tar.gz sssd-6718eb8bc04df52cd475c7659831d9f549b9cf2e.tar.xz sssd-6718eb8bc04df52cd475c7659831d9f549b9cf2e.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/providers/fail_over.h')
0 files changed, 0 insertions, 0 deletions