I’ve set up my own tap on a GitHub repository, and was able to tap it and install my one cask successfully. Since I want to include a few casks for software I can’t publicly share, I untapped the repo, set it to private, and am trying to set up access from Terminal to the repo again.
I’ve added this line to my ~/.bash_profile:
(that’s not my real token, just a random generated 40 char hex. the real token has every scope checked for now, just to make sure that isn’t the issue.)
I’ve restarted the terminal, and also tried setting the HOMEBREW_GITHUB_API_TOKEN in Terminal itself for that session.
But every time I try to tap the repo with
brew tap randallbruder/specialreserve, I get asked for my GitHub credentials:
Username for 'https://github.com': Password for 'https://github.com': remote: Repository not found. fatal: Authentication failed for 'https://github.com/randallbruder/homebrew-specialreserve/'
As I have 2FA on my account, even entering the correct username and password still ends up with an authentication failure.
Any idea what I’m doing wrong? Thank you for any help!