Skip to content

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

Merged
MikeMcQuaid merged 1 commit into
Homebrew:masterfrom
MikeMcQuaid:more-env-filtering-fixes
Apr 23, 2017
Merged

MikeMcQuaid merged 1 commit into
Homebrew:masterfrom
MikeMcQuaid:more-env-filtering-fixes

Conversation

@MikeMcQuaid

Copy link
Copy Markdown
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).

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.

2 participants