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 too short when revealing password #18

Open
Processoriented opened this issue Aug 10, 2019 · 2 comments
Open

input too short when revealing password #18

Processoriented opened this issue Aug 10, 2019 · 2 comments

Comments

@Processoriented
Copy link

Processoriented commented Aug 10, 2019

Having a bit of trouble getting rclone to create a file system for sftp... Since the container is running on my NAS inside my home network, and I am still a bit unfamiliar with docker's secrets functionality, I figured I would just put my password in the RCLONE_CONFIG_MYSFTP_PASS environment variable, but when I try this, I get the following error...

Failed to create file system for "MYSFTP:files/subdir": input too short when revealing password - is it obscured?

in my env file I have the following:

RCLONE_CONFIG_MYSFTP_TYPE="sftp"
RCLONE_CONFIG_MYSFTP_HOST="xxx.xxxxx.xxx"
RCLONE_CONFIG_MYSFTP_USER="user"
RCLONE_CONFIG_MYSFTP_PORT=22
RCLONE_CONFIG_MYSFTP_PASS="passwordhere"

Did I miss something? Or do I need to spend some time learning docker secrets before getting this to work?

@Processoriented
Copy link
Author

Quick update on this... I was able to work around the issue by pushing my rclone.conf into the container, but I would still love to know why it didn't work setting the password in the env file.

@tspicer
Copy link
Contributor

tspicer commented Aug 11, 2019

It might be related to this issue upstream: rclone/rclone#2265

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

2 participants