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)
Tue, May 20, 4:30 PM
Unknown Object (File)
Tue, May 20, 1:16 PM
Unknown Object (File)
Tue, May 6, 7:37 PM
Unknown Object (File)
Mon, May 5, 8:14 PM
Unknown Object (File)
Apr 29 2025, 3:26 PM
Unknown Object (File)
Apr 25 2025, 12:14 PM
Unknown Object (File)
Apr 20 2025, 9:07 PM
Unknown Object (File)
Apr 15 2025, 7:01 PM
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).