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)
Tue, Oct 1, 5:29 PM
Unknown Object (File)
Sat, Sep 28, 10:29 PM
Unknown Object (File)
Fri, Sep 27, 1:38 PM
Unknown Object (File)
Sep 10 2024, 10:03 AM
Unknown Object (File)
Sep 10 2024, 10:03 AM
Unknown Object (File)
Sep 10 2024, 10:03 AM
Unknown Object (File)
Sep 10 2024, 9:59 AM
Unknown Object (File)
Sep 4 2024, 3:48 AM
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