When Wifi goes down: Transfer files from Air gapped machines using QR codes(github.com)
github.com
When Wifi goes down: Transfer files from Air gapped machines using QR codes
https://github.com/leonjza/qrxfer
2 comments
This is a beautiful idea. How much information does the QR code carry, and how much is transfer boilerplate?
The maximum storage capacity seems to be 2953 bytes ([1]).
Although that's with error correction level L, so you can only read it as long as you have 93% of all codewords.
[1] https://en.wikipedia.org/wiki/QR_code#Storage
[1] https://en.wikipedia.org/wiki/QR_code#Storage
Author here. The amount of data per QR depends on the QR size specified. If I remember correctly, its about 10 bytes per code in the default config (QR code size of 30). Transfer boilerplate is a few codes in the start to setup the conversation and a FIN like message at the end.
I guess with high density QR codes, a decent display and a good cam you could transfer a megabyte or more in a minute :D If both devices have front facing cameras, such as smartphones, you could even have a real-time back channel (duplex), and the receiving device could signal the sending device that a certain "frame" got lost and needs to be retransmitted.