← Back to team overview

group.of.nepali.translators team mailing list archive

[Bug 1644153] Re: SSL handshake fails on xenial, yakkety, zesty

 

This bug was fixed in the package python-jujuclient - 0.50.5-0ubuntu2

---------------
python-jujuclient (0.50.5-0ubuntu2) zesty; urgency=medium

  * Add patch to use TLSv1.2 since Juju dropped TLSv1 (LP: #1644153)

 -- Christopher Glass (Ubuntu) <tribaal@xxxxxxxxxx>  Wed, 23 Nov 2016
12:43:10 +0000

** Changed in: python-jujuclient (Ubuntu Zesty)
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of नेपाली
भाषा समायोजकहरुको समूह, which is subscribed to Xenial.
Matching subscriptions: Ubuntu 16.04 Bugs
https://bugs.launchpad.net/bugs/1644153

Title:
  SSL handshake fails on xenial, yakkety, zesty

Status in python-jujuclient:
  New
Status in python-jujuclient package in Ubuntu:
  Fix Released
Status in python-jujuclient source package in Xenial:
  Fix Committed
Status in python-jujuclient source package in Yakkety:
  Fix Committed
Status in python-jujuclient source package in Zesty:
  Fix Released

Bug description:
  [Impact]

   * The python Juju client cannot make SSL connections to the server anymore, because TLS v1.0 was deprecated on the server.
   * Switching to TLS v1.2 fixes the problem entirely.
   * Example failure: http://pastebin.ubuntu.com/23521446/

  [Test case]

  Steps to reproduce (works in a container, needs a valid juju
  environment):

   * Install juju 1.25: sudo apt-get install juju-1-default juju-1.25
   * Install the package: sudo apt-get install python-jujuclient
   * Set up an environment (ec2 works for instance)
   * Bootstrap environment: "juju bootstrap # Note your environment's name"
   * Run: python -c 'from jujuclient import Environment; Environment.connect("<your environment's name>")'

  [Regression Potential]

   * None - the package is completely unusable in its current state
  because of server changes. It can't get any worse :)

  [Other Info]

   * The attached patch is the minimal fix - forcing Python to connect over TLS 1.2 instead of forcing TLS 1.0.
   * TLS 1.2 connectivity is available in all targeted releases.
   * lp:python-jujuclient (upstream) is not affected by the problem, but the code is much diverged from the version in the archives, with way too many changes for a SRU.

To manage notifications about this bug go to:
https://bugs.launchpad.net/python-jujuclient/+bug/1644153/+subscriptions