Understanding Crypt

Hi,

I’m using Backblaze B2 alone with crypt to upload encrypted files (filenames and paths are stored unencrypted) and this seems to be working fine… i.e. I am seeing my local directory structure being mirrored in B2 with all files having the .bin extension.
I’m trying to figure out how to restore these encrypted files on another machine, so I basically copy the steps I took on the machine I did the upload from (using the same password and password2) that in initially used. However, when I try to restore using
rclone sync secure: mydir i get a Bunch of errors around EOF not found. Looking at both rclone.conf files, the password stored between the two differ - should this be the case and would this be the cause of the issue ?

018/04/19 13:08:23 INFO  : Local file system at /Users/dilby/Downloads/rclone-v1.40-osx-amd64/test: Modify window is 1ms
2018/04/19 13:08:23 INFO  : Local file system at /Users/dilby/Downloads/rclone-v1.40-osx-amd64/test: Waiting for checks to finish
2018/04/19 13:08:23 INFO  : Local file system at /Users/dilby/Downloads/rclone-v1.40-osx-amd64/test: Waiting for transfers to finish
2018/04/19 13:08:24 NOTICE: test_a.txt: Removing partially written file on error: unexpected EOF
2018/04/19 13:08:24 NOTICE: test_b.txt: Removing partially written file on error: unexpected EOF
2018/04/19 13:08:24 NOTICE: test_a.txt: Removing partially written file on error: unexpected EOF
2018/04/19 13:08:24 NOTICE: test_b.txt: Removing partially written file on error: unexpected EOF
2018/04/19 13:08:24 NOTICE: test_a.txt: Removing partially written file on error: unexpected EOF
2018/04/19 13:08:24 NOTICE: test_b.txt: Removing partially written file on error: unexpected EOF
2018/04/19 13:08:25 NOTICE: test_a.txt: Removing partially written file on error: unexpected EOF
2018/04/19 13:08:25 NOTICE: test_b.txt: Removing partially written file on error: unexpected EOF
2018/04/19 13:08:25 NOTICE: test_a.txt: Removing partially written file on error: unexpected EOF
2018/04/19 13:08:25 NOTICE: test_b.txt: Removing partially written file on error: unexpected EOF
2018/04/19 13:08:25 NOTICE: test_a.txt: Removing partially written file on error: unexpected EOF
2018/04/19 13:08:25 NOTICE: test_b.txt: Removing partially written file on error: unexpected EOF
2018/04/19 13:08:25 NOTICE: test_a.txt: Removing partially written file on error: unexpected EOF
2018/04/19 13:08:25 NOTICE: test_b.txt: Removing partially written file on error: unexpected EOF
2018/04/19 13:08:25 NOTICE: test_a.txt: Removing partially written file on error: unexpected EOF
2018/04/19 13:08:25 NOTICE: test_b.txt: Removing partially written file on error: unexpected EOF
2018/04/19 13:08:26 NOTICE: test_a.txt: Removing partially written file on error: unexpected EOF
2018/04/19 13:08:26 NOTICE: test_b.txt: Removing partially written file on error: unexpected EOF
2018/04/19 13:08:26 NOTICE: test_a.txt: Removing partially written file on error: unexpected EOF
2018/04/19 13:08:26 ERROR : test_a.txt: Failed to copy: unexpected EOF
2018/04/19 13:08:26 NOTICE: test_b.txt: Removing partially written file on error: unexpected EOF
2018/04/19 13:08:26 ERROR : test_b.txt: Failed to copy: unexpected EOF
2018/04/19 13:08:26 ERROR : Local file system at /Users/dilby/Downloads/rclone-v1.40-osx-amd64/test: not deleting files as there were IO errors
2018/04/19 13:08:26 ERROR : Local file system at /Users/dilby/Downloads/rclone-v1.40-osx-amd64/test: not deleting directories as there were IO errors
2018/04/19 13:08:26 ERROR : Attempt 1/3 failed with 2 errors and: unexpected EOF

Thanks Dilby

The easiest and recommended thing to do is to copy the config file from one place to the other. Find out where it is with rclone config file.

I don’t really understand that log though… Can you run that again with -vv please?

Thanks for the reply. I think I managed to resolve the issue and put it down to the generated password not copying correctly out of the shell. In the end I used a personally generated password that I provided to rclone.

1 Like