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

Hide sensitive tokens from install/test/post. #2524

Merged
merged 1 commit into from Apr 23, 2017

Conversation

MikeMcQuaid
Copy link
Member

Hide these tokens to avoid malicious subprocesses e.g. sending them over the network. Also, support using these tokens with environment filtering and clear HOMEBREW_PATH from subprocesses to stop them sniffing it. Finally, use HOMEBREW_PATH to detect Homebrew’s user’s PATH for e.g. brew doctor etc.

Requires the changes from #2476. Will be rebased to remove those changes when it is merged (before this PR is merged).

@MikeMcQuaid MikeMcQuaid force-pushed the more-env-filtering-fixes branch 3 times, most recently from b0febb5 to e4161af Compare April 22, 2017 15:04
Hide these tokens to avoid malicious subprocesses e.g. sending them
over the network. Also, support using these tokens with environment
filtering and clear `HOMEBREW_PATH` from subprocesses to stop them
sniffing it. Finally, use `HOMEBREW_PATH` to detect Homebrew’s user’s
PATH for e.g. `brew doctor` etc.
@MikeMcQuaid MikeMcQuaid merged commit 11acada into Homebrew:master Apr 23, 2017
@MikeMcQuaid MikeMcQuaid deleted the more-env-filtering-fixes branch April 23, 2017 08:45
@Homebrew Homebrew locked and limited conversation to collaborators May 3, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants