#qrcode #codes #encryption #data #confidential #secure

app qrstream

A secure no-persistence way to convert confidential data into QR codes, and vice-versa

1 unstable release

0.1.0 Aug 14, 2023

#8 in #confidential

MIT/Apache

30KB
636 lines

qrstream

Current Version License Build

A secure no-persistence way to convert confidential data into encrypted QR codes, and vice-versa. If the secret doesn't fit into a single QR code, it is automatically split into multiple QR codes (the decoding process knows how to reassemble them later).

Encode to QR

Basic use

echo "MYSECRET" | qrstream -p prompt encode > my-secret-qr.png

Print QR without storing to disk

echo "MYSECRET" | qrstream -p prompt encode | lpr

Decode

From camera (requires connected webcam)

echo "MYSECRET" | qrstream -p prompt -i camera decode > outfile

From stdin

cat my-secret-qr.png | qrstream -p prompt decode > outfile

License

SPDX-License-Identifier: Apache-2.0 OR MIT

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Dependencies

~20–32MB
~415K SLoC