Apport reports wireless encryption key when attach_wifi is used in an apport hook
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Apport |
Fix Released
|
High
|
Marco Rodrigues | ||
apport (Ubuntu) |
Fix Released
|
High
|
Martin Pitt |
Bug Description
What happened:
I upgraded to karmic beta and started poking around in network manager. Network manager crashed and apport offered to send a bug report. The bug report included iwconfig output which includes essid, bssid and an encryption key.
What I expected to happen:
I would expect apport to mask the encryption key in the information submitted.
Further Notes:
I noticed that the iwconfig output doesn't seem to be available in other network manager bug reports (good), but still shouldn't be submitted.
Trivial Patch:
hugh@anni:~/apb$ diff /usr/lib/
412c412
< report['IwConfig'] = command_
---
> report['IwConfig'] = re.sub("Encryption key:[^[
Related branches
- Apport upstream developers: Pending requested
-
Diff: 26 lines1 file modifiedapport/hookutils.py (+9/-1)
summary: |
- Apport reports wireless encryption key when network manager crashses + Apport reports wireless encryption key when attach_wifi is used in an + apport hook |
Changed in apport: | |
assignee: | nobody → Marco Rodrigues (gothicx) |
status: | New → Confirmed |
Changed in apport: | |
status: | Fix Committed → Fix Released |
I have attached the crash report showing the problem. I have snipped quite a lot from the report to make it small enough to upload to launchpad. I have also manually masked the encryption key.