You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@libcloud.apache.org by "Michael De La Rue (JIRA)" <ji...@apache.org> on 2010/12/07 09:00:13 UTC
[libcloud] [jira] Created: (LIBCLOUD-65) SSL verification should be on (now
available in base python).
SSL verification should be on (now available in base python).
-------------------------------------------------------------
Key: LIBCLOUD-65
URL: https://issues.apache.org/jira/browse/LIBCLOUD-65
Project: Libcloud
Issue Type: New Feature
Reporter: Michael De La Rue
In drivers/base.py there is the following warning.
# WARNING: Python's built-in SSL does not do certificate validation. As
# such, one cannot be sure of the other end of the conversation with any
# sufficient authority. If you are in a position to be exploited (i.e., on
# an untrusted network), be cautious with SSL connections. This is an issue
# with upstream Python (see http://bugs.python.org/issue1589 for details)
# and not with libcloud.
in the issue referenced (http://bugs.python.org/issue1589) it's said that the bug is now fixed and there is even a link to a backport of the module needed to do proper SSL enforcing.
http://pypi.python.org/pypi/backports.ssl_match_hostname/
The functionality to enforce secure SSL connections should now be enforced by default and a warning issued if the module isn't available.
I'm not filing this as a bug because the lack of verification is documented and expected, but it could certainly be seen as a bit "surprising" so it would be a good idea to fix this.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[libcloud] [jira] Commented: (LIBCLOUD-65) SSL verification should be on (now
available in base python).
Posted by "Philip Schwartz (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/LIBCLOUD-65?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12968741#action_12968741 ]
Philip Schwartz commented on LIBCLOUD-65:
-----------------------------------------
I was actually looking at this yesterday with a goal of switching to the better functioning pyOpenSSL instead of the stdlib ssl. Maybe this should be brought up for further discussion as to which we want to keep.
> SSL verification should be on (now available in base python).
> -------------------------------------------------------------
>
> Key: LIBCLOUD-65
> URL: https://issues.apache.org/jira/browse/LIBCLOUD-65
> Project: Libcloud
> Issue Type: New Feature
> Reporter: Michael De La Rue
>
> In drivers/base.py there is the following warning.
> # WARNING: Python's built-in SSL does not do certificate validation. As
> # such, one cannot be sure of the other end of the conversation with any
> # sufficient authority. If you are in a position to be exploited (i.e., on
> # an untrusted network), be cautious with SSL connections. This is an issue
> # with upstream Python (see http://bugs.python.org/issue1589 for details)
> # and not with libcloud.
> in the issue referenced (http://bugs.python.org/issue1589) it's said that the bug is now fixed and there is even a link to a backport of the module needed to do proper SSL enforcing.
> http://pypi.python.org/pypi/backports.ssl_match_hostname/
> The functionality to enforce secure SSL connections should now be enforced by default and a warning issued if the module isn't available.
> I'm not filing this as a bug because the lack of verification is documented and expected, but it could certainly be seen as a bit "surprising" so it would be a good idea to fix this.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[libcloud] [jira] Resolved: (LIBCLOUD-65) SSL verification should be on (now
available in base python).
Posted by "Jerry Chen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/LIBCLOUD-65?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jerry Chen resolved LIBCLOUD-65.
--------------------------------
Resolution: Fixed
Fix Version/s: 0.4.1
Assignee: Jerry Chen
SSL Certificate Name Verification is now available via the libcloud.security module.
http://svn.apache.org/viewvc?view=revision&revision=1054518
> SSL verification should be on (now available in base python).
> -------------------------------------------------------------
>
> Key: LIBCLOUD-65
> URL: https://issues.apache.org/jira/browse/LIBCLOUD-65
> Project: Libcloud
> Issue Type: New Feature
> Reporter: Michael De La Rue
> Assignee: Jerry Chen
> Fix For: 0.4.1
>
>
> In drivers/base.py there is the following warning.
> # WARNING: Python's built-in SSL does not do certificate validation. As
> # such, one cannot be sure of the other end of the conversation with any
> # sufficient authority. If you are in a position to be exploited (i.e., on
> # an untrusted network), be cautious with SSL connections. This is an issue
> # with upstream Python (see http://bugs.python.org/issue1589 for details)
> # and not with libcloud.
> in the issue referenced (http://bugs.python.org/issue1589) it's said that the bug is now fixed and there is even a link to a backport of the module needed to do proper SSL enforcing.
> http://pypi.python.org/pypi/backports.ssl_match_hostname/
> The functionality to enforce secure SSL connections should now be enforced by default and a warning issued if the module isn't available.
> I'm not filing this as a bug because the lack of verification is documented and expected, but it could certainly be seen as a bit "surprising" so it would be a good idea to fix this.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.