Page MenuHomePhabricator

Add timestamp to recovery codes when displayed
Open, Needs TriagePublic

Description

The scratch codes should be provided with a time stamp, and the box asking for a token should also provide the timestamp for the last set of scratch codes. That would make it easier to figure out why the scratch codes does not work.

Something like

2019-09-27
AGFJ LKJH DSUH UBLT
…

And then a message under the text field reading “Scratch codes provided 27th september 2019”.

Event Timeline

the box asking for a token should also provide the timestamp for the last set of scratch codes

The timestamp could be included in the JSON blob which contains the tokens...

Reedy renamed this task from 2fa, add timestamp to scratch codes to Add timestamp to scratch codes.Dec 6 2023, 12:34 PM
Reedy renamed this task from Add timestamp to scratch codes to Add timestamp to recovery codes when displayed.Jan 1 2024, 8:52 PM

Change 988707 had a related patch set uploaded (by Reedy; author: Reedy):

[mediawiki/extensions/OATHAuth@master] TOTPEnableForm: Display ISO8601 date with scratch tokens

https://gerrit.wikimedia.org/r/988707