nextcloud / end_to_end_encryption

:closed_lock_with_key: Server API to support End-to-End Encryption
https://apps.nextcloud.com/apps/end_to_end_encryption
GNU Affero General Public License v3.0
272 stars 34 forks source link

Secure filedrop #362

Closed tobiasKaminsky closed 1 year ago

tobiasKaminsky commented 1 year ago

Clients will re-encrypt metadata once they sync folder.

Details:

Web UI

Link creation

Upload process in the files drop page

Clients will do:

ToDo:

Server

Until 8.12: App: @CarlSchwan

From 8.12 to 22.12: Android: @tobiasKaminsky iOS: @marinofaggiana Desktop: @allexzander

PVince81 commented 1 year ago

seems there might be browser native support: https://developer.mozilla.org/en-US/docs/Web/API/SubtleCrypto/encrypt#aes-gcm

it takes an ArrayBuffer and it seems you can get one from a local file: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer

PVince81 commented 1 year ago

Development phases:

Phase 1: timeline December 8th

Phase 2: timeline ~December 22nd

Phase 3: ~December 22nd

tobiasKaminsky commented 1 year ago

@CarlSchwan do you have any working prototype that we can put on our e2e ltd test instance?

tobiasKaminsky commented 1 year ago

Client need to directly create a filedrop share, which is currently not possible due to https://github.com/nextcloud/server/issues/32611. But there is already a fix for it: https://github.com/nextcloud/server/pull/35213 It would then needed to be backported.

tobiasKaminsky commented 1 year ago

Client:

allexzander commented 1 year ago

draft PR for desktop https://github.com/nextcloud/desktop/pull/5327 (only able to create links now)