Coder Social home page Coder Social logo

Comments (17)

DeMarko avatar DeMarko commented on September 23, 2024

I'm getting the same thing.

from gist.

stevewoodcock avatar stevewoodcock commented on September 23, 2024

Me too!

from gist.

aaronky avatar aaronky commented on September 23, 2024

So am I
gist --version
2.0.0

&

ruby --version
ruby 1.8.7 (2009-12-24 patchlevel 248) [amd64-freebsd7]

from gist.

juev avatar juev commented on September 23, 2024

I have the same problem.

$ gist -v
2.0.0

$ ruby -v
ruby 1.8.7 (2010-01-10 patchlevel 249) [i486-linux]

from gist.

bitprophet avatar bitprophet commented on September 23, 2024

Same here. Gist 2.0.0. I assume this is related to the recent Github switchover to HTTPS-only?

Under

ruby 1.8.6 (2008-08-11 patchlevel 287) [universal-darwin9.0]

I get:

certificate verify failed

And under

ruby 1.8.7 (2010-05-25 patchlevel 266) [i686-darwin9.8.0]

I get:

SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed

from gist.

githubster avatar githubster commented on September 23, 2024

Same. Thanks
ruby -v
ruby 1.8.7 (2010-01-10 patchlevel 249) [i486-linux]

from gist.

tbbooher avatar tbbooher commented on September 23, 2024

yeah -- ruby 1.8.7 (2010-08-16 patchlevel 302) [i686-linux]

same error

from gist.

 avatar commented on September 23, 2024

Same here...

$ gist --version
2.0.0
$ ruby --version
ruby 1.8.7 (2010-08-16 patchlevel 302) [i686-darwin10]
$ echo 'test' | gist
SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed
Usage: gist [options] [filename or stdin] [filename] ...
... <snip> ...

from gist.

ermaker avatar ermaker commented on September 23, 2024

Same.

$ ruby -v
ruby 1.8.7 (2008-08-11 patchlevel 72) [x86_64-linux]
$ gist -v
2.0.0
$ echo 'test' | gist
SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed

from gist.

dapi avatar dapi commented on September 23, 2024

same error:
SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed

ruby 1.8.7 (2010-08-16 patchlevel 302) [i686-linux]
gist 2.0.0
OS: Ubuntu 10.10

from gist.

darthdeus avatar darthdeus commented on September 23, 2024

Same here

$ ruby -v
ruby 1.9.2p0 (2010-08-18 revision 29036) [x86_64-linux]
$ gist -v
2.0.0
$ echo 'foo' | gist
SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed

from gist.

yhager avatar yhager commented on September 23, 2024

metoo

from gist.

rduplain avatar rduplain commented on September 23, 2024

The gem includes CA certificates, but the standalone script is not using them. Offering a fix in rduplain/gist@1e29722b84635b8fa680dca4fd7e32a976402138. Test using:

https://github.com/rduplain/gist/raw/master/gist

e.g.

curl -O https://github.com/rduplain/gist/raw/master/gist
chmod 755 gist
./gist ...

from gist.

darthdeus avatar darthdeus commented on September 23, 2024

Doesn't work with 1.9.2

$ echo test | ./gist -
invalid byte sequence in US-ASCII

Adding

#encoding: utf-8 

on the second line fixes that https://gist.github.com/762011

from gist.

rduplain avatar rduplain commented on September 23, 2024

Added suggestion from darthdeus in rduplain@6553d8e3cdffce6fcc1fdf3865d39c37d8323aea

https://github.com/rduplain/gist/raw/master/gist

from gist.

philpennock avatar philpennock commented on September 23, 2024

Confirmed that rduplain's fix WorksForMe (and makes sense to read, from the PoV of someone familiar with SSL and passingly acquainted with Ruby).

from gist.

 avatar commented on September 23, 2024

Yes, thanks rduplain! Your fix works well.

from gist.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.