Skip to content

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

@contrun

Description

@contrun

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:[email protected]: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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions