Skip to content

XEP-0363 HTTP Upload Implementation Progress #736

Description

@chrisballinger

Outgoing:

  • Determining 0363 server support and showing media picker UI if available
  • Creation of inline media items for outgoing media
  • Uploading files of fixed size (that fit in memory) via HTTP PUT
  • Sending https URL via buddy's preferredSecurity mechanism thru message queue
  • Buffered chunks for upload of media URL from secure storage instead of loading entire file into memory
  • Use aesgcm:// scheme for OMEMO-capable clients. Use https for forced plaintext. What to do for OTR-only?
  • Modify OTRKit to support libgcrypt AES-GCM streams via start/update/final instead of fixed Data
  • Handle sending media offline
  • Show % progress while uploading (Alamofire?)
  • Tor support for URLSessionConfiguration
  • Should we continue to support sending OTRDATA if 0363 is not available?

Incoming:

  • Auto-detect incoming link-only messages and create some sort of RemoteURLMediaItem
  • Inline previews should be created for any type of link in same style of iMessage or Snapchat
  • Figure out appropriate behavior for auto-downloading incoming media from others.
  • Allow for copying the underlying URL
  • Allow for saving media to camera roll
  • Allow exporting via iOS share sheet
  • Automatically handle (streaming) decryption of aesgcm:// scheme while downloading to media store.

Original issue #681

Activity

  1. added this to the 4.1 milestone on Apr 9, 2017
  2. tmolitor-stud-tu commented on Apr 12, 2017

    @tmolitor-stud-tu

    Incoming link only messages should either have an obb-tag providing the same link or have the aesgcm:// scheme to be considdered as filetransfer (as opposed to a link just copy 'n pasted by the user).

  3. LukeLR commented on Apr 16, 2017

    @LukeLR

    Thanks a lot for your great work. You put a lot of effort into this project, and I am sure that many (including me) appreciate that A LOT. HTTP Upload is the most important feature I'm waiting for to use ChatSecure/XMPP as my main IM. Keep it up! 😄 And thanks a lot.

  4. shravanteegala commented on Apr 25, 2017

    @shravanteegala

    how , i can add the XEP-0363 Xmpp Extensions for image sharing and file uploading.
    i Added XEP-0363 Extension into My Project.
    But I Can't find specific solution about that.
    Please give me solution to asap.
    I am waiting for long time about this.

  5. therob84 commented on May 14, 2017

    @therob84

    How is the progress in this matter (on the way to 4.1)?

  6. chrisballinger commented on May 15, 2017

    @chrisballinger
    MemberAuthor
  7. therob84 commented on May 15, 2017

    @therob84
  8. chrisballinger commented on May 19, 2017

    @chrisballinger
    MemberAuthor

    Sending and receiving now works! Still gotta clean it up though, so don't expect a release any time soon.

  9. thesaad commented on May 31, 2017

    @thesaad

    Is this checked in to Github? The sending/receiving process.

  10. msuiche commented on Nov 29, 2017

    @msuiche

    What's the current situation of handling aesgcm:// received from Conversations on Chatsecure

  11. chrisballinger commented on Nov 29, 2017

    @chrisballinger
    MemberAuthor
  12. skumarm commented on Nov 2, 2018

    @skumarm

    it works
    …
    On Tue, Nov 28, 2017 at 11:08 PM, Matt Suiche @.***> wrote: What's the current situation of handling aesgcm:// received from Conversations on Chatsecure — You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub <#736 (comment)>, or mute the thread https://github.com/notifications/unsubscribe-auth/AAfqH82lCUA9_U0kZSwJxqa_QPCUtcxSks5s7QLtgaJpZM4M4GCp .

    Thanks alot @chrisballinger for providing a goot platform for chat on iOS and Android.

    I am using ejabbered server.
    Following is my findings...

    Android : Conversations
    iOS : ChatSecure-iOS

    Unencrypted mode of file transfer works in all the scenarios ( iPhone <--> iPhone, iPhone <--> Android )
    OMEMO Encrypted mode of file transfer works in the scenarios ( iPhone <--> iPhone, iPhone --> Android ). But in Android --> iPhone not works.

    I found Aes Gcm used for file's encryption and decryption. Is this make any problem with this ?

    Please help me...

  13. licaon-kter commented on Nov 2, 2018

    @licaon-kter
    Contributor

    @skumarm Update Conversations to 2.3.5

    If you use the F-Droid version, do install the F-Droid client so you get updates too.

  14. skumarm commented on Nov 7, 2018

    @skumarm

    @skumarm Update Conversations to 2.3.5

    If you use the F-Droid version, do install the F-Droid client so you get updates too.

    So you are saying, the issue is with Conversations ( Not ChatSecure ?? )

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions