ChatSecure-iOS icon indicating copy to clipboard operation
ChatSecure-iOS copied to clipboard

httpupload

Open thundergreen opened this issue 10 years ago • 8 comments

Hi guys.just wanted to know if u are working on httpupload as I wouod really need it to use xmpp on iOS

Greets

Thunder

thundergreen avatar Jul 24 '16 08:07 thundergreen

We will implement OMEMO file transfer

On Sun, Jul 24, 2016 at 4:22 AM, ThUnD3r|Gr33n [email protected] wrote:

Hi guys.just wanted to know if u are working on httpupload as I wouod really need it to use xmpp on iOS

Greets

Thunder

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/ChatSecure/ChatSecure-iOS/issues/538, or mute the thread https://github.com/notifications/unsubscribe-auth/AAfqHzNwb0tSaHjNW2JfSQqqwAli5gEMks5qYyDigaJpZM4JTh7v .

chrisballinger avatar Jul 24 '16 16:07 chrisballinger

Wow... What's this amazing transfer? Jingle file transfer with omemo encryption?

thundergreen avatar Jul 25 '16 19:07 thundergreen

@chrisballinger I would not go with OMEMO Encrypted Jingle File Transfer and instead just implement HTTP File Upload.

  • Jingle File transfer is overly complex to implement if you don't have library support.
  • Jingle File transfer doesn't work with offline contacts and doesn't work with multiple end points.
  • HTTP File is extremely trivial because you already have an HTTP library (what platform doesn't)
  • While Conversations supports both (Jingle and HTTP) HTTP has become the default one

The encryption on top of HTTP file transfer hasn't been written down in XEP form but is documented here: https://github.com/iNPUTmice/ImageDownloader. (Gajim also support encrypted HTTP upload and download. And ChatSecure/Gajim/Conversations can and should be powerful allies)

P.S.: I doesn't hurt to have jingle support (especially the unencrypted one). There are some corner cases where it might in fact be useful. But I certainly wouldn't start with this.

iNPUTmice avatar Jul 30 '16 08:07 iNPUTmice

@iNPUTmice Oh that looks much nicer. Do you do the key exchange with an omemo key exchange message?

chrisballinger avatar Jul 31 '16 01:07 chrisballinger

@chrisballinger for now we just put the link in the body of a normal OMEMO encrypted message. (Until we find a better way.)

iNPUTmice avatar Jul 31 '16 06:07 iNPUTmice

I personally don't care that much about omemo but httpupload support would be really appreciated.

mt7479 avatar Aug 04 '16 09:08 mt7479

Monal has http upload implemented, which works mostly fine, that might be worth looking in to. I'd be very happy with http upload in chatsecure.

driminicus avatar Nov 21 '16 14:11 driminicus

It's on the roadmap

On Mon, Nov 21, 2016 at 6:40 AM, driminicus [email protected] wrote:

Monal has http upload implemented https://github.com/anurodhp/Monal/issues/1, which works mostly fine, that might be worth looking in to. I'd be very happy with http upload in chatsecure.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/ChatSecure/ChatSecure-iOS/issues/538#issuecomment-261955664, or mute the thread https://github.com/notifications/unsubscribe-auth/AAfqHyBT6ry8vAYMnTmapI772IvTuhARks5rAa1ngaJpZM4JTh7v .

chrisballinger avatar Nov 21 '16 21:11 chrisballinger