Closed
Bug 1445950
Opened 8 years ago
Closed 8 years ago
WebAuthn: Mapped U2F response struct field key values are string when must be integer
Categories
(Firefox :: Untriaged, defect)
Tracking
()
RESOLVED
INVALID
People
(Reporter: ackermann.yuriy, Unassigned)
Details
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/65.0.3325.146 Safari/537.36
Steps to reproduce:
When getting attestation response, the keys in response are string, but need to be numeric
Actual results:
{ fmt: 'fido-u2f',
attStmt:
{ sig: <Buffer 30 45 02 21 00 b0 9b ba 49 5c 93 35 1e fa 76 f5 30 d3 b3 55 63 98 74 11 f4 9a 44 17 24 75 36 33 84 24 bd b8 66 02 20 4b 71 81 5f 1f d7 2d 5c 8c 87 b8 ... >,
x5c: [ <Buffer 30 82 01 93 30 82 01 38 a0 03 02 01 02 02 09 00 85 9b 72 6c b2 4b 4c 29 30 0a 06 08 2a 86 48 ce 3d 04 03 02 30 47 31 0b 30 09 06 03 55 04 06 13 02 55 ... > ] },
authData: <Buffer 49 96 0d e5 88 0e 8c 68 74 34 17 0f 64 76 60 5b 8f e4 ae b9 a2 86 32 c7 99 5c f3 ba 83 1d 97 63 41 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ... > }
Expected results:
Those needs to be indexed keys, not string values
{ 0x01: 'fido-u2f',
0x03:
{ sig: <Buffer 30 45 02 21 00 b0 9b ba 49 5c 93 35 1e fa 76 f5 30 d3 b3 55 63 98 74 11 f4 9a 44 17 24 75 36 33 84 24 bd b8 66 02 20 4b 71 81 5f 1f d7 2d 5c 8c 87 b8 ... >,
x5c: [ <Buffer 30 82 01 93 30 82 01 38 a0 03 02 01 02 02 09 00 85 9b 72 6c b2 4b 4c 29 30 0a 06 08 2a 86 48 ce 3d 04 03 02 30 47 31 0b 30 09 06 03 55 04 06 13 02 55 ... > ] },
0x02: <Buffer 49 96 0d e5 88 0e 8c 68 74 34 17 0f 64 76 60 5b 8f e4 ae b9 a2 86 32 c7 99 5c f3 ba 83 1d 97 63 41 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ... > }
Submitted corresponding bug to CTAP specs
| Reporter | ||
Comment 1•8 years ago
|
||
[:ttaubert] [:jcj]
| Reporter | ||
Updated•8 years ago
|
Status: UNCONFIRMED → RESOLVED
Closed: 8 years ago
Resolution: --- → INVALID
You need to log in
before you can comment on or make changes to this bug.
Description
•