Hi,
I already set rclone.conf file with a configuration password. It works as normal and it prompt out asking for password input via “rclone config” cmd. Unfortunately, it able to bypass configuration password after using option –config=“dir” (custom directory). Is this a bug or what?
I think it is likely you have an unencrypted config file at ../rclone.conf - there is no way rclone can access an encrypted config without the correct password, so I think you must have an alternate unencrypted config.
Thanks for reply, however it still not working. I tried to change the password of rclone.conf in custom directory and it showed as “encrypted”. When I tried re-access again the rclone conf file, it directly move to configuration setting without prompt out password enter.
Recently i just upgrade and replace the rclone directory version from 1.43 to 1.45. (rclone.conf generated based on 1.43) .I just wonder will it be the version compatibility issue?
D:\Profile\Synced\Backup\programs\rclone>rclone config --config="…/rclone.conf"
Current remotes:
Name Type
==== ====
ETeamDrive crypt
GDrive drive
TeamDrive drive
e) Edit existing remote
n) New remote
d) Delete remote
r) Rename remote
c) Copy remote
s) Set configuration password
q) Quit config
e/n/d/r/c/s/q> s Your configuration is encrypted.
c) Change Password
u) Unencrypt configuration
q) Quit to main menu
c/u/q> c
Enter NEW configuration password:
password:
Confirm NEW configuration password:
password:
Password changed Your configuration is encrypted.
c) Change Password
u) Unencrypt configuration
q) Quit to main menu
c/u/q> q
Current remotes:
Name Type
==== ====
ETeamDrive crypt
GDrive drive
TeamDrive drive
e) Edit existing remote
n) New remote
d) Delete remote
r) Rename remote
c) Copy remote
s) Set configuration password
q) Quit config
e/n/d/r/c/s/q> q
D:\Profile\Synced\Backup\programs\rclone>rclone config --config="…/rclone.conf"
Current remotes:
Name Type
==== ====
ETeamDrive crypt
GDrive drive
TeamDrive drive
e) Edit existing remote
n) New remote
d) Delete remote
r) Rename remote
c) Copy remote
s) Set configuration password
q) Quit config
e/n/d/r/c/s/q>
I’m not quite sure what is going on here, but I note you have three . in your config file so .../rclone.conf - I imagine this might be causing the problem. Note that you’ll also want a Windows style path so ..\rclone.conf is probably what you want.