Closed Bug 2037682 Opened 11 days ago Closed 11 hours ago

simplify getting the internal key token

Categories

(Core :: Security: PSM, enhancement, P1)

enhancement

Tracking

()

RESOLVED FIXED
152 Branch
Tracking Status
firefox152 --- fixed

People

(Reporter: keeler, Assigned: keeler)

References

(Blocks 1 open bug, Regressed 1 open bug)

Details

(Whiteboard: [psm-assigned])

Attachments

(1 file)

nsIPK11TokenDB exists solely to get the internal key token. It can be removed and the internal key token can be created directly via a particular component registration.

This removes nsIPK11TokenDB and introduces a more direct way of obtaining the
internal key token via:

Cc["@mozilla.org/security/internalkeytoken;1"].createInstance(Ci.nsIPKCS11Token)

It also takes the opportunity to rename PKCS#11 token-related files,
interfaces, and classes (generally, removing any "ns" prefix and expanding
"PK11" to "PKCS11").

Pushed by dkeeler@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/8b3456fa29ad https://hg.mozilla.org/integration/autoland/rev/84ada9fc338c simplify getting the internal key token r=nkulatova,credential-management-reviewers,mconley,joschmidt
Status: NEW → RESOLVED
Closed: 11 hours ago
Resolution: --- → FIXED
Target Milestone: --- → 152 Branch
Regressions: 2040258
See Also: → 2040285
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: