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

[Feature] Should rmenv GitHub auth tokens #4157

Closed
matthew-cline opened this issue Apr 2, 2021 · 2 comments
Closed

[Feature] Should rmenv GitHub auth tokens #4157

matthew-cline opened this issue Apr 2, 2021 · 2 comments
Labels
enhancement New feature request

Comments

@matthew-cline
Copy link
Contributor

The GitHub command line app (gh) uses GitHub personal access tokens. These can be passed to gh via environmental variables:

  • GH_TOKEN
  • GITHUB_TOKEN
  • GH_ENTERPRISE_TOKEN
  • GITHUB_ENTERPRISE_TOKEN

These should be rmenv'd somewhere. Perhaps in disable-passwdmgr.inc?

@rusty-snake
Copy link
Collaborator

Keep in mind that even if you rmenv them, a sandbox can still read the file where they are set if this file is not blacklisted or has no whitelist (in whitelisting profiles).

@kmk3
Copy link
Collaborator

kmk3 commented Dec 11, 2021

For future reference, the rmenv entries were moved to disable-common.inc
on #4461.

kmk3 added a commit that referenced this issue Dec 11, 2021
@kmk3 kmk3 added the enhancement New feature request label Feb 1, 2022
@kmk3 kmk3 moved this to Done (on RELNOTES) in Release 0.9.68 Sep 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature request
Projects
Status: Done (on RELNOTES)
Development

No branches or pull requests

3 participants