Skip to content

Self attestation not implemented #14

@hmalaud

Description

@hmalaud

Hello, just tried https://webauthn.org/ on MacBookPro 2018 Mojave with Chrome 70.0.3538.102 and got the following error:

WEBAUTHN DEBUG TERMINAL
-----------------------
REGISTER START:

Sending Message to Server:
>>>>>>>>>>>>>>>>
{"username":"tutu","displayName":"tutu"}
>>>>>>>>>>>>>>>>

Received Message from Server:
<<<<<<<< [ STATUS 200 ] <<<<<<<<
{"status":"ok","errorMessage":"","rp":{"name":"WebAuthn.org"},"user":{"name":"tutu","id":"pa2Xu7Vw-UB9zqaCozFVPA","displayName":"tutu"},"challenge":"a_tyDU67zG2yLOa9FjG-wZUjacoCItfdoHQHxWMs3sFzFSZ3obybQ2FLq-0WygsUNS7GNHcVB97fM6bsaZ1LFg","pubKeyCredParams":[{"type":"public-key","alg":-7},{"type":"public-key","alg":-257}],"timeout":60000,"attestation":"direct"}
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<

WebAuthn navigator.credentials.create() options:
[CreateOptions] {
    rp: {
        name: "WebAuthn.org",
    },
    user: {
        name: "tutu",
        id: [ArrayBuffer] (16 bytes)
            A5 AD 97 BB B5 70 F9 40 7D CE A6 82 A3 31 55 3C,
        displayName: "tutu",
    },
    challenge: [ArrayBuffer] (64 bytes)
        6B FB 72 0D 4E BB CC 6D B2 2C E6 BD 16 31 BE C1
        95 23 69 CA 02 22 D7 DD A0 74 07 C5 63 2C DE C1
        73 15 26 77 A1 BC 9B 43 61 4B AB ED 16 CA 0B 14
        35 2E C6 34 77 15 07 DE DF 33 A6 EC 69 9D 4B 16,
    pubKeyCredParams: [
        {
            type: "public-key",
            alg: -7,
        },
        {
            type: "public-key",
            alg: -257,
        },
    ],
    timeout: 60000,
    attestation: "direct",
}
WAITING FOR USER PRESENCE...
USER PRESENCE DONE.
WebAuthn navigator.credentials.create() result:
[CredentialAttestation] {
    rawId: [ArrayBuffer] (57 bytes)
        00 02 E4 11 47 61 2C 28 B9 A4 CB 32 BC 29 82 D8
        28 A0 D4 33 96 9D E8 D0 38 31 5D C0 53 08 88 5B
        BC D0 AB B4 75 F0 F9 02 FD E7 78 51 3E 50 A3 DF
        AF 67 D6 FC 59 BB 08 DC 01,
    id: [ArrayBuffer] (57 bytes)
        00 02 E4 11 47 61 2C 28 B9 A4 CB 32 BC 29 82 D8
        28 A0 D4 33 96 9D E8 D0 38 31 5D C0 53 08 88 5B
        BC D0 AB B4 75 F0 F9 02 FD E7 78 51 3E 50 A3 DF
        AF 67 D6 FC 59 BB 08 DC 01,
    response: {
        clientDataJSON: [ArrayBuffer] (159 bytes)
            7B 22 63 68 61 6C 6C 65 6E 67 65 22 3A 22 61 5F
            74 79 44 55 36 37 7A 47 32 79 4C 4F 61 39 46 6A
            47 2D 77 5A 55 6A 61 63 6F 43 49 74 66 64 6F 48
            51 48 78 57 4D 73 33 73 46 7A 46 53 5A 33 6F 62
            79 62 51 32 46 4C 71 2D 30 57 79 67 73 55 4E 53
            37 47 4E 48 63 56 42 39 37 66 4D 36 62 73 61 5A
            31 4C 46 67 22 2C 22 6F 72 69 67 69 6E 22 3A 22
            68 74 74 70 73 3A 2F 2F 77 65 62 61 75 74 68 6E
            2E 6F 72 67 22 2C 22 74 79 70 65 22 3A 22 77 65
            62 61 75 74 68 6E 2E 63 72 65 61 74 65 22 7D,
        attestationObject: [ArrayBuffer] (303 bytes)
            A3 63 66 6D 74 66 70 61 63 6B 65 64 67 61 74 74
            53 74 6D 74 A2 63 61 6C 67 26 63 73 69 67 58 47
            30 45 02 20 30 AB DF DF 24 63 27 59 27 20 40 72
            F1 94 71 76 FD E2 C8 FF 83 27 FF 9E CE BB 8F 39
            D2 6D CF C9 02 21 00 F7 8A 4F 65 5C BE C6 E8 0A
            AB 55 E2 E6 D3 DC 16 D6 F2 5B FB 47 38 C8 12 D2
            D6 03 FC 75 DC C6 CD 68 61 75 74 68 44 61 74 61
            58 BD 95 69 08 8F 1E CE E3 23 29 54 03 5D BD 10
            D7 CA E3 91 30 5A 27 51 B5 59 BB 8F D7 CB B2 29
            BD D4 45 5B EB F0 EA 00 00 00 00 00 00 00 00 00
            00 00 00 00 00 00 00 00 39 00 02 E4 11 47 61 2C
            28 B9 A4 CB 32 BC 29 82 D8 28 A0 D4 33 96 9D E8
            D0 38 31 5D C0 53 08 88 5B BC D0 AB B4 75 F0 F9
            02 FD E7 78 51 3E 50 A3 DF AF 67 D6 FC 59 BB 08
            DC 01 A5 01 02 03 26 20 01 21 58 20 97 18 0C A6
            FB 1D 16 39 FB 78 28 B1 2D FE B5 37 15 A7 5A E9
            5D E3 18 A4 69 9C CE 0B 10 8D 71 1E 22 58 20 8F
            B0 BB 36 73 44 35 83 D1 E3 4D 20 27 96 0E D2 4B
            7C 53 60 2C B4 79 62 7E E3 BB 02 39 4F 85 77,
    },
}

