Page MenuHomePhabricator

Generate QR codes for TOTP tokens
ClosedPublic

Authored by epriestley on May 1 2014, 4:24 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Nov 24, 12:33 AM
Unknown Object (File)
Sat, Nov 23, 8:09 AM
Unknown Object (File)
Sat, Nov 23, 8:06 AM
Unknown Object (File)
Sat, Nov 23, 8:06 AM
Unknown Object (File)
Sat, Nov 23, 8:06 AM
Unknown Object (File)
Sat, Nov 23, 7:56 AM
Unknown Object (File)
Wed, Nov 13, 6:00 AM
Unknown Object (File)
Mon, Nov 4, 6:44 AM
Subscribers

Details

Summary

Ref T4398. I found a reasonable-ish LGPLv3 library for doing this, which isn't too huge or unwieldy.

Test Plan
  • Scanned QR code with Authy.
  • Scanned QR code with Google Authenticator.

Screen_Shot_2014-04-30_at_9.22.27_PM.png (1×2 px, 238 KB)

Diff Detail

Repository
rP Phabricator
Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

epriestley retitled this revision from to Generate QR codes for TOTP tokens.
epriestley updated this object.
epriestley edited the test plan for this revision. (Show Details)
epriestley added a reviewer: btrahan.
  • Remove random +x on qrcode files.
  • Make the QR code pixels square in Chrome.
btrahan edited edge metadata.
btrahan added inline comments.
src/applications/auth/factor/PhabricatorAuthFactorTOTP.php
275

Well, now I have seen one of those QR things drawn in PHP.

This revision is now accepted and ready to land.May 1 2014, 5:16 PM
epriestley updated this revision to Diff 21190.

Closed by commit rPe14695821758 (authored by @epriestley).