Hi and Happy New Year Schimon.

Le lundi 6 janvier 2025, 14:06:28 heure normale d’Europe centrale Schimon 
Jehudah a écrit :

> However, I am thinking of encrypting the data, yet I do not how to
> implement such system which will be possible to decrypt only by the
> owner of the data, and I also do not know how to handle a situation in
> which an encryption key was lost.

There are currently 2 specified e2ee mechanisms for pubsub:

- XEP-0473: OpenPGP for XMPP Pubsub , this is probably what you want to use.

- XEP-0477: Pubsub Targeted Encryption, this is more for ad-hoc item 
encryption, and can be used with OMEMO (so you can have PFS). But in your use 
case, I thing that XEP-0473 is more adapted (and probably easier to 
implement).

Note that Libervia implements both, if you wanna test your implementation.

Best,
Goffi

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
Standards mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to