Closed
Bug 1405431
Opened 7 years ago
Closed 7 years ago
Intermittent dom/webauthn/tests/test_webauthn_loopback.html | Signing signature invalid: Invalid signature length: 69
Categories
(Core :: DOM: Device Interfaces, defect, P5)
Core
DOM: Device Interfaces
Tracking
()
RESOLVED
FIXED
mozilla58
Tracking | Status | |
---|---|---|
firefox58 | --- | fixed |
People
(Reporter: intermittent-bug-filer, Assigned: jcj)
References
Details
(Keywords: intermittent-failure, Whiteboard: [webauthn][webauthn-test])
Attachments
(1 file)
Assignee | ||
Updated•7 years ago
|
Assignee: nobody → jjones
Status: NEW → ASSIGNED
Assignee | ||
Updated•7 years ago
|
Whiteboard: [webauthn][webauthn-test]
Comment hidden (mozreview-request) |
Comment 2•7 years ago
|
||
mozreview-review |
Comment on attachment 8915236 [details]
Bug 1405431 - Be more precise in WebAuthn signature verification assertion
https://reviewboard.mozilla.org/r/186462/#review191548
Ok - sounds like a plan.
::: dom/webauthn/tests/u2futil.js:287
(Diff revision 1)
> return ret;
> }
>
> function verifySignature(key, data, derSig) {
> - if (derSig.byteLength < 70) {
> - console.log("bad sig: " + hexEncode(new Uint8Array(derSig)))
> + if (derSig.byteLength < 68) {
> + return Promise.reject("Invalid signature (length=" + derSig.byteLength +
Huh - you'd think console messages would be useful to have when a test fails, but I guess... we... just... don't...?
Attachment #8915236 -
Flags: review?(dkeeler) → review+
Assignee | ||
Comment 3•7 years ago
|
||
(In reply to David Keeler [:keeler] (use needinfo?) from comment #2)
> Comment on attachment 8915236 [details]
> Huh - you'd think console messages would be useful to have when a test
> fails, but I guess... we... just... don't...?
Yeaahh.
Anyway, I'm pretty sure (~85%) this will just resolve the intermittent, so not going to leave-open this time.
Thanks for the reviews. Marking checkin-needed.
Keywords: checkin-needed
Pushed by ryanvm@gmail.com:
https://hg.mozilla.org/integration/autoland/rev/1e8554fbafad
Be more precise in WebAuthn signature verification assertion r=keeler
Keywords: checkin-needed
Comment 5•7 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
status-firefox58:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla58
Comment hidden (Intermittent Failures Robot) |
You need to log in
before you can comment on or make changes to this bug.
Description
•