FWeinb / rclone-js

Encrypt/Decrypt files in your browser
76 stars 15 forks source link

cannot decrypt files larger than chunk size #28

Open blaineam opened 10 months ago

blaineam commented 10 months ago

I am unable to decrypt files over the 1MB chunk size that gets passed in to the readable stream function opts. I see it loads the full 47MB and then calls the done block but then claims it failed to decrypt. I confirmed the path decryption is working so Im not sure how to get the file decryption to support larger files. It works for the tiny 20KB rclone logo just not anything above the chunkSize.