mvdan / bitw

Minimalist BitWarden client

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

`secret-tool` keeps running into a timeout

thomaseizinger opened this issue · comments

Thanks for making this! I am keen to bitwarden as the secret service on my setup to have it all in one place. Unfortunately, I can't get it to work :/

  • I installed bitw through the AUR package here: https://aur.archlinux.org/packages/bitw-git
  • I logged into bitwarden using EMAIL=email@example.com sync. This triggered the login with API key etc.
  • bitw dump works and lists all my passwords
  • bitw serve also starts and triggers a master password prompt if I try to lookup a password with secret-tool
  • I enter the password (using ENTER to "submit") and nothing happens. Any query to secret-tool eventually runs into a timeout.
  • Further secret-tool invocations don't trigger the "Password: " prompt again
  • Killing bitw serve aborts and pending secret-tool lookup with a "Message recipient disconnected from message bus without replying"

Help is much appreciated :)

Not requiring the password again is by design - it is kept in memory.

I'm not sure why your dbus secrets service is hanging. We have a test in https://github.com/mvdan/bitw/blob/HEAD/testdata/scripts/dbus.txt, and it still seems to work for me. Perhaps try to troubleshoot dbus to see what's happening - I seem to recall there was a command to inspect the messages going back and forth.