Brew: Search triggers notification asking for keychain access

Created on 19 Oct 2016  路  5Comments  路  Source: Homebrew/brew

  • [x] Ran brew update and retried your prior step?
  • [x] Ran brew doctor, fixed as many issues as possible and retried your prior step?

Every time I run brew search, or something that triggers it, I see:
screen shot 2016-10-19 at 17 05 09

Clicking 'deny' (several times - 15? - as seems to be required) doesn't seem to have any ill-effect, so as you can imagine I'm disinclined to 'always allow' it access (seemingly the only way of making it leave me alone) without at least knowing what's going on.

I'm not even clear what it wants access to - I use a GPG key with Github and 2FA for the web login, so I'm not sure what it wants from the keychain that it thinks will be useful.

Most helpful comment

@theorician HOMEBREW_NO_GITHUB_API will stop anything ever using the GitHub API.

All 5 comments

It's trying to use your GitHub credentials so your rate limit isn't expired by GitHub's API so aggressively. This isn't actually giving Homebrew permissions or not but giving Git's credential handler the right to read your keychain.

It's trying to use your GitHub credentials so your rate limit isn't expired by GitHub's API

Does that work with 2FA enabled (and not providing a second factor)?

Yes if you've done an HTTPS checkout with a personal access token.

That's great. Don't really want it. Can I disable this permanently?

@theorician HOMEBREW_NO_GITHUB_API will stop anything ever using the GitHub API.

Was this page helpful?
0 / 5 - 0 ratings