Skip to content
Snippets Groups Projects

Add option to recover 2FA via SSH

Merged Drew Blessing requested to merge dblessing/gitlab-shell:2fa_recovery into master

Related to https://gitlab.com/gitlab-org/gitlab-ce/issues/3765

Allow users to recover their own account if they lose their 2FA device or recovery codes.

To request new 2FA recovery codes, when you still have access to the SSH key associated with your account:

ssh git@gitlab.com 2fa_recovery_codes

#63 (closed) # Questions/Concerns

  • Does this look secure? I think it is but we need to make sure no one can spoof a username or something and disable two factor.

Todo

  • Working code
  • Tests
  • GitLab merge requests (including documentation)

Screen_Shot_2016-08-18_at_2.34.18_PM

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading