Steps To Reproduce
bw login appears to succeed, but it does not: bw unlock immediately after fails in a way it should not. See output below.
We use SSO login, so there are no master keys.
If the login process cannot set a user key, nor prepare unlock to be used, then it shold not report (in green, implying success) you are logged in, rather it should report an error or at the very least a warning that tells the user that yes, perhaps you are technically logged in, but we failed at setting up the environment for yoy.
Then, unlock should not be prompting for a master key on an SSO org account that cannot have a master key, it should be producing some sort of (idealy, useful) error instead of blindly prompting for something non-existent.
We'll follow up the login/unlock problem with [paid!] customer support, but the utility not being able to set things up correctly and then saying "yay, we're all good", and then incorrectly prompting for the master password is (IMHO) a bug in the tool, not just a support case.
Expected Result
login should be able to set a user key, or whatever it needs to do, and emit a warning or error, not success, if it can't.
unlock should not prompt for a non-existent master password.
Actual Result
C:\Users\athompson\Downloads>bw login --sso
Unable to set user key due to missing device key.
Unable to set user key due to missing encrypted device private key.
Unable to set user key due to missing encrypted user key.
You are logged in!
then
C:\Users\athompson\Downloads>bw unlock
? Master password: [hidden]
Master password is required
C:\Users\athompson\Downloads>
Screenshots or Videos
No response
Additional Context
C:\Users\athompson\Downloads>bw --version
2025.12.1
Operating System
Windows
Operating System Version
Windows 11 25H2 build 26200.7840
Shell
PowerShell
Build Version
CMD.EXE Version 10.0.26200.7840
Issue Tracking Info
Steps To Reproduce
bw loginappears to succeed, but it does not:bw unlockimmediately after fails in a way it should not. See output below.We use SSO login, so there are no master keys.
If the
loginprocess cannot set a user key, nor prepareunlockto be used, then it shold not report (in green, implying success)you are logged in, rather it should report an error or at the very least a warning that tells the user that yes, perhaps you are technically logged in, but we failed at setting up the environment for yoy.Then,
unlockshould not be prompting for a master key on an SSO org account that cannot have a master key, it should be producing some sort of (idealy, useful) error instead of blindly prompting for something non-existent.We'll follow up the login/unlock problem with [paid!] customer support, but the utility not being able to set things up correctly and then saying "yay, we're all good", and then incorrectly prompting for the master password is (IMHO) a bug in the tool, not just a support case.
Expected Result
loginshould be able to set a user key, or whatever it needs to do, and emit a warning or error, not success, if it can't.unlockshould not prompt for a non-existent master password.Actual Result
then
Screenshots or Videos
No response
Additional Context
Operating System
Windows
Operating System Version
Windows 11 25H2 build 26200.7840
Shell
PowerShell
Build Version
CMD.EXE Version 10.0.26200.7840
Issue Tracking Info