We need a package to generate the QR codes from `keyserver` when it's run into the terminal. We have two options:
- [[ https://github.com/gtanner/qrcode-terminal | qrcode-terminal ]] is the package that [[
https://github.com/search?q=repo%3Aexpo%2Fexpo-cli%20qrcode-terminal&type=code | Expo CLI ]] uses to display a QR code in the terminal similar to
when `yarn dev` is run. While it's reliable, it hasn't really been updated in 5 years so I decided to not use it.
- [[ https://github.com/soldair/node-qrcode | node-qrcode ]] is the package that I decided to go to for a few reasons. It seems to be well supported
(latest update in April), lots of community issues/responses on existing issues, and has a better API to generate the QR codes, specifically
handling different encoding types.
Ultimately it shouldn't matter too much what we go with, the main challenge will be attempting to encode large amounts of data in a QR code in the
terminal without it breaking the line output, so for now I'm going to go with this package. If we need to, it's a very easy change.
Addresses [[ https://linear.app/comm/issue/ENG-4770/research-what-packages-expo-cli-uses-to-print-a-qr-code-in-the | ENG-4778 ]] and [[
https://linear.app/comm/issue/ENG-4771/find-a-package-to-use-for-printing-a-qr-code-out-to-the-terminal | ENG-4771 ]]