bitwarden / clients

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

Password prompt broken on folder creation without vault unlock #3657

Open cedbale opened 2 years ago

cedbale commented 2 years ago

Steps To Reproduce

  1. lock your vault
  2. try to create a folder with vault locked
  3. prompt return "Invalid master password"

Expected Result

Having the possibility to tip my password

Actual Result

The password is prompted from shell and automatically submitted without any user input

Screenshots or Videos

https://user-images.githubusercontent.com/7902507/193227971-05b9e951-2eed-4e94-9489-f77e35d2fdb8.mov

Additional Context

MacOS 12.4 Terminal Version 2.12.7 (445) tmux 3.3a

Operating System

macOS

Operating System Version

No response

Shell

Bash

Build Version

2022.9.0

bnagawiecki commented 1 year ago

Hey @cedbale,

Thanks for submitting this issue!

I was able to replicate it on my side. I can also replicate the behavior when piping to other commands that prompts you for your master password. I'll get this raised internally for prioritization.