element-web icon indicating copy to clipboard operation
element-web copied to clipboard

Recovery key no longer saved in Firefox password manager

Open phi-gamma opened this issue 5 months ago • 3 comments

Steps to reproduce

  1. Where are you starting? What can you see?
    • https://app.element.io/
    • log in with user+password
    • click away some page
    • get prompted for recovery key
  2. What do you click?
    • I click the middle mouse button to paste my recovery key
    • then press enter
  3. More steps…
    • at that point, Firefox should ask to save the recovery key, but it doesn’t

Outcome

What did you expect?

Firefox should prompt to save the recovery key.

What happened instead?

Nothing.

Until a recent update to Element this worked as expected and I had the key filled in by the password manager that is built into Firefox. Now the input element no longer seems to be recognized as a password field.

This is undesireable as it forces me to open my encrypted notes every time I open the Element page after launching Firefox, and copy credentials to the clipboard in plain. Ideally the login info should come from the password manager entirely.

Operating system

NixOS

Browser information

Firefox 137.0.1, official builds

URL for webapp

https://app.element.io/

Application version

Element version: 1.11.103 Crypto version: Rust SDK 0.11.0 (404ca47), Vodozemac 0.9.0

Homeserver

matrix.org

Will you send logs?

No

phi-gamma avatar Jun 12 '25 20:06 phi-gamma

This might be happening because the input field is no longer a "password" field, per https://github.com/element-hq/element-meta/issues/2888

richvdh avatar Jun 12 '25 20:06 richvdh

This might be happening because the input field is no longer a "password" field, per element-hq/element-meta#2888

Interesting, thanks for digging that out.

Could this be brought back in a way? Looks like the password status was dropped on accident while the linked issue was only concerned with visibility of the entered data.

phi-gamma avatar Jun 13 '25 05:06 phi-gamma

I think Firefox only offers to store values from fields that are set to be "masked". In other words, the same setting controls both features.

https://github.com/element-hq/element-meta/issues/2888 is up for a fix soon; let's revisit this once that has happened.

richvdh avatar Jun 13 '25 07:06 richvdh

This now works again as of Element 1.11.110. Thanks everybody, you rock!

phi-gamma avatar Aug 30 '25 11:08 phi-gamma