Comments (17)
I'm getting the same thing.
from gist.
Me too!
from gist.
So am I
gist --version
2.0.0
&
ruby --version
ruby 1.8.7 (2009-12-24 patchlevel 248) [amd64-freebsd7]
from gist.
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.
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.
Same. Thanks
ruby -v
ruby 1.8.7 (2010-01-10 patchlevel 249) [i486-linux]
from gist.
yeah -- ruby 1.8.7 (2010-08-16 patchlevel 302) [i686-linux]
same error
from gist.
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.
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.
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.
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.
metoo
from gist.
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.
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.
Added suggestion from darthdeus in rduplain@6553d8e3cdffce6fcc1fdf3865d39c37d8323aea
https://github.com/rduplain/gist/raw/master/gist
from gist.
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.
Yes, thanks rduplain! Your fix works well.
from gist.
Related Issues (20)
- One test failure in Ubuntu on all architectures HOT 6
- Can't establish creds HOT 2
- Feature: Support uploading a complete directory / existing repo with "gist ." or "gist somedir"
- Feature: Limit number of Gists returned with `-l` flag
- Feature: Allow specifying a directory name
- Bug: Gist title and filenames not fetched for some Gists
- texrt
- Feature: Option to show SSH url for cloning a Gist
- For security propose i thin it's better to make private "-p or --private" parameter as default HOT 1
- > Hello @defunkt o/ HOT 4
- Please enable device flow HOT 2
- Terraform plan and strange gibberish at every line start HOT 2
- clipboard interaction issue on windows (has solution)
- > Hello @default
- [feat] avoid unchanged revisions
- Received this error trying to login
- Your token. // Octokit.js // https://github.com/octokit/core.js#readme const octokit = new Octokit({ auth: 'YOUR-TOKEN' }) await octokit.request('DELETE /repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policies/{branch_policy_id}', { owner: 'OWNER', repo: 'REPO', environment_name: 'ENVIRONMENT_NAME', branch_policy_id: 'BRANCH_POLICY_ID', headers: { 'X-GitHub-Api-Version': '2022-11-28' } })
- ![スクリーンショット 2022-04-07 10 04 42](https://user-images.githubusercontent.com/8407272/162099822-637d0cc1-e1d7-495f-a44f-2fc0ab9f5a4f.png) HOT 1
- hdj HOT 1
- he
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gist.