Page MenuHomePhabricator

[keyserver] Print out a QR code to the terminal
ClosedPublic

Authored by rohan on Sep 13 2023, 8:59 AM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Dec 18, 7:51 PM
Unknown Object (File)
Wed, Dec 18, 7:51 PM
Unknown Object (File)
Wed, Dec 18, 7:51 PM
Unknown Object (File)
Wed, Dec 18, 7:49 PM
Unknown Object (File)
Tue, Nov 26, 10:06 AM
Unknown Object (File)
Nov 22 2024, 6:37 PM
Unknown Object (File)
Nov 22 2024, 2:28 PM
Unknown Object (File)
Nov 11 2024, 3:55 PM
Subscribers

Details

Summary

This diff handles printing out a QR code to the terminal - the idea is that this will ultimately be displayed on the keyserver. For now I've used temporary keys, the next two diffs will encode an ephemeral AES-256 key and the ed25519 key.

Addresses ENG-4776 and ENG-4773.

Depends on D9089

Test Plan

Confirmed that toggling the flag ensures that the QR code prints out to the terminal

Screenshot 2023-09-13 at 11.54.27 AM.png (1×2 px, 1 MB)

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

rohan edited the summary of this revision. (Show Details)
keyserver/src/keyserver.js
86–87 ↗(On Diff #31061)

These are temporary.

The AES256Key is set in the next diff, D9181

The ed25519 key will be in the diff after that

rohan requested review of this revision.Sep 13 2023, 9:17 AM

Don't have a ton of experience with qr codes, but seems reasonable

This revision is now accepted and ready to land.Sep 13 2023, 9:52 AM