2018-06-13 17:44:46 +00:00
|
|
|
# omemo-qrcode-gen
|
|
|
|
|
|
|
|
## What is it?
|
|
|
|
It generates a QR code (or a string) to verify OMEMO fingerprints.
|
|
|
|
|
|
|
|
## Usage
|
|
|
|
|
|
|
|
```console
|
2018-06-14 08:51:56 +00:00
|
|
|
./omemo-qrcode-gen [ Jabber ID ] [ Device ID ] [ Fingerprint ] [ [ Filename.png ] | [ qr ] | [ stdout ] ]
|
|
|
|
You can use ./omemo-qrcode-gen without any arguments or put all the needed arguments in here.
|
|
|
|
Don't forget the quotation marks. ;)
|
2018-06-13 17:44:46 +00:00
|
|
|
Requires qrencode and/or qr or even nothing.
|
|
|
|
|
|
|
|
Example:
|
2018-06-14 08:51:56 +00:00
|
|
|
# ./omemo-qrcode-gen [ Jabber ID ] [ Device ID ] "[ Fingerprint ]" [ filename.png or "qr" or "stdout" ]
|
2018-06-13 17:44:46 +00:00
|
|
|
# This will use qr to generate the QR code.
|
2018-06-14 08:51:56 +00:00
|
|
|
./omemo-qrcode-gen bandie@example.com 9876543210 12345678 ABCDEF12 12345678 ABCDEF12 12345678 ABCDEF12 12345678 ABCDEF12 qr
|
|
|
|
# This will use qrencode to generate the QR code and will save it into foo.png
|
|
|
|
./omemo-qrcode-gen bandie@example.com 9876543210 12345678 ABCDEF12 12345678 ABCDEF12 12345678 ABCDEF12 12345678 ABCDEF12 foo.png
|
2018-06-13 17:44:46 +00:00
|
|
|
# This will put the string into stdout
|
2018-06-14 08:51:56 +00:00
|
|
|
./omemo-qrcode-gen bandie@example.com 9876543210 12345678 ABCDEF12 12345678 ABCDEF12 12345678 ABCDEF12 12345678 ABCDEF12 stdout
|
2018-06-13 17:44:46 +00:00
|
|
|
```
|