-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for other e2e encryption types #3
base: master
Are you sure you want to change the base?
Conversation
…ptions for different types of encryption
Hey @iNPUTmice, do you have any thoughts on this? |
this looks good! |
thoughts @dgoulet? |
This is awesome! Could you also allow messages for MUC to pass through if mandatory is enabled and the message is OMEMO or OpenPGP? |
To be more clear, there appears to be a bug in this patch: This patch will break the 'mixed' mode (require OTR except for MUC). In our test, this patch will make encryption required for MUC, even when running in 'mixed' mode. |
This doesn't break mixed mode, all it does is additionally allow messages through if they are OMEMO or PGP. You might want to re-think your mixed mode though, because OMEMO/PGP can work in MUCs as well. |
We thought that it would allow mixed mode too. But when we installed this patch with mixed mode on, all the MUCs stopped working. Yes, we would like to drop mixed mode in the future, once more people have transitioned to omemo, but for now we want to be able to require encryption for user to user chats and make it optional for muc. One problem is the omemo group chats only work under specific circumstances (private groups, everyone in the group subscribed to status updates from everyone else). |
You can see the change, I literally added allows for omemo/pgp, and didn't change any mixed mode logic. It works as it did before, are you sure you set it right? |
Any news? |
This adds support for OMEMO, XEP-27 PGP, and XEP-373 OX PGP. I made each configurable so you could set up a server that only allowed OMEMO for instance.
Arguably you'd rename this to mod_e2e or something, but I didn't go that far. :)