Page MenuHomePhabricator

D12619.diff
No OneTemporary

D12619.diff

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

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)

Event Timeline