clients icon indicating copy to clipboard operation
clients copied to clipboard

Firefox addon: TOTP not automatically copied

Open falolaf opened this issue 1 year ago • 13 comments

Steps To Reproduce

  1. Configure addon to automatically copy TOTP
  2. Visit a site for which TOTP has been enabled. E.g. community.bitwarden.com
  3. Click on "Login"
  4. Ctrl+Shift+L to paste username and password
  5. Ctrl+V to paste copied TOTP

Expected Result

TOTP is pasted in the TOTP field.

Actual Result

Whatever is in copy buffer is pasted.

Screenshots or Videos

Entry in BW before Ctrl+Shift+L has been used: before

Entry in BW after Ctrl+Shift+L has been used: after

Additional Context

Before Ctrl+Shift+L has been used it is possible to copy the TOTP by clicking on the TOTP symbol. (The little clock.) After Ctrl+Shift+L has been used the TOTP symbol has been grayed out and it is not possible to copy the TOTP by clicking on the symbol. I have to enter the entry to do the copy.

Operating System

Windows, Linux

Operating System Version

Windows 10. openSuse Leap 15.5

Web Browser

Firefox

Browser Version

Firefox 120.0 and 115.5 ESR

Build Version

2023.12.0

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.

falolaf avatar Dec 19 '23 13:12 falolaf

Hello,

You are not alone. I do a have the same issue since for some days. I didn't correlate with the new version of the browser plugin update since it autoupdates in background but I can reproduce it with on 3 different machines :

  • 1 Macbooks Air M1 OSX Sonoma 14.1.2 with Firefox v120.0.1 ; Safari v17.1.2 ; Chrome v120.0.6099.109
  • 1 MacBook Air M2 OSX Sonoma 14.1.2 with Safari v17.1.2
  • 1 Windows 10pro 22H2 Firefox v120.0.1 ; Chrome v120 All plugin Extensions are 2023-12. I upgraded the Desktop app this morning on the Mac M1 to 2023-10-1 and the problem remains.

How to reproduce : 1 - navigate to a website that requires a TOTP code and where the plugin worked before. 2 - Unlock the plugin (code or touchID) 3 - Click on the plugin. At that stage the TOTP icon is blue for the record 4 - Click on the record to autofill the ID+Pwd 5 - Paste the clipboard in the TOTP entry form and you get what was in it before instead of the TOTP code. From that stage the TOTP icon of the record is grey out like if were not setup !!!

6- To overcome the problem you need to open the record and copy the TOTP code from the record form and paste it into the web site entry field.

This behaviour is clearly a regression since it was working fine before.

PascalHullin avatar Dec 19 '23 14:12 PascalHullin

Hello there,

Thank you for your report!

I was able to reproduce this issue, and I have flagged this to our engineering team.

If you wish to add any further information/screenshots/recordings etc., please feel free to do so at any time - our engineering team will be happy to review these.

Thanks once again!

Krychaz avatar Dec 20 '23 11:12 Krychaz

I added extra test information I did in another related thread : https://community.bitwarden.com/t/crtl-v-and-ebay/61004/6

It confirms that clipboard contains is not updated with the TOTP code.

PascalHullin avatar Dec 20 '23 18:12 PascalHullin

I now have version 2024.1.0 in Firefox and I see there have been some changes to this. The TOTP is still not copied as it should. Though, I don't have to enter the entry to copy the TOTP any longer. It is now possible to click on the TOTP symbol to copy the TOTP. This is a step forward but not the full solution.

Any updates on when this will be fixed?

falolaf avatar Jan 17 '24 04:01 falolaf

Confirming I'm suffering from this issue too, and has been persistent since the December update.

I really would like this fixed please, it's seriously disruptive to my workflow.

azulskyknight avatar Jan 18 '24 02:01 azulskyknight

