keyoxide-web/content/guides/xmpp.md

82 lines
2.8 KiB
Markdown
Raw Normal View History

2020-08-07 17:04:28 -06:00
# Adding a XMPP proof
Let's add a decentralized XMPP proof to your OpenPGP keys.
[[toc]]
### Add a message to your XMPP vCard
2021-06-02 02:40:02 -06:00
Go to (mov.im)[https://mov.im] and log in using your XMPP credentials. Click on **Configuration** and append the following message to the **About Me** section (make sure to replace FINGERPRINT):
2020-08-07 17:04:28 -06:00
```
This is an OpenPGP proof that connects my OpenPGP key to this XMPP account. For details check out https://keyoxide.org/guides/openpgp-proofs
[Verifying my OpenPGP key: openpgp4fpr:FINGERPRINT]
```
2021-06-02 02:40:02 -06:00
Using native XMPP clients that support editing the vCard data (such as [Gajim](https://gajim.org/)) should work as well. Unfortunately, this method appears unreliable and does not work for some.
2020-08-07 17:04:28 -06:00
### Update the PGP key (basic edition)
First, edit the key (make sure to replace FINGERPRINT):
2021-03-31 06:54:54 -06:00
```
gpg --edit-key FINGERPRINT
```
2020-08-07 17:04:28 -06:00
2021-06-21 03:00:41 -06:00
Get a list of user IDs and find the index of the one to assign the notation to:
```
list
```
Select the desired user ID (make sure to replace N):
```
uid N
```
2020-08-07 17:04:28 -06:00
Add a new notation:
2021-03-31 06:54:54 -06:00
```
notation
```
2020-08-07 17:04:28 -06:00
Enter the notation (make sure to replace XMPP-ID):
2021-03-31 06:54:54 -06:00
```
proof@metacode.biz=xmpp:XMPP-ID
```
2020-08-07 17:04:28 -06:00
The XMPP-ID looks something like an email address: **user@domain.org**.
Save the key:
2021-03-31 06:54:54 -06:00
```
save
```
2020-08-07 17:04:28 -06:00
Upload the key to WKD or use the following command to upload the key to [keys.openpgp.org](https://keys.openpgp.org) (make sure to replace FINGERPRINT):
2021-03-31 06:54:54 -06:00
```
gpg --keyserver hkps://keys.openpgp.org --send-keys FINGERPRINT
```
2020-08-07 17:04:28 -06:00
And you're done! Reload your profile page, it should now show a XMPP account.
### Update the PGP key (OMEMO edition)
XMPP communication can be end-to-end encrypted with [OMEMO](https://conversations.im/omemo/). Verifying OMEMO fingerprints is essential to trust your communication and keep it safe from Man-in-the-Middle attacks.
**Keyoxide** makes the fingerprint verification process easy for all. Add a special identity proof that not only contains your XMPP-ID but also the fingerprints of all your OMEMO keys.
If your XMPP identity proof is verified, a QR code is shown. Anyone can scan this QR code using XMPP apps like [Conversations](https://conversations.im/) (free on [F-Droid](https://f-droid.org/en/packages/eu.siacs.conversations/)) to not only add you as a contact, but also verify your OMEMO keys with the highest level of trust.
Making this identity proof yourself can be a tad difficult when using clients like Gajim, but luckily for us, [Conversations](https://conversations.im/) can directly generate the proof by going to **Account details > Share > Share as XMPP URI**. The resulting URI should look something like:
2021-03-31 06:54:54 -06:00
```
xmpp:user@domain.org?omemo-sid-123456789=A1B2C3D4E5F6G7H8I9...
```
2020-08-07 17:04:28 -06:00
To take advantage of the easy and secure XMPP identity proof including OMEMO fingerprints, follow the **basic edition** guide above but replace XMPP-ID with the URI obtained through the **Conversations** app.