[list-modems] Don't display user-related information by default
Bug #1438715 reported by
Tony Espy
This bug affects 3 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical System Image |
Fix Released
|
High
|
Tony Espy | ||
ofono (Ubuntu) |
Fix Released
|
High
|
Tony Espy | ||
ofono (Ubuntu RTM) |
Fix Released
|
High
|
Tony Espy |
Bug Description
The script list-modems can reveal some user-specific information ( SubscriberNumbers, SubscriberIdentity, ... ) which probably shouldn't be displayed by default.
We should add a command-line switch and force users to use this switch if they'd like these attributes to be included in the output, otherwise, we should display them with dummy characters to indicate that they values are present, but being obfuscated.
Related branches
lp://staging/~phablet-team/ofono/ota4-update
- Alfonso Sanchez-Beato: Approve
- PS Jenkins bot: Approve (continuous-integration)
-
Diff: 1621 lines (+900/-245)19 files modifiedMakefile.am (+3/-0)
debian/changelog (+32/-0)
doc/connman-api.txt (+11/-0)
drivers/qcommsimmodem/qcom_msim_constants.h (+27/-0)
drivers/rilmodem/sim.c (+195/-31)
drivers/rilmodem/vendor.h (+2/-1)
gril/grilreply.c (+33/-0)
gril/grilreply.h (+3/-0)
gril/grilrequest.c (+44/-0)
gril/grilrequest.h (+10/-0)
plugins/qcom-msim.c (+76/-0)
plugins/ubuntu-apndb.c (+4/-2)
src/gprs.c (+229/-133)
test/create-ia-context (+0/-47)
test/list-modems (+46/-1)
test/reset-contexts (+20/-0)
test/set-context-property (+63/-30)
unit/test-grilreply.c (+56/-0)
unit/test-grilrequest.c (+46/-0)
Changed in ofono (Ubuntu): | |
status: | New → Confirmed |
importance: | Undecided → High |
Changed in ofono (Ubuntu): | |
status: | Confirmed → In Progress |
Changed in canonical-devices-system-image: | |
status: | New → In Progress |
Changed in ofono (Ubuntu): | |
assignee: | nobody → Tony Espy (awe) |
Changed in canonical-devices-system-image: | |
assignee: | nobody → Tony Espy (awe) |
tags: | added: connectivity |
Changed in canonical-devices-system-image: | |
importance: | Undecided → High |
milestone: | none → ww22-2015 |
Changed in ofono (Ubuntu): | |
status: | In Progress → Fix Committed |
Changed in canonical-devices-system-image: | |
status: | In Progress → Fix Committed |
Changed in ofono (Ubuntu RTM): | |
status: | New → Fix Committed |
importance: | Undecided → High |
assignee: | nobody → Tony Espy (awe) |
Changed in canonical-devices-system-image: | |
status: | Fix Committed → In Progress |
Changed in canonical-devices-system-image: | |
milestone: | ww22-2015 → ww28-2015 |
Changed in ofono (Ubuntu RTM): | |
status: | In Progress → Fix Committed |
Changed in ofono (Ubuntu): | |
status: | In Progress → Fix Committed |
Changed in canonical-devices-system-image: | |
status: | In Progress → Fix Released |
To post a comment you must log in.
I created the following pull-request which adds changes list-modems to obfuscate any fields that could be tied to a user ( Serial, SubscriberId, SubscriberNumbers, *Forwarded* numbers ) unless '-p' or '--private' is specified on the command-line.
https:/ /github. com/rilmodem/ ofono/pull/ 181