Directory

⚓ T234004 Add timestamp to recovery codes when displayed
Page MenuHomePhabricator

Add timestamp to recovery codes when displayed
Closed, ResolvedPublic

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

Change #988707 merged by jenkins-bot:

[mediawiki/extensions/OATHAuth@master] TOTPEnableForm: Display enrollment timestamp with recovery tokens

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

TheDJ claimed this task.

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

[mediawiki/extensions/OATHAuth@REL1_43] TOTPEnableForm: Display enrollment timestamp with recovery tokens

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

Change #1087585 merged by jenkins-bot:

[mediawiki/extensions/OATHAuth@REL1_43] TOTPEnableForm: Display enrollment timestamp with recovery tokens

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