libsignal-protocol-javascript icon indicating copy to clipboard operation
libsignal-protocol-javascript copied to clipboard

Encryption of Media Files

Open aimanabsi opened this issue 4 years ago • 5 comments

is there a way to encrypt and send media files like pdf,png via this lib?

aimanabsi avatar Jan 14 '21 20:01 aimanabsi

Not really. How it's normally done is you encrypt the file using a symmetric encryption method, upload the file to a storage service like s3. Then you send the key and the location of the file to the recipient via the signal library.

seanieb avatar Jan 14 '21 20:01 seanieb

then how can i send pdf file using this api lib ?

aimanabsi avatar Jan 17 '21 22:01 aimanabsi

If you're just trying trying to send encrypted files I would recommend:

https://github.com/magic-wormhole/magic-wormhole OR using https://github.com/FiloSottile/age

seanieb avatar Jan 19 '21 13:01 seanieb

@aimanabsi Hello. Im implementing the libsignal library too in flutter. While text are encrypted, what about media files like images, videos, gifs, docx, pdfs users send toneach other. Arent they encrypted part of the library ? If not , how do i do it ?

kitlu007 avatar Jan 20 '21 13:01 kitlu007