Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: registration failed: packed attestation: unknown algorithm: -257, using GoTrust Idem key #29

Open
miloskuchar opened this issue Jan 19, 2021 · 0 comments

Comments

@miloskuchar
Copy link

WEBAUTHN DEBUG TERMINAL

REGISTER START:

Sending Message to Server:

{"username":"ss","displayName":"ss"}

Received Message from Server:
<<<<<<<< [ STATUS 200 ] <<<<<<<<
{"status":"ok","errorMessage":"","rp":{"name":"WebAuthn.org"},"user":{"name":"ss","id":"ZJ2834Ncfgwt8XtTSsWFGw","displayName":"ss"},"challenge":"6HvBdEMvcTxH0IcZJF-6pU_eon1x1W7GDbZ9kBb-gpzbYn9y7ofRyKkUz7suOWvqDh9TXhUIuGQKG6tL4xXl0w","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: "ss",
id: [ArrayBuffer] (16 bytes)
64 9D BC DF 83 5C 7E 0C 2D F1 7B 53 4A C5 85 1B,
displayName: "ss",
},
challenge: [ArrayBuffer] (64 bytes)
E8 7B C1 74 43 2F 71 3C 47 D0 87 19 24 5F BA A5
4F DE A2 7D 71 D5 6E C6 0D B6 7D 90 16 FE 82 9C
DB 62 7F 72 EE 87 D1 C8 A9 14 CF BB 2E 39 6B EA
0E 1F 53 5E 15 08 B8 64 0A 1B AB 4B E3 15 E5 D3,
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] (32 bytes)
DF F1 77 8D 1F BE 84 B5 9D 6A FD 85 0A 75 BB 18
6B 21 9B C0 C8 96 E7 FE 97 85 87 02 E8 C0 67 57,
id: [ArrayBuffer] (32 bytes)
DF F1 77 8D 1F BE 84 B5 9D 6A FD 85 0A 75 BB 18
6B 21 9B C0 C8 96 E7 FE 97 85 87 02 E8 C0 67 57,
response: {
clientDataJSON: [ArrayBuffer] (179 bytes)
7B 22 74 79 70 65 22 3A 22 77 65 62 61 75 74 68
6E 2E 63 72 65 61 74 65 22 2C 22 63 68 61 6C 6C
65 6E 67 65 22 3A 22 36 48 76 42 64 45 4D 76 63
54 78 48 30 49 63 5A 4A 46 2D 36 70 55 5F 65 6F
6E 31 78 31 57 37 47 44 62 5A 39 6B 42 62 2D 67
70 7A 62 59 6E 39 79 37 6F 66 52 79 4B 6B 55 7A
37 73 75 4F 57 76 71 44 68 39 54 58 68 55 49 75
47 51 4B 47 36 74 4C 34 78 58 6C 30 77 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
63 72 6F 73 73 4F 72 69 67 69 6E 22 3A 66 61 6C
73 65 7D,
attestationObject: [ArrayBuffer] (662 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 39 01 00 63 73 69 67
59 01 00 BA EF CB 8C 4C 6F E9 03 3E EF 17 4C A8
FA 6D 6F 14 35 0C 91 97 DC 79 40 EB 9D 6A 1E 42
91 C5 78 F1 F1 F9 8A 1A 24 C9 72 64 96 F9 6E E9
67 67 DF 11 42 05 63 2A 3E 3C 0B F4 6F FF C1 26
D5 C1 C1 BE FD CF A7 B2 BF CC AE B1 34 0F 62 5B
C4 F1 3E E9 4A 38 8F E0 C5 6F 72 23 37 13 F0 EA
9A DB 69 39 10 10 6F B4 1C 7A 10 29 15 5B E2 C9
57 68 12 E9 24 C5 6B F8 53 73 3D 53 C9 44 93 D9
CD 15 5C 48 74 A3 9E F9 66 6E 35 88 B5 63 9A AD
D8 45 06 8E B4 A0 5D 48 EC 9E ED 65 35 47 F4 5A
F0 F5 09 FE E3 19 1B 44 28 50 D1 19 31 96 2C 41
D6 A1 0B E0 4C 8E DB F1 25 1E 4D 57 B2 CD A0 D7
A8 3F 8E 7A B8 27 1E 05 26 23 50 76 E8 B5 15 C2
98 20 C7 34 12 6A D9 A6 61 6F 90 AF A0 3C 7F CA
BC 0D B0 88 18 0A 96 C9 D4 B5 48 EE BA 94 71 79
6B 0B 1C 43 BA 58 10 EB 0F C5 C3 68 BA 14 AF 9D
8B 40 96 68 61 75 74 68 44 61 74 61 59 01 67 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
00 00 00 00 60 28 B0 17 B1 D4 4C 02 B4 B3 AF CD
AF C9 6B B2 00 20 DF F1 77 8D 1F BE 84 B5 9D 6A
FD 85 0A 75 BB 18 6B 21 9B C0 C8 96 E7 FE 97 85
87 02 E8 C0 67 57 A4 01 03 03 39 01 00 20 59 01
00 EA 07 A4 68 91 98 70 79 D9 B6 AB 17 9A 7B 3F
BD 76 A7 3A 23 E7 F1 5C E6 BA B8 4B 20 14 09 83
F8 86 EA C4 BA CE FD C1 C4 38 E0 8E 3D E5 15 68
AA DF 27 FC C8 75 17 10 9E DB 56 C6 F0 92 B4 D0
8C BC 89 3D 07 3B 73 58 40 41 64 3B 6B CE 08 FE
E2 10 86 2E DC D7 A1 86 A9 08 70 A6 05 E5 A4 DD
6F C4 97 6F 26 F6 08 78 AD 4C 2A A0 3F 1D 3B 6D
C4 FD B0 2E C2 87 1B 92 82 15 D5 F1 C8 88 93 AB
65 07 41 F5 EB 7E 42 07 D9 D8 A5 2D 95 96 2E 33
AF 35 49 7D BC 75 E2 83 40 56 CD 40 B7 78 19 7A
96 16 E5 76 F1 B1 96 94 87 BF 39 39 9B 7C 9B D9
13 C7 57 04 00 34 4E F3 73 ED 56 C3 9C 07 CB 21
49 2E 45 48 A8 B7 78 9F 2B CE 06 7A F4 8C 3E 87
64 89 2C 94 03 2B E0 C7 68 21 3A 5B 1D 48 01 F7
A3 34 CA AA A0 1C 58 D7 13 E8 D4 B0 21 9F 80 8F
9F 80 23 40 E4 54 D4 AE C0 0B EC D5 E8 A8 EC F5
79 21 43 01 00 01,
},
}

