-
Notifications
You must be signed in to change notification settings - Fork 85
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
CLI: Configuring password fails with "Cannot create an item in a locked collection" #24
Comments
It seems like we just need an update that will allow people to optionally store the secret values in the data.json file in plaintext. Maybe an environment variable can override the default behavior that requires keytar/x11. |
Could you try the latest dev build from here: Then set the following environment variable:
This will allow you to then store and read the ldap password as a plaintext string in the This should also remove the dependency on keytar and x11. NOTE: The desktop application is not compatible with plaintext secrets, so you will not be able to use it with the bwdc CLI app. |
It worked with the latest build and the environment variable set.
Before the successfull run we had a blocked port between the host and the LDAP-Server and ran into a timeout. This lead to an unhandled exception error.
|
Thanks for testing. I will close this now and add some documentation. |
Hello,
we are running bitwarden server on a linux server (CLI only) and wanted to add the directory synchronisation as a cronjob on the server. For that we installed the bitwarden connector cli and copied over the
data.json
file.In the
data.json
file, the password for the ldap directory is not saved and even when replacing the[STORED SECURELY]
string with the actual password, the bwdc cli-tool replaces it with null.We then tried to add the password via
bwdc config ldap.password PASS
we first received a message about X11.The solution of exporting the output of
dbus-launch
from darkyat in #17 worked, but lead to the next error.Executing
bwdc sync
tells me, that the username and password are not configured and is hanging until forcefully aborted with Ctrl+CSome system specs
Cheers,
Frédéric
The text was updated successfully, but these errors were encountered: