-
-
Notifications
You must be signed in to change notification settings - Fork 8
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
Feature Request: Remove password from environment #341
Comments
This makes sense - however I don't mind having those credentials visible on the container level (because the account is MFA secured - and the MFA trust token is location bound - meaning that even if password and token are stolen, the attacker needs to have an IP that is close to mine) Nevertheless I understand the security implications and are already implementing the following (because it is quite simple): The CLI can be started with an empty password - if this is the case, it will prompt the user to enter it through the CLI. This password will be held in memory until the application exits. |
This issue should be resolved with version v1.2.1-beta.1, please confirm. |
How does this work in combination with daemon mode? |
The password is requested when starting the daemon mode and kept in memory for all runs until the process is stopped. |
Have a look at the documentation:
|
1.3.0-beta.1 improves on the machanism. |
This issue was resolved with version v1.3.0. |
Describe the ultimate goal you want to achieve
Currently, having to store the password in the environment is a bit unsecure. In order to make this work, I have to setup the variables for the Docker container outside of the container itself, so they are clearly visible on that level (in my case, in Synology Container Manager). It would be great to have a flow where when no password is submitted, it can be filled in at the command line at first startup and cached in a secure way in the container storage.
How do you think the feature should be implemented
On first setup, it should be possible to send the password via command line to the container, and it would be encrypted and cached. icloudpd works in a similar way.
Checklist
The text was updated successfully, but these errors were encountered: