mirror of
https://github.com/antonioribeiro/google2fa.git
synced 2026-04-24 23:55:55 +03:00
[GH-ISSUE #9] Recovery Codes Question #7
Labels
No labels
bug
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/google2fa#7
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @codivist on GitHub (May 21, 2015).
Original GitHub issue: https://github.com/antonioribeiro/google2fa/issues/9
Thanks for the awesome work on this! I've implemented this package into Laravel and it works great!
I'm now trying to generate recover codes or back up codes. Like this page: https://support.google.com/accounts/answer/1187538?hl=en
How are you generating recovery codes (backup codes) incase a user doesn't have their phone?
I've looked through the code and have been thinking of different ways I can implement a recovery code list, but coming up empty handed.
Can the one time password method
oathHotpbe used in a loop to generate those codes?@danlake commented on GitHub (Dec 16, 2015):
I have run into exactly the same issue. Would be useful to understand how to implement this as not all TFA apps / clients can scan QR codes
@aik099 commented on GitHub (Mar 11, 2016):
The recovery codes are one time use passwords, that:
This library isn't responsible for creating/validating them. You can use any secure random generator for creating these codes.
@GrahamCampbell commented on GitHub (Jul 17, 2016):
This can probably closed. This is outside the scope of this package.
@antonioribeiro commented on GitHub (Jul 17, 2016):
As @GrahamCampbell said, not related to this package. You should generate recovery codes on your app using a different method (sms, email...), and it must not be based on time as this package is.