Page MenuHomePhabricator

[keyserver] display copyable url for qr code auth
ClosedPublic

Authored by varun on Jun 28 2024, 12:56 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Jan 5, 4:51 PM
Unknown Object (File)
Tue, Dec 24, 3:46 AM
Unknown Object (File)
Tue, Dec 24, 3:46 AM
Unknown Object (File)
Tue, Dec 24, 3:46 AM
Unknown Object (File)
Tue, Dec 24, 3:46 AM
Unknown Object (File)
Wed, Dec 18, 11:06 AM
Unknown Object (File)
Fri, Dec 13, 3:38 PM
Unknown Object (File)
Dec 7 2024, 7:19 PM
Subscribers

Details

Summary

if a user is on a simulator or emulator they can't just scan the QR code, so we display the URL that's embedded in the QR Code so it can be copied

Depends on D12618

Test Plan

Confirmed that the URL displayed in my terminal above the QR Code

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

varun requested review of this revision.Jun 28 2024, 1:12 PM
This revision is now accepted and ready to land.Jul 1 2024, 4:14 PM

What is the URL that is printed? Wondering if it's https or some sort of deep link

What is the URL that is printed? Wondering if it's https or some sort of deep link

it's not https. it looks like this:

[NODEM] Open the Comm app on your phone and scan the QR code below, or copy and paste this URL:
[NODEM] 
[NODEM] comm://qr-code/%7B%22aes256%22%3A%229c1541b9971c48735750834d2a882f189d37936c239e24e53d6f74f02d730e77%22%2C%22ed25519%22%3A%22jGD0dpmjPp7ytWBY7JwssT3rQJlTOlVWa7ViUq219x4%22%7D