rclone/rclone

Configuration Encryption via Command Line or Script

Open

#3,241 创建于 2019年5月31日

在 GitHub 查看
 (11 评论) (2 反应) (0 负责人)Go (57,185 star) (5,090 fork)batch import
API / Remote Control / RCconfigurationenhancementhelp wanted

描述

  1. I checked similar issues #3127 and #317 but this request seems to be a little different.
  2. This issue was talked on https://forum.rclone.org/t/possible-to-set-a-password-for-the-rclone-config-file-without-using-rclone-config/10216

What is your current rclone version (output from rclone version)?

rclone v1.47.0

What problem are you are trying to solve?

I help other people create tasks via scripts but would also like the configuration encryption done without going through the interactive menu.

How do you think rclone should be changed to solve that?

To encrypt: rclone config encrypt "mypassword" or without the "mypassword" and directly retrieve RCLONE_CONFIG_PASS. To decrypt: rclone config encrypt "" and then complete the rclone task with --ask-password=false and setting RCLONE_CONFIG_PASS

Thanks,

Michael Liu

贡献者指南