1
mirror of https://github.com/rclone/rclone synced 2024-12-27 19:43:48 +01:00
rclone/backend/crypt
Nick Craig-Wood bb6cfe109d crypt: fix reading 0 length files
In an earlier patch

d5afcf9e34 crypt: try not to return "unexpected EOF" error

This introduced a bug for 0 length files which this fixes which only
manifests if the io.Reader returns data and EOF which not all readers
do.

This was failing in the integration tests.
2023-04-24 16:54:40 +01:00
..
pkcs7 Error strings should not be capitalized 2022-06-23 23:26:02 +02:00
cipher_test.go crypt: add suffix option to set a custom suffix for encrypted files - fixes #6392 2023-04-20 17:28:13 +01:00
cipher.go crypt: fix reading 0 length files 2023-04-24 16:54:40 +01:00
crypt_internal_test.go test: replace defer cleanup with t.Cleanup 2022-12-09 14:38:05 +00:00
crypt_test.go backend: allow wrapping backend tests to run in make quicktest 2022-06-29 17:30:37 +01:00
crypt.go crypt: add suffix option to set a custom suffix for encrypted files - fixes #6392 2023-04-20 17:28:13 +01:00