** Description changed:

- Client isn't checking cert; fix before release.
+ [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-1309231/src/launchpad.net
+ cd !$
+ bzr branch lp:ubuntu-push
+ cd ubuntu-push
+ make bootstrap
+ sed -i~ -e 's/127.0.0.1//g' sampleconfigs/dev.json
+ make run-server-dev
+ 
+ on the device, edit /etc/xdg/ubuntu-push-client/config.json (or copy it
+ to ~phablet/.config/ubuntu-push-client/config.json and edit it there) so
+ that "addr" points to the IP address of the computer, and port 9090;
+ something like
+ 
+ "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.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1297969

Title:
  Check cert

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-push/+bug/1297969/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to