Skip to content
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

rbw 1.9.0 not working with latest vaultwarden #161

Open
mamema opened this issue Mar 2, 2024 · 8 comments
Open

rbw 1.9.0 not working with latest vaultwarden #161

mamema opened this issue Mar 2, 2024 · 8 comments
Labels
bug Something isn't working can't reproduce

Comments

@mamema
Copy link

mamema commented Mar 2, 2024

  • installed rbw 1.9.0 fresh on a machine where rbw was never installed before
  • configured base_url to my self hosted instance
  • configured email

rbw register - is working with asking for client id and client secret
rbw login asks 3 times for Master key then exits

@doy
Copy link
Owner

doy commented Apr 20, 2024

can you provide me with the vaultwarden version you're using, and the output of rbw config show? i'm currently successfully using rbw 1.9.0 with the latest vaultwarden (1.30.5) without any issues, so i'll need some more information to dig further into this.

@doy doy added bug Something isn't working can't reproduce labels Apr 20, 2024
@mamema
Copy link
Author

mamema commented Apr 22, 2024

i've now downloaded 1.10 from rbw.
diffrent error same outcome
I'm using Version 2024.1.2 of vaultwarden

when i've configured base_url and email
rbw login or rbw register lead to error:
rbw register: failed to run rbw-agent: No such file or directory (os error 2)

rbw and rbw-agent are in the same directory

rbw config show

{
"email": "[email protected]",
"base_url": "https://some.url.com/",
"identity_url": null,
"notifications_url": null,
"lock_timeout": 3600,
"sync_interval": 3600,
"pinentry": "pinentry",
"client_cert_path": null
}

@oranenj
Copy link

oranenj commented May 15, 2024

@mamema is rbw-agent in $PATH? That error might also mean that your rbw-agent is a broken symlink

@mamema
Copy link
Author

mamema commented May 15, 2024

ok, copying the rbw and rbw-agent into /usr/bin lead to a normal login, but every command executed
eg: rbw ls
lead to:

rbw list: TODO

vaultwarden then sent an email with the content "Someone attempted to login your account with the correct master password, but did not provide the correct token or action required to complete the two-step login process within 3 minutes"

this got solved with rbw register. then. vaultwarden just stated a new login, but the above statement remains.
i got only

rbw list TODO

back

@razem-io
Copy link

razem-io commented May 23, 2024

I had the same / similar issue. Master key was 100% correct. Still had to enter it 3 times, always returning an error. I think it might have to do with the KDF iterations? I set them from 100000 to 1000000. I was not able to log into vaultwarden. I was able to fix it by doing the following:

rbw lock
rbw purge
rbw login
rbw sync
rbw list

I guess only rbw pruge is needed. Just posted all the commands I executed until it worked again.

@redbeardymcgee
Copy link

redbeardymcgee commented Jun 30, 2024

I'm having a problem similar to this, but it corrupts my terminal such that most keyboard inputs are lost somewhere. It won't register simple things like ctrl-c or ctrl-d after failing the password input. If i continue to mash the key, I get something like 1 input per 12 key presses. If i rbw login and then ctrl-c immediately, my terminal is broken.

I switched to pinentry-curses from pinentry-tty and the dropped input problem disappears, but the password still always fails.

@doy
Copy link
Owner

doy commented Jul 28, 2024

the TODO error message has been improved in recent versions, but that is triggered by trying to use a two factor authentication method that rbw has not yet implemented.

@symphorien
Copy link

after an upgrade I had to run rbw purge and then set the identity_url config settings to https://vaultwarden.fqdn/identity. If that can help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working can't reproduce
Projects
None yet
Development

No branches or pull requests

6 participants