Incorrect pkcs11t.h value CKR_PUBLIC_KEY_INVALID
Categories
(NSS :: Libraries, defect, P1)
Tracking
(Not tracked)
People
(Reporter: alexander.m.scheel, Assigned: jcj)
Details
Attachments
(1 file)
User Agent: Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:82.0) Gecko/20100101 Firefox/82.0
Steps to reproduce:
Compared CKR_PUBLIC_KEY_INVALID between NSS's pkcs11t.h value and PKCS#11 v2.40's spec version and jdk8u's version.
Luckily CKR_PUBLIC_KEY_INVALID appears unused in NSS's codebase.
Actual results:
NSS's value was incorrect and differed from the latter two.
lib/util/pkcs11t.h:1463:#define CKR_PUBLIC_KEY_INVALID 0x000001B
(This is the value of CKR_ACTION_PROHIBITED).
Expected results:
NSS's value should be corrected.
PKCS#11 v2.40:
https://www.cryptsoft.com/pkcs11doc/STANDARD/include/v240/pkcs11t.h line 1150
Comment 1•4 years ago
|
||
Thanks Alex. For triage purposes, do you intend to submit a patch for this?
Reporter | ||
Comment 2•4 years ago
|
||
Not this time. :-) Easier for someone closer to the project to do it than I. Not impacting JSS; just happened to notice it in a comparison test.
Assignee | ||
Comment 3•4 years ago
|
||
Updated•4 years ago
|
Comment 4•3 years ago
|
||
Description
•