1 unstable release
0.1.0 | Aug 14, 2023 |
---|
#8 in #confidential
30KB
636 lines
qrstream
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
- Apache License, Version 2.0, (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
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