Page MenuHomePhabricator

Generate QR codes for TOTP tokens
ClosedPublic

Authored by epriestley on May 1 2014, 4:24 AM.

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.

Diff Detail

Repository
rP Phabricator
Lint
Lint Skipped
Unit
Unit Tests Skipped

Event Timeline

epriestley updated this revision to Diff 21173.May 1 2014, 4:24 AM
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.
epriestley updated this revision to Diff 21174.May 1 2014, 4:25 AM
  • Remove random +x on qrcode files.
Harbormaster completed remote builds in B159: Diff 21174.
epriestley updated this revision to Diff 21175.May 1 2014, 4:28 AM
  • Make the QR code pixels square in Chrome.
btrahan accepted this revision.May 1 2014, 5:16 PM
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 closed this revision.May 1 2014, 5:23 PM
epriestley updated this revision to Diff 21190.

Closed by commit rPe14695821758 (authored by @epriestley).