Closed Bug 594609 Opened 14 years ago Closed 13 years ago

RSA + SHA-2 algorithms not working in verify

Categories

(NSS :: Libraries, defect)

3.12.6
x86_64
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: rrelyea, Assigned: rrelyea)

Details

Attachments

(1 file)

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: nobody → rrelyea
Status: NEW → ASSIGNED
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.
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.

Attachment

General

Creator:
Created:
Updated:
Size: