-
Notifications
You must be signed in to change notification settings - Fork 98
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
failed to decrypt: failed to decrypt encrypted secret: invalid mac #163
Comments
From what i understand, this is the code that fails : https://github.com/doy/rbw/blob/main/src/cipherstring.rs#L227-L229 So, with my low understanding, it seems related to the key used on his account, with either an incorrect key (corrupted sha256?), or the code in |
We tried to downgrade We made a new user account, and I leave issue open in case you have an idea about what may have happen, but it sounds like a vaultwarden issue, nothing to do with |
glad to hear that it's working again - i'm not sure there's much i can do here without more information about how to reproduce the issue, but definitely let me know if it comes up again. |
I am now getting this error on two machines running Arch Linux (one under WSL). Perhaps after updating some package/s? Nothing really standing out, though. Vaultwarden Web and Bitwarden Mobile seem unaffected. |
gnupg, gpgme, and pinentry were rebuilt against libassuan 3.0.0, but |
Issue remains after downgrading those. |
I have the same issue as @polyzen, also running arch. I started after I ran edited: added version info. |
what version of vaultwaden are you all using? have you tried rolling it back? |
I just tried the latest version (rbw 1.11.1) but the issue persists. |
you need to kill the agent from the old version that is running. run rbw purge and login again. |
Yeah I tried that as well (also did a reboot). The issue persists. I will send an update once I managed to solve it.. |
if you've tried a bunch of things the bitwarden server is probably blocking you from from trying to brute force a login. probably have to wait some time. |
Upgraded to 1.31.0 from 1.30.5 on July 8th, and restarted the system after. Have restarted the system several times since and used rbw on a daily basis. Have not tried rolling it back.
Same issue after logging back in, syncing, and trying to get a password. |
that was not meant for the people having issues with vaultwarden. different issue. did you try as OP did?
? |
|
I don't know much about vaultwarden but it may be your database schema didn't get updated on your account. I would suggest going to their project and figure out how to export and reimport fresh. If you want to track it down. Make a backup and create a test environment and try rolling back vw versions and see if one works still. |
The problem is the new individual item encryption function of Bitwarden. This has nothing to do with Vaultwarden specifically. Vaultwarden supports this feature already for a while. |
If it helps others, we managed to get rbw to work again by deleting the entries that were created in Bitwarden since the 2024.7.x update that @BlackDex mentions. If you have this issue and cannot stop using rbw you may want to make a backup of your Bitwarden vaults, inspect admin logs and look for recently created/updated items, and delete them and save them somewhere else for now |
Better yet, in the database, look for entries which have the |
I'm currently having this issue. |
yeah, sorry about this! i'm working on fixing it, but in the meantime, you can work around it by using rbw to add/edit secrets instead of using the web vault (and if necessary, deleting any entries you may have created in the web vault in the past few days and recreating them from the command line). |
Yup, fixed after i ran a |
Having this issue on NixOS with Edit: apologies, seen there's a new version bump, will update and try again. |
@jacanchaplais you don't mention stopping the agent, did you do that before logging in again? Otherwise for some of us it was necessary to switch to |
Sorry to be dense, but how do I stop the agent? I tried finding a service called rbw using systemctl, and came up with nothing, so I guessed rebooting might do the trick. I'm guessing I'm missing something basic here? |
Not at all! You can find it with |
Thanks for your patience! No joy, and looks like it hasn't updated in the Nix repos, so I guess I'll just have to stick with the bitwarden web client for now. :( Terminal output
|
If you can use Rust, Jesse has uploaded the latest version on Crates. |
I do use conda (micromamba), though NixOS makes it a bit of a nightmare and you have to be running an impure state to do it. Rust might work (NixOS might fight me on this, too - definitely hopping back to Arch (btw) soon), but at this stage I'll just wait for new version to hit the repos. I really appreciate your help, though! |
For NixOS users, I've submitted #333147, after that's merged it will land in unstable soon after, and for 24.05 users it may take an additional day or 2 to be backported. |
Hello,
We a team using
rbw
insidenix
+devbox
.It is working fine globally but on the computer of one of my coworkers, we are getting the following error:
It has been working weeks ago without issues, it seems that it's broken since he did latest fedora updates (can't be sure of this, since he doesn't use it a lot)
It seems that commands like
register
,sync
,login
are working fine, but unencrypting local database fails.EDIT:
cargo install rbw
instead of usingdevbox
/nix
→ same issue.vaultwarden
The text was updated successfully, but these errors were encountered: