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

[bug] failed to decrypt: invalid mac #205

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

[bug] failed to decrypt: invalid mac #205

JeromeSchmied opened this issue Sep 16, 2024 · 4 comments
Labels
bug Something isn't working can't reproduce

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

@doy doy added bug Something isn't working can't reproduce labels Dec 27, 2024
@doy
Copy link
Owner

doy commented Dec 27, 2024

i can't reproduce this - what editor are you using, and what kind of entry are you trying to edit?

@JeromeSchmied
Copy link
Author

helix editor
password entry

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

3 participants