Closed
Bug 594609
Opened 14 years ago
Closed 13 years ago
RSA + SHA-2 algorithms not working in verify
Categories
(NSS :: Libraries, defect)
Tracking
(Not tracked)
RESOLVED
INVALID
People
(Reporter: rrelyea, Assigned: rrelyea)
Details
Attachments
(1 file)
908 bytes,
patch
|
Details | Diff | Splinter Review |
If data is signed with SEC_OID_PKCS1_SHA256_WITH_RSA_ENCRYPTION, SEC_OID_PKCS1_SHA384_WITH_RSA_ENCRYPTION, or SEC_OID_PKCS1_SHA512_WITH_RSA_ENCRYPTION we will not verify the signature.
If the type is SEC_OID_RSA_PSS, then the signature will decrypt correctly.
Assignee | ||
Comment 1•14 years ago
|
||
Assignee: nobody → rrelyea
Status: NEW → ASSIGNED
Comment 2•14 years ago
|
||
Comment on attachment 473316 [details] [diff] [review]
Include oid mappings for the hash algorithms.
Bob, are you sure this patch is correct? This switch
statement already has the cases for
SEC_OID_PKCS1_SHA256_WITH_RSA_ENCRYPTION,
SEC_OID_PKCS1_SHA384_WITH_RSA_ENCRYPTION, and
SEC_OID_PKCS1_SHA512_WITH_RSA_ENCRYPTION. Adding these
three cases again should result in compilation errors.
Assignee | ||
Comment 3•13 years ago
|
||
wtc is right, of course. closing invalid
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → INVALID
You need to log in
before you can comment on or make changes to this bug.
Description
•