You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 25, 2022. It is now read-only.
I would guess the problem is that unlock needs to disable reading from stdin if stdin is not a tty, but as of today, it's based on whether stdout is a tty or not.
Can you confirm ? Am I doing it wrong ? What should be the correct way to use --raw if not in BW_SESSION="$(bw login --raw)" ?
The text was updated successfully, but these errors were encountered:
My script has the following function:
This worked prior to 1.9.0. After upgrading, it stopped working:
bw login --raw
andbw login --raw
now won't interactively ask for login/passwordIf we take the unlock case, I'd say it's because this line:
https://github.com/bitwarden/cli/blame/e7450d27e468f0e68fe5b75f9c52ffa952185484/src/commands/unlock.command.ts#L18
I would guess the problem is that unlock needs to disable reading from stdin if stdin is not a tty, but as of today, it's based on whether stdout is a tty or not.
Can you confirm ? Am I doing it wrong ? What should be the correct way to use
--raw
if not inBW_SESSION="$(bw login --raw)" ?
The text was updated successfully, but these errors were encountered: