clients icon indicating copy to clipboard operation
clients copied to clipboard

Mac OS BitWarden loses "Unlock With Touch ID" option after screen lock.

Open 0xhaggis opened this issue 1 year ago • 21 comments
trafficstars

Steps To Reproduce

  1. Open BitWarden on MacBook.
  2. Unlock BW with Touch ID.
  3. Close laptop lid to lock computer.
  4. Open laptop lid and unlock computer.
  5. Look at BW's unlock screen. The "Unlock with Touch ID" button will have disappeared.

Expected Result

I'd be presented with the option to unlock my vault with Touch ID.

Actual Result

The "Unlock with Touch ID" button has disappeared.

Screenshots or Videos

No response

Additional Context

As a workaround I can do this to bring the button back:

Either:

  • After the "Unlock with Touch ID" button has disappeared I can go to BitWarden menu / Lock All Vaults (or press ⌘-L) and the "Unlock with Touch ID" button magically appears.

Or:

  • Close BitWarden and re-open the app. The "Unlock with Touch ID" button comes back and works properly.

Operating System

macOS

Operating System Version

Ventura 13.6

Installation method

Mac App Store

Build Version

Version 2023.10.1 Shell 25.9.1 Renderer 114.0.5735.289 Node 18.15.0 Architecture x64

Issue Tracking Info

  • [X] I understand that work is tracked outside of Github. A PR will be linked to this issue should one be opened to address it, but Bitwarden doesn't use fields like "assigned", "milestone", or "project" to track progress.

0xhaggis avatar Dec 08 '23 18:12 0xhaggis

Hi @thomasync !

do you think your PR will also solve this issue ?

emikaadeo-git avatar Dec 08 '23 21:12 emikaadeo-git

Hi @0xhaggis !

I think you should update subject of this bug. I've just checked and the issue only appears when I put my MacBook to sleep (closing the lid for example) When I only lock the screen (using Control + Cmd + Q shortcut for example) and then unlock, the "Unlock with Touch ID" button is still there.

emikaadeo-git avatar Dec 08 '23 21:12 emikaadeo-git

Hi there,

I am unable to reproduce this issue, it has been escalated for further investigation. If you have more information that can help us, please add it below.

Thanks!

sammbw avatar Dec 22 '23 05:12 sammbw

I experience this issue frequently. I'm happy to provide more information to help reproduce the issue. What information would help?

jhardyua avatar Jan 16 '24 02:01 jhardyua

I'm also seeing this behaviour frequently. The question is: Once touch ID is set up to 'unlock with Touch ID', are there circumstances where it will require you to use the master password instead?

tpjasper avatar Jan 26 '24 10:01 tpjasper

I'm also seeing this behaviour frequently. Close and re-open the BitWarden app makes the "Unlock with Touch ID" button appears again. I'm using an Intel based MacBook Pro 2020 with MacOS Sonoma.

biolca avatar Feb 07 '24 15:02 biolca

Likewise I am seeing the issue at least once every few days. Closing and reopening the app makes the "Unlock with Touch ID" button appear again, but this is frustrating - as the entire reason of using biometrics, aside from security, is the ease of use compared to having to type in anything.

I'm using an Apple Silicon based MacBook Pro 2021 with macOS Sonoma 14.3.1, and the Bitwarden app version is 2024.2.0 (20587).

AshenPaladin avatar Feb 24 '24 10:02 AshenPaladin

I also see this behavior. It happens every time the device is locked by closing the lid. It has not been resolved by #6134.

I found a quicker way to get Touch ID working again: select "Lock all vaults" from the Bitwarden menu (or use the ⌘L shortcut). Paradoxically, this immediately shows not only the "Unlock with Touch ID" button, but actively prompts for a finger press.

It feels like the system going to sleep via lid close puts the Bitwarden app in some strange intermediate locked state.

Bitwarden version 2024.3.0 (21897). macOS version 14.3.1 (Sonoma).

rallyemax avatar Mar 21 '24 15:03 rallyemax

So, to add to this.. it seems to be the result of the "disconnect" of Touch ID. For me, I am using a Magic Keyboard with Touch ID on my Mac Mini and if I disconnect the keyboard (as sometimes I plug it in via USB directly on another system) then the secure connection between Touch ID is lost.

However, all Touch ID authentication services, such as macOS Preferences panes etc.. are fine after the keyboard reconnects.. but BitWarden appears to require an entire restart for it to start checking whether Touch ID functionality has been restored on the macOS client.

I suppose something similar happens when closing the lid of a laptop.

alroberts avatar Apr 03 '24 10:04 alroberts

That might be it, but it's still odd that it happens because no other programs that I'm using and that have biometric authentication have this issue. But it really should be solved because it defeats the entire purpose of using biometric authentication in the first place - convenience.

AshenPaladin avatar Apr 20 '24 07:04 AshenPaladin

Same here. What is strange is that it worked in the past. Not sure if it started to happen after an upgrade of the app or a change on a server side (I'm selfhosting)... Thanks for mentionning the ⌘L trick. This is already better than having to type the password or restarting the app.

floco avatar Apr 26 '24 18:04 floco

I reproduce this bug on macOS with version 2024.5.0 when vault timeout is set to "on system lock".

  • set vault timeout to "on system lock"
  • lock the vault manully
  • touchId button is shown
  • close the macbook lid
  • wait a bit
  • open the macbook
  • touchId button is not shown

gdurys avatar Jun 03 '24 07:06 gdurys

Just to add more support for the issue, I'm also experiencing this under the same conditions as @gdurys. The ⌘L workaround by @rallyemax works for me.

robwhess avatar Jun 03 '24 15:06 robwhess

Same issue

florian-klemt avatar Jun 05 '24 08:06 florian-klemt

Attaching a screenshot in case it helps with troubleshooting. "Lock all vaults" does seem to work around this issue to restore the "Unlock with Touch ID" button.

Screenshot 2024-06-07 at 8 55 16 AM

EpicVoyage avatar Jun 07 '24 17:06 EpicVoyage

I'm also experiencing the same issue

Berzerker avatar Jun 19 '24 14:06 Berzerker

Same issue for me, only in the last few weeks

c0d3rman avatar Jun 19 '24 21:06 c0d3rman

I have the same issue.

cryptedx avatar Jun 26 '24 18:06 cryptedx

Facing the same issue as well. macOS: 14.5 (23F79) Bitwarden: 2024.6.2 (25599)

umerf52 avatar Jun 27 '24 22:06 umerf52

Faced the same issue

iamironz avatar Jun 30 '24 10:06 iamironz

Same for me.

Grinchii avatar Jun 30 '24 11:06 Grinchii

I have the same issue

martinjgrunwald avatar Jul 11 '24 08:07 martinjgrunwald

Same for me

AlmogBaku avatar Jul 14 '24 21:07 AlmogBaku

+1 also experiencing

ccarner avatar Jul 21 '24 07:07 ccarner

Same issue

e-mts avatar Jul 21 '24 15:07 e-mts

Same issue. Pressing Cmd + L like the suggestion above helped.

nhhai avatar Jul 31 '24 04:07 nhhai

Same issue. Pressing Cmd + L like the suggestion above helped.

It really helped. This issue was bugging me for a while. It needs to be fixed.

Mac: M2, 2022, 14.5 (23F79) Bitwarten: 2024.6.4 (26239)

Omi0 avatar Aug 08 '24 08:08 Omi0