Hi all, throwing my two cents in. I experience this problem also on Windows 11 in Firefox Beta 122b9 (haven't tested other browsers). It seems to be related to enabling "show auto-fill menu on form fields". If I turn that option to "when field is selected on focus" or "when auto-fill icon is selected", the TOTP does NOT copy. However, if I turn that option to "OFF", the TOTP copies to clipboard.

I'm taking a wild guess here, but from observation it seems like Bitwarden is caching the credentials to the page on load in some way. I say this because I can have a login page loaded up, but then I change the password in Bitwarden, and even though I click the icon again to autofill, it uses the old password. I have to refresh the page for the new password to kick in. My guess is TOTP can't be cached in the same manner because it changes too quickly, so it glitches out and doesn't copy.

0oWow avatar Jan 23 '24 04:01 0oWow

Hi all, throwing my two cents in. I experience this problem also on Windows 11 in Firefox Beta 122b9 (haven't tested other browsers). It seems to be related to enabling "show auto-fill menu on form fields". If I turn that option to "when field is selected on focus" or "when auto-fill icon is selected", the TOTP does NOT copy. However, if I turn that option to "OFF", the TOTP copies to clipboard.

I'm taking a wild guess here, but from observation it seems like Bitwarden is caching the credentials to the page on load in some way. I say this because I can have a login page loaded up, but then I change the password in Bitwarden, and even though I click the icon again to autofill, it uses the old password. I have to refresh the page for the new password to kick in. My guess is TOTP can't be cached in the same manner because it changes too quickly, so it glitches out and doesn't copy.

This workaround does not work for me. I had that option set to OFF already. I did test to set to the other values and then back to OFF again but TOTP was never copied. I am on FF 115.6.0esr though so that might have some impact.

falolaf avatar Jan 23 '24 05:01 falolaf

I have the same issue in linux +firefox + browser extension - has there been any update to this?

insidesources avatar Feb 06 '24 04:02 insidesources

The latest update, version 2024.2.0 resolves this and is working great. Thanks!

0oWow avatar Feb 14 '24 15:02 0oWow

Does not work for me with 2024.2.0, FF 115.7.0esr, Windows 10. I have reinstalled the addon, to no avail.

falolaf avatar Feb 15 '24 05:02 falolaf

this started to work for me using linux + firefox + browser plugin 2024.2.0 - thank you

insidesources avatar Feb 15 '24 05:02 insidesources

plugin 2024.2 does not fix the problem for me, neither on safari or Chrome or Firefox on OSX 14.2.1

PascalHullin avatar Feb 16 '24 16:02 PascalHullin

Does not work for me with 2024.2.0, FF 122.0.1, openSuse Leap 15.5.

falolaf avatar Feb 21 '24 13:02 falolaf

Does not work for me with 2024.2.1, FF 115.8.0esr, Windows 10.

falolaf avatar Mar 13 '24 04:03 falolaf

Also affected, 2024.2.1. Arc on macOS, and Opera on Windows 11

Edit: Nevermind, I see a "Copy TOTP automatically" setting in the extension that was unchecked. It's either new, or the setting has reverted. Either way, this now works with it checked.

ryanelliottsmith avatar Mar 14 '24 03:03 ryanelliottsmith

Also affected, 2024.2.1. Arc on macOS, and Opera on Windows 11

Edit: Nevermind, I see a "Copy TOTP automatically" setting in the extension that was unchecked. It's either new, or the setting has reverted. Either way, this now works with it checked.

Thanks for pointing that out! I also never seen that setting before but now its checked :)

JMenzingaST avatar Mar 14 '24 09:03 JMenzingaST

I have, and have had for quite some time, "Copy TOTP automatically" checked. Tested again to toggle this setting but no luck on e.g.,: https://community.bitwarden.com/

falolaf avatar Mar 14 '24 13:03 falolaf

Same for me on Brave, Firefox and Chrome on Windows 11... Version 2024.3.0 Shell 28.2.4 Renderer 120.0.6099.291 Node 18.18.2 Architecture x64

Extension version 2024.2.1

ghhv avatar Mar 18 '24 01:03 ghhv

For some reason, "Copy TOTP automatically" self-unchecked on my side. I had to check it by myself. @ghhv Head to parameters, then options to see that setting by yourself.

fmasclef avatar Mar 18 '24 09:03 fmasclef

@fmasclef arghh! thank-you.. Same! Bloody annoying that was! Has to be reset on every browser too..

ghhv avatar Mar 18 '24 10:03 ghhv

I am really curious why this seem to work for so many others but I have no luck with it! I have tried with reinstalation, toggling the check-box, installed addon in new FF profile, tested on Windows 10 and openSuse, various FF versions. Nothing work!

falolaf avatar Mar 21 '24 13:03 falolaf

The automatic copy of TOTP code to clip board has not worked for me with chrome in months on multiple different computers either.

pjroth avatar Mar 21 '24 16:03 pjroth

I am really curious why this seem to work for so many others but I have no luck with it! I have tried with reinstalation, toggling the check-box, installed addon in new FF profile, tested on Windows 10 and openSuse, various FF versions. Nothing work!

Have you tried Firefox Beta? That's what I use and it works fine. Also, is it just one site your having issue with or every site with TOTP? It could be the one site that is giving you problem. Lastly, the latest version of BW unchecked the copy TOTP option, so you need to reenable it (though I think you are aware of that already).

0oWow avatar Mar 21 '24 16:03 0oWow

@pjroth At least I am not alone with!

@0oWow I have not tested FF Beta. I'll see if I can give it a go but I really don't see why I should have to. I have now tested all sites for which I have TOTP enabled in BW and none work. Ye, I am aware of the issue where copy TOTP option was disabled. I have indeed double checked that.

falolaf avatar Mar 22 '24 04:03 falolaf

For some reason, "Copy TOTP automatically" self-unchecked on my side. I had to check it by myself. @ghhv Head to parameters, then options to see that setting by yourself.

I can confirm this was the issue for me as well.

Bobettemcnugget avatar Mar 22 '24 12:03 Bobettemcnugget

issue for me as well, I thought it was because I had switched to flatpaks, but it persists on fully installed, both for firefox and chrome based browsers.

gsstratton avatar Mar 22 '24 14:03 gsstratton

Today extension got updated to 2024.4.2 in Firefox. Still does not work. And now I again have to open the records to copy the TOTP.

falolaf avatar May 14 '24 03:05 falolaf

I gave up and upgraded, after getting off my retired Family plan and upgrading to the modern variant all my issues went away.

Bitwarden just needs to admit they aren't supporting old subscriptions anymore, and force everyone to a current plan.

azulskyknight avatar May 14 '24 13:05 azulskyknight

This still will not automatically copy to clipboard TOTP codes like it used to months ago. I have a family 2019 plan in case that is useful info.

pjroth avatar May 14 '24 19:05 pjroth

I gave up and upgraded, after getting off my retired Family plan and upgrading to the modern variant all my issues went away.

Bitwarden just needs to admit they aren't supporting old subscriptions anymore, and force everyone to a current plan.

Is there an official statement of this? I have an old Family plan, same as @pjroth I guess.

falolaf avatar May 15 '24 07:05 falolaf