Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3349800
D12619.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
927 B
Referenced Files
None
Subscribers
None
D12619.diff
View Options
diff --git a/keyserver/src/keyserver.js b/keyserver/src/keyserver.js
--- a/keyserver/src/keyserver.js
+++ b/keyserver/src/keyserver.js
@@ -110,14 +110,15 @@
if (!identityInfo) {
console.log(
- '\nOpen the Comm app on your phone and scan the QR code below\n',
+ '\nOpen the Comm app on your phone and scan the QR code below, or copy and paste this URL:\n',
);
+ const url = qrCodeLinkURL(aes256Key, ed25519Key);
+ console.log(url, '\n');
console.log('How to find the scanner:\n');
console.log('Go to \x1b[1mProfile\x1b[0m');
console.log('Select \x1b[1mLinked devices\x1b[0m');
console.log('Click \x1b[1mAdd\x1b[0m on the top right');
- const url = qrCodeLinkURL(aes256Key, ed25519Key);
qrcode.toString(url, (error, encodedURL) => console.log(encodedURL));
}
} catch (e) {
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Nov 23, 7:15 PM (20 h, 9 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2572160
Default Alt Text
D12619.diff (927 B)
Attached To
Mode
D12619: [keyserver] display copyable url for qr code auth
Attached
Detach File
Event Timeline
Log In to Comment