summaryrefslogtreecommitdiffstats
path: root/exception.py
diff options
context:
space:
mode:
authorChris Lumens <clumens@redhat.com>2009-04-01 14:22:00 -0400
committerChris Lumens <clumens@redhat.com>2009-04-01 14:22:00 -0400
commit49beeb21c11b9c072906d20b7a3cbbe69a7e887b (patch)
tree90d3e2bd1fedefb1397cce3d692b0f29a9879f17 /exception.py
parent7957ec9321aa025009f6ebf23f0ee8fef74ad1df (diff)
downloadanaconda-49beeb21c11b9c072906d20b7a3cbbe69a7e887b.tar.gz
anaconda-49beeb21c11b9c072906d20b7a3cbbe69a7e887b.tar.xz
anaconda-49beeb21c11b9c072906d20b7a3cbbe69a7e887b.zip
Prevent sensitive information in kickstart files from ending up in tracebacks.
The __str__ method on a KickstartParser will cause the whole object to be printed out as a kickstart file. This means we have no chance to exclude certain sensitive pieces of information. It would be better for us to not see the ksdata at all than to see passwords.
Diffstat (limited to 'exception.py')
-rw-r--r--exception.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/exception.py b/exception.py
index ddf82b517..3bb8781bc 100644
--- a/exception.py
+++ b/exception.py
@@ -171,9 +171,7 @@ class AnacondaExceptionDump:
"anaconda.id.comps",
"anaconda.id.dispatch",
"anaconda.id.hdList",
- "anaconda.id.ksdata.bootloader",
- "anaconda.id.ksdata.rootpw",
- "anaconda.id.ksdata.vnc",
+ "anaconda.id.ksdata",
"anaconda.id.instLanguage.font",
"anaconda.id.instLanguage.kbd",
"anaconda.id.instLanguage.info",