[SSSD] [PATCHES] Fixes for cancelling sss_obfuscate

Stephen Gallagher sgallagh at redhat.com
Thu Mar 24 18:14:38 UTC 2011


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 03/24/2011 01:36 PM, Jakub Hrozek wrote:
> On 03/24/2011 04:00 PM, Stephen Gallagher wrote:
>> Patch 0001: Don't produce a traceback if ctrl+d is sent to getpass.getpass()
>> Fixes https://bugzilla.redhat.com/show_bug.cgi?id=690131
> 
>> Patch 0002: 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.
> 
> 
> 
> Ack.
> 
> I'm not sure we can do any better on Ctrl+C either plus the same change
> has been suggested in the Python upstream bug.

Pushed to master and sssd-1-5

- -- 
Stephen Gallagher
RHCE 804006346421761

Delivering value year after year.
Red Hat ranks #1 in value among software vendors.
http://www.redhat.com/promo/vendor/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/

iEYEARECAAYFAk2Lig4ACgkQeiVVYja6o6PKngCfXAT0cbAHS53BnF+nWkIRjcD4
hB0AmgMpWZ4C9por5I3QkrJNG8v9+Cob
=200R
-----END PGP SIGNATURE-----



More information about the sssd-devel mailing list