[SSSD] [PATCHES] Fixes for cancelling sss_obfuscate

Stephen Gallagher sgallagh at redhat.com
Thu Mar 24 15:00:08 UTC 2011


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

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.


- -- 
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/

iEYEARECAAYFAk2LXHgACgkQeiVVYja6o6NjugCdHEMyYXaZ83LplASvA7gX35WR
tkUAoIqoro6IItBQDfAi+O+cxGajcGNd
=7PmY
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-sss_obfuscate-Avoid-traceback-on-ctrl-d.patch
Type: text/x-patch
Size: 1333 bytes
Desc: not available
URL: <https://lists.fedorahosted.org/pipermail/sssd-devel/attachments/20110324/757aa861/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-sss_obfuscate-abort-on-ctrl-c.patch
Type: text/x-patch
Size: 1623 bytes
Desc: not available
URL: <https://lists.fedorahosted.org/pipermail/sssd-devel/attachments/20110324/757aa861/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-sss_obfuscate-Avoid-traceback-on-ctrl-d.patch.sig
Type: application/pgp-signature
Size: 72 bytes
Desc: not available
URL: <https://lists.fedorahosted.org/pipermail/sssd-devel/attachments/20110324/757aa861/attachment.sig>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-sss_obfuscate-abort-on-ctrl-c.patch.sig
Type: application/pgp-signature
Size: 72 bytes
Desc: not available
URL: <https://lists.fedorahosted.org/pipermail/sssd-devel/attachments/20110324/757aa861/attachment-0001.sig>


More information about the sssd-devel mailing list