With this configuration , I will be able to mount and list the different encrypted folder, and display file decrypted :
[gd-crypt]
type = crypt
remote = gd:Folder
filename_encryption = standard
password = XXXXXXX
password2 = YYYYYYYY
directory_name_encryption = false
If I change directory_name_encryption to true, the mount gave an Input/output error, an the list of folder is not shown anymore.
2018/02/01 01:30:19 DEBUG : /: >ReadDirAll: item=13, err=
ls: reading directory ‘test/’: Input/output error
Any idea what going on ?
Also, rclone --config=/config/rclone.conf -vv lsd gd-crypt: will display the folders correctly…
Do you mean you try to mount the same remote with existing data which you set up with “directory_name_encryption = false”?
This cannot work, as the unencrypted directory names are already in the remote and cannot be decrypted (which is causing the error).
You have to decide if you want to use that setting before putting any data into the remote.
Sorry, if a was’nt clear enough. They were encrypted, as they were created with previous version of rclone 1.37, where this option didn’t exist.
Basicly I can decrypt files fine, but not folders. This happend with the “rclone mount” only, as I can list folder with “rclone lsd” (Also meaning my rclone.conf is correct )
I use the same rclone config between 1.3.7 and 1.3.9 (–config=/config/rclone.conf)
You want this set to true to be compatible with rclone 1.37
There should be encrypted directory names in gd:Folder - unencrypted directory names won’t be shown.
You’re right. But with 1.3.9, folders are a no show once mounted.
Command “rclone --config=/config/rclone.conf -vv lsd gd-crypt:” will have the right behavior with both version.
What was the actual error here?
It list the number of folders correctly (13) but display input/output error message.
Reverting back to 1.3.7 right after mount correctly, so not a gDrive ban issue.
Note : even if “ls” command will result in input input/output error, the “cd” to the unencrypted name of the folder will work and the number of items from ReadDirAll will update.
The input/ouput error will have a corresponding message in the rclone mount log - that is what I’m interested in. If you could paste that plus the 10 lines around it that would help.