mirror of
https://github.com/rclone/rclone.git
synced 2024-11-27 10:50:03 +08:00
49cf2eb7e4
`rclone obscure` currently only accepts a command line argument of `password` to generate an obfuscated password. This is an issue since generating obfuscated passwords programatically requires sending the plain text password as a shell argument, which can cause problems if the password contains shell characters, or if the password is from an untrusted source. This patch opens up STDIN which will allow developers to open the STDIN source and print a password directly to `rclone obscure`, which can increase safety and convenince. |
||
---|---|---|
.. | ||
obscure.go |