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

Documentation of MFA and other Security Concerns #4

Open
scheidelg opened this issue Mar 31, 2020 · 0 comments
Open

Documentation of MFA and other Security Concerns #4

scheidelg opened this issue Mar 31, 2020 · 0 comments

Comments

@scheidelg
Copy link
Owner

scheidelg commented Mar 31, 2020

Make sure to note the use of MFA being encouraged.

User ID / password information is given to the web site, to do whatever it wants - bad.

note that user id / password via API is being deprecated Nov 2020 (provide URL)

Personal access tokens, limited scope (read:org) seems to be the most restrictive that we can use), can be revoked - good

PAT notes

So, option #1:

  • grant users access to your repository
  • create a GitHub personal access token, grant it read:org privs

downsides

  • It's a 40-digit hexadecimal character that will be cleared from memory the next time you close your browser, then you'll have to re-enter it
  • The user is still granting access to all the repositories to which they have access, within the scope of the token; the ONLY scope that works is "repo" which grants "full control of private repositories" (all private repositories)
  • one year expiration that can't be changed

upsides

  • not as bad as logging in as the user, assuming you've limited the scope of the token
  • token expires in 1 year even if you forget about it
  • user can revoke the token (need URL here)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant