rclone/backend/crypt
nielash 4c6d2c5410 crypt: improve handling of undecryptable file names - fixes #5787 fixes #6439 fixes #6437
Before this change, undecryptable file names would be skipped very quietly
(there was a log warning, but only at DEBUG level),
failing to alert users of a potentially serious issue that needs attention.

After this change, the log level is raised to NOTICE by default and a new
--crypt-strict-names flag allows raising an error, for users who may prefer not
to proceed if such an issue is detected.

See https://forum.rclone.org/t/skipping-undecryptable-file-name-should-be-an-error/27115
https://github.com/rclone/rclone/issues/5787
2024-02-29 12:11:02 +00: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 features: add new interfaces OpenChunkWriter and ChunkWriter #7056 2023-08-12 17:55:01 +01:00
crypt.go crypt: improve handling of undecryptable file names - fixes #5787 fixes #6439 fixes #6437 2024-02-29 12:11:02 +00:00