diff options
author | Stephen Gallagher <sgallagh@redhat.com> | 2011-03-24 10:54:34 -0400 |
---|---|---|
committer | Stephen Gallagher <sgallagh@redhat.com> | 2011-03-25 09:16:28 -0400 |
commit | 61d3d86693b9ec5afd47c510c5aeab45cff768f8 (patch) | |
tree | 10cd5bdf12e5fe4cedbfb41966fbd45a54e94e66 /contrib | |
parent | db5a650c14186a24fb66b4f83202479abe33e164 (diff) | |
download | sssd-61d3d86693b9ec5afd47c510c5aeab45cff768f8.tar.gz sssd-61d3d86693b9ec5afd47c510c5aeab45cff768f8.tar.xz sssd-61d3d86693b9ec5afd47c510c5aeab45cff768f8.zip |
sss_obfuscate: Avoid traceback on ctrl+d
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 'contrib')
0 files changed, 0 insertions, 0 deletions