omemo-qrcode-gen/README.md

45 lines
1.5 KiB
Markdown
Raw Permalink Normal View History

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-09-14 21:17:14 +00:00
./omemo-qrcode-gen bandie@example.com 9876543210 "12345678 ABCDEF12 12345678 ABCDEF12 12345678 ABCDEF12 12345678 ABCDEF12" qr
2018-06-14 08:51:56 +00:00
# This will use qrencode to generate the QR code and will save it into foo.png
2018-09-14 21:17:14 +00:00
./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-09-14 21:17:14 +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
```
2018-07-11 15:12:33 +00:00
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
2018-07-11 15:14:46 +00:00
# ./omemo-gen-get-devicelist-of [ account you want to see the devicelist of ]
2018-07-11 15:12:33 +00:00
```
2018-10-27 10:27:50 +00:00
### Pasting into the XMPP console in gajim
2018-10-27 10:31:03 +00:00
2018-10-27 10:32:05 +00:00
1. Paste it
2018-10-27 10:27:50 +00:00
![Pasted request](/img/1.png)
2018-10-27 10:31:03 +00:00
2018-10-27 10:32:05 +00:00
2. Press the send button
2018-10-27 10:27:50 +00:00
![The send button](/img/2.png)
2018-10-27 10:31:03 +00:00
2018-10-27 10:32:05 +00:00
3. Gain the information
2018-10-27 10:27:50 +00:00
![The information you want to have](/img/3.png)