Skip to content

Fix issue when storing session data from Webauthn in a mongo database #357

Fix issue when storing session data from Webauthn in a mongo database

Fix issue when storing session data from Webauthn in a mongo database #357

Triggered via pull request November 22, 2023 16:58
Status Failure
Total duration 52s
Artifacts

ci.yml

on: pull_request
Coding Standard & Static Analysis
34s
Coding Standard & Static Analysis
Matrix: testsuite
Fit to window
Zoom out
Zoom in

Annotations

14 errors and 30 warnings
testsuite (8.1, sqlite)
Process completed with exit code 1.
testsuite (7.4, sqlite)
Process completed with exit code 1.
testsuite (8.0, sqlite)
Process completed with exit code 1.
testsuite (8.0, mysql)
Process completed with exit code 1.
testsuite (7.4, mysql): tests/TestCase/Webauthn/AuthenticateAdapterTest.php#L39
Failed asserting that '{"challenge":"JhvkrooqyIb4E1FESz7YUzU9l1MFrWwFu8ZS9TJCfbQ","rpId":"localhost","userVerification":"preferred","allowCredentials":[{"type":"public-key","id":"12b37486-9299-4331-ac33-85b2d985b6fe"}],"timeout":60000}' is identical to an object of class "Webauthn\PublicKeyCredentialRequestOptions".
testsuite (7.4, mysql): tests/TestCase/Webauthn/RegisterAdapterTest.php#L40
Failed asserting that '{"rp":{"name":"ACME Webauthn Server","id":"localhost"},"pubKeyCredParams":[{"type":"public-key","alg":-257},{"type":"public-key","alg":-259},{"type":"public-key","alg":-37},{"type":"public-key","alg":-39},{"type":"public-key","alg":-7},{"type":"public-key","alg":-36},{"type":"public-key","alg":-8}],"challenge":"hb1u9nNEjXVqUeErIb9fzp2IwKXo2d7E_JSoLUllJd4","attestation":"none","user":{"name":"user-2","id":"MDAwMDAwMDAtMDAwMC0wMDAwLTAwMDAtMDAwMDAwMDAwMDAy","displayName":"user"},"authenticatorSelection":{"requireResidentKey":false,"userVerification":"preferred"},"timeout":60000}' is identical to an object of class "Webauthn\PublicKeyCredentialCreationOptions".
testsuite (7.4, mysql)
Process completed with exit code 1.
testsuite (7.4, pgsql)
Process completed with exit code 1.
testsuite (8.0, pgsql)
Process completed with exit code 1.
Coding Standard & Static Analysis: src/Webauthn/AuthenticateAdapter.php#L54
Parameter #1 $options of method CakeDC\Users\Webauthn\AuthenticateAdapter::loadAndCheckAssertionResponse() expects Webauthn\PublicKeyCredentialRequestOptions, Webauthn\PublicKeyCredentialOptions given.
Coding Standard & Static Analysis: src/Webauthn/RegisterAdapter.php#L47
Parameter #1 $options of method CakeDC\Users\Webauthn\RegisterAdapter::loadAndCheckAttestationResponse() expects Webauthn\PublicKeyCredentialCreationOptions, Webauthn\PublicKeyCredentialOptions given.
Coding Standard & Static Analysis
Process completed with exit code 1.
testsuite (8.1, pgsql)
Process completed with exit code 1.
testsuite (8.1, mysql)
Process completed with exit code 1.
testsuite (8.1, sqlite)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/cache@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
testsuite (8.1, sqlite)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
testsuite (8.1, sqlite)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
testsuite (7.4, sqlite)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/cache@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
testsuite (7.4, sqlite)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
testsuite (7.4, sqlite)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
testsuite (8.0, sqlite)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/cache@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
testsuite (8.0, sqlite)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
testsuite (8.0, sqlite)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
testsuite (8.0, mysql)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/cache@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
testsuite (8.0, mysql)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
testsuite (8.0, mysql)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
testsuite (7.4, mysql)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/cache@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
testsuite (7.4, mysql)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
testsuite (7.4, mysql)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
testsuite (7.4, pgsql)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/cache@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
testsuite (7.4, pgsql)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
testsuite (7.4, pgsql)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
testsuite (8.0, pgsql)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/cache@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
testsuite (8.0, pgsql)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
testsuite (8.0, pgsql)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Coding Standard & Static Analysis
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/cache@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Coding Standard & Static Analysis
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Coding Standard & Static Analysis
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
testsuite (8.1, pgsql)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/cache@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
testsuite (8.1, pgsql)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
testsuite (8.1, pgsql)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
testsuite (8.1, mysql)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/cache@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
testsuite (8.1, mysql)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
testsuite (8.1, mysql)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/