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

Scratch code support for Two Factor Authentication #784

Closed
quantum5 opened this issue Nov 2, 2018 · 0 comments
Closed

Scratch code support for Two Factor Authentication #784

quantum5 opened this issue Nov 2, 2018 · 0 comments

Comments

@quantum5
Copy link
Member

quantum5 commented Nov 2, 2018

Currently, we expect people who are locked out of 2FA to contact admins, which will then manually disable 2FA. This works when we actually know the people involved, as identity is an important part of authentication.

For a more general solution, we should implement scratch codes. These codes should be much longer and harder to guess than standard 2FA codes.

This is what we roughly expect from the system:

  • code is shown once upon generation, and never shown again
  • we offer 5 codes at a time
  • using a code invalidates it
  • regenerating codes invalidates all old codes
  • regeneration button shown on edit profile, when 2FA is enabled
  • codes are also generated and displayed after enabling 2FA
  • easy code copy button, which adds surrounding text as well to describe what the codes do
  • perhaps a print button to generate a PDF (security concerns? at least we can block on phantomjs now that we have gevent)
Carson-Tang added a commit to Carson-Tang/site that referenced this issue Apr 23, 2020
Carson-Tang added a commit to Carson-Tang/site that referenced this issue Apr 23, 2020
Carson-Tang added a commit to Carson-Tang/site that referenced this issue Apr 23, 2020
Carson-Tang added a commit to Carson-Tang/site that referenced this issue Apr 23, 2020
Carson-Tang added a commit to Carson-Tang/site that referenced this issue Apr 23, 2020
Carson-Tang added a commit to Carson-Tang/site that referenced this issue Apr 23, 2020
Carson-Tang added a commit to Carson-Tang/site that referenced this issue Apr 23, 2020
Carson-Tang added a commit to Carson-Tang/site that referenced this issue Apr 23, 2020
Carson-Tang added a commit to Carson-Tang/site that referenced this issue Apr 24, 2020
Carson-Tang added a commit to Carson-Tang/site that referenced this issue Apr 24, 2020
Carson-Tang added a commit to Carson-Tang/site that referenced this issue May 4, 2020
Carson-Tang added a commit to Carson-Tang/site that referenced this issue May 4, 2020
Carson-Tang added a commit to Carson-Tang/site that referenced this issue May 4, 2020
Carson-Tang added a commit to Carson-Tang/site that referenced this issue May 4, 2020
Carson-Tang added a commit to Carson-Tang/site that referenced this issue May 4, 2020
Carson-Tang added a commit to Carson-Tang/site that referenced this issue May 4, 2020
Carson-Tang added a commit to Carson-Tang/site that referenced this issue May 4, 2020
Carson-Tang added a commit to Carson-Tang/site that referenced this issue May 10, 2020
Carson-Tang added a commit to Carson-Tang/site that referenced this issue May 10, 2020
Carson-Tang added a commit to Carson-Tang/site that referenced this issue May 10, 2020
Carson-Tang added a commit to Carson-Tang/site that referenced this issue May 10, 2020
Carson-Tang added a commit to Carson-Tang/site that referenced this issue May 10, 2020
Carson-Tang added a commit to Carson-Tang/site that referenced this issue May 10, 2020
Carson-Tang added a commit to Carson-Tang/site that referenced this issue May 11, 2020
Carson-Tang added a commit to Carson-Tang/site that referenced this issue May 11, 2020
Carson-Tang added a commit to Carson-Tang/site that referenced this issue May 11, 2020
Carson-Tang added a commit to Carson-Tang/site that referenced this issue May 19, 2020
Carson-Tang added a commit to Carson-Tang/site that referenced this issue May 19, 2020
Carson-Tang added a commit to Carson-Tang/site that referenced this issue May 27, 2020
Carson-Tang added a commit to Carson-Tang/site that referenced this issue Jun 6, 2020
Carson-Tang added a commit to Carson-Tang/site that referenced this issue Jun 6, 2020
Carson-Tang added a commit to Carson-Tang/site that referenced this issue Jun 6, 2020
Carson-Tang added a commit to Carson-Tang/site that referenced this issue Jun 6, 2020
Carson-Tang added a commit to Carson-Tang/site that referenced this issue Jun 6, 2020
Carson-Tang added a commit to Carson-Tang/site that referenced this issue Jun 6, 2020
Carson-Tang added a commit to Carson-Tang/site that referenced this issue Jun 6, 2020
Carson-Tang added a commit to Carson-Tang/site that referenced this issue Jun 6, 2020
Carson-Tang added a commit to Carson-Tang/site that referenced this issue Jun 6, 2020
Carson-Tang added a commit to Carson-Tang/site that referenced this issue Jun 7, 2020
Carson-Tang added a commit to Carson-Tang/site that referenced this issue Jun 7, 2020
Carson-Tang added a commit to Carson-Tang/site that referenced this issue Jun 7, 2020
Carson-Tang added a commit to Carson-Tang/site that referenced this issue Jun 7, 2020
Carson-Tang added a commit to Carson-Tang/site that referenced this issue Jun 7, 2020
Carson-Tang added a commit to Carson-Tang/site that referenced this issue Jun 7, 2020
Carson-Tang added a commit to Carson-Tang/site that referenced this issue Jun 7, 2020
Carson-Tang added a commit to Carson-Tang/site that referenced this issue Jun 13, 2020
Carson-Tang added a commit to Carson-Tang/site that referenced this issue Jun 13, 2020
Carson-Tang added a commit to Carson-Tang/site that referenced this issue Jun 13, 2020
Carson-Tang added a commit to Carson-Tang/site that referenced this issue Jun 13, 2020
Carson-Tang added a commit to Carson-Tang/site that referenced this issue Jun 13, 2020
Carson-Tang added a commit to Carson-Tang/site that referenced this issue Jun 13, 2020
Carson-Tang added a commit to Carson-Tang/site that referenced this issue Jun 13, 2020
Carson-Tang added a commit to Carson-Tang/site that referenced this issue Jun 13, 2020
Carson-Tang added a commit to Carson-Tang/site that referenced this issue Jun 13, 2020
Carson-Tang added a commit to Carson-Tang/site that referenced this issue Jun 13, 2020
Carson-Tang added a commit to Carson-Tang/site that referenced this issue Jun 15, 2020
@Xyene Xyene closed this as completed in ead2202 Jun 16, 2020
outloudvi pushed a commit to SchOJ/site that referenced this issue Oct 27, 2020
malbareda pushed a commit to malbareda/JOEL-web that referenced this issue Jan 4, 2024
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