-
Notifications
You must be signed in to change notification settings - Fork 32
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
Feature request: download and decrypt aesgcm:// media urls #157
Comments
hi @petermolnar!
|
to the 1st point: I think the proto-xep you're looking for is https://xmpp.org/extensions/xep-0448.html |
to the 3rd point: using it together with the pidgin-data-uri-image would need a message with It could be tied to a setting to do this or not, depending in client needs. As in: decrypt incoming message => look for aesgcm:// => download resource => decrypt resource => identify mime type => emit a shadow (?) message, marked up in a way that other plugins could support, |
FYI, I used https://github.com/moparisthebest/ImageDownloader for decrypting Upd: looks like there'a also a Rust implementation now. |
I'm completely new to pidgin plugins, which is why this is not a pull request yet.
Using Conversations on Android, with http upload, if a media file gets sent inside and OMEMO message, lurch will correctly decrypt the message and display the media urls like
aesgcm://example.com/upload/file
The problem is that the uploaded media file is also OMEMO encrypted, therefore simply following the URL doesn't work.
I also have https://github.com/EionRobb/pidgin-data-uri-image/ which pulls the actual media from normal
<img>
and displays it inline.Would it be possible to add this functionality into lurch for aesgcm:// urls, as is download and decrypt the media along with the message?
The text was updated successfully, but these errors were encountered: