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
F3348331: D9180.diff
Fri, Nov 22, 2:28 PM
Unknown Object (File)
Mon, Nov 11, 3:55 PM
Unknown Object (File)
Fri, Nov 8, 2:20 PM
Unknown Object (File)
Fri, Nov 8, 12:55 PM
Unknown Object (File)
Fri, Nov 8, 1:13 AM
Unknown Object (File)
Fri, Nov 8, 12:49 AM
Unknown Object (File)
Thu, Oct 31, 2:39 PM
Unknown Object (File)
Thu, Oct 31, 2:39 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
Branch
terminal_qr
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

rohan edited the summary of this revision. (Show Details)
keyserver/src/keyserver.js
86–87

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