Page MenuHomePhabricator

2FA should clarify O and 0s in scratch codes
Open, Needs TriagePublic


Pretty much says it in the title. It's difficult to tell O from 0 in the typeface being used.

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald TranscriptMay 7 2018, 7:27 PM
Legoktm added a subscriber: Legoktm.May 9 2018, 1:26 AM

What operating system/browser are you using? It depends on which font your browser ends up picking...on Fedora 28/Firefox, the monospace font is DejaVu Sans Mono, which does visually differentiate between 0 and O, as you can see in the screenshot. In Firefox if you right click on the text, pick show inspector from the menu, and then switch the tab to fonts, it'll tell you which font your browser picked.

@Legoktm Chrome! Using "inspect" says that the font family is monospace.

Vvjjkkii renamed this task from 2FA should clarify O and 0s in scratch codes to agdaaaaaaa.Jul 1 2018, 1:12 AM
Vvjjkkii triaged this task as High priority.
Vvjjkkii updated the task description. (Show Details)
Vvjjkkii removed a subscriber: Aklapper.
CommunityTechBot renamed this task from agdaaaaaaa to 2FA should clarify O and 0s in scratch codes.Jul 1 2018, 3:56 PM
CommunityTechBot raised the priority of this task from High to Needs Triage.
CommunityTechBot updated the task description. (Show Details)
CommunityTechBot added a subscriber: Aklapper.
Tgr added a subscriber: Tgr.Dec 6 2018, 8:43 AM

We could just generate codes which do not have easy to mistake characters. o (small letter) / O (large letter) / 0 (number) and 1 (number) / l (small L) / I (large i) are typically the things to avoid.