omemo-qrcode-gen/README.md

45 lines
1.5 KiB
Markdown

# omemo-qrcode-gen
## What is it?
It generates a QR code (or a string) to verify OMEMO fingerprints.
## Usage
```console
./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. ;)
Requires qrencode and/or qr or even nothing.
Example:
# ./omemo-qrcode-gen [ Jabber ID ] [ Device ID ] "[ Fingerprint ]" [ filename.png or "qr" or "stdout" ]
# This will use qr to generate the QR code.
./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
# This will put the string into stdout
./omemo-qrcode-gen bandie@example.com 9876543210 "12345678 ABCDEF12 12345678 ABCDEF12 12345678 ABCDEF12 12345678 ABCDEF12" stdout
```
If you don't see your device ID's you can use `omemo-gen-get-devicelist-of` to copy paste it into an XMPP console.
it will be like
```console
# ./omemo-gen-get-devicelist-of [ account you want to see the devicelist of ]
```
### Pasting into the XMPP console in gajim
1. Paste it
![Pasted request](/img/1.png)
2. Press the send button
![The send button](/img/2.png)
3. Gain the information
![The information you want to have](/img/3.png)