1
mirror of https://github.com/rclone/rclone synced 2024-11-29 07:55:12 +01:00
rclone/backend/crypt
Nick Craig-Wood d5afcf9e34 crypt: try not to return "unexpected EOF" error
Before this change the code wasn't taking into account the error
io.ErrUnexpectedEOF that io.ReadFull can return properly. Sometimes
that error was being returned instead of a more specific and useful
error.

To fix this, io.ReadFull was replaced with the simpler
readers.ReadFill which is much easier to use correctly.
2023-03-22 16:23:37 +00:00
..
pkcs7 Error strings should not be capitalized 2022-06-23 23:26:02 +02:00
cipher_test.go crypt: try not to return "unexpected EOF" error 2023-03-22 16:23:37 +00:00
cipher.go crypt: try not to return "unexpected EOF" error 2023-03-22 16:23:37 +00: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: fix for unencrypted directory names on case insensitive remotes 2023-01-11 16:32:40 +00:00