Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
OMEMO encrypt and decrypt HTTP-Upload #1182
I do not know, if the url is encrypted also - the file/image is encrypted with omemo/aes:
You have to download the files by just replace
Here is the implementation in gajim/python:
Hope it helps a little bit.
Without this OMEMO is really crippled to just text messages.
The OMEMO HTTP-upload is covered in https://xmpp.org/extensions/inbox/omemo-media-sharing.html :
I think this may be a security issue... if the lock icon is set to "locked" and OMEMO encryption is enabled, then user goes to attach a file, the file is sent unencrypted.
Perhaps file attachments should be disabled during an OMEMO-encrypted chat (or at least heavily warned) until this is fixed ?