Open Bug 1976610 Opened 1 year ago Updated 5 months ago

Write dummy values to OS key store to ensure unlocking

Categories

(Toolkit :: Form Autofill, enhancement, P3)

enhancement

Tracking

()

ASSIGNED

People

(Reporter: simonf, Assigned: simonf)

References

Details

The OS key store APIs are a little dysfunctional. On Linux with gnome-keyring calling secret_password_lookup_sync like we do in https://searchfox.org/mozilla-central/source/security/manager/ssl/LibSecret.cpp gives the same return value for a nonexistent entry and a locked key ring. There is also secret_service_search_sync which afaiu is also not reliable because the backend of libsecret might be something like KeepassXC which does not support search when it is locked.

I should do some investigating and some more poking of upstream but we might just have to write and read back a dummy value to make sure the keystore is available.

Assignee: nobody → sfriedberger
Status: NEW → ASSIGNED
Severity: -- → N/A
Priority: -- → P3
See Also: → 1992571
Summary: Write dummy values to OS key store → Write dummy values to OS key store to ensure unlocking
See Also: → 2026488
You need to log in before you can comment on or make changes to this bug.