conn-check output generated by charm is world-readable and contains secrets
Bug #1447935 reported by
Tom Haddon
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
conn-check |
Fix Released
|
High
|
Simon Davy |
Bug Description
I'm not sure if this is the right place to file this bug, but...
On the sca-app instance on production, /srv/conn-
Related branches
lp://staging/~bloodearnest/charms/trusty/conn-check/fix-perms
- Ubuntu One hackers: Pending requested
- Diff: 0 lines
summary: |
- conn-check output generate by charm is world-readable and contains + conn-check output generated by charm is world-readable and contains secrets |
Changed in software-center-agent: | |
status: | New → Confirmed |
status: | Confirmed → In Progress |
importance: | Undecided → Medium |
importance: | Medium → High |
assignee: | nobody → Simon Davy (bloodearnest) |
Changed in software-center-agent: | |
status: | In Progress → Fix Committed |
status: | Fix Committed → In Progress |
To post a comment you must log in.
I've pushed a quick fix, restricting perms to 0600
A better solution might be to not pass the data in the relation at all, and rather pass a path to a file with the data in.
That way, the secrets are never seen by juju or conn-check, and it's easier for the charm to define secrets paths for the confined-role subordinate. Plus, passing yaml-as-a-string in a relation is a bit icky.