Closed tobiasKaminsky closed 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
Development phases:
@CarlSchwan do you have any working prototype that we can put on our e2e ltd test instance?
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.
Client:
curl --request POST \
--url 'http://localhost/nc/ocs/v2.php/apps/files_sharing/api/v1/shares?format=json&path=%2FEncryptedFiledrop&shareType=3&permissions=4' \
--header 'OCS-APIRequest: true'
draft PR for desktop https://github.com/nextcloud/desktop/pull/5327 (only able to create links now)
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