#### What is the problem you are having with rclone?
Similar to the command rclone obscure password, is there the ability to generate an encrypted output of the password as well as salt. The purpose is to validate if the existing passwords match.
#### What is your rclone version (output from rclone version)
rclone v1.53.1
#### Which OS you are using and how many bits (eg Windows 7, 64 bit)
Microsoft Windows 10 Professional version 1909 Build 18636.1110
No, there isn't a command I'm aware of. You can validate by just typing in passwords and validating you can list the remote as the passwords would change so they'd never be the same.
Would it be possible to request it as a feature as it would minimize the need to create additional remotes? It would also enable the ability to automate validation.
The use case I am attempting to test is if the current password and salt are valid. This is because when copying sensitive content e.g. passwords, these are only retained in memory for 30 seconds.
For example, if I copy a password and paste it into the configuration, I want to ensure that the password in use is the intended one versus one that is empty.
You can re-use the same values and they are valid because you've already tested them.
In your example, I'm assuming you get copying the password from a known location and that known is right. We do that all the time with password managers as you get a quick validation by entering it if you want to validate it's correct.
You can always test the remote as well by executing a command.
@Animosity022, so that I can understand, can you elaborate on "entering it if you want to validate it is correct"? The only option is to enter in the configuration password at the point of running a command. How do I enter in the encryption password and salt? Is the only option to create a new remote?
Thanks @asdffdsa. Sorry if I'm missing something. I read through the details in the link. It seems that the commands are for an encrypted remote (crypt) as opposed to encrypted files and directories. Unless the commands --crypt can be used for both. If yes, is the command below sufficient?