Difference between revisions of "Bridging the air gap with quill and QR codes"
From Internet Computer Wiki
Diego.prats (talk | contribs) |
Diego.prats (talk | contribs) |
||
Line 17: | Line 17: | ||
==Step 2:Convert the signed message into QR codes == | ==Step 2:Convert the signed message into QR codes == | ||
+ | |||
+ | <pre>message.json</pre> file actually has multiple messages for the Internet Computer, so you will run a script that will put you in the following loop: | ||
+ | |||
+ | #Run script | ||
+ | #QR code is generated | ||
+ | #Scan QR code with your smartphone | ||
+ | #Hit ENTER and return to step 2 | ||
+ | #The command will break up all the messages in message.json into QR codes you will scan sequentially in the following steps. | ||
+ | |||
+ | On the '''air-gapped machine:''' | ||
+ | |||
+ | <pre>$ bash ./quill-qr.sh < message.json</pre> | ||
==Step 3: Scan the message-turned-QR code and go to the website== | ==Step 3: Scan the message-turned-QR code and go to the website== |
Revision as of 23:18, 12 November 2021
Summary
If you are using quill on an airgapped machine, you can use QR codes to "bridge the air gap" by sending the signed messages 'crafted' in quill.
Basic steps
- Air-gapped machine: Create a signed message (message.json) in quill
- Air-gapped machine: Convert the signed message into QR codes
- Networked smartphone: Click "send" to send the message to the IC
Step 1: Create a signed message (message.json) in quill
Step 2:Convert the signed message into QR codes
message.json
file actually has multiple messages for the Internet Computer, so you will run a script that will put you in the following loop:
- Run script
- QR code is generated
- Scan QR code with your smartphone
- Hit ENTER and return to step 2
- The command will break up all the messages in message.json into QR codes you will scan sequentially in the following steps.
On the air-gapped machine:
$ bash ./quill-qr.sh < message.json
Step 3: Scan the message-turned-QR code and go to the website
Step 4: Networked smartphone: Click "send" to send the message to the IC
What kind of website the QR code will open on your smartphone:
Scroll down and click on send: