Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

curl pyenv.run | bash #41

Closed
robnagler opened this issue Jun 25, 2016 · 9 comments
Closed

curl pyenv.run | bash #41

robnagler opened this issue Jun 25, 2016 · 9 comments

Comments

@robnagler
Copy link

I add bought this domain to simplify the installer line, because I can never remember it :) You can now install with:

curl pyenv.run | bash

This redirects to https://raw.githubusercontent.com/yyuu/pyenv-installer/master/bin/pyenv-installer using curl so you don't need -L on curl above.

I don't mind supporting this or if you want, I can turn the domain over to whomever you like.

@obestwalter
Copy link
Collaborator

@robnagler Wow thanks :)

@yyuu should control that I guess. I wonder if he has seen it already ...

@yyuu
Copy link
Collaborator

yyuu commented Jan 6, 2017

@robnagler great! I'd like to add reference in READMEs and wiki 😄

I think I don't need to control the domain for now.... Thanks again!

@obestwalter
Copy link
Collaborator

o.k. but then I would just like to make a public security announcement here that one should always check the script that hides behind that curl call :)

@yyuu
Copy link
Collaborator

yyuu commented Jan 6, 2017

Even I might be an evil :trollface: Generally speaking everyone should be careful when executing code fetched from remote....

@robnagler
Copy link
Author

Who judges the judges? :)

One thing we can do to give you more control is create, say, pyenv-run.github.io and point pyenv.run to it.

@robnagler
Copy link
Author

You should also verify your DNS resolver is right, too. This is probably more serious for most people who are executing code from non TLS connections.

@obestwalter
Copy link
Collaborator

obestwalter commented Jan 6, 2017

@yyuu yes that's what I meant :) One should always check the install script before using it.

@robnagler I am not judging anyone - that's for sure, and I think the domain is great. I just have this urge to warn people now and then to not just pipe the whole internet into their shell, although it is awfully convenient :D

@robnagler
Copy link
Author

Sorry, I was being obscure. My quote was referring to the philosophical question Quis custodiet ipsos custodes?, meaning that there is infinite recursion on validation, and ultimately, you can never know (see
Reflections on Trusting Trust by Ken Thompson). Having just read an article on uXDT all is lost, anyway. :(

Be that as it may, I'll keep running it as it. Let me know if you want changes. :)

@obestwalter
Copy link
Collaborator

I know that as "who controls the controllers" and it's turtles all the way down anyway :D

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

No branches or pull requests

3 participants