Skip to content
This repository was archived by the owner on Oct 24, 2022. It is now read-only.
This repository was archived by the owner on Oct 24, 2022. It is now read-only.

Don't use SSLv3 #39

Closed
Closed

Description

@jdennes

We have recently disabled support for SSLv3 at GitHub, as it is a very old version of the SSL protocol that is now also known to be vulnerable:

http://googleonlinesecurity.blogspot.com/2014/10/this-poodle-bites-exploiting-ssl-30.html
https://www.imperialviolet.org/2014/10/14/poodle.html

We have had several reports from GitHub users using the Pygithub3 library, complaining of failing requests due to the use of SSLv3 in the library. Here's an example traceback that has been reported:

Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/Users/ray/virtualenv/pygh3/lib/python2.7/site-packages/pygithub3/services/users/__init__.py", line 36, in get
return self._get(request)
File "/Users/ray/virtualenv/pygh3/lib/python2.7/site-packages/pygithub3/services/base.py", line 142, in _get
response = self._client.get(request, **kwargs)
File "/Users/ray/virtualenv/pygh3/lib/python2.7/site-packages/pygithub3/core/client.py", line 83, in get
response = self.request('get', request, **kwargs)
File "/Users/ray/virtualenv/pygh3/lib/python2.7/site-packages/pygithub3/core/client.py", line 70, in wrapper
return func(self, verb, request, **kwargs)
File "/Users/ray/virtualenv/pygh3/lib/python2.7/site-packages/pygithub3/core/client.py", line 76, in request
response = self.requester.request(verb, request, **kwargs)
File "/Users/ray/virtualenv/pygh3/lib/python2.7/site-packages/requests/sessions.py", line 252, in request
r.send(prefetch=prefetch)
File "/Users/ray/virtualenv/pygh3/lib/python2.7/site-packages/requests/models.py", line 632, in send
raise SSLError(e)
requests.exceptions.SSLError: [Errno 8] _ssl.c:504: EOF occurred in violation of protocol

/cc @copitux

Activity

  1. grapefrukt commented on Oct 21, 2014

    @grapefrukt

    As far as I can tell this is fixed by upgrading to a newer version of requests, this requires a minor change to the Client class, but it's no biggie. @ray-dino has a fork with the changes here:
    ray-dino/python-github3@copitux:master...master

  2. ray-dino commented on Oct 22, 2014

    @ray-dino

    There's also a pull request for the fix by @conorbranagan here: #35

  3. copitux commented on Oct 23, 2014

    @copitux
    Owner

    Merged

  4. codingisacopingstrategy commented on Nov 23, 2014

    @codingisacopingstrategy

    Hello, I installed through pip install pygithub3 and I’m still getting this error. Is it possible that you didn’t push an upgrade to pypi?

    Cheers,

  5. copitux commented on Nov 28, 2014

    @copitux
    Owner
  6. codingisacopingstrategy commented on Nov 28, 2014

    @codingisacopingstrategy

    Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions