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

P-2 test from Protocol-Reg-Req-6 test group fails, but the result from the client implementation matches the expected result mentioned in the test #780

Open
aregs opened this issue Feb 6, 2025 · 0 comments
Assignees
Labels

Comments

@aregs
Copy link

aregs commented Feb 6, 2025

test group:
Protocol-Reg-Req-6 Test Client Processing Policy Rules

failed test:
P-2 Send RegistrationRequest UAF message for the given
metadata statement, with "policy.accepted" two-dimensional([][])
SEQUENCE contains "MatchCriteria.keyIDs" that is NOT of type SEQUENCE,
wait for the response, and check that API response returns PROTOCOL_ERROR(0x06) error

received message:
{
"header":{"upv":{"major":1,"minor":1},"op":"Reg","appID":""},
"challenge":"H9iW9yA9aAXF_lelQoi_DhUk514Ad8Tqv0zCnCqKDpo",
"username":"hello@test.com",
"policy":{
"accepted":[
[{"aaid":["4e4e#4090"]}],
[{"authenticationAlgorithms":["ALG_SIGN_SECP256R1_ECDSA_SHA256_RAW"],"assertionSchemes":["UAFV1TLV"]}]
]
}
}

Result : Error: the number 6 was thrown, throw an Error :)
at g.fail (assets/scripts/vendor/mocha.min.js:1:43386)
at file:///android_asset/www/assets/scripts/vendor/mocha.min.js:1:46269
at l (assets/scripts/vendor/mocha.min.js:1:39405)
at file:///android_asset/www/assets/scripts/vendor/mocha.min.js:1:39934
at t.invoke (build/polyfills.js:3:14976)
at r.run (build/polyfills.js:3:10143)
at file:///android_asset/www/build/polyfills.js:3:20242
at t.invokeTask (build/polyfills.js:3:15660)
at r.runTask (build/polyfills.js:3:10834)
at o (build/polyfills.js:3:7894)

@iirachek iirachek added the bug label Feb 6, 2025
@iirachek iirachek self-assigned this Feb 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants