feat(live): Display QR codes at the console for easier accessing Agama with smartphones #1522
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Problem
Solution
qrencode
tool for generating the QR codes as text (it uses special UTF-8 graphical symbols)Notes
The root password is randomly generated so the system actually knows the password. I was thinking about rendering URLs with embedded password (something like
https://1.2.3.4?password=PASSWORD
) so then using a smartphone would be even easier.But that has some security drawbacks. The terminal already contains the root password, but you would need to be close to the screen to get it. On the other hand QR codes are designed for robustness, the QR code might be blurred, some part can be missing but the scanner will still be able to get the full content. That means you do not need to be next to the screen, the risk of eavesdropping for QR is higher than for a plain text password.
We could discuss that with the security team...
Screenshots
Dynamically adding network connections (activating 3 more network interfaces)
Agama-screen0.webm