Page MenuHomePhabricator

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

Authored by rohan on Wed, Sep 13, 8:59 AM.

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.Wed, Sep 13, 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.Wed, Sep 13, 9:52 AM