Sending Message to Server:

{"rawId":"3_F3jR--hLWdav2FCnW7GGshm8DIluf-l4WHAujAZ1c","id":"3_F3jR--hLWdav2FCnW7GGshm8DIluf-l4WHAujAZ1c","response":{"clientDataJSON":"eyJ0eXBlIjoid2ViYXV0aG4uY3JlYXRlIiwiY2hhbGxlbmdlIjoiNkh2QmRFTXZjVHhIMEljWkpGLTZwVV9lb24xeDFXN0dEYlo5a0JiLWdwemJZbjl5N29mUnlLa1V6N3N1T1d2cURoOVRYaFVJdUdRS0c2dEw0eFhsMHciLCJvcmlnaW4iOiJodHRwczovL3dlYmF1dGhuLm9yZyIsImNyb3NzT3JpZ2luIjpmYWxzZX0","attestationObject":"o2NmbXRmcGFja2VkZ2F0dFN0bXSiY2FsZzkBAGNzaWdZAQC678uMTG_pAz7vF0yo-m1vFDUMkZfceUDrnWoeQpHFePHx-YoaJMlyZJb5bulnZ98RQgVjKj48C_Rv_8Em1cHBvv3Pp7K_zK6xNA9iW8TxPulKOI_gxW9yIzcT8Oqa22k5EBBvtBx6ECkVW-LJV2gS6STFa_hTcz1TyUST2c0VXEh0o575Zm41iLVjmq3YRQaOtKBdSOye7WU1R_Ra8PUJ_uMZG0QoUNEZMZYsQdahC-BMjtvxJR5NV7LNoNeoP456uCceBSYjUHbotRXCmCDHNBJq2aZhb5CvoDx_yrwNsIgYCpbJ1LVI7rqUcXlrCxxDulgQ6w_Fw2i6FK-di0CWaGF1dGhEYXRhWQFnlWkIjx7O4yMpVANdvRDXyuORMFonUbVZu4_Xy7IpvdRFAAAAAGAosBex1EwCtLOvza_Ja7IAIN_xd40fvoS1nWr9hQp1uxhrIZvAyJbn_peFhwLowGdXpAEDAzkBACBZAQDqB6RokZhwedm2qxeaez-9dqc6I-fxXOa6uEsgFAmD-IbqxLrO_cHEOOCOPeUVaKrfJ_zIdRcQnttWxvCStNCMvIk9BztzWEBBZDtrzgj-4hCGLtzXoYapCHCmBeWk3W_El28m9gh4rUwqoD8dO23E_bAuwocbkoIV1fHIiJOrZQdB9et-QgfZ2KUtlZYuM681SX28deKDQFbNQLd4GXqWFuV28bGWlIe_OTmbfJvZE8dXBAA0TvNz7VbDnAfLIUkuRUiot3ifK84GevSMPodkiSyUAyvgx2ghOlsdSAH3ozTKqqAcWNcT6NSwIZ-Aj5-AI0DkVNSuwAvs1eio7PV5IUMBAAE"}}

Received Message from Server:
<<<<<<<< [ STATUS 400 ] <<<<<<<<
{"status":"failed","errorMessage":"registration failed: packed attestation: unknown algorithm: -257"}
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<

Error: registration failed: packed attestation: unknown algorithm: -257
Registration error: Error: registration failed: packed attestation: unknown algorithm: -257
REGISTER DONE.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant