cipherSize 30: incomplete last block after upgrade to 2.6.0
Hi,
Just upgraded to v2.6.0 (from 2.5.4) and now I see a lot of these messages in the log
cipherSize 30: incomplete last block (12 bytes), padding to 51 bytes
cipherSize 4154: incomplete last block (8 bytes), padding to 4179 bytes
My setup is
- Fedora Linux
- Two folders that are synced using Syncthing
- Folders are mounted using -sharedstorage option
- I have been using them for a couple years, while updating gocryptfs to latest version occasionally
What I tried
gocryptfs -fsck
shows no errors
find . -type f -exec file {} ; | grep "ERROR:"
shows no error
find . -type f -exec file {} ;
looks normal (nothing unexpected)
find . -type f -exec xxhsum {} ;
also executes without errors
Whenever I run one of the above commands I get the same number of cipherSize messages in the log
I assume that means that there are n corrupted files in my folder and whenever I try to read them I get one log entry per file
I also noticed that the log message triggers when I access an empty folder
If I look at the cipherdir and compare the contents then I see
Three empty folders in PLAINDIR
Two empty folders in CIPHERDIR and another folder with small files that have not been changed since 2022
Is there a way to find out which of my files is affected? Enhance the verbosity or something like that?
Is this error harmless or have I lost some data?
Thanks a lot for the great tool, have been using it for many years :-)