web-client icon indicating copy to clipboard operation
web-client copied to clipboard

[Feature] Share Target

Open bobleeSwagger2 opened this issue 6 years ago • 2 comments

On mobile devices it would be helpful to share things to Cryptee. Thank you

bobleeSwagger2 avatar Sep 16 '19 17:09 bobleeSwagger2

Hi there! Thanks a lot for filing this!

Luckily it's already in the works, and on the way!

The difficulty/holdback is that OSes don't allow heavy computation with share-dialogs. And since in case of Cryptee everything is encrypted on your device, files need to be encrypted before they can be shared / uploaded to Cryptee.

So there's two places this encryption can take place. a) in the origin app, within the share dialog. (This would require a popup asking for your encryption key if you don't have it in memory)

b) In the target app (Cryptee) – but the shared item would have to sit unencrypted on the device's local storage until Cryptee launches. (This is okay if Cryptee launches immediately once something's shared to it, but it may not always be the case depending on the OS and apps you're sharing from)

c) So finally, things would need to be encrypted in Cryptee (and this requires background processing, but OSes don't like heavy background cryptographic operations, so they axe them out very quickly in mere seconds [presumably to prevent cryptocurrency mining in the background, but also for battery conservation reasons])

I have a working POC, and I think Android will get this first, and iOS next. I'll keep this thread updated when it's ready for beta testing so you can give it a try ✌🏻

johnozbay avatar Sep 17 '19 08:09 johnozbay

Any update? I can't really use cryptee without this feature

maxf avatar May 26 '20 14:05 maxf