Setting up encrypted remote

When creating an encrypted remote is there anyway at all to make it so I can see what I typing for the password1 and password2?

yes, edit the config file manuallly.

for each password, run rclone obscure the.secret.password
and that paste the obscured passwords to

password = 
password2 = 

Can the reverse also be done?

I know what the password is but when manually typing it in using rclone config I seem to be getting different password and password2 in the config

Oh if you do that command several times with the same password you get a different output everytime.

So I should really be backing up the password and password2 values, not the password I type in instead so as to not lose my data right? as the password I typed in doesn't give the same encrypted password everytime.

an easier option might be rclone config password

technically, that is all you need to backup is the original passwords
fwiw, the should always back the config file.

correct. the password in the config file is obscured, will be different every time.
when rclone runs, it will de-obscure the obscured password from the config file, to get the original password.
rclone always uses the original password when encrypting and decrypting.
rclone never uses the obscured password.

Somebody on this forum wrote a small piece of code to do it.

edit this line (at the end):

fmt.Println(MustReveal("YOUR PSEUDO-ENCRYPTED PASSWORD HERE"))

with obfuscated value and run - either online or locally if you are paranoid about your password security.

This code is also very handy for anybody interested how rclone obfuscation (and reverse) works.

Ah the rclone config password worked great was trying to add the same remote to a different machine.

good

rclone obscure password
hSGpm9BiCGE2QdnH_29sQySAMYIsEcmW

rclone reveal hSGpm9BiCGE2QdnH_29sQySAMYIsEcmW
password

Oh reveal, that's great I wasn't aware of that command, I can't say I seen it on the website.

the reveal command was never revealed in the documentation.

in my case, a long time ago, in a private message, ncw revealed the reveal command to me.
for that reason, i never revealed the reveal command in the forum.

since that time, in the public forum, the reveal command has been revealed, including by ncw.

https://forum.rclone.org/search?q=%22rclone%20reveal%22%20topic%3A35378

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.