Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Input password for the encrypted config file from web ui #159

Open
contrun opened this issue May 27, 2023 · 0 comments
Open

Input password for the encrypted config file from web ui #159

contrun opened this issue May 27, 2023 · 0 comments

Comments

@contrun
Copy link

contrun commented May 27, 2023

I am trying to serve rclone web ui with an encrypted config file.
When I run rclone --config /root/.config/rclone/rclone.conf rcd --rc-web-gui --rc-web-gui-no-open-browser, I can navigate to rclone web ui normally. The output is as follows.

2023/05/27 14:50:39 NOTICE: Web GUI exists. Update skipped.
2023/05/27 14:50:39 NOTICE: Serving Web GUI
2023/05/27 14:50:39 NOTICE: Serving remote control on http://127.0.0.1:5572/
2023/05/27 14:50:39 NOTICE: Web GUI is not automatically opening browser. Navigate to http://gui:bgGGjmRi_TnRGC6uZmxgYg@127.0.0.1:5572/?login_token=Z3VpOmJnR0dqbVJpX1RuUkdDNnVabXhnWWc%3D to use.

I then navigated to http://127.0.0.1:5572/#/showconfig . I found there is nothing there initially

image

But the terminal no prompts a password dialog to me

image

Enter configuration password:
password:

After I have typed the correct password. Now I can see my remote storage list.
image

So the question is that can I input the password for the config file in web UI? I want to serve rclone web ui in a VPS. It is hard for me to put rclone web ui in a systemd service as programs started from systemd services have no interactive stdin. And I don't want to save my rclone config password in the disk of this untrusted VPS.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant