Difference between revisions of "Tech pages/OX"

Jump to navigation Jump to search
1,110 bytes added ,  15:12, 22 June 2020
m
(3 intermediate revisions by the same user not shown)
Line 68: Line 68:
* If there is a private key, but there is no private key with a UID of the account, ask the user to add a UID
* If there is a private key, but there is no private key with a UID of the account, ask the user to add a UID
* If there is no private key, create one for the XMPP account.
* If there is no private key, create one for the XMPP account.
<pre>
gpg --quick-add-uid <FINGERPRINT> xmpp:user@domain.tld
</pre>


=== Export a public key ===
=== Export a public key ===
Line 278: Line 282:


???
???
= Issues =
Issues found during implementation and testing.
I'm trying to work on some [https://codeberg.org/Anoxinon_e.V./xmppc xmppc], [https://codeberg.org/xmpp-messenger/eagle eagle], [https://github.com/profanity-im/profanity profanity] to implement the use of OpenPGP in OX.
For testing I'm using the OX Plugin of [https://gajim.org/ gajim] also. This chapter I will write which "issue" I found, which should be clarified.
== Key-Lookup ==
The first and important part is the key-lookup of the public key. I think this would be done for all clients in the same way?
* get all public keys which are stored in the local keyring
* check if the key is not revoked, not disabled, not expired
* check for the key / subkey with capability [E] - not revoked, not disabled, not expired
* check all UIDs for the key
* look for a UID with the XMPP-URI
This key should be used to encrypted the message.
== encrypt-to-self ==
Not sure what should we do with it? Currently, I implemented that the message it encrypt for recipient and sender.


= Links =
= Links =
161

edits

Navigation menu