Context menu password generation ignores parameters

Hi there :slight_smile:

First of all, the issue : When generating a new password using the context menu or the option that sometimes pop under a password field, the generated password uses the default parameters (password, 14 chars, etc.).

I’ve been to the Bitwarden extension, clicked the Generator menu at the bottom, and changed the option for "passphrase, 4 word, cap words and addnumber).

Even with those parameters, the generated passwords from the context menu are still using the default parameters and not the parameters I want.

Now a bit of context : I’ve tried restarting the browser and the computer, logged out and back in my account, nothing seems to work. :frowning:
I can still get the passwords I want by using the generator from the extension, but that’s a bit frustrating.

This issue is very recent, It worked like a charm before, but I’ve recently installed a new OS from scratch (windows 11) and switched from Chrome to Brave.

Any idea what I could do to solve this please ?

Edit : Tried it on Firefox too, and the same problem occurs

What version of the browser extension do you have installed on your browser?

Do you get the some problem if you use the keyboard shortcut Ctrl+Shift+9 to generate the password?

I cannot reproduce your issue using Chrome with version 2025.12.2 of the Bitwarden extension (on a Windows 11 system).

Hi Grb, thank you for your annswer !
On Brave (version 1.74.51 Chromium: 132.0.6834.160), I have Bitwarden version 2025.1.2.

On Firefox (version 134.0.2), I have Bitwarden version 2024.12.4.

I tried to update both extension but they stay on the same version.

Using the shortcut Ctrl+Shift+9 generates a new password, but with the default parameters too. :frowning:

Just to be sure, I installed Chrome (version 132.0.6834.160) and the bitwarden extension version 2025.1.2, I configured the password generator the same way as the others, but the problem remains.

Here’s how the password generator is configured on every browser (excuse my french :smiley:) :

Thank you for providing the additional information.

That is very strange, because I have the same version of Chrome and the same version of the Bitwarden extension for Chrome (and also using Windows 11), and I do not experience the problem you have reported. For example, here are some passphrases generated using the keyboard shortcut Ctrl+Shift+9:

omega-retrieval-caretaker
spelling-resurrect-flint
anything-splashing-exodus

Normally, I would recommend uninstalling and reinstalling (and perhaps deleting the extension data folder), but since you already performed a fresh installation of the Chrome extension, reinstalling does not seem necessary. To be sure, please confirm that you did not previously have the Chrome browser extension installed after installing Windows 11 (until you installed it for purposes of testing this bug).

That’s correct, I didn’t have Chrome or Firefox installed. I just had Edge to start with, then I directly installed Brave and nothing else.

Before installing Windows 11 (fresh installation too, not just an upgrade from 10, on brand new drive), I was using Chrome instead, and it was working nicely.

I’m guessing that if the problem was with Windows 11 itself, there would be much more issues and reports about it.

Is it possible that I messed up something in the windows configuration/settings that would prevent Bitwarden’s extension to work properly ?

Anything is possible, but it seems unlikely.

I would suggest the following:

  • Uninstall the Bitwarden browser extension from every browser in your system.
  • Optionally, uninstall every browser on your system, except for Edge.
  • Open the Edge browser, right-click in the browser window, and confirm that the Bitwarden context menu is not present.
  • Optionally, confirm that the keyboard shortcut Ctrl+Shift+9 has no effect (when used while the Edge browser has focus).

Next, reinstall the Bitwarden browser extension on one browser only (e.g., Edge), and do the following:

  • Log in to one account only.
  • Configure the password generator to generate a passphrase.
  • Manually sync the vault (Settings > Vault > Sync Vault Now).
  • Right-click in the browser window, select Bitwarden > Generate password (copied).
  • Paste the clipboard contents.

Update: I believe I have been able to reproduce your problem, somewhat, although I have not fully characterized its nature. For me, the right-click menu (and the keyboard shortcut) seem to always be generating passphrases, even if I switch the generator settings to generate passwords.

However, if I change the generator settings for the passphrases (e.g., change the number of words, change the word separator, capitalization, etc.), then the right-click menu and hotkey generation do honor the new settings.

As a test, can you change your password generator settings for passwords to be something different than the default values, and see if these modified settings work when using the right-click menu or hotkey?

Thank your for your efforts. :slight_smile:

I changed the passwords settings by reducing the password’s length and it is indeed taken into account immediately when I generate passwords via right click and hotkey, just as it does for you with passphrases.

So it seems that the generator settings are “locked in” to either the passphrase or password type, probably depending on what type you had configured when the faulty extension version was released (so for a brand new installation, you would be “locked in” to password generation).

FYI, there is a GitHub bug report here, that you can contribute to (or follow, to get notified about updates), if you wish:

2 Likes

In the password generation popup, the generated password is too long and will probably not be accepted by most websites.

In the settings, you can specify the # of characters (maximum length) and character types you want the generator to use.

@carll_pixellated I moved your comment into this other thread, because I have a hunch that you are experiencing the same bug that is being discussed here.

If you open your browser extension window and go to the Generator page, then change the password type to “Password” instead of “Passphrase”, and also set an adequate password length (e.g., 15 characters), does this change the passwords that are offered in the inline menu?

This is how it is supposed to work (as @bwuser10000 mentioned in their response to you), but as you can see from the discussion above, there appears to be some kind of bug that is preventing this from working correctly.

Unfortunately, it doesn’t. That’s why I’m confused.

Then it does seem that you are affected by the bug being discussed in this thread. If you go back to the Generator page in the browser extension window, set the password type to “Passphrase” instead of “Password”, but then change some of the options (e.g., set the number of words to something less than 6, enable “Capitalize” as well as “Include a number”, and/or specify a word separator character such as a hyphen or space), are those settings now reflected when you get a password suggestion in the inline autofill menu?

The result is a bit surprising: after I switched to passphrase in the Generator tab and changed a few settings as you suggested, it now provides me passwords to fill in

Thanks for reporting your results — that is indeed surprising, and differs from what @Scadapop and I have experienced. Would you mind providing some details about your system (operating system version, browser version, and browser extension version)?

Fedora 41
Firefox 135.0b9
Bitwarden:
Version: 2024.12.4
SDK: ‘main (edee180)’

1 Like

It appears the reason this is happening is because the context menu is still using the legacy generator logic.

We’re working on migrating all of our systems to use the new generator logic so that we can eliminate the “v1” logic. I’ll be able to address this once I migrate the autofill system. (soon :tm:)

2 Likes

Hello, I’m using Brave and Chrome, both on Linux (Arch) and Windows (10), and everything is updated (browser and extension).

I’m facing an issue that I believe started after the last update to the extension’s interface. The bug is that when I copy a password using the shortcut (Alt+P in my case), the extension copies a password, but not the ones I have set as default, which are “Passphrase” type passwords. Instead, it always copies a “Password” type one, and this didn’t happen before.

Thanks for advance

@Cabus I moved your post into an existing thread on the same topic. This behavior appears to be a bug, which will be fixed “soon™” (according to the reply just above your comment).

2 Likes