Check cert
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu Push Notifications |
Fix Released
|
High
|
John Lenton | ||
ubuntu-push (Ubuntu) |
Fix Released
|
High
|
John Lenton | ||
Trusty |
Fix Released
|
High
|
John Lenton |
Bug Description
[Impact]
* the client isn't checking the ssl certificate
[Test Case]
You need:
* a computer capable of running the ubuntu push server.
* at device using the stable image and that can talk to the computer over the network
on the computer, do:
mkdir -p test-case-
cd !$
bzr branch lp:ubuntu-push
cd ubuntu-push
make bootstrap
sed -i~ -e 's/127.0.0.1//g' sampleconfigs/
make run-server-dev
on the device, edit /etc/xdg/
"addr": "192.168.1.1:9090"
(note there is no https:// as the hosts discovery step is being skipped).
Restart ubuntu-push-client,
sudo -iu phablet restart ubuntu-push-client
note how it connects just fine. It shouldn't! That server has a self-signed certificate, and could be anybody.
[Regression Potential]
If somebody is relying on this for something, it'll break.
Related branches
- Samuele Pedroni: Approve
-
Diff: 92 lines (+60/-2)2 files modifiedclient/session/session.go (+4/-1)
client/session/session_test.go (+56/-1)
Changed in ubuntu-push: | |
importance: | Undecided → High |
information type: | Public → Public Security |
Changed in ubuntu-push: | |
assignee: | nobody → John Lenton (chipaca) |
Changed in ubuntu-push: | |
status: | New → Fix Committed |
Changed in ubuntu: | |
status: | New → In Progress |
importance: | Undecided → High |
assignee: | nobody → John Lenton (chipaca) |
affects: | ubuntu → ubuntu-push (Ubuntu) |
description: | updated |
tags: |
added: verification-done removed: verification-needed |
Changed in ubuntu-push: | |
status: | Fix Committed → Fix Released |
Hello John, or anyone else affected,
Accepted ubuntu-push into trusty-proposed. The package will build now and be available at http:// launchpad. net/ubuntu/ +source/ ubuntu- push/0. 2.1+14. 04.20140423. 1-0ubuntu1 in a few hours, and then in the -proposed repository.
Please help us by testing this new package. See https:/ /wiki.ubuntu. com/Testing/ EnableProposed for documentation how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.
If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification- failed. In either case, details of your testing will help us make a better decision.
Further information regarding the verification process can be found at https:/ /wiki.ubuntu. com/QATeam/ PerformingSRUVe rification . Thank you in advance!