two-factor icon indicating copy to clipboard operation
two-factor copied to clipboard

Enhancement: automatically generate (and activate) backup codes

Open axelsimon opened this issue 6 years ago • 4 comments
trafficstars

It's been pointed out to me that it would be a nice default for regular users to have backup codes be automatically generated and showed when activating any other method of 2FA.

It can be dangerous to only activate one 2FA method (decent risk of locking yourselsf out), so we should automatically create the backup codes and show them to the user and prompt them to copy them and keep them safe.

It is possible that not having backup codes or having only one 2FA method is what you really want, (hence my mention of regular users), but in this case you can either remove the backup codes method after or simply not make note of the backup codes.

axelsimon avatar May 07 '19 08:05 axelsimon

Hi there, any news on this? It could really benefit regular users and help establish good security workflows for organisations wanting to use 2FA on Wordpress. Thanks!

axelsimon avatar Oct 15 '20 12:10 axelsimon

This is a great suggestion @axelsimon!

Unfortunately, I personally don't have time to work on this feature right now.

kasparsd avatar Oct 15 '20 12:10 kasparsd

I think having the Backup Verification Codes option as a selectable 2FA method is wrong. It should be moved out of the 2FA table and displayed similar to the Security Keys section outside the table.

If a 2FA option is selected, but the Backup Verification Codes have not been generated yet, a warning should be displayed.

r-a-y avatar Oct 29 '20 23:10 r-a-y

Related #485 , #507

iandunn avatar Jan 25 '23 18:01 iandunn