Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

[bug] failed to decrypt: invalid mac #205

Open
JeromeSchmied opened this issue Sep 16, 2024 · 2 comments
Open

[bug] failed to decrypt: invalid mac #205

JeromeSchmied opened this issue Sep 16, 2024 · 2 comments

Comments

@JeromeSchmied
Copy link

to reproduce:

  1. rbw edit something
  2. quit $EDITOR without saving
  3. check web bitwarden: you'll see an item with no name
  4. try using rbw again, you'll look kinda like:
$ rbw ls
rbw list: failed to decrypt: failed to decrypt encrypted secret: invalid mac

how to fix:

  1. delete the item from your Bitwarden using the web vault
  2. rbw purge
  3. rbw unlock
  4. you're good to go

Note

it might not be as easy and general, but this is what I did

@sedlund
Copy link

sedlund commented Sep 16, 2024

did you use a version of rbw?

@JeromeSchmied
Copy link
Author

yes, it's

$ rbw --version
rbw 1.12.1

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants