Open Bug 1608615 Opened 6 years ago Updated 4 years ago

enhancement: credentials storage interface for extensions

Categories

(WebExtensions :: Storage, enhancement)

enhancement

Tracking

(Not tracked)

People

(Reporter: contact, Unassigned)

Details

User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:72.0) Gecko/20100101 Firefox/72.0

Steps to reproduce:

It appears that currently extensions wishing to store credentials for connections to third-party services must implement an isolated solution mimicking the central "master password" feature for website credentials.

Actual results:

This requirement complicates both extension development and user convenience.

Expected results:

This problem can be solved by providing extensions with a programming interface to the encrypted credential storage medium already employed for website credentials (e.g. the recently-added Lockwise feature).

Related issues were discussed in the #1359182. A primary concern was collision and accessibility of data used by the application versus the various extensions.

Qualifiers, such as the unique extension ID, can solve security and stability concerns related to namespace collisions. Appropriate isolation strategies can address attack models related to potential data theft.

Thanks for taking the time to add this issue, this sounds like an Enhancement. I will set a component to have a starting point for this. If you consider that there's another component that's more proper for this case you may change it. Also, maybe someone from dev's team will decide about it.
Regards

Status: UNCONFIRMED → NEW
Component: Untriaged → DOM: Security
Ever confirmed: true
Product: Firefox → Core

Correct, this issue is an enhancement request.

Thank you for beginning triage.

Reviewing the explanation of the chosen category, DOM: Security, it apparently relates to security issues deriving from potentially dangerous web content. This issue being satisfied, however, requires augmentation of the extensions interface. From my thinking, I might suggest that the issue is better matched to one of the WebExtensions categories.

I will submit this change, as I believe that doing so will facilitate optimal handling of the issue. Please advise if my assessment might be flawed.

Component: DOM: Security → Storage
Product: Core → WebExtensions
Version: 72 Branch → unspecified

Needinfo Phillipp to evaluate this new API request from a product perspective.

Flags: needinfo?(philipp)

Does the credential management API from the web platform provide the desired functionality?
https://developer.mozilla.org/en-US/docs/Web/API/Credential_Management_API

Flags: needinfo?(philipp)
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.