Closed Bug 1586947 Opened 5 years ago Closed 5 years ago

PK11_ImportAndReturnPrivateKey does not store nickname for EC keys

Categories

(NSS :: Libraries, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: kjacobs, Assigned: kjacobs)

Details

Attachments

(1 file)

The ecKey branch is missing a conditional to set the nickname (CKA_LABEL): https://searchfox.org/mozilla-central/source/security/nss/lib/pk11wrap/pk11pk12.c#459-462,480

Adding the same if (nickname) ... that's used in other cases is sufficient to make this work.

This patch stores the nickname (if specified) during EC key import. This was already done for all other key types.

Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → 3.47
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: