You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@libcloud.apache.org by to...@apache.org on 2016/01/14 10:25:38 UTC
[1/2] libcloud git commit: Add some docs on changing used SSL / TLS
version.
Repository: libcloud
Updated Branches:
refs/heads/trunk c37f15fba -> 9a921908d
Add some docs on changing used SSL / TLS version.
Project: http://git-wip-us.apache.org/repos/asf/libcloud/repo
Commit: http://git-wip-us.apache.org/repos/asf/libcloud/commit/5b8b25c4
Tree: http://git-wip-us.apache.org/repos/asf/libcloud/tree/5b8b25c4
Diff: http://git-wip-us.apache.org/repos/asf/libcloud/diff/5b8b25c4
Branch: refs/heads/trunk
Commit: 5b8b25c411ebaa1bfce176a85354675cad3252ce
Parents: 391887a
Author: Tomaz Muraus <to...@apache.org>
Authored: Thu Jan 14 10:17:37 2016 +0100
Committer: Tomaz Muraus <to...@apache.org>
Committed: Thu Jan 14 10:25:18 2016 +0100
----------------------------------------------------------------------
docs/other/ssl-certificate-validation.rst | 32 ++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/libcloud/blob/5b8b25c4/docs/other/ssl-certificate-validation.rst
----------------------------------------------------------------------
diff --git a/docs/other/ssl-certificate-validation.rst b/docs/other/ssl-certificate-validation.rst
index 7578e4e..d35c2b6 100644
--- a/docs/other/ssl-certificate-validation.rst
+++ b/docs/other/ssl-certificate-validation.rst
@@ -94,3 +94,35 @@ For example:
libcloud.security.VERIFY_SSL_CERT = False
# Instantiate and work with the driver here...
+
+Changing used SSL / TLS version
+-------------------------------
+
+.. note::
+
+ Linode recently dropped support for TLS v1.0 and it only supports TLS v1.1.
+ If you are using Linode you need to update your code to use TLS v1.1 as
+ shown below.
+
+For compatibility reasons (we also support older Python versions), Libcloud
+uses TLS v1.0 by default.
+
+If the provier doesn't support this version or if you want to use a different
+version because of security reasons (you should always use the highest version
+which is supported by your system and your provider) you can tell Libcloud to
+use a different version as shown below.
+
+.. sourcecode:: python
+
+ import ssl
+
+ import libcloud.security
+ libcloud.security.SSL_VERSION = ssl.PROTOCOL_TLSv1_1
+ # or
+ libcloud.security.SSL_VERSION = ssl.PROTOCOL_TLSv1_2
+
+ # Instantiate and work with the driver here...
+
+Keep in mind that TLS v1.1 and v1.2 is right now only supported in Python >=
+3.4 and Python 2.7.9. In addition to that, your system also needs to have a
+recent version of OpenSSL available.
[2/2] libcloud git commit: Merge branch 'trunk' of
https://git-wip-us.apache.org/repos/asf/libcloud into trunk
Posted by to...@apache.org.
Merge branch 'trunk' of https://git-wip-us.apache.org/repos/asf/libcloud into trunk
Project: http://git-wip-us.apache.org/repos/asf/libcloud/repo
Commit: http://git-wip-us.apache.org/repos/asf/libcloud/commit/9a921908
Tree: http://git-wip-us.apache.org/repos/asf/libcloud/tree/9a921908
Diff: http://git-wip-us.apache.org/repos/asf/libcloud/diff/9a921908
Branch: refs/heads/trunk
Commit: 9a921908d8bd0788282111916cfa56f0017b603b
Parents: 5b8b25c c37f15f
Author: Tomaz Muraus <to...@apache.org>
Authored: Thu Jan 14 10:25:23 2016 +0100
Committer: Tomaz Muraus <to...@apache.org>
Committed: Thu Jan 14 10:25:23 2016 +0100
----------------------------------------------------------------------
CHANGES.rst | 4 +
libcloud/dns/drivers/auroradns.py | 4 +
.../dns/fixtures/auroradns/zone_create.json | 11 ++
.../fixtures/auroradns/zone_example_com.json | 11 ++
.../zone_example_com_record_localhost.json | 12 ++
.../auroradns/zone_example_com_records.json | 38 ++++
.../test/dns/fixtures/auroradns/zone_list.json | 24 +++
libcloud/test/dns/test_auroradns.py | 184 ++++++++++++++++++-
8 files changed, 281 insertions(+), 7 deletions(-)
----------------------------------------------------------------------