Closed Bug 1080746 Opened 5 years ago Closed 5 years ago

webcrypto: test importing an RSA private key with p < q

Categories

(Core :: DOM: Core & HTML, defect)

defect
Not set

Tracking

()

RESOLVED FIXED
mozilla35

People

(Reporter: keeler, Assigned: keeler)

References

Details

Attachments

(1 file)

To be sure that the fix for bug 1049435 is correct and stays that way, we should test that importing an RSA private key with p < q succeeds.
Attached patch testSplinter Review
This fails without the patch from bug 1049435 and passes with it.
Assignee: nobody → dkeeler
Status: NEW → ASSIGNED
Attachment #8502805 - Flags: review?(rlb)
No longer blocks: 1049435
Depends on: 1049435
Comment on attachment 8502805 [details] [diff] [review]
test

Review of attachment 8502805 [details] [diff] [review]:
-----------------------------------------------------------------

Good call.  In my earlier comment in bug 1049435, I was only thinking about PKCS#8, and forgotten that this pass-through from JWK would hit the same code in NSS.
Attachment #8502805 - Flags: review?(rlb) → review+
https://hg.mozilla.org/mozilla-central/rev/dc05ab9ff12c
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla35
Flags: qe-verify-
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.