Sending Message to Server:
>>>>>>>>>>>>>>>>
{"rawId":"AALkEUdhLCi5pMsyvCmC2Cig1DOWnejQODFdwFMIiFu80Ku0dfD5Av3neFE-UKPfr2fW_Fm7CNwB","id":"AALkEUdhLCi5pMsyvCmC2Cig1DOWnejQODFdwFMIiFu80Ku0dfD5Av3neFE-UKPfr2fW_Fm7CNwB","response":{"clientDataJSON":"eyJjaGFsbGVuZ2UiOiJhX3R5RFU2N3pHMnlMT2E5RmpHLXdaVWphY29DSXRmZG9IUUh4V01zM3NGekZTWjNvYnliUTJGTHEtMFd5Z3NVTlM3R05IY1ZCOTdmTTZic2FaMUxGZyIsIm9yaWdpbiI6Imh0dHBzOi8vd2ViYXV0aG4ub3JnIiwidHlwZSI6IndlYmF1dGhuLmNyZWF0ZSJ9","attestationObject":"o2NmbXRmcGFja2VkZ2F0dFN0bXSiY2FsZyZjc2lnWEcwRQIgMKvf3yRjJ1knIEBy8ZRxdv3iyP-DJ_-ezruPOdJtz8kCIQD3ik9lXL7G6AqrVeLm09wW1vJb-0c4yBLS1gP8ddzGzWhhdXRoRGF0YVi9lWkIjx7O4yMpVANdvRDXyuORMFonUbVZu4_Xy7IpvdRFW-vw6gAAAAAAAAAAAAAAAAAAAAAAOQAC5BFHYSwouaTLMrwpgtgooNQzlp3o0DgxXcBTCIhbvNCrtHXw-QL953hRPlCj369n1vxZuwjcAaUBAgMmIAEhWCCXGAym-x0WOft4KLEt_rU3Fada6V3jGKRpnM4LEI1xHiJYII-wuzZzRDWD0eNNICeWDtJLfFNgLLR5Yn7juwI5T4V3"}}
>>>>>>>>>>>>>>>>

Received Message from Server:
<<<<<<<< [ STATUS 400 ] <<<<<<<<
{"status":"failed","errorMessage":"registration failed: packed attestation: self attestation not implemented, please open a GitHub issue."}
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<

Error: registration failed: packed attestation: self attestation not implemented, please open a GitHub issue.
Registration error: Error: registration failed: packed attestation: self attestation not implemented, please open a GitHub issue.
REGISTER DONE.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions