bitwarden / clients

Bitwarden client apps (web, browser extension, desktop, and cli).
https://bitwarden.com
Other
9k stars 1.18k forks source link

CLI commands throws "Error: Must provide key" #10385

Open MagnusJohansson opened 1 month ago

MagnusJohansson commented 1 month ago

Steps To Reproduce

  1. Install the latest CLI
  2. Login as per usual
  3. Execute bw list items
  4. Observe exception

Expected Result

The BW CLI should not crash with an exception

Actual Result

The BW is crashing with an exception: "Error: Must provide key"

Screenshots or Videos

Screenshot 2024-08-03 081817 Screenshot 2024-08-03 080903

Additional Context

I think this started to happen when I added Touch ID on my Mac, and Windows Hello on my Windows PC. The day before I did reset my master password, chose to rotate the keys and chose log out of all sessions. This exception happens on my Windows PC BW CLI, on my Mac BW CLI, on all browser extensions; in Edge, Brave and Chrome (both Mac and Windows).

It also happens on the Desktop app for both Mac and PC (although I can't find any logs, both desktop apps just sits there with a spinning indicator)

Operating System

Windows, macOS

Operating System Version

Mac: Latest , Windows 11 latest updates

Shell

Zsh, PowerShell

Build Version

2024.7.2

Issue Tracking Info

weichenw commented 1 month ago

I'm getting the same error when trying to clone an item from the organization to my vault. Hit "Save" when cloning nothing happens. However in console, Uncaught error showing "Must provide key"

MagnusJohansson commented 1 month ago

I'm getting the same error when trying to clone an item from the organization to my vault. Hit "Save" when cloning nothing happens. However in console, Uncaught error showing "Must provide key"

Can you please contact support with your problem as well?

I did 3 days ago, they asked some questions but so far the support has not being able to fix their problem. I can't create new items, I can't restore my previous backups. My account and/or vault seems to be corrupt, and they have stopped answering my email requests.

Sad thing is that I am a paying subscriber, I would have expected more from their support.