Implement chunked encryption using STREAM/RCLONE protocol
complete
Tom Raganowicz
This is to speed-up encryption/decryption of bigger files, since after some threshold we fallback to streamed emulated software AES-GCM which is extremely slow.
This is to reduce memory footprint during encryption/decryption as app tend to crash during multiple concurrent operations on bigger files.
This is also first step towards implementing encrypted video streaming.
Tom Raganowicz
complete
Tom Raganowicz
This was implemented and released in 1.4.0 release - https://s3drive.app/changelog
Tom Raganowicz
We've made a decision to use existing encryption standard: https://rclone.org/crypt/
It's concept is similar to STREAM. Rclone approach has certain security and performance drawbacks, however the benefit that the community gains by making these tooling compatible with each other offsets the potential shortcomings. Improvements to encryption protocol are possible since Rclone uses the magic file header which includes room for version bits.
Tom Raganowicz
in progress