doy / rbw

unofficial bitwarden cli
https://git.tozt.net/rbw
Other
611 stars 84 forks source link

Failed decrypt if only organizations used #193

Closed Lem closed 1 month ago

Lem commented 1 month ago

I moved all my passwords from "my vault" to a personal organization for some reasons.

After using rbw sync I was unable to use rbw. A workaround was to add a new entry to "My vault" with just a username.

The error message once I had no entries in "my vault":

$ rbw ls
WARN: failed to decrypt username: failed to decrypt: failed to find decryption keys in in-memory state
WARN: failed to decrypt password: failed to decrypt: failed to find decryption keys in in-memory state
rbw list: failed to decrypt: failed to find decryption keys in in-memory state
Lem commented 1 month ago

Ok, Had the same problem at home, but with a dummy entry in "my vault". A purge of the local DB resolved that somehow. Even without a dummy it is working.

Seems like was just to stupid to hold this tool right :)