qrstream

Crates.ioqrstream
lib.rsqrstream
version0.1.0
sourcesrc
created_at2023-08-14 10:24:09.857647
updated_at2023-08-14 10:24:09.857647
descriptionA secure no-persistence way to convert confidential data into QR codes, and vice-versa
homepagehttps://github.com/amodm/qrstream-rs
repositoryhttps://github.com/amodm/qrstream-rs
max_upload_size
id944013
size103,906
Amod Malviya (amodm)

documentation

README

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.

Commit count: 5

cargo fmt