Create RegistrationService #191
Annotations
3 errors
|
browser-mutation
Process completed with exit code 1.
|
|
test/helpers/registration.test.ts > RegistrationService > finish a registration > returns 400 when the attestation signature is tampered:
clients/passkeys-browser/test/helpers/registration.test.ts#L95
Error: Unexpected end of CBOR data
❯ checkedRead node_modules/cbor-x/decode.js:229:16
❯ Encoder.decode node_modules/cbor-x/decode.js:157:12
❯ test/helpers/registration.test.ts:95:27
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { incomplete: true }
|
|
test/helpers/registration.test.ts > RegistrationService > finish a registration > verifies the attestation and returns credential metadata:
clients/passkeys-browser/test/helpers/registration.ts#L188
Error: HTTP 400
❯ parseClientData test/helpers/registration.ts:188:11
❯ RegistrationService.finish test/helpers/registration.ts:71:24
❯ test/helpers/registration.test.ts:73:50
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { status: 400, body: { error: 'invalid client data json: Unexpected end of JSON input' } }
|
Artifacts
Produced during runtime
| Name | Size | Digest | |
|---|---|---|---|
|
jacoco-reports
|
2.5 MB |
sha256:a6b2bafb3590eafcd7b481132384f838eb34d32c4eb4318cb6ec825a9970c249
